mirror of
https://github.com/sern-handler/sern-community
synced 2026-06-06 01:16:57 +00:00
17253 lines
372 KiB
JSON
17253 lines
372 KiB
JSON
{
|
|
"id": 0,
|
|
"name": "@sern/handler",
|
|
"kind": 1,
|
|
"kindString": "Project",
|
|
"flags": {},
|
|
"originalName": "",
|
|
"children": [
|
|
{
|
|
"id": 44,
|
|
"name": "Sern",
|
|
"kind": 4,
|
|
"kindString": "Namespace",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 60,
|
|
"name": "CommandExecutable",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 123,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L123"
|
|
}
|
|
],
|
|
"target": 16
|
|
},
|
|
{
|
|
"id": 61,
|
|
"name": "EventExecutable",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 133,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L133"
|
|
}
|
|
],
|
|
"target": 7
|
|
},
|
|
{
|
|
"id": 48,
|
|
"name": "commandModule",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 68,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L68"
|
|
}
|
|
],
|
|
"target": 4
|
|
},
|
|
{
|
|
"id": 59,
|
|
"name": "controller",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 58,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L58"
|
|
}
|
|
],
|
|
"target": 25
|
|
},
|
|
{
|
|
"id": 50,
|
|
"name": "discordEvent",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 102,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L102"
|
|
}
|
|
],
|
|
"target": 33
|
|
},
|
|
{
|
|
"id": 49,
|
|
"name": "eventModule",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 84,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L84"
|
|
}
|
|
],
|
|
"target": 1
|
|
},
|
|
{
|
|
"id": 45,
|
|
"name": "init",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 38,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L38"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 46,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tag": "@example",
|
|
"content": [
|
|
{
|
|
"kind": "code",
|
|
"text": "```ts title=\"src/index.ts\"\nSern.init({\n defaultPrefix: '!',\n commands: 'dist/commands',\n events: 'dist/events',\n containerConfig : {\n get: useContainer\n }\n})\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 47,
|
|
"name": "wrapper",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Options to pass into sern.\nFunction to start the handler up"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 504,
|
|
"name": "Wrapper"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 51,
|
|
"name": "makeDependencies",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 113,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L113"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 52,
|
|
"name": "makeDependencies",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 53,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 158,
|
|
"name": "Dependencies"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 54,
|
|
"name": "conf",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "a configuration for creating your project dependencies"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 177,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 53,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "DependencyConfiguration"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 55,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/provider.ts",
|
|
"line": 42,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/provider.ts#L42"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 56,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 57,
|
|
"name": "V",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 53,
|
|
"name": "T"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 58,
|
|
"name": "keys",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "rest",
|
|
"elementType": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 57,
|
|
"name": "V"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 53,
|
|
"name": "T"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 57,
|
|
"name": "V"
|
|
}
|
|
],
|
|
"name": "MapDeps"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "References",
|
|
"children": [60, 61, 48, 59, 50, 49]
|
|
},
|
|
{
|
|
"title": "Functions",
|
|
"children": [45, 51]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 1,
|
|
"character": 0,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 542,
|
|
"name": "CommandType",
|
|
"kind": 8,
|
|
"kindString": "Enumeration",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0\nA bitfield that discriminates command modules"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tag": "@example",
|
|
"content": [
|
|
{
|
|
"kind": "code",
|
|
"text": "```ts\nexport default commandModule({\n // highlight-next-line\n type : CommandType.Text,\n name : 'a text command'\n execute(message) {\n console.log(message.content)\n }\n})\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 545,
|
|
"name": "Both",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for hybrid commands, text and slash"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 29,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 3
|
|
}
|
|
},
|
|
{
|
|
"id": 548,
|
|
"name": "Button",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for ButtonInteraction commands"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 41,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L41"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 16
|
|
}
|
|
},
|
|
{
|
|
"id": 551,
|
|
"name": "ChannelSelect",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for the other SelectMenuInteractions"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 53,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L53"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 256
|
|
}
|
|
},
|
|
{
|
|
"id": 547,
|
|
"name": "CtxMsg",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for MessageContextMenuInteraction commands"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 8
|
|
}
|
|
},
|
|
{
|
|
"id": 546,
|
|
"name": "CtxUser",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for UserContextMenuInteraction commands"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 33,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L33"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 4
|
|
}
|
|
},
|
|
{
|
|
"id": 552,
|
|
"name": "MentionableSelect",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 54,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L54"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 512
|
|
}
|
|
},
|
|
{
|
|
"id": 550,
|
|
"name": "Modal",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for ModalSubmitInteraction commands"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 49,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L49"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 64
|
|
}
|
|
},
|
|
{
|
|
"id": 553,
|
|
"name": "RoleSelect",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 55,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L55"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1024
|
|
}
|
|
},
|
|
{
|
|
"id": 544,
|
|
"name": "Slash",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for slash commands"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 25,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2
|
|
}
|
|
},
|
|
{
|
|
"id": 549,
|
|
"name": "StringSelect",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for StringSelectMenuInteraction commands"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 45,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L45"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 32
|
|
}
|
|
},
|
|
{
|
|
"id": 543,
|
|
"name": "Text",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The CommandType for text commands"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 21,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L21"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 554,
|
|
"name": "UserSelect",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 56,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L56"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2048
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [545, 548, 551, 547, 546, 552, 550, 553, 544, 549, 543, 554]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 17,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L17"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 555,
|
|
"name": "EventType",
|
|
"kind": 8,
|
|
"kindString": "Enumeration",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A bitfield that discriminates event modules"
|
|
}
|
|
],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@example",
|
|
"content": [
|
|
{
|
|
"kind": "code",
|
|
"text": "```ts\nexport default eventModule({\n //highlight-next-line\n type : EventType.Discord,\n name : 'guildMemberAdd'\n execute(member : GuildMember) {\n console.log(member)\n }\n})\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 556,
|
|
"name": "Discord",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The EventType for handling discord events"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 78,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L78"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 558,
|
|
"name": "External",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The EventType for handling external events.\nCould be for example, "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`process`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " events, database events"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 87,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L87"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 3
|
|
}
|
|
},
|
|
{
|
|
"id": 557,
|
|
"name": "Sern",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The EventType for handling sern events"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 82,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L82"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [556, 558, 557]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 74,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L74"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 564,
|
|
"name": "PayloadType",
|
|
"kind": 8,
|
|
"kindString": "Enumeration",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 566,
|
|
"name": "Failure",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The PayloadType for a SernEmitter failure event"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 135,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L135"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "failure"
|
|
}
|
|
},
|
|
{
|
|
"id": 565,
|
|
"name": "Success",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The PayloadType for a SernEmitter success event"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 131,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L131"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "success"
|
|
}
|
|
},
|
|
{
|
|
"id": 567,
|
|
"name": "Warning",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The PayloadType for a SernEmitter warning event"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 139,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L139"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [566, 565, 567]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 127,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L127"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 559,
|
|
"name": "PluginType",
|
|
"kind": 8,
|
|
"kindString": "Enumeration",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A bitfield that discriminates plugins"
|
|
}
|
|
],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@example",
|
|
"content": [
|
|
{
|
|
"kind": "code",
|
|
"text": "```ts\nexport default function myPlugin() : EventPlugin<CommandType.Text> {\n //highlight-next-line\n type : PluginType.Event,\n execute([ctx, args], controller) {\n return controller.next();\n }\n}\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 561,
|
|
"name": "Command",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Use PluginType.Init instead"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 113,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L113"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 563,
|
|
"name": "Control",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The PluginType for EventPlugins"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 122,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L122"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2
|
|
}
|
|
},
|
|
{
|
|
"id": 562,
|
|
"name": "Event",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Use PluginType.Control instead"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 118,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L118"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2
|
|
}
|
|
},
|
|
{
|
|
"id": 560,
|
|
"name": "Init",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The PluginType for InitPlugins"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 108,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L108"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [561, 563, 562, 560]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 104,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/enums.ts#L104"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 533,
|
|
"name": "SernError",
|
|
"kind": 8,
|
|
"kindString": "Enumeration",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 534,
|
|
"name": "InvalidModuleType",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Throws when registering an invalid module.\nThis means it is undefined or an invalid command type was provided"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 9,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L9"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "Detected an unknown module type"
|
|
}
|
|
},
|
|
{
|
|
"id": 539,
|
|
"name": "MismatchEvent",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A crash that occurs when accessing an invalid property of Context"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 29,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "You cannot use message when an interaction fired or vice versa"
|
|
}
|
|
},
|
|
{
|
|
"id": 536,
|
|
"name": "MismatchModule",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Attempted to lookup module in command module store. Nothing was found!"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 17,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L17"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "A module type mismatched with event emitted!"
|
|
}
|
|
},
|
|
{
|
|
"id": 541,
|
|
"name": "MissingRequired",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Required Dependency not found"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "@sern/client is required but was not found"
|
|
}
|
|
},
|
|
{
|
|
"id": 537,
|
|
"name": "NotSupportedInteraction",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Unsupported interaction at this moment."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 21,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L21"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "This interaction is not supported."
|
|
}
|
|
},
|
|
{
|
|
"id": 540,
|
|
"name": "NotSupportedYet",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Unsupported feature attempted to access at this time"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 33,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L33"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "This feature is not supported yet"
|
|
}
|
|
},
|
|
{
|
|
"id": 538,
|
|
"name": "PluginFailure",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "One plugin called "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`controller.stop()`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " (end command execution / loading)"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 25,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "A plugin failed to call controller.next()"
|
|
}
|
|
},
|
|
{
|
|
"id": 535,
|
|
"name": "UndefinedModule",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Attempted to lookup module in command module store. Nothing was found!"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 13,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L13"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "A module could not be detected"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [534, 539, 536, 541, 537, 540, 538, 535]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/errors.ts",
|
|
"line": 4,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/errors.ts#L4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 16,
|
|
"name": "CommandExecutable",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@Experimental",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Will be refactored / changed in future"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 17,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 18,
|
|
"name": "new CommandExecutable",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 19,
|
|
"name": "Type",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 16,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 19,
|
|
"name": "Type"
|
|
}
|
|
],
|
|
"name": "CommandExecutable"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 23,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 127,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L127"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "literal",
|
|
"value": "execute"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 19,
|
|
"name": "Type"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 22,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 126,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L126"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 21,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 125,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L125"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 20,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 124,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L124"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 19,
|
|
"name": "Type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [17]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [23, 22, 21, 20]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 123,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L123"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 24,
|
|
"name": "Type",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 468,
|
|
"name": "Context",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0\nProvides values shared between\nMessage and ChatInputCommandInteraction"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 472,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isPrivate": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 23,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L23"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 473,
|
|
"name": "new Context",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 474,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
],
|
|
"name": "Message",
|
|
"qualifiedName": "Message",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "ChatInputCommandInteraction",
|
|
"qualifiedName": "ChatInputCommandInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "Result",
|
|
"qualifiedName": "Result",
|
|
"package": "ts-results-es"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 468,
|
|
"name": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 481,
|
|
"name": "channel",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 46,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L46"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 482,
|
|
"name": "channel",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "TextBasedChannel",
|
|
"qualifiedName": "TextBasedChannel",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 493,
|
|
"name": "client",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 76,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L76"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 494,
|
|
"name": "client",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
],
|
|
"name": "Client",
|
|
"qualifiedName": "Client",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 485,
|
|
"name": "createdTimestamp",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 57,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L57"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 486,
|
|
"name": "createdTimestamp",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 487,
|
|
"name": "guild",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 61,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L61"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 488,
|
|
"name": "guild",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Guild",
|
|
"qualifiedName": "Guild",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 489,
|
|
"name": "guildId",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 65,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L65"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 490,
|
|
"name": "guildId",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 479,
|
|
"name": "id",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 42,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L42"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 480,
|
|
"name": "id",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 495,
|
|
"name": "inGuild",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 80,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L80"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 496,
|
|
"name": "inGuild",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 477,
|
|
"name": "interaction",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 38,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L38"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 478,
|
|
"name": "interaction",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Getting the ChatInputCommandInteraction object. Crashes if module type is\nCommandType.Text or the event fired in a Both command was\nMessage"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "ChatInputCommandInteraction",
|
|
"qualifiedName": "ChatInputCommandInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 491,
|
|
"name": "member",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 72,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L72"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 492,
|
|
"name": "member",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "GuildMember",
|
|
"qualifiedName": "GuildMember",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "APIInteractionGuildMember",
|
|
"qualifiedName": "APIInteractionGuildMember",
|
|
"package": "discord-api-types"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 475,
|
|
"name": "message",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 30,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L30"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 476,
|
|
"name": "message",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Getting the Message object. Crashes if module type is\nCommandType.Slash or the event fired in a Both command was\nChatInputCommandInteraction"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
],
|
|
"name": "Message",
|
|
"qualifiedName": "Message",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 483,
|
|
"name": "user",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 53,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L53"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 484,
|
|
"name": "user",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "If context is holding a message, message.author\nelse, interaction.user"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "User",
|
|
"qualifiedName": "User",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 497,
|
|
"name": "isMessage",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 83,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L83"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 498,
|
|
"name": "isMessage",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 499,
|
|
"name": "isSlash",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 87,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L87"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 500,
|
|
"name": "isSlash",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 501,
|
|
"name": "reply",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 98,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L98"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 502,
|
|
"name": "reply",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 503,
|
|
"name": "content",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 165,
|
|
"name": "ReplyOptions"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
],
|
|
"name": "Message",
|
|
"qualifiedName": "Message",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"qualifiedName": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 469,
|
|
"name": "wrap",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 91,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L91"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 470,
|
|
"name": "wrap",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 471,
|
|
"name": "wrappable",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
],
|
|
"name": "Message",
|
|
"qualifiedName": "Message",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "ChatInputCommandInteraction",
|
|
"qualifiedName": "ChatInputCommandInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 468,
|
|
"name": "default"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [472]
|
|
},
|
|
{
|
|
"title": "Accessors",
|
|
"children": [481, 493, 485, 487, 489, 479, 495, 477, 491, 475, 483]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [497, 499, 501, 469]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 22,
|
|
"character": 21,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/context.ts#L22"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 631,
|
|
"name": "DefaultErrorHandling",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 632,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 633,
|
|
"name": "new DefaultErrorHandling",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 631,
|
|
"name": "DefaultErrorHandling"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 634,
|
|
"name": "keepAlive",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Number of times the process should throw an error until crashing and exiting"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 29,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "5",
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 624,
|
|
"name": "ErrorHandling.keepAlive"
|
|
}
|
|
},
|
|
{
|
|
"id": 635,
|
|
"name": "crash",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 30,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L30"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 636,
|
|
"name": "crash",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Utility function to crash"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 637,
|
|
"name": "error",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 626,
|
|
"name": "ErrorHandling.crash"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 625,
|
|
"name": "ErrorHandling.crash"
|
|
}
|
|
},
|
|
{
|
|
"id": 638,
|
|
"name": "updateAlive",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 33,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L33"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 639,
|
|
"name": "updateAlive",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A function that is called on every crash. Updates keepAlive"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 640,
|
|
"name": "_",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 629,
|
|
"name": "ErrorHandling.updateAlive"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 628,
|
|
"name": "ErrorHandling.updateAlive"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [632]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [634]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [635, 638]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 28,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L28"
|
|
}
|
|
],
|
|
"implementedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 623,
|
|
"name": "ErrorHandling"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 655,
|
|
"name": "DefaultLogging",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 656,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 657,
|
|
"name": "new DefaultLogging",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 655,
|
|
"name": "DefaultLogging"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 658,
|
|
"name": "date",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 15,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L15"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 659,
|
|
"name": "date",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Date",
|
|
"qualifiedName": "Date",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 660,
|
|
"name": "debug",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 16,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L16"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 661,
|
|
"name": "debug",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 662,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 652,
|
|
"name": "Logging.debug"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 651,
|
|
"name": "Logging.debug"
|
|
}
|
|
},
|
|
{
|
|
"id": 663,
|
|
"name": "error",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 20,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L20"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 664,
|
|
"name": "error",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 665,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 643,
|
|
"name": "Logging.error"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 642,
|
|
"name": "Logging.error"
|
|
}
|
|
},
|
|
{
|
|
"id": 666,
|
|
"name": "info",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 24,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L24"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 667,
|
|
"name": "info",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 668,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 649,
|
|
"name": "Logging.info"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 648,
|
|
"name": "Logging.info"
|
|
}
|
|
},
|
|
{
|
|
"id": 669,
|
|
"name": "warning",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 28,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L28"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 670,
|
|
"name": "warning",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 671,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 646,
|
|
"name": "Logging.warning"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 645,
|
|
"name": "Logging.warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [656]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [658, 660, 663, 666, 669]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 14,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L14"
|
|
}
|
|
],
|
|
"implementedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 641,
|
|
"name": "Logging"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 686,
|
|
"name": "DefaultModuleManager",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 687,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 17,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L17"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 688,
|
|
"name": "new DefaultModuleManager",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 689,
|
|
"name": "moduleStore",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 514,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 686,
|
|
"name": "DefaultModuleManager"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 690,
|
|
"name": "get",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 18,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L18"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 691,
|
|
"name": "get",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 692,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 693,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 694,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 19,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L19"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 695,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 696,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 514,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 692,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 692,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
]
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 674,
|
|
"name": "ModuleManager.get"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 673,
|
|
"name": "ModuleManager.get"
|
|
}
|
|
},
|
|
{
|
|
"id": 697,
|
|
"name": "set",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 24,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L24"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 698,
|
|
"name": "set",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 699,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 700,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 24,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L24"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 701,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 702,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 514,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 681,
|
|
"name": "ModuleManager.set"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 680,
|
|
"name": "ModuleManager.set"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [687]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [690, 697]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 16,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L16"
|
|
}
|
|
],
|
|
"implementedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 672,
|
|
"name": "ModuleManager"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "EventExecutable",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@Experimental",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Will be refactored in future"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 8,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 9,
|
|
"name": "new EventExecutable",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 10,
|
|
"name": "Type",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 7,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 10,
|
|
"name": "Type"
|
|
}
|
|
],
|
|
"name": "EventExecutable"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 14,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 137,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L137"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "literal",
|
|
"value": "execute"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 10,
|
|
"name": "Type"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 381,
|
|
"name": "EventModuleDefs"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 13,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 136,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L136"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 135,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L135"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 134,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L134"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 10,
|
|
"name": "Type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [8]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [14, 13, 12, 11]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 133,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L133"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 15,
|
|
"name": "Type",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 514,
|
|
"name": "ModuleStore",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0\nStoring all command modules\nThis dependency is usually injected into ModuleManager"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 515,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 516,
|
|
"name": "new ModuleStore",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 514,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 518,
|
|
"name": "ApplicationCommands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 12,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L12"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 519,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 522,
|
|
"name": "1",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 15,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L15"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 520,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 13,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L13"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 521,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 14,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L14"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [522, 520, 521]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 12,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L12"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 517,
|
|
"name": "BothCommands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 11,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L11"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 525,
|
|
"name": "InteractionHandlers",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 19,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L19"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 526,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 527,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 20,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L20"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 528,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 21,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L21"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 532,
|
|
"name": "5",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 25,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 531,
|
|
"name": "6",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 24,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L24"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 530,
|
|
"name": "7",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 23,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L23"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 529,
|
|
"name": "8",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 22,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L22"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [527, 528, 532, 531, 530, 529]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 19,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L19"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 523,
|
|
"name": "ModalSubmit",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 17,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L17"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 524,
|
|
"name": "TextCommands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 18,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L18"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [515]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [518, 517, 525, 523, 524]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 10,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/moduleStore.ts#L10"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 62,
|
|
"name": "SernEmitter",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 95,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExternal": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@types/node/ts4.8/events.d.ts",
|
|
"line": 111,
|
|
"character": 8
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 96,
|
|
"name": "new SernEmitter",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {
|
|
"isExternal": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 97,
|
|
"name": "options",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isExternal": true,
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "EventEmitterOptions",
|
|
"qualifiedName": "EventEmitterOptions",
|
|
"package": "@types/node"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 62,
|
|
"name": "SernEmitter"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.constructor"
|
|
}
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.constructor"
|
|
}
|
|
},
|
|
{
|
|
"id": 114,
|
|
"name": "emit",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 37,
|
|
"character": 20,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L37"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 115,
|
|
"name": "emit",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Listening to sern events with on. This event stays on until a crash or a normal exit"
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 116,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 117,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 116,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 118,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "the arguments for emitting the eventName"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 116,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.emit"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.emit"
|
|
}
|
|
},
|
|
{
|
|
"id": 98,
|
|
"name": "on",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 15,
|
|
"character": 20,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L15"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 99,
|
|
"name": "on",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Listening to sern events with on. This event stays on until a crash or a normal exit"
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 100,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 101,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 100,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 102,
|
|
"name": "listener",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "what to do with the data"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 103,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 17,
|
|
"character": 18,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L17"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 104,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 105,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 100,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 62,
|
|
"name": "SernEmitter"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.on"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.on"
|
|
}
|
|
},
|
|
{
|
|
"id": 106,
|
|
"name": "once",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 26,
|
|
"character": 20,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L26"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 107,
|
|
"name": "once",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Listening to sern events with on. This event stays on until a crash or a normal exit"
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 108,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 109,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 108,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 110,
|
|
"name": "listener",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "what to do with the data"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 111,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 28,
|
|
"character": 18,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L28"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 112,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 113,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 108,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 62,
|
|
"name": "SernEmitter"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.once"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.once"
|
|
}
|
|
},
|
|
{
|
|
"id": 69,
|
|
"name": "failure",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 56,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L56"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 70,
|
|
"name": "failure",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates a compliant SernEmitter failure payload"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 71,
|
|
"name": "module",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
},
|
|
{
|
|
"id": 72,
|
|
"name": "reason",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
{
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 73,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 75,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 76,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 55,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 74,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 566,
|
|
"name": "Failure"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [75, 76, 74]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 77,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 78,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 59,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L59"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 566,
|
|
"name": "Failure"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [78]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 59,
|
|
"character": 45,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L59"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 63,
|
|
"name": "payload",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 43,
|
|
"character": 19,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L43"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 64,
|
|
"name": "payload",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 65,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 127,
|
|
"name": "Payload"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 66,
|
|
"name": "type",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 564,
|
|
"name": "PayloadType"
|
|
}
|
|
},
|
|
{
|
|
"id": 67,
|
|
"name": "module",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
},
|
|
{
|
|
"id": 68,
|
|
"name": "reason",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 65,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 79,
|
|
"name": "success",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 69,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L69"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 80,
|
|
"name": "success",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates a compliant SernEmitter module success payload"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 81,
|
|
"name": "module",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 82,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 84,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 26,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 83,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 26,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 565,
|
|
"name": "Success"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [84, 83]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 26,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L26"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 85,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 86,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 70,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L70"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 565,
|
|
"name": "Success"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [86]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 70,
|
|
"character": 45,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L70"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 87,
|
|
"name": "warning",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 79,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L79"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 88,
|
|
"name": "warning",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates a compliant SernEmitter module warning payload"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 89,
|
|
"name": "reason",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
{
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 90,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 92,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 91,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 567,
|
|
"name": "Warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [92, 91]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L28"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 93,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 94,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 80,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L80"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 567,
|
|
"name": "Warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [94]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 80,
|
|
"character": 45,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L80"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [95]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [114, 98, 106, 69, 63, 79, 87]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 9,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sernEmitter.ts#L9"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "EventEmitter",
|
|
"qualifiedName": "EventEmitter",
|
|
"package": "@types/node"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 328,
|
|
"name": "AutocompleteCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 330,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 111,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L111"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 331,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 111,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L111"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 332,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 333,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "AutocompleteInteraction",
|
|
"qualifiedName": "AutocompleteInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "Omit.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 329,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 110,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L110"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "Omit.onEvent"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [330, 329]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 108,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L108"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
},
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "name"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "type"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "plugins"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "description"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 225,
|
|
"name": "BothCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 227,
|
|
"name": "alias",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 57,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L57"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 228,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 58,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L58"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 230,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 60,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L60"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 231,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 60,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L60"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 232,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 233,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 468,
|
|
"name": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 234,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 121,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 235,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 236,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 229,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 59,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L59"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 399,
|
|
"name": "SernSubCommandData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 403,
|
|
"name": "SernSubCommandGroupData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 398,
|
|
"name": "BaseOptions"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 237,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 226,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 56,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L56"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 545,
|
|
"name": "Both"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [227, 228, 230, 235, 236, 229, 237, 226]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 55,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L55"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 258,
|
|
"name": "ButtonCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 267,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 260,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 75,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L75"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 261,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 75,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L75"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 262,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 263,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "ButtonInteraction",
|
|
"qualifiedName": "ButtonInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 264,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 265,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 266,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 259,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 74,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L74"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 548,
|
|
"name": "Button"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [267, 260, 264, 265, 266, 259]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 73,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L73"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 278,
|
|
"name": "ChannelSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 287,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 280,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 85,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L85"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 281,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 85,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L85"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 282,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 283,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "ChannelSelectMenuInteraction",
|
|
"qualifiedName": "ChannelSelectMenuInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 284,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 285,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 286,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 279,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 84,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L84"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 551,
|
|
"name": "ChannelSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [287, 280, 284, 285, 286, 279]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 83,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L83"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 441,
|
|
"name": "CommandPlugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Use the newer helper functions and import { controller } from '@sern/handler'"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 443,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 51,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L51"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 445,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 53,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L53"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 446,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 53,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L53"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 447,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 448,
|
|
"name": "m",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 571,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "InitArgs"
|
|
}
|
|
},
|
|
{
|
|
"id": 449,
|
|
"name": "controller",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please import controller instead"
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 442,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 50,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L50"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 444,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 52,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 560,
|
|
"name": "Init"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [443, 445, 442, 444]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 49,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L49"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 450,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 248,
|
|
"name": "ContextMenuMsg",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 257,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 250,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 70,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L70"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 251,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 70,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L70"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 252,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 253,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "MessageContextMenuCommandInteraction",
|
|
"qualifiedName": "MessageContextMenuCommandInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 254,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 255,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 256,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 249,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 69,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L69"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 547,
|
|
"name": "CtxMsg"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [257, 250, 254, 255, 256, 249]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 68,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L68"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 238,
|
|
"name": "ContextMenuUser",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 247,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 240,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 65,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L65"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 241,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 65,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L65"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 242,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 243,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "UserContextMenuCommandInteraction",
|
|
"qualifiedName": "UserContextMenuCommandInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 244,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 245,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 246,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 239,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 64,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L64"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 546,
|
|
"name": "CtxUser"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [247, 240, 244, 245, 246, 239]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 63,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L63"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 432,
|
|
"name": "ControlPlugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 434,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 435,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 39,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L39"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 436,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 437,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 438,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 433,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 562,
|
|
"name": "Event"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [434, 433]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 37,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L37"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 438,
|
|
"name": "Args",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 411,
|
|
"name": "Controller",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 412,
|
|
"name": "next",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 25,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 413,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 25,
|
|
"character": 10,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L25"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 414,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "Ok",
|
|
"qualifiedName": "Ok",
|
|
"package": "ts-results-es"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 415,
|
|
"name": "stop",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 26,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 416,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 26,
|
|
"character": 10,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L26"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 417,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "Err",
|
|
"qualifiedName": "Err",
|
|
"package": "ts-results-es"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [412, 415]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 24,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L24"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 158,
|
|
"name": "Dependencies",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 159,
|
|
"name": "@sern/client",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "__module",
|
|
"qualifiedName": "EventEmitter",
|
|
"package": "@types/node"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 161,
|
|
"name": "@sern/emitter",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 42,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L42"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 62,
|
|
"name": "SernEmitter"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 164,
|
|
"name": "@sern/errors",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 45,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L45"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 623,
|
|
"name": "ErrorHandling"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 160,
|
|
"name": "@sern/logger",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 41,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L41"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 641,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "Logging"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 163,
|
|
"name": "@sern/modules",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 44,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L44"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 672,
|
|
"name": "ModuleManager"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 162,
|
|
"name": "@sern/store",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 43,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L43"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 148,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 514,
|
|
"name": "ModuleStore"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [159, 161, 164, 160, 163, 162]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 39,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L39"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 177,
|
|
"name": "DependencyConfiguration",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 179,
|
|
"name": "build",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 68,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L68"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 180,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 68,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L68"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 181,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 182,
|
|
"name": "root",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 158,
|
|
"name": "Dependencies"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "@sern/client"
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 183,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {}
|
|
}
|
|
}
|
|
],
|
|
"name": "Container",
|
|
"qualifiedName": "Container",
|
|
"package": "iti"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 185,
|
|
"name": "T"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 184,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {}
|
|
}
|
|
}
|
|
],
|
|
"name": "Container",
|
|
"qualifiedName": "Container",
|
|
"package": "iti"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 178,
|
|
"name": "exclude",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 67,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L67"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "@sern/logger"
|
|
}
|
|
],
|
|
"name": "Set",
|
|
"qualifiedName": "Set",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [179, 178]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 66,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L66"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 185,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 158,
|
|
"name": "Dependencies"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 344,
|
|
"name": "DiscordEventCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 352,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 345,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 123,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L123"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 353,
|
|
"name": "T"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 350,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 351,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 346,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 124,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L124"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 556,
|
|
"name": "Discord"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
},
|
|
{
|
|
"id": 347,
|
|
"name": "execute",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 125,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L125"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 348,
|
|
"name": "execute",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 349,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 353,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "Module.execute"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [352, 345, 350, 351, 346]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [347]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 121,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L121"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 353,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 623,
|
|
"name": "ErrorHandling",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 624,
|
|
"name": "keepAlive",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Number of times the process should throw an error until crashing and exiting"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 11,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L11"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 625,
|
|
"name": "crash",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 17,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L17"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 626,
|
|
"name": "crash",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Utility function to crash"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 627,
|
|
"name": "error",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 628,
|
|
"name": "updateAlive",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 23,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L23"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 629,
|
|
"name": "updateAlive",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A function that is called on every crash. Updates keepAlive"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 630,
|
|
"name": "error",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [624]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [625, 628]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 7,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/errorHandling.ts#L7"
|
|
}
|
|
],
|
|
"implementedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 631,
|
|
"name": "DefaultErrorHandling"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 451,
|
|
"name": "EventPlugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Use the newer helper functions"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 453,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 64,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L64"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 455,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 66,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L66"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 456,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 66,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L66"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 457,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 458,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 575,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 460,
|
|
"name": "T"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 562,
|
|
"name": "Event"
|
|
}
|
|
],
|
|
"name": "CommandArgs"
|
|
}
|
|
},
|
|
{
|
|
"id": 459,
|
|
"name": "controller",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 411,
|
|
"name": "Controller"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 452,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 63,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L63"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 454,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 65,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L65"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 562,
|
|
"name": "Event"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [453, 455, 452, 454]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 62,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L62"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 460,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 354,
|
|
"name": "ExternalEventCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 363,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 356,
|
|
"name": "emitter",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 130,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L130"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 355,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 129,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L129"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 361,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 362,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 357,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 131,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L131"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 558,
|
|
"name": "External"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
},
|
|
{
|
|
"id": 358,
|
|
"name": "execute",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 132,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L132"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 359,
|
|
"name": "execute",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 360,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "Module.execute"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [363, 356, 355, 361, 362, 357]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [358]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 128,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L128"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 571,
|
|
"name": "InitArgs",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 573,
|
|
"name": "absPath",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 107,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/args.ts#L107"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 572,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 106,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/args.ts#L106"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 574,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [573, 572]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 105,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/args.ts#L105"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 574,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 425,
|
|
"name": "InitPlugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 427,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 428,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 35,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L35"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 429,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 430,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 431,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 426,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 34,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L34"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 560,
|
|
"name": "Init"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [427, 426]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 33,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L33"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 431,
|
|
"name": "Args",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 641,
|
|
"name": "Logging",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 651,
|
|
"name": "debug",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 9,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L9"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 652,
|
|
"name": "debug",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 653,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 654,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 642,
|
|
"name": "error",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 6,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L6"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 643,
|
|
"name": "error",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 644,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 654,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 648,
|
|
"name": "info",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 8,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L8"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 649,
|
|
"name": "info",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 650,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 654,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 645,
|
|
"name": "warning",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 7,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L7"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 646,
|
|
"name": "warning",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 647,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 654,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"children": [651, 642, 648, 645]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 5,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/logging.ts#L5"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 654,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"implementedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 655,
|
|
"name": "DefaultLogging"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 298,
|
|
"name": "MentionableSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 307,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 300,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 95,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L95"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 301,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 95,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L95"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 302,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 303,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "MentionableSelectMenuInteraction",
|
|
"qualifiedName": "MentionableSelectMenuInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 304,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 305,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 306,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 299,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 94,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L94"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 552,
|
|
"name": "MentionableSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [307, 300, 304, 305, 306, 299]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 93,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L93"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 318,
|
|
"name": "ModalSubmitCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 327,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 320,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 105,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L105"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 321,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 105,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L105"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 322,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 323,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "ModalSubmitInteraction",
|
|
"qualifiedName": "ModalSubmitInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 324,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 325,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 326,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 319,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 104,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L104"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 550,
|
|
"name": "Modal"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [327, 320, 324, 325, 326, 319]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 103,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L103"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 191,
|
|
"name": "Module",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 196,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 197,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 198,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 199,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 200,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 193,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 194,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 195,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 192,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 34,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L34"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [196, 197, 193, 194, 195, 192]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 33,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L33"
|
|
}
|
|
],
|
|
"extendedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 201,
|
|
"name": "TextCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 213,
|
|
"name": "SlashCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 225,
|
|
"name": "BothCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 238,
|
|
"name": "ContextMenuUser"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 248,
|
|
"name": "ContextMenuMsg"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 258,
|
|
"name": "ButtonCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 268,
|
|
"name": "StringSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 278,
|
|
"name": "ChannelSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 288,
|
|
"name": "RoleSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 298,
|
|
"name": "MentionableSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 308,
|
|
"name": "UserSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 318,
|
|
"name": "ModalSubmitCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 334,
|
|
"name": "SernEventCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 344,
|
|
"name": "DiscordEventCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 354,
|
|
"name": "ExternalEventCommand"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 672,
|
|
"name": "ModuleManager",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 673,
|
|
"name": "get",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 8,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L8"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 674,
|
|
"name": "get",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 675,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 676,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 677,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 9,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L9"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 678,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 679,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 514,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 675,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 675,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 680,
|
|
"name": "set",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 11,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L11"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 681,
|
|
"name": "set",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 682,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 683,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 11,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L11"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 684,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 685,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 514,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"children": [673, 680]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 7,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/contracts/moduleManager.ts#L7"
|
|
}
|
|
],
|
|
"implementedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 686,
|
|
"name": "DefaultModuleManager"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 418,
|
|
"name": "Plugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 420,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 30,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L30"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 421,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 30,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L30"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 422,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 423,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 424,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 419,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 29,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 559,
|
|
"name": "PluginType"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [420, 419]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 28,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L28"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 424,
|
|
"name": "Args",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 288,
|
|
"name": "RoleSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 297,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 290,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 90,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L90"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 291,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 90,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L90"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 292,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 293,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "RoleSelectMenuInteraction",
|
|
"qualifiedName": "RoleSelectMenuInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 294,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 295,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 296,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 289,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 89,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L89"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 553,
|
|
"name": "RoleSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [297, 290, 294, 295, 296, 289]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 88,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L88"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 386,
|
|
"name": "SernAutocompleteData",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 387,
|
|
"name": "autocomplete",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 177,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L177"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"id": 389,
|
|
"name": "command",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 182,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L182"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 328,
|
|
"name": "AutocompleteCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 388,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 178,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L178"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "String",
|
|
"qualifiedName": "ApplicationCommandOptionType.String",
|
|
"package": "discord-api-types"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Integer",
|
|
"qualifiedName": "ApplicationCommandOptionType.Integer",
|
|
"package": "discord-api-types"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Number",
|
|
"qualifiedName": "ApplicationCommandOptionType.Number",
|
|
"package": "discord-api-types"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [387, 389, 388]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 175,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L175"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData",
|
|
"qualifiedName": "BaseApplicationCommandOptionsData",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "autocomplete"
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 334,
|
|
"name": "SernEventCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 342,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 335,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 116,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L116"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "T"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 340,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 341,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 336,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 117,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L117"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 557,
|
|
"name": "Sern"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
},
|
|
{
|
|
"id": 337,
|
|
"name": "execute",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 118,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L118"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 338,
|
|
"name": "execute",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 339,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "Module.execute"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [342, 335, 340, 341, 336]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [337]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 114,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L114"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 343,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 138,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 399,
|
|
"name": "SernSubCommandData",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 402,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 214,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L214"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 398,
|
|
"name": "BaseOptions"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 401,
|
|
"name": "required",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 213,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L213"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData.required"
|
|
}
|
|
},
|
|
{
|
|
"id": 400,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 212,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L212"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Subcommand",
|
|
"qualifiedName": "ApplicationCommandOptionType.Subcommand",
|
|
"package": "discord-api-types"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [402, 401, 400]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 211,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L211"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData",
|
|
"qualifiedName": "BaseApplicationCommandOptionsData",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 403,
|
|
"name": "SernSubCommandGroupData",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 406,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 220,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L220"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 399,
|
|
"name": "SernSubCommandData"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 405,
|
|
"name": "required",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 219,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L219"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData.required"
|
|
}
|
|
},
|
|
{
|
|
"id": 404,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 218,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L218"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SubcommandGroup",
|
|
"qualifiedName": "ApplicationCommandOptionType.SubcommandGroup",
|
|
"package": "discord-api-types"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [406, 405, 404]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 217,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L217"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData",
|
|
"qualifiedName": "BaseApplicationCommandOptionsData",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 213,
|
|
"name": "SlashCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 215,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 50,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L50"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 217,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 52,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 218,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 52,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L52"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 219,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 220,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 468,
|
|
"name": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 221,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "literal",
|
|
"value": "slash"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 125,
|
|
"name": "SlashOptions"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 222,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 223,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 216,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 51,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L51"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 399,
|
|
"name": "SernSubCommandData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 403,
|
|
"name": "SernSubCommandGroupData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 398,
|
|
"name": "BaseOptions"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 224,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 214,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 49,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L49"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 544,
|
|
"name": "Slash"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [215, 217, 222, 223, 216, 224, 214]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 48,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L48"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 268,
|
|
"name": "StringSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 277,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 270,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 80,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L80"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 271,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 80,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L80"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 272,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 273,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "StringSelectMenuInteraction",
|
|
"qualifiedName": "StringSelectMenuInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 274,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 275,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 276,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 269,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 79,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L79"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 549,
|
|
"name": "StringSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [277, 270, 274, 275, 276, 269]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 78,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L78"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 201,
|
|
"name": "TextCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 203,
|
|
"name": "alias",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 44,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L44"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 212,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 204,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 45,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L45"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 205,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 45,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L45"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 206,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 207,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 468,
|
|
"name": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 208,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "literal",
|
|
"value": "text"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 209,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 210,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 211,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 202,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 43,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L43"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 543,
|
|
"name": "Text"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [203, 212, 204, 209, 210, 211, 202]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 42,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L42"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 308,
|
|
"name": "UserSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 317,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 310,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 100,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L100"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 311,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 100,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L100"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 312,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 313,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "UserSelectMenuInteraction",
|
|
"qualifiedName": "UserSelectMenuInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 314,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 315,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 432,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 316,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 309,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 99,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L99"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 554,
|
|
"name": "UserSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [317, 310, 314, 315, 316, 309]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 98,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L98"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 191,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 504,
|
|
"name": "Wrapper",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0\nAn object to be passed into Sern#init() function."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 506,
|
|
"name": "commands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 14,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L14"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 508,
|
|
"name": "containerConfig",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 16,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L16"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 509,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 510,
|
|
"name": "get",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 17,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L17"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 511,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 17,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L17"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 512,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 513,
|
|
"name": "keys",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 158,
|
|
"name": "Dependencies"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [510]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 16,
|
|
"character": 30,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L16"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 505,
|
|
"name": "defaultPrefix",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true,
|
|
"isReadonly": true
|
|
},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "This will be moved to a new field in 3.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 13,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L13"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 507,
|
|
"name": "events",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true,
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 15,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L15"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [506, 508, 505, 507]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 8,
|
|
"character": 10,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/structures/wrapper.ts#L8"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 439,
|
|
"name": "AnyCommandPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 42,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L42"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 432,
|
|
"name": "ControlPlugin"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 571,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "InitArgs"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 126,
|
|
"name": "AnyDefinedModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "After modules are transformed, name and description are given default values if none\nare provided to Module. This type represents that transformation"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 24,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L24"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 364,
|
|
"name": "EventModule"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
},
|
|
{
|
|
"id": 440,
|
|
"name": "AnyEventPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 43,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L43"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 432,
|
|
"name": "ControlPlugin"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 425,
|
|
"typeArguments": [
|
|
{
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 571,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 170,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 364,
|
|
"name": "EventModule"
|
|
}
|
|
],
|
|
"name": "Processed"
|
|
}
|
|
],
|
|
"name": "InitArgs"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 366,
|
|
"name": "AnyModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 150,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L150"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 364,
|
|
"name": "EventModule"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 121,
|
|
"name": "Args",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 16,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L16"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 119,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 122,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 124,
|
|
"name": "slash",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 16,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L16"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 125,
|
|
"name": "SlashOptions"
|
|
}
|
|
},
|
|
{
|
|
"id": 123,
|
|
"name": "text",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 16,
|
|
"character": 31,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L16"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [124, 123]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 16,
|
|
"character": 29,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L16"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "ParseType"
|
|
}
|
|
},
|
|
{
|
|
"id": 464,
|
|
"name": "AutocompletePlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 71,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L71"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please view alternatives: "
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
},
|
|
{
|
|
"id": 398,
|
|
"name": "BaseOptions",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Type that replaces autocomplete with "
|
|
},
|
|
{
|
|
"kind": "inline-tag",
|
|
"tag": "@link",
|
|
"text": "SernAutocompleteData",
|
|
"target": 386
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 203,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L203"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "ApplicationCommandChoicesData",
|
|
"qualifiedName": "ApplicationCommandChoicesData",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ApplicationCommandNonOptionsData",
|
|
"qualifiedName": "ApplicationCommandNonOptionsData",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ApplicationCommandChannelOptionData",
|
|
"qualifiedName": "ApplicationCommandChannelOptionData",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ApplicationCommandNumericOptionData",
|
|
"qualifiedName": "ApplicationCommandNumericOptionData",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ApplicationCommandAttachmentOption",
|
|
"qualifiedName": "ApplicationCommandAttachmentOption",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 386,
|
|
"name": "SernAutocompleteData"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 575,
|
|
"name": "CommandArgs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 110,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/args.ts#L110"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 576,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
},
|
|
{
|
|
"id": 577,
|
|
"name": "J",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 559,
|
|
"name": "PluginType"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"id": 559,
|
|
"name": "PluginType"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 577,
|
|
"name": "J"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 576,
|
|
"name": "I"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "CommandArgsMatrix"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 365,
|
|
"name": "CommandModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 136,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L136"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 201,
|
|
"name": "TextCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 213,
|
|
"name": "SlashCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 225,
|
|
"name": "BothCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 238,
|
|
"name": "ContextMenuUser"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 248,
|
|
"name": "ContextMenuMsg"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 258,
|
|
"name": "ButtonCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 268,
|
|
"name": "StringSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 298,
|
|
"name": "MentionableSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 308,
|
|
"name": "UserSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 278,
|
|
"name": "ChannelSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 288,
|
|
"name": "RoleSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 318,
|
|
"name": "ModalSubmitCommand"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 367,
|
|
"name": "CommandModuleDefs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 154,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L154"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 368,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 369,
|
|
"name": "1",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 155,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L155"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 201,
|
|
"name": "TextCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 376,
|
|
"name": "1024",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 162,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L162"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 288,
|
|
"name": "RoleSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 374,
|
|
"name": "16",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 160,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L160"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 258,
|
|
"name": "ButtonCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 370,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 156,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L156"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 213,
|
|
"name": "SlashCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 379,
|
|
"name": "2048",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 165,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L165"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 308,
|
|
"name": "UserSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 377,
|
|
"name": "256",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 163,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L163"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 278,
|
|
"name": "ChannelSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 371,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 157,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L157"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 225,
|
|
"name": "BothCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 375,
|
|
"name": "32",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 161,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L161"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 268,
|
|
"name": "StringSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 373,
|
|
"name": "4",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 159,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L159"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 238,
|
|
"name": "ContextMenuUser"
|
|
}
|
|
},
|
|
{
|
|
"id": 378,
|
|
"name": "512",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 164,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L164"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 298,
|
|
"name": "MentionableSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 380,
|
|
"name": "64",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 166,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L166"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 318,
|
|
"name": "ModalSubmitCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 372,
|
|
"name": "8",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 158,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L158"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 248,
|
|
"name": "ContextMenuMsg"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [369, 376, 374, 370, 379, 377, 371, 375, 373, 378, 380, 372]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 154,
|
|
"character": 32,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L154"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 390,
|
|
"name": "CommandModuleNoPlugins",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 185,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L185"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
},
|
|
"templateType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
},
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "plugins"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "onEvent"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 175,
|
|
"name": "Deprecated",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 65,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L65"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 176,
|
|
"name": "Message",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 176,
|
|
"name": "Message"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 461,
|
|
"name": "DiscordEmitterPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 68,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L68"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please view alternatives: "
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
},
|
|
{
|
|
"id": 467,
|
|
"name": "DiscordEventPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 74,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L74"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please view alternatives: "
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
},
|
|
{
|
|
"id": 568,
|
|
"name": "EventArgs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 114,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/args.ts#L114"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 569,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
}
|
|
},
|
|
{
|
|
"id": 570,
|
|
"name": "J",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 559,
|
|
"name": "PluginType"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"id": 559,
|
|
"name": "PluginType"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 570,
|
|
"name": "J"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 569,
|
|
"name": "I"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "EventArgsMatrix"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 364,
|
|
"name": "EventModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 135,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L135"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 344,
|
|
"name": "DiscordEventCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 334,
|
|
"name": "SernEventCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 354,
|
|
"name": "ExternalEventCommand"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 381,
|
|
"name": "EventModuleDefs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 169,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L169"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 382,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 384,
|
|
"name": "1",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 171,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L171"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 344,
|
|
"name": "DiscordEventCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 383,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 170,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L170"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 334,
|
|
"name": "SernEventCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 385,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 172,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L172"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 354,
|
|
"name": "ExternalEventCommand"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [384, 383, 385]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 169,
|
|
"character": 30,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L169"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 391,
|
|
"name": "EventModulesNoPlugins",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 188,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L188"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
},
|
|
"templateType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 381,
|
|
"name": "EventModuleDefs"
|
|
}
|
|
},
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "plugins"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "onEvent"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 462,
|
|
"name": "ExternalEmitterPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 69,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L69"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please view alternatives: "
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
},
|
|
{
|
|
"id": 466,
|
|
"name": "ExternalEventPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 73,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L73"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please view alternatives: "
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
},
|
|
{
|
|
"id": 186,
|
|
"name": "ImportPayload",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 71,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L71"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 190,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 187,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 189,
|
|
"name": "absPath",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 71,
|
|
"character": 44,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L71"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 188,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 71,
|
|
"character": 33,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L71"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 190,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [189, 188]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 71,
|
|
"character": 31,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L71"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 395,
|
|
"name": "InputCommand",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 196,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L196"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
},
|
|
"objectType": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
},
|
|
"templateType": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 390,
|
|
"name": "CommandModuleNoPlugins"
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 396,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 397,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 197,
|
|
"character": 54,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L197"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 439,
|
|
"name": "AnyCommandPlugin"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [397]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 197,
|
|
"character": 52,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L197"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 392,
|
|
"name": "InputEvent",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 192,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L192"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
},
|
|
"objectType": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
},
|
|
"templateType": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 391,
|
|
"name": "EventModulesNoPlugins"
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 393,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 394,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 193,
|
|
"character": 51,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L193"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 440,
|
|
"name": "AnyEventPlugin"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [394]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 193,
|
|
"character": 49,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L193"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 144,
|
|
"name": "LogPayload",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 35,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L35"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 147,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 145,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 146,
|
|
"name": "message",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 35,
|
|
"character": 40,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 147,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [146]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 35,
|
|
"character": 38,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L35"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 166,
|
|
"name": "MapDeps",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 53,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L53"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 167,
|
|
"name": "Deps",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 158,
|
|
"name": "Dependencies"
|
|
}
|
|
},
|
|
{
|
|
"id": 168,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "readonly",
|
|
"target": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "reference",
|
|
"id": 168,
|
|
"name": "T"
|
|
},
|
|
"extendsType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "inferred",
|
|
"name": "First",
|
|
"constraint": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 167,
|
|
"name": "Deps"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "rest",
|
|
"elementType": {
|
|
"type": "inferred",
|
|
"name": "Rest",
|
|
"constraint": {
|
|
"type": "typeOperator",
|
|
"operator": "readonly",
|
|
"target": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"trueType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "First"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 167,
|
|
"name": "Deps"
|
|
}
|
|
}
|
|
],
|
|
"name": "UnpackFunction",
|
|
"qualifiedName": "UnpackFunction",
|
|
"package": "iti"
|
|
},
|
|
{
|
|
"type": "rest",
|
|
"elementType": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 167,
|
|
"name": "Deps"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Rest"
|
|
}
|
|
],
|
|
"name": "MapDeps"
|
|
},
|
|
"extendsType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
},
|
|
"trueType": {
|
|
"type": "tuple"
|
|
},
|
|
"falseType": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 167,
|
|
"name": "Deps"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Rest"
|
|
}
|
|
],
|
|
"name": "MapDeps"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"falseType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 169,
|
|
"name": "OptionalDependencies",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 63,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L63"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "@sern/logger"
|
|
}
|
|
},
|
|
{
|
|
"id": 119,
|
|
"name": "ParseType",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 12,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L12"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 120,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 120,
|
|
"name": "T"
|
|
}
|
|
},
|
|
"objectType": {
|
|
"type": "mapped",
|
|
"parameter": "K",
|
|
"parameterType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 120,
|
|
"name": "T"
|
|
}
|
|
},
|
|
"templateType": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "K"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 120,
|
|
"name": "T"
|
|
}
|
|
},
|
|
"extendsType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
},
|
|
"trueType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "named-tuple-member",
|
|
"name": "k",
|
|
"isOptional": false,
|
|
"element": {
|
|
"type": "reference",
|
|
"name": "K"
|
|
}
|
|
},
|
|
{
|
|
"type": "named-tuple-member",
|
|
"name": "args",
|
|
"isOptional": false,
|
|
"element": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "K"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 120,
|
|
"name": "T"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"falseType": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 127,
|
|
"name": "Payload",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 25,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 128,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 130,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 26,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 129,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 26,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 565,
|
|
"name": "PayloadType.Success"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [130, 129]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 26,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L26"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 131,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 133,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 134,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 55,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 132,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 566,
|
|
"name": "PayloadType.Failure"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [133, 134, 132]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L27"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 135,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 137,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 136,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 567,
|
|
"name": "PayloadType.Warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [137, 136]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L28"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 409,
|
|
"name": "PluginResult",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 21,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L21"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 410,
|
|
"name": "VoidResult"
|
|
}
|
|
],
|
|
"name": "Awaitable",
|
|
"qualifiedName": "Awaitable",
|
|
"package": "@discordjs/util"
|
|
}
|
|
},
|
|
{
|
|
"id": 170,
|
|
"name": "Processed",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 64,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L64"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 174,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 174,
|
|
"name": "T"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 171,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 173,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 64,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L64"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 172,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 64,
|
|
"character": 33,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L64"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [173, 172]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 64,
|
|
"character": 31,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L64"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 165,
|
|
"name": "ReplyOptions",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 48,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L48"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "InteractionReplyOptions",
|
|
"qualifiedName": "InteractionReplyOptions",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "fetchReply"
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "MessageReplyOptions",
|
|
"qualifiedName": "MessageReplyOptions",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 463,
|
|
"name": "SernEmitterPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 70,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L70"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please view alternatives: "
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
},
|
|
{
|
|
"id": 465,
|
|
"name": "SernEventPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 72,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L72"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "Please view alternatives: "
|
|
}
|
|
],
|
|
"name": "Deprecated"
|
|
}
|
|
},
|
|
{
|
|
"id": 138,
|
|
"name": "SernEventsMapping",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 139,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 142,
|
|
"name": "error",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 32,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L32"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 127,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 141,
|
|
"name": "module.activate",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 31,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L31"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 127,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 140,
|
|
"name": "module.register",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 30,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L30"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 127,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 143,
|
|
"name": "warning",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 33,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L33"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 127,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [142, 141, 140, 143]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 32,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L29"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 407,
|
|
"name": "SernOptionsData",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 223,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/module.ts#L223"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 408,
|
|
"name": "U",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ApplicationCommandOptionData",
|
|
"qualifiedName": "ApplicationCommandOptionData",
|
|
"package": "discord.js"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"name": "ApplicationCommandOptionData",
|
|
"qualifiedName": "ApplicationCommandOptionData",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "reference",
|
|
"id": 408,
|
|
"name": "U"
|
|
},
|
|
"extendsType": {
|
|
"type": "reference",
|
|
"name": "ApplicationCommandSubCommandData",
|
|
"qualifiedName": "ApplicationCommandSubCommandData",
|
|
"package": "discord.js"
|
|
},
|
|
"trueType": {
|
|
"type": "reference",
|
|
"id": 399,
|
|
"name": "SernSubCommandData"
|
|
},
|
|
"falseType": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "reference",
|
|
"id": 408,
|
|
"name": "U"
|
|
},
|
|
"extendsType": {
|
|
"type": "reference",
|
|
"name": "ApplicationCommandSubGroupData",
|
|
"qualifiedName": "ApplicationCommandSubGroupData",
|
|
"package": "discord.js"
|
|
},
|
|
"trueType": {
|
|
"type": "reference",
|
|
"id": 403,
|
|
"name": "SernSubCommandGroupData"
|
|
},
|
|
"falseType": {
|
|
"type": "reference",
|
|
"id": 398,
|
|
"name": "BaseOptions"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 148,
|
|
"name": "Singleton",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 36,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L36"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 151,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 149,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 36,
|
|
"character": 27,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L36"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 150,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 151,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 125,
|
|
"name": "SlashOptions",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 18,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L18"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CommandInteractionOptionResolver",
|
|
"qualifiedName": "CommandInteractionOptionResolver",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "getMessage"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "getFocused"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 152,
|
|
"name": "Transient",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 37,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L37"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 157,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 153,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 37,
|
|
"character": 27,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L37"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 154,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 155,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 37,
|
|
"character": 33,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/handler.ts#L37"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 156,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 157,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 410,
|
|
"name": "VoidResult",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/plugin.ts",
|
|
"line": 22,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/types/plugin.ts#L22"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "Result",
|
|
"qualifiedName": "Result",
|
|
"package": "ts-results-es"
|
|
}
|
|
},
|
|
{
|
|
"id": 25,
|
|
"name": "controller",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0\nThe object passed into every plugin to control a command's behavior"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 58,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L58"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 26,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 27,
|
|
"name": "next",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 59,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L59"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 28,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 11,
|
|
"character": 39,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/utilities/functions.ts#L11"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 29,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "OkImpl",
|
|
"qualifiedName": "OkImpl",
|
|
"package": "ts-results-es"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "ok"
|
|
},
|
|
{
|
|
"id": 30,
|
|
"name": "stop",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 60,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L60"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 31,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 11,
|
|
"character": 39,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/utilities/functions.ts#L11"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 32,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "ErrImpl",
|
|
"qualifiedName": "ErrImpl",
|
|
"package": "ts-results-es"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "err"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [27, 30]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 58,
|
|
"character": 26,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L58"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 622,
|
|
"name": "guayin",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 5,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L5"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "query",
|
|
"queryType": {
|
|
"type": "reference",
|
|
"id": 622,
|
|
"name": "guayin"
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 600,
|
|
"name": "CommandControlPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 38,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L38"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 601,
|
|
"name": "CommandControlPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.5.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 602,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 603,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 604,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 39,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L39"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 605,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 606,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 575,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 602,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 562,
|
|
"name": "Event"
|
|
}
|
|
],
|
|
"name": "CommandArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 418,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 593,
|
|
"name": "CommandInitPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 29,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L29"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 594,
|
|
"name": "CommandInitPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.5.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 595,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 542,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 596,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 597,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 30,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L30"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 598,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 599,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 575,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 595,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 560,
|
|
"name": "Init"
|
|
}
|
|
],
|
|
"name": "CommandArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 418,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 614,
|
|
"name": "DiscordEventControlPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 59,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L59"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 615,
|
|
"name": "DiscordEventControlPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.5.0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tag": "@Experimental",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A specialized function for creating control plugins with discord.js ClientEvents.\nWill probably be moved one day!"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 616,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 617,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 616,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 618,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 619,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 61,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L61"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 620,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 621,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 616,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 418,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 607,
|
|
"name": "EventControlPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 47,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L47"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 608,
|
|
"name": "EventControlPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.5.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 609,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 610,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 611,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 48,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L48"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 612,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 613,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 568,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 609,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 562,
|
|
"name": "Event"
|
|
}
|
|
],
|
|
"name": "EventArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 418,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 586,
|
|
"name": "EventInitPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 20,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L20"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 587,
|
|
"name": "EventInitPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.5.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 588,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 555,
|
|
"name": "EventType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 589,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 590,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 21,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L21"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 591,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 592,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 568,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 588,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 560,
|
|
"name": "Init"
|
|
}
|
|
],
|
|
"name": "EventArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 409,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 418,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "commandModule",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 68,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L68"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 5,
|
|
"name": "commandModule",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0\nThe wrapper function to define command modules for sern"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 6,
|
|
"name": "mod",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 395,
|
|
"name": "InputCommand"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 365,
|
|
"name": "CommandModule"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 33,
|
|
"name": "discordEvent",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 102,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L102"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 34,
|
|
"name": "discordEvent",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Create event modules from discord.js client events,\nThis is an "
|
|
},
|
|
{
|
|
"kind": "inline-tag",
|
|
"tag": "@link",
|
|
"text": "eventModule",
|
|
"target": 1
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " for discord events,\nwhere typings can be very bad."
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 35,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 36,
|
|
"name": "mod",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 37,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 40,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 105,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L105"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 41,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 105,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L105"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 42,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 43,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 35,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 38,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 103,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L103"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 35,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 39,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 104,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L104"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 440,
|
|
"name": "AnyEventPlugin"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [40, 38, 39]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 102,
|
|
"character": 64,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L102"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 364,
|
|
"name": "EventModule"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "eventModule",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 84,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/sern.ts#L84"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 2,
|
|
"name": "eventModule",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "1.0.0\nThe wrapper function to define event modules for sern"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 3,
|
|
"name": "mod",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 392,
|
|
"name": "InputEvent"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 364,
|
|
"name": "EventModule"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 578,
|
|
"name": "makePlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 6,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L6"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 579,
|
|
"name": "makePlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 580,
|
|
"name": "V",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 581,
|
|
"name": "type",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 559,
|
|
"name": "PluginType"
|
|
}
|
|
},
|
|
{
|
|
"id": 582,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 583,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 8,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/plugins/createPlugin.ts#L8"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 584,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 585,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 418,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 580,
|
|
"name": "V"
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 729,
|
|
"name": "many",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 63,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L63"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 730,
|
|
"name": "many",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "@__PURE__"
|
|
}
|
|
],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": []
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 731,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 732,
|
|
"name": "value",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Please use the transient function instead"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 731,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 733,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 63,
|
|
"character": 37,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L63"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 734,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 735,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 11,
|
|
"character": 39,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/utilities/functions.ts#L11"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 736,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 731,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 703,
|
|
"name": "single",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 18,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L18"
|
|
},
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 24,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L24"
|
|
},
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 33,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L33"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 704,
|
|
"name": "single",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": []
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 705,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "NotFunction"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 706,
|
|
"name": "cb",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 705,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 707,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 18,
|
|
"character": 54,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L18"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 708,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 705,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 709,
|
|
"name": "single",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "New signature"
|
|
}
|
|
],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 712,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 710,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 24,
|
|
"character": 33,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L24"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 711,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 713,
|
|
"name": "cb",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 712,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 712,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 714,
|
|
"name": "transient",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 42,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L42"
|
|
},
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 43,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L43"
|
|
},
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 51,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L51"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 715,
|
|
"name": "transient",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": []
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 716,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "NotFunction"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 717,
|
|
"name": "cb",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Deprecated signature"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 716,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 718,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 42,
|
|
"character": 57,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L42"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 719,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 720,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 42,
|
|
"character": 63,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L42"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 721,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 716,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 722,
|
|
"name": "transient",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "@__PURE__"
|
|
}
|
|
],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@since",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "2.0.0\nFollowing iti's singleton and transient implementation,\nuse transient if you want a new dependency every time your container getter is called"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 727,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 723,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 43,
|
|
"character": 36,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L43"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 724,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 725,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/lifetimeFunctions.ts",
|
|
"line": 43,
|
|
"character": 42,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/lifetimeFunctions.ts#L43"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 726,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 728,
|
|
"name": "cb",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 727,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 727,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 737,
|
|
"name": "useContainerRaw",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/provider.ts",
|
|
"line": 51,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/handler/dependencies/provider.ts#L51"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 738,
|
|
"name": "useContainerRaw",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Returns the underlying data structure holding all dependencies.\nPlease be careful as this only gets the client's current state.\nExposes some methods from iti"
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 739,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 158,
|
|
"name": "Dependencies"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 739,
|
|
"name": "T"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 740,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {}
|
|
}
|
|
}
|
|
],
|
|
"name": "Container",
|
|
"qualifiedName": "Container",
|
|
"package": "iti"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Namespaces",
|
|
"children": [44]
|
|
},
|
|
{
|
|
"title": "Enumerations",
|
|
"children": [542, 555, 564, 559, 533]
|
|
},
|
|
{
|
|
"title": "Classes",
|
|
"children": [16, 468, 631, 655, 686, 7, 514, 62]
|
|
},
|
|
{
|
|
"title": "Interfaces",
|
|
"children": [
|
|
328, 225, 258, 278, 441, 248, 238, 432, 411, 158, 177, 344, 623, 451, 354, 571, 425, 641,
|
|
298, 318, 191, 672, 418, 288, 386, 334, 399, 403, 213, 268, 201, 308, 504
|
|
]
|
|
},
|
|
{
|
|
"title": "Type Aliases",
|
|
"children": [
|
|
439, 126, 440, 366, 121, 464, 398, 575, 365, 367, 390, 175, 461, 467, 568, 364, 381, 391,
|
|
462, 466, 186, 395, 392, 144, 166, 169, 119, 127, 409, 170, 165, 463, 465, 138, 407, 148,
|
|
125, 152, 410
|
|
]
|
|
},
|
|
{
|
|
"title": "Variables",
|
|
"children": [25, 622]
|
|
},
|
|
{
|
|
"title": "Functions",
|
|
"children": [600, 593, 614, 607, 586, 4, 33, 1, 578, 729, 703, 714, 737]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/index.ts",
|
|
"line": 1,
|
|
"character": 0,
|
|
"url": "https://github.com/sern-handler/handler/blob/d983f95/src/index.ts#L1"
|
|
}
|
|
]
|
|
}
|