Replaced #func() methods with TS: private func()
This commit is contained in:
@@ -23,7 +23,7 @@ export interface ODActionManagerIdMappings extends api.ODActionManagerIdConstrai
|
||||
"opendiscord:create-transcript":{
|
||||
origin:"slash"|"text"|"ticket-message"|"reopen-message"|"close-message"|"autoclose-message"|"autodelete"|"clear"|"other",
|
||||
params:{guild:discord.Guild,channel:discord.GuildTextBasedChannel,user:discord.User,ticket:ODTicket},
|
||||
result:{compiler:ODTranscriptCompiler<any,object|null>, success:boolean, result:ODTranscriptCompilerCompileResult<any>, errorReason:string|null, pendingMessage:api.ODMessageBuildSentResult<true>|null, initData:object|null, participants:{user:discord.User,role:"creator"|"participant"|"admin"}[]},
|
||||
result:{compiler:ODTranscriptCompiler<any,object|null>, success:boolean, result:ODTranscriptCompilerCompileResult<any>, errorReason:string|null, pendingMessage:api.ODResponderSendResult<true>|null, initData:object|null, participants:{user:discord.User,role:"creator"|"participant"|"admin"}[]},
|
||||
workers:"opendiscord:select-compiler"|"opendiscord:init-transcript"|"opendiscord:compile-transcript"|"opendiscord:ready-transcript"|"opendiscord:logs"
|
||||
},
|
||||
"opendiscord:create-ticket":{
|
||||
@@ -130,6 +130,10 @@ export interface ODActionManagerIdMappings extends api.ODActionManagerIdConstrai
|
||||
},
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedActionManager `class
|
||||
* A special class with types for the Open Ticket `ODActionManager` class.
|
||||
*/
|
||||
|
||||
@@ -15,6 +15,10 @@ export interface ODVersionManagerIdMappings extends api.ODVersionManagerIdConstr
|
||||
"opendiscord:livestatus":api.ODVersion
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedVersionManager `class
|
||||
* A special class with types for the Open Ticket `ODVersionManager` class.
|
||||
*/
|
||||
|
||||
@@ -253,6 +253,10 @@ export interface ODModalManagerIdMappings extends api.ODModalManagerIdConstraint
|
||||
"opendiscord:unpin-ticket-reason":{origin:"ticket-message"|"pin-message"|"other",params:{guild:discord.Guild,channel:discord.TextBasedChannel,user:discord.User,ticket:ODTicket},workers:"opendiscord:unpin-ticket-reason"}
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedButtonManager `class
|
||||
* A special class with types for the Open Ticket `ODButtonManager` class.
|
||||
*/
|
||||
|
||||
@@ -129,6 +129,10 @@ export interface ODCheckerFunctionManagerIdMappings extends api.ODCheckerFunctio
|
||||
"opendiscord:dropdown-options":api.ODCheckerFunction
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedCheckerManager `class
|
||||
* A special class with types for the Open Ticket `ODCheckerManager` class.
|
||||
*/
|
||||
|
||||
@@ -88,6 +88,10 @@ export interface ODContextMenuManagerIdMappings extends api.ODContextMenuManager
|
||||
//"opendiscord:test-menu":ODContextMenu
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedClientManager `class
|
||||
* A special class with types for the Open Ticket `ODClientManager` class.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,10 @@ export interface ODCodeManagerIdMappings extends api.ODCodeManagerIdConstraint {
|
||||
"opendiscord:ticket-anti-busy":api.ODCode,
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedCodeManager `class
|
||||
* A special class with types for the Open Ticket `ODCodeManager` class.
|
||||
*/
|
||||
|
||||
+35
-31
@@ -37,36 +37,6 @@ export interface ODConfigManagerIdMappings extends api.ODConfigManagerIdConstrai
|
||||
"opendiscord:transcripts":ODTranscriptsJsonConfig
|
||||
}
|
||||
|
||||
/**## ODMappedConfigManager `class
|
||||
* A special class with types for the Open Ticket `ODConfigManager` class.
|
||||
*/
|
||||
export class ODMappedConfigManager extends api.ODConfigManager<ODConfigManagerIdMappings> {}
|
||||
|
||||
/**## ODGeneralJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/general.json` config file
|
||||
*/
|
||||
export class ODGeneralJsonConfig extends api.ODJsonConfig<ODGeneralJsonConfig_GeneralData> {}
|
||||
|
||||
/**## ODQuestionsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/questions.json` config file
|
||||
*/
|
||||
export class ODQuestionsJsonConfig extends api.ODJsonConfig<ODQuestionsJsonConfig_QuestionsData> {}
|
||||
|
||||
/**## ODOptionsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/options.json` config file
|
||||
*/
|
||||
export class ODOptionsJsonConfig extends api.ODJsonConfig<ODOptionsJsonConfig_OptionsData> {}
|
||||
|
||||
/**## ODPanelsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/panels.json` config file
|
||||
*/
|
||||
export class ODPanelsJsonConfig extends api.ODJsonConfig<ODPanelsJsonConfig_PanelsData> {}
|
||||
|
||||
/**## ODTranscriptsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/transcripts.json` config file
|
||||
*/
|
||||
export class ODTranscriptsJsonConfig extends api.ODJsonConfig<ODTranscriptsJsonConfig_TranscriptsData> {}
|
||||
|
||||
///////////////////////////////////////
|
||||
// CONFIG STRUCTURES, VALUES & TYPES
|
||||
// --> general.json
|
||||
@@ -799,4 +769,38 @@ export interface ODTranscriptsJsonConfig_TranscriptsData {
|
||||
textTranscriptStyle:ODTranscriptsJsonConfig_TranscriptsTextLayout,
|
||||
/**The layout of the HTML transcripts. */
|
||||
htmlTranscriptStyle:ODTranscriptsJsonConfig_TranscriptsHtmlLayout
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedConfigManager `class
|
||||
* A special class with types for the Open Ticket `ODConfigManager` class.
|
||||
*/
|
||||
export class ODMappedConfigManager extends api.ODConfigManager<ODConfigManagerIdMappings> {}
|
||||
|
||||
/**## ODGeneralJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/general.json` config file
|
||||
*/
|
||||
export class ODGeneralJsonConfig extends api.ODJsonConfig<ODGeneralJsonConfig_GeneralData> {}
|
||||
|
||||
/**## ODQuestionsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/questions.json` config file
|
||||
*/
|
||||
export class ODQuestionsJsonConfig extends api.ODJsonConfig<ODQuestionsJsonConfig_QuestionsData> {}
|
||||
|
||||
/**## ODOptionsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/options.json` config file
|
||||
*/
|
||||
export class ODOptionsJsonConfig extends api.ODJsonConfig<ODOptionsJsonConfig_OptionsData> {}
|
||||
|
||||
/**## ODPanelsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/panels.json` config file
|
||||
*/
|
||||
export class ODPanelsJsonConfig extends api.ODJsonConfig<ODPanelsJsonConfig_PanelsData> {}
|
||||
|
||||
/**## ODTranscriptsJsonConfig `class
|
||||
* A special class with types for the Open Ticket `config/transcripts.json` config file
|
||||
*/
|
||||
export class ODTranscriptsJsonConfig extends api.ODJsonConfig<ODTranscriptsJsonConfig_TranscriptsData> {}
|
||||
@@ -11,6 +11,10 @@ export interface ODLiveStatusManagerIdMappings extends api.ODLiveStatusManagerId
|
||||
"opendiscord:default-djdj-dev":api.ODLiveStatusUrlSource
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedLiveStatusManager `class
|
||||
* A special class with types for the Open Ticket `ODLiveStatusManager` class.
|
||||
*/
|
||||
|
||||
@@ -11,6 +11,10 @@ export interface ODCooldownManagerIdMappings extends api.ODCooldownManagerIdCons
|
||||
//"opendiscord:cooldown":api.ODCooldown
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedCooldownManager `class
|
||||
* A special class with types for the Open Ticket `ODCooldownManager` class.
|
||||
*/
|
||||
|
||||
@@ -17,36 +17,6 @@ export interface ODDatabaseManagerIdMappings extends api.ODDatabaseManagerIdCons
|
||||
"opendiscord:options":ODOptionsDatabase,
|
||||
}
|
||||
|
||||
/**## ODMappedDatabaseManager `class
|
||||
* A special class with types for the Open Ticket `ODDatabaseManager` class.
|
||||
*/
|
||||
export class ODMappedDatabaseManager extends api.ODDatabaseManager<ODDatabaseManagerIdMappings> {}
|
||||
|
||||
/**## ODGlobalDatabase `class
|
||||
* A special class with types for the Open Ticket `database/global.json` database file
|
||||
*/
|
||||
export class ODGlobalDatabase extends api.ODFormattedJsonDatabase<ODGlobalDatabaseIdMappings> {}
|
||||
|
||||
/**## ODStatsDatabase `class
|
||||
* A special class with types for the Open Ticket `database/stats.json` database file
|
||||
*/
|
||||
export class ODStatsDatabase extends api.ODFormattedJsonDatabase {}
|
||||
|
||||
/**## ODTicketsDatabase `class
|
||||
* A special class with types for the Open Ticket `database/tickets.json` database file
|
||||
*/
|
||||
export class ODTicketsDatabase extends api.ODFormattedJsonDatabase<ODTicketsDatabaseIdMappings> {}
|
||||
|
||||
/**## ODUsersDatabase `class
|
||||
* A special class with types for the Open Ticket `database/users.json` database file
|
||||
*/
|
||||
export class ODUsersDatabase extends api.ODFormattedJsonDatabase<ODUsersDatabaseIdMappings> {}
|
||||
|
||||
/**## ODOptionsDatabase `class
|
||||
* A special class with types for the Open Ticket `database/options.json` database file
|
||||
*/
|
||||
export class ODOptionsDatabase extends api.ODFormattedJsonDatabase<ODOptionsDatabaseIdMappings> {}
|
||||
|
||||
/////////////////////////////////////////
|
||||
// DATABASE MAPPINGS, CATEGORIES & TYPES
|
||||
/////////////////////////////////////////
|
||||
@@ -85,4 +55,38 @@ export interface ODUsersDatabaseIdMappings extends api.ODDatabaseIdConstraint {
|
||||
*/
|
||||
export interface ODOptionsDatabaseIdMappings extends api.ODDatabaseIdConstraint {
|
||||
"opendiscord:used-option":ODOptionJson
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedDatabaseManager `class
|
||||
* A special class with types for the Open Ticket `ODDatabaseManager` class.
|
||||
*/
|
||||
export class ODMappedDatabaseManager extends api.ODDatabaseManager<ODDatabaseManagerIdMappings> {}
|
||||
|
||||
/**## ODGlobalDatabase `class
|
||||
* A special class with types for the Open Ticket `database/global.json` database file
|
||||
*/
|
||||
export class ODGlobalDatabase extends api.ODFormattedJsonDatabase<ODGlobalDatabaseIdMappings> {}
|
||||
|
||||
/**## ODStatsDatabase `class
|
||||
* A special class with types for the Open Ticket `database/stats.json` database file
|
||||
*/
|
||||
export class ODStatsDatabase extends api.ODFormattedJsonDatabase {}
|
||||
|
||||
/**## ODTicketsDatabase `class
|
||||
* A special class with types for the Open Ticket `database/tickets.json` database file
|
||||
*/
|
||||
export class ODTicketsDatabase extends api.ODFormattedJsonDatabase<ODTicketsDatabaseIdMappings> {}
|
||||
|
||||
/**## ODUsersDatabase `class
|
||||
* A special class with types for the Open Ticket `database/users.json` database file
|
||||
*/
|
||||
export class ODUsersDatabase extends api.ODFormattedJsonDatabase<ODUsersDatabaseIdMappings> {}
|
||||
|
||||
/**## ODOptionsDatabase `class
|
||||
* A special class with types for the Open Ticket `database/options.json` database file
|
||||
*/
|
||||
export class ODOptionsDatabase extends api.ODFormattedJsonDatabase<ODOptionsDatabaseIdMappings> {}
|
||||
@@ -333,6 +333,10 @@ export interface ODEventManagerIdMappings extends api.ODEventManagerIdConstraint
|
||||
"onReadyForUsage": api.ODEvent<() => api.ODPromiseVoid>
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedEventManager `class
|
||||
* A special class with types for the Open Ticket `ODEventManager` class.
|
||||
*/
|
||||
|
||||
@@ -26,6 +26,10 @@ export interface ODFlagManagerIdMappings extends api.ODFlagManagerIdConstraint {
|
||||
"opendiscord:cli":api.ODFlag,
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedFlagManager `class
|
||||
* A special class with types for the Open Ticket `ODFlagManager` class.
|
||||
*/
|
||||
|
||||
@@ -27,46 +27,6 @@ export interface ODHelpMenuManagerIdMappings extends api.ODHelpMenuManagerIdCons
|
||||
"opendiscord:extra":ODExtraHelpMenuCategory
|
||||
}
|
||||
|
||||
/**## ODMappedHelpMenuManager `class
|
||||
* A special class with types for the Open Ticket `ODHelpMenuManager` class.
|
||||
*/
|
||||
export class ODMappedHelpMenuManager extends api.ODHelpMenuManager<ODHelpMenuManagerIdMappings> {}
|
||||
|
||||
/**## ODGeneralHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `General Commands` help menu category.
|
||||
*/
|
||||
export class ODGeneralHelpMenuCategory extends api.ODHelpMenuCategory<ODGeneralHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODBasicTicketHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Basic Ticket Commands` help menu category.
|
||||
*/
|
||||
export class ODBasicTicketHelpMenuCategory extends api.ODHelpMenuCategory<ODBasicTicketHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODAdvancedTicketHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Advanced Ticket Commands` help menu category.
|
||||
*/
|
||||
export class ODAdvancedTicketHelpMenuCategory extends api.ODHelpMenuCategory<ODAdvancedTicketHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODUserTicketHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `User ticket Commands` help menu category.
|
||||
*/
|
||||
export class ODUserTicketHelpMenuCategory extends api.ODHelpMenuCategory<ODUserTicketHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODAdminHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Admin Commands` help menu category.
|
||||
*/
|
||||
export class ODAdminHelpMenuCategory extends api.ODHelpMenuCategory<ODAdminHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODAdvancedHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Advanced Commands` help menu category.
|
||||
*/
|
||||
export class ODAdvancedHelpMenuCategory extends api.ODHelpMenuCategory<ODAdvancedHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODExtraHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Extra Commands` help menu category.
|
||||
*/
|
||||
export class ODExtraHelpMenuCategory extends api.ODHelpMenuCategory<ODExtraHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/////////////////////////////////////////
|
||||
// HELP MENU MAPPINGS, CATEGORIES & TYPES
|
||||
/////////////////////////////////////////
|
||||
@@ -148,4 +108,48 @@ export interface ODAdvancedHelpMenuCategoryIdMappings extends api.ODHelpMenuCate
|
||||
*/
|
||||
export interface ODExtraHelpMenuCategoryIdMappings extends api.ODHelpMenuCategoryIdConstraint {
|
||||
//"opendiscord:help-component":api.ODHelpMenuCommandComponent
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedHelpMenuManager `class
|
||||
* A special class with types for the Open Ticket `ODHelpMenuManager` class.
|
||||
*/
|
||||
export class ODMappedHelpMenuManager extends api.ODHelpMenuManager<ODHelpMenuManagerIdMappings> {}
|
||||
|
||||
/**## ODGeneralHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `General Commands` help menu category.
|
||||
*/
|
||||
export class ODGeneralHelpMenuCategory extends api.ODHelpMenuCategory<ODGeneralHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODBasicTicketHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Basic Ticket Commands` help menu category.
|
||||
*/
|
||||
export class ODBasicTicketHelpMenuCategory extends api.ODHelpMenuCategory<ODBasicTicketHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODAdvancedTicketHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Advanced Ticket Commands` help menu category.
|
||||
*/
|
||||
export class ODAdvancedTicketHelpMenuCategory extends api.ODHelpMenuCategory<ODAdvancedTicketHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODUserTicketHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `User ticket Commands` help menu category.
|
||||
*/
|
||||
export class ODUserTicketHelpMenuCategory extends api.ODHelpMenuCategory<ODUserTicketHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODAdminHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Admin Commands` help menu category.
|
||||
*/
|
||||
export class ODAdminHelpMenuCategory extends api.ODHelpMenuCategory<ODAdminHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODAdvancedHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Advanced Commands` help menu category.
|
||||
*/
|
||||
export class ODAdvancedHelpMenuCategory extends api.ODHelpMenuCategory<ODAdvancedHelpMenuCategoryIdMappings> {}
|
||||
|
||||
/**## ODExtraHelpMenuCategory `class
|
||||
* A special class with types for the Open Ticket `Extra Commands` help menu category.
|
||||
*/
|
||||
export class ODExtraHelpMenuCategory extends api.ODHelpMenuCategory<ODExtraHelpMenuCategoryIdMappings> {}
|
||||
@@ -622,6 +622,10 @@ export type ODLanguageManagerTranslationIdMappings = (
|
||||
"priorities.none"
|
||||
)
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedLanguageManager `class
|
||||
* A special class with types for the Open Ticket `ODLanguageManager` class.
|
||||
*/
|
||||
|
||||
@@ -11,11 +11,6 @@ export interface ODPermissionManagerIdMappings extends api.ODPermissionManagerId
|
||||
//"opendiscord:test-permission":api.ODPermission
|
||||
}
|
||||
|
||||
/**## ODMappedPermissionManager `class
|
||||
* A special class with types for the Open Ticket `ODPermissionManager` class.
|
||||
*/
|
||||
export class ODMappedPermissionManager extends api.ODPermissionManager<ODPermissionManagerIdMappings> {}
|
||||
|
||||
/**## ODPermissionEmbedType `type`
|
||||
* A collection of all types available in the `opendiscord:no-permissions` embed.
|
||||
*/
|
||||
@@ -27,4 +22,13 @@ export type ODPermissionEmbedType = (
|
||||
"support"|
|
||||
"member"|
|
||||
"discord-administrator"
|
||||
)
|
||||
)
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedPermissionManager `class
|
||||
* A special class with types for the Open Ticket `ODPermissionManager` class.
|
||||
*/
|
||||
export class ODMappedPermissionManager extends api.ODPermissionManager<ODPermissionManagerIdMappings> {}
|
||||
@@ -19,6 +19,10 @@ export interface ODPluginClassManagerIdMappings extends api.ODPluginClassManager
|
||||
//"opendiscord:example-plugin":any
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedPluginManager `class
|
||||
* A special class with types for the Open Ticket `ODPluginManager` class.
|
||||
*/
|
||||
|
||||
@@ -13,6 +13,10 @@ export interface ODPostManagerIdMappings extends api.ODPostManagerIdConstraint {
|
||||
"opendiscord:transcripts":api.ODPost<discord.GuildTextBasedChannel>|null
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedPostManager `class
|
||||
* A special class with types for the Open Ticket `ODPostManager` class.
|
||||
*/
|
||||
|
||||
@@ -29,6 +29,10 @@ export interface ODProgressBarRendererManagerIdMappings extends api.ODProgressBa
|
||||
"opendiscord:time-min-renderer":api.ODDefaultProgressBarRenderer,
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedProgressBarManager `class
|
||||
* A special class with types for the Open Ticket `ODProgressBarManager` class.
|
||||
*/
|
||||
|
||||
@@ -103,6 +103,10 @@ export interface ODAutocompleteResponderManagerIdMappings extends api.ODAutocomp
|
||||
"opendiscord:option-id":{origin:"autocomplete",params:{},workers:"opendiscord:option-id"}
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedCommandResponderManager `class
|
||||
* A special class with types for the Open Ticket `ODCommandResponderManager` class.
|
||||
*/
|
||||
|
||||
@@ -11,6 +11,10 @@ export interface ODSessionManagerIdMappings extends api.ODSessionManagerIdConstr
|
||||
//"opendiscord:example-session":api.ODSession
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedSessionManager `class
|
||||
* A special class with types for the Open Ticket `ODSessionManager` class.
|
||||
*/
|
||||
|
||||
@@ -18,6 +18,10 @@ export interface ODStartScreenManagerIdMappings extends api.ODStartScreenManager
|
||||
"opendiscord:logs":api.ODStartScreenCategoryComponent
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedStartScreenManager `class
|
||||
* A special class with types for the Open Ticket `ODStartScreenManager` class.
|
||||
*/
|
||||
|
||||
@@ -16,41 +16,6 @@ export interface ODStatisticManagerIdMappings extends api.ODStatisticManagerIdCo
|
||||
"opendiscord:messages":ODMessagesStatisticScope,
|
||||
}
|
||||
|
||||
/**## ODMappedStatisticManager `class
|
||||
* A special class with types for the Open Ticket `ODStatisticManager` class.
|
||||
*/
|
||||
export class ODMappedStatisticManager extends api.ODStatisticManager<ODStatisticManagerIdMappings> {}
|
||||
|
||||
/**## ODGlobalStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Global` statistics category/scope.
|
||||
*/
|
||||
export class ODGlobalStatisticScope extends api.ODStatisticGlobalScope<ODGlobalStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODSystemStatisticScope `class
|
||||
* A special class with types for the Open Ticket `System` statistics category/scope.
|
||||
*/
|
||||
export class ODSystemStatisticScope extends api.ODStatisticGlobalScope<ODSystemStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODUserStatisticScope `class
|
||||
* A special class with types for the Open Ticket `User` statistics category/scope.
|
||||
*/
|
||||
export class ODUserStatisticScope extends api.ODStatisticScope<ODUserStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODTicketStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Ticket` statistics category/scope.
|
||||
*/
|
||||
export class ODTicketStatisticScope extends api.ODStatisticScope<ODTicketStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODParticipantsStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Participants` statistics category/scope.
|
||||
*/
|
||||
export class ODParticipantsStatisticScope extends api.ODStatisticScope<ODParticipantsStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODMessagesStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Messages` statistics category/scope.
|
||||
*/
|
||||
export class ODMessagesStatisticScope extends api.ODStatisticScope<ODMessagesStatisticScopeIdMappings> {}
|
||||
|
||||
/////////////////////////////////////////
|
||||
// STATISTICS MAPPINGS, CATEGORIES & TYPES
|
||||
/////////////////////////////////////////
|
||||
@@ -136,4 +101,43 @@ export interface ODParticipantsStatisticScopeIdMappings extends api.ODStatisticS
|
||||
*/
|
||||
export interface ODMessagesStatisticScopeIdMappings extends api.ODStatisticScopeIdConstraint {
|
||||
"opendiscord:count":api.ODDynamicStatistic
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedStatisticManager `class
|
||||
* A special class with types for the Open Ticket `ODStatisticManager` class.
|
||||
*/
|
||||
export class ODMappedStatisticManager extends api.ODStatisticManager<ODStatisticManagerIdMappings> {}
|
||||
|
||||
/**## ODGlobalStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Global` statistics category/scope.
|
||||
*/
|
||||
export class ODGlobalStatisticScope extends api.ODStatisticGlobalScope<ODGlobalStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODSystemStatisticScope `class
|
||||
* A special class with types for the Open Ticket `System` statistics category/scope.
|
||||
*/
|
||||
export class ODSystemStatisticScope extends api.ODStatisticGlobalScope<ODSystemStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODUserStatisticScope `class
|
||||
* A special class with types for the Open Ticket `User` statistics category/scope.
|
||||
*/
|
||||
export class ODUserStatisticScope extends api.ODStatisticScope<ODUserStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODTicketStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Ticket` statistics category/scope.
|
||||
*/
|
||||
export class ODTicketStatisticScope extends api.ODStatisticScope<ODTicketStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODParticipantsStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Participants` statistics category/scope.
|
||||
*/
|
||||
export class ODParticipantsStatisticScope extends api.ODStatisticScope<ODParticipantsStatisticScopeIdMappings> {}
|
||||
|
||||
/**## ODMessagesStatisticScope `class
|
||||
* A special class with types for the Open Ticket `Messages` statistics category/scope.
|
||||
*/
|
||||
export class ODMessagesStatisticScope extends api.ODStatisticScope<ODMessagesStatisticScopeIdMappings> {}
|
||||
@@ -27,6 +27,10 @@ export interface ODVerifyBarManagerIdMappings extends api.ODVerifyBarManagerIdCo
|
||||
"opendiscord:delete-ticket-autoclose-message":{successWorkerIds:"opendiscord:permissions"|"opendiscord:delete-ticket",failureWorkerIds:"opendiscord:back-to-autoclose-message"}
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
////// MAPPED MANAGERS //////
|
||||
/////////////////////////////
|
||||
|
||||
/**## ODMappedVerifyBarManager `class
|
||||
* A special class with types for the Open Ticket `ODVerifyBarManager` class.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user