mirror of
https://github.com/sern-handler/sern-community
synced 2026-06-27 18:22:18 +00:00
14881 lines
318 KiB
JSON
14881 lines
318 KiB
JSON
{
|
|
"id": 0,
|
|
"name": "@sern/handler",
|
|
"kind": 1,
|
|
"kindString": "Project",
|
|
"flags": {},
|
|
"originalName": "",
|
|
"children": [
|
|
{
|
|
"id": 33,
|
|
"name": "Sern",
|
|
"kind": 4,
|
|
"kindString": "Namespace",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 55,
|
|
"name": "CommandExecutable",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 103,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L103"
|
|
}
|
|
],
|
|
"target": 16
|
|
},
|
|
{
|
|
"id": 56,
|
|
"name": "EventExecutable",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 112,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L112"
|
|
}
|
|
],
|
|
"target": 7
|
|
},
|
|
{
|
|
"id": 37,
|
|
"name": "commandModule",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 60,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L60"
|
|
}
|
|
],
|
|
"target": 4
|
|
},
|
|
{
|
|
"id": 54,
|
|
"name": "controller",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 51,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L51"
|
|
}
|
|
],
|
|
"target": 25
|
|
},
|
|
{
|
|
"id": 38,
|
|
"name": "eventModule",
|
|
"kind": 8388608,
|
|
"kindString": "Reference",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 75,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L75"
|
|
}
|
|
],
|
|
"target": 1
|
|
},
|
|
{
|
|
"id": 34,
|
|
"name": "init",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 34,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L34"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 35,
|
|
"name": "init",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@example",
|
|
"content": [
|
|
{
|
|
"kind": "code",
|
|
"text": "```ts title=\"src/index.ts\"\r\nSern.init({\r\n defaultPrefix: '!',\r\n commands: 'dist/commands',\r\n events: 'dist/events',\r\n containerConfig : {\r\n get: useContainer\r\n }\r\n})\r\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 36,
|
|
"name": "wrapper",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Options to pass into sern.\r\nFunction to start the handler up"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 413,
|
|
"name": "Wrapper"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 39,
|
|
"name": "makeDependencies",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 89,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L89"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 40,
|
|
"name": "makeDependencies",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 41,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 176,
|
|
"name": "Dependencies"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 42,
|
|
"name": "conf",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "a configuration for creating your project dependencies"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 43,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 45,
|
|
"name": "build",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 91,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L91"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 46,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 91,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L91"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 47,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 48,
|
|
"name": "root",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
],
|
|
"name": "Record",
|
|
"qualifiedName": "Record",
|
|
"package": "typescript"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 49,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {}
|
|
}
|
|
}
|
|
],
|
|
"name": "Container",
|
|
"qualifiedName": "Container",
|
|
"package": "iti"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 41,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Partial",
|
|
"qualifiedName": "Partial",
|
|
"package": "typescript"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 41,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "Container",
|
|
"qualifiedName": "Container",
|
|
"package": "iti"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 44,
|
|
"name": "exclude",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 90,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L90"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "@sern/logger"
|
|
}
|
|
],
|
|
"name": "Set",
|
|
"qualifiedName": "Set",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
45,
|
|
44
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 89,
|
|
"character": 63,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L89"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 50,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/provider.ts",
|
|
"line": 80,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/dependencies/provider.ts#L80"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 51,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 52,
|
|
"name": "V",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 41,
|
|
"name": "T"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 53,
|
|
"name": "keys",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "rest",
|
|
"elementType": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 52,
|
|
"name": "V"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 184,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 41,
|
|
"name": "T"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 52,
|
|
"name": "V"
|
|
}
|
|
],
|
|
"name": "MapDeps"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "References",
|
|
"children": [
|
|
55,
|
|
56,
|
|
37,
|
|
54,
|
|
38
|
|
]
|
|
},
|
|
{
|
|
"title": "Functions",
|
|
"children": [
|
|
34,
|
|
39
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 1,
|
|
"character": 0,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 442,
|
|
"name": "CommandType",
|
|
"kind": 8,
|
|
"kindString": "Enumeration",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A bitfield that discriminates command modules"
|
|
}
|
|
],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@example",
|
|
"content": [
|
|
{
|
|
"kind": "code",
|
|
"text": "```ts\r\nexport default commandModule({\r\n // highlight-next-line\r\n type : CommandType.Text,\r\n name : 'a text command'\r\n execute(message) {\r\n console.log(message.content)\r\n }\r\n})\r\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 445,
|
|
"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": 28,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 3
|
|
}
|
|
},
|
|
{
|
|
"id": 448,
|
|
"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": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 16
|
|
}
|
|
},
|
|
{
|
|
"id": 451,
|
|
"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": 52,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 256
|
|
}
|
|
},
|
|
{
|
|
"id": 447,
|
|
"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": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 8
|
|
}
|
|
},
|
|
{
|
|
"id": 446,
|
|
"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": 32,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L32"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 4
|
|
}
|
|
},
|
|
{
|
|
"id": 452,
|
|
"name": "MentionableSelect",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 53,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L53"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 512
|
|
}
|
|
},
|
|
{
|
|
"id": 450,
|
|
"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": 48,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L48"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 64
|
|
}
|
|
},
|
|
{
|
|
"id": 453,
|
|
"name": "RoleSelect",
|
|
"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/ab4bdaa/src/handler/structures/enums.ts#L54"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1024
|
|
}
|
|
},
|
|
{
|
|
"id": 444,
|
|
"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": 24,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L24"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2
|
|
}
|
|
},
|
|
{
|
|
"id": 449,
|
|
"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": 44,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L44"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 32
|
|
}
|
|
},
|
|
{
|
|
"id": 443,
|
|
"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": 20,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L20"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 454,
|
|
"name": "UserSelect",
|
|
"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/ab4bdaa/src/handler/structures/enums.ts#L55"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2048
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [
|
|
445,
|
|
448,
|
|
451,
|
|
447,
|
|
446,
|
|
452,
|
|
450,
|
|
453,
|
|
444,
|
|
449,
|
|
443,
|
|
454
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 16,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L16"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 455,
|
|
"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\r\nexport default eventModule({\r\n //highlight-next-line\r\n type : EventType.Discord,\r\n name : 'guildMemberAdd'\r\n execute(member : GuildMember) {\r\n console.log(member)\r\n }\r\n})\r\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 456,
|
|
"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": 77,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L77"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1
|
|
}
|
|
},
|
|
{
|
|
"id": 458,
|
|
"name": "External",
|
|
"kind": 16,
|
|
"kindString": "Enumeration Member",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The EventType for handling external events.\r\nCould be for example, "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`process`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " events, database events"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 86,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L86"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 3
|
|
}
|
|
},
|
|
{
|
|
"id": 457,
|
|
"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": 81,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L81"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [
|
|
456,
|
|
458,
|
|
457
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 73,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L73"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 462,
|
|
"name": "PayloadType",
|
|
"kind": 8,
|
|
"kindString": "Enumeration",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 464,
|
|
"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": 124,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L124"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "failure"
|
|
}
|
|
},
|
|
{
|
|
"id": 463,
|
|
"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": 120,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L120"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "success"
|
|
}
|
|
},
|
|
{
|
|
"id": 465,
|
|
"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": 128,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L128"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [
|
|
464,
|
|
463,
|
|
465
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 116,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L116"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 459,
|
|
"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\r\nexport default function myPlugin() : EventPlugin<CommandType.Text> {\r\n //highlight-next-line\r\n type : PluginType.Event,\r\n execute([ctx, args], controller) {\r\n return controller.next();\r\n }\r\n}\r\n```"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 461,
|
|
"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": 111,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L111"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 2
|
|
}
|
|
},
|
|
{
|
|
"id": 460,
|
|
"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": 107,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L107"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": 1
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [
|
|
461,
|
|
460
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/enums.ts",
|
|
"line": 103,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/enums.ts#L103"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": 442,
|
|
"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": 107,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L107"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "literal",
|
|
"value": "execute"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 19,
|
|
"name": "Type"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 22,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 106,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L106"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 21,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 105,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L105"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 20,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 104,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L104"
|
|
}
|
|
],
|
|
"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": 103,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L103"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 24,
|
|
"name": "Type",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 377,
|
|
"name": "Context",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Provides values shared between\r\nMessage and ChatInputCommandInteraction"
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 381,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isPrivate": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 22,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L22"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 382,
|
|
"name": "new Context",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 383,
|
|
"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": 377,
|
|
"name": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 390,
|
|
"name": "channel",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 45,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L45"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 391,
|
|
"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": 402,
|
|
"name": "client",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 75,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L75"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 403,
|
|
"name": "client",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
],
|
|
"name": "Client",
|
|
"qualifiedName": "Client",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 394,
|
|
"name": "createdTimestamp",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 56,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L56"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 395,
|
|
"name": "createdTimestamp",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 396,
|
|
"name": "guild",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 60,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L60"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 397,
|
|
"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": 398,
|
|
"name": "guildId",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 64,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L64"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 399,
|
|
"name": "guildId",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 388,
|
|
"name": "id",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 41,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L41"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 389,
|
|
"name": "id",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 404,
|
|
"name": "inGuild",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 79,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L79"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 405,
|
|
"name": "inGuild",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 386,
|
|
"name": "interaction",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 37,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L37"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 387,
|
|
"name": "interaction",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Getting the ChatInputCommandInteraction object. Crashes if module type is\r\nCommandType.Text or the event fired in a Both command was\r\nMessage"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "CacheType",
|
|
"qualifiedName": "CacheType",
|
|
"package": "discord.js"
|
|
}
|
|
],
|
|
"name": "ChatInputCommandInteraction",
|
|
"qualifiedName": "ChatInputCommandInteraction",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 400,
|
|
"name": "member",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 71,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L71"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 401,
|
|
"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": 384,
|
|
"name": "message",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 29,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L29"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 385,
|
|
"name": "message",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Getting the Message object. Crashes if module type is\r\nCommandType.Slash or the event fired in a Both command was\r\nChatInputCommandInteraction"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
],
|
|
"name": "Message",
|
|
"qualifiedName": "Message",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 392,
|
|
"name": "user",
|
|
"kind": 262144,
|
|
"kindString": "Accessor",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 52,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L52"
|
|
}
|
|
],
|
|
"getSignature": {
|
|
"id": 393,
|
|
"name": "user",
|
|
"kind": 524288,
|
|
"kindString": "Get signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "If context is holding a message, message.author\r\nelse, interaction.user"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "User",
|
|
"qualifiedName": "User",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 406,
|
|
"name": "isMessage",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 82,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L82"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 407,
|
|
"name": "isMessage",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 408,
|
|
"name": "isSlash",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 86,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L86"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 409,
|
|
"name": "isSlash",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 410,
|
|
"name": "reply",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 97,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L97"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 411,
|
|
"name": "reply",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 412,
|
|
"name": "content",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 183,
|
|
"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": 378,
|
|
"name": "wrap",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 90,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L90"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 379,
|
|
"name": "wrap",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 380,
|
|
"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": 377,
|
|
"name": "default"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [
|
|
381
|
|
]
|
|
},
|
|
{
|
|
"title": "Accessors",
|
|
"children": [
|
|
390,
|
|
402,
|
|
394,
|
|
396,
|
|
398,
|
|
388,
|
|
404,
|
|
386,
|
|
400,
|
|
384,
|
|
392
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
406,
|
|
408,
|
|
410,
|
|
378
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/context.ts",
|
|
"line": 21,
|
|
"character": 21,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/context.ts#L21"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 560,
|
|
"name": "DefaultErrorHandling",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 561,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 562,
|
|
"name": "new DefaultErrorHandling",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 560,
|
|
"name": "DefaultErrorHandling"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 563,
|
|
"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": 25,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "5",
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 553,
|
|
"name": "ErrorHandling.keepAlive"
|
|
}
|
|
},
|
|
{
|
|
"id": 564,
|
|
"name": "crash",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 26,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L26"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 565,
|
|
"name": "crash",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Utility function to crash"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 566,
|
|
"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": 555,
|
|
"name": "ErrorHandling.crash"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 554,
|
|
"name": "ErrorHandling.crash"
|
|
}
|
|
},
|
|
{
|
|
"id": 567,
|
|
"name": "updateAlive",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 29,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L29"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 568,
|
|
"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": 569,
|
|
"name": "e",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 558,
|
|
"name": "ErrorHandling.updateAlive"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 557,
|
|
"name": "ErrorHandling.updateAlive"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [
|
|
561
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
563
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
564,
|
|
567
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 24,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L24"
|
|
}
|
|
],
|
|
"implementedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 552,
|
|
"name": "ErrorHandling"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 584,
|
|
"name": "DefaultLogging",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 585,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 586,
|
|
"name": "new DefaultLogging",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 584,
|
|
"name": "DefaultLogging"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 587,
|
|
"name": "date",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 11,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L11"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 588,
|
|
"name": "date",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Date",
|
|
"qualifiedName": "Date",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 589,
|
|
"name": "debug",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 12,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L12"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 590,
|
|
"name": "debug",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 591,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 581,
|
|
"name": "Logging.debug"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 580,
|
|
"name": "Logging.debug"
|
|
}
|
|
},
|
|
{
|
|
"id": 592,
|
|
"name": "error",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 16,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L16"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 593,
|
|
"name": "error",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 594,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 572,
|
|
"name": "Logging.error"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 571,
|
|
"name": "Logging.error"
|
|
}
|
|
},
|
|
{
|
|
"id": 595,
|
|
"name": "info",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 20,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L20"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 596,
|
|
"name": "info",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 597,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 578,
|
|
"name": "Logging.info"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 577,
|
|
"name": "Logging.info"
|
|
}
|
|
},
|
|
{
|
|
"id": 598,
|
|
"name": "warning",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 24,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L24"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 599,
|
|
"name": "warning",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 600,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 575,
|
|
"name": "Logging.warning"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 574,
|
|
"name": "Logging.warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [
|
|
585
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
587,
|
|
589,
|
|
592,
|
|
595,
|
|
598
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 10,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L10"
|
|
}
|
|
],
|
|
"implementedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 570,
|
|
"name": "Logging"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 615,
|
|
"name": "DefaultModuleManager",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 616,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 13,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L13"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 617,
|
|
"name": "new DefaultModuleManager",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 618,
|
|
"name": "moduleStore",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 423,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 615,
|
|
"name": "DefaultModuleManager"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 619,
|
|
"name": "get",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 14,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L14"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 620,
|
|
"name": "get",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 621,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 622,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 623,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 14,
|
|
"character": 38,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L14"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 624,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 625,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 423,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 621,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 621,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 603,
|
|
"name": "ModuleManager.get"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 602,
|
|
"name": "ModuleManager.get"
|
|
}
|
|
},
|
|
{
|
|
"id": 626,
|
|
"name": "set",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 18,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L18"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 627,
|
|
"name": "set",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 628,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 629,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 18,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L18"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 630,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 631,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 423,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 610,
|
|
"name": "ModuleManager.set"
|
|
}
|
|
}
|
|
],
|
|
"implementationOf": {
|
|
"type": "reference",
|
|
"id": 609,
|
|
"name": "ModuleManager.set"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [
|
|
616
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
619,
|
|
626
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 12,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L12"
|
|
}
|
|
],
|
|
"implementedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 601,
|
|
"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": 455,
|
|
"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": 116,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L116"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "literal",
|
|
"value": "execute"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 10,
|
|
"name": "Type"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 357,
|
|
"name": "EventModuleDefs"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 13,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 115,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L115"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 114,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L114"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isAbstract": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 113,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L113"
|
|
}
|
|
],
|
|
"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": 112,
|
|
"character": 22,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L112"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 15,
|
|
"name": "Type",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 423,
|
|
"name": "ModuleStore",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Storing all command modules\r\nThis dependency is usually injected into ModuleManager"
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 424,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {},
|
|
"signatures": [
|
|
{
|
|
"id": 425,
|
|
"name": "new ModuleStore",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 423,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 427,
|
|
"name": "ApplicationCommands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 10,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L10"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 428,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 431,
|
|
"name": "1",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 13,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L13"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 429,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 11,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L11"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 430,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 12,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L12"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
431,
|
|
429,
|
|
430
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 10,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L10"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 426,
|
|
"name": "BothCommands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 9,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L9"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 434,
|
|
"name": "InteractionHandlers",
|
|
"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/ab4bdaa/src/handler/structures/moduleStore.ts#L17"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 435,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 436,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 18,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L18"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 437,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 19,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L19"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 441,
|
|
"name": "5",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 23,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L23"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 440,
|
|
"name": "6",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 22,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L22"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 439,
|
|
"name": "7",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 21,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L21"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 438,
|
|
"name": "8",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 20,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L20"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
436,
|
|
437,
|
|
441,
|
|
440,
|
|
439,
|
|
438
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 17,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L17"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 432,
|
|
"name": "ModalSubmit",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 15,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L15"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 433,
|
|
"name": "TextCommands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 16,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L16"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
],
|
|
"name": "Map",
|
|
"qualifiedName": "Map",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [
|
|
424
|
|
]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
427,
|
|
426,
|
|
434,
|
|
432,
|
|
433
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/moduleStore.ts",
|
|
"line": 8,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/moduleStore.ts#L8"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 57,
|
|
"name": "SernEmitter",
|
|
"kind": 128,
|
|
"kindString": "Class",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 90,
|
|
"name": "constructor",
|
|
"kind": 512,
|
|
"kindString": "Constructor",
|
|
"flags": {
|
|
"isExternal": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/.pnpm/@types+node@18.11.18/node_modules/@types/node/ts4.8/events.d.ts",
|
|
"line": 111,
|
|
"character": 8
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 91,
|
|
"name": "new SernEmitter",
|
|
"kind": 16384,
|
|
"kindString": "Constructor signature",
|
|
"flags": {
|
|
"isExternal": true
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 92,
|
|
"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": 57,
|
|
"name": "SernEmitter"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.constructor"
|
|
}
|
|
}
|
|
],
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.constructor"
|
|
}
|
|
},
|
|
{
|
|
"id": 109,
|
|
"name": "emit",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 34,
|
|
"character": 20,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L34"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 110,
|
|
"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": 111,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 156,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 112,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 111,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 113,
|
|
"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": 111,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 156,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.emit"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.emit"
|
|
}
|
|
},
|
|
{
|
|
"id": 93,
|
|
"name": "on",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 12,
|
|
"character": 20,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L12"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 94,
|
|
"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": 95,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 156,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 96,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 95,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 97,
|
|
"name": "listener",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "what to do with the data"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 98,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 14,
|
|
"character": 18,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L14"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 99,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 100,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 95,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 156,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 57,
|
|
"name": "SernEmitter"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.on"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.on"
|
|
}
|
|
},
|
|
{
|
|
"id": 101,
|
|
"name": "once",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 23,
|
|
"character": 20,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L23"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 102,
|
|
"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": 103,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 156,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 104,
|
|
"name": "eventName",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 103,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 105,
|
|
"name": "listener",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "what to do with the data"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 106,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 25,
|
|
"character": 18,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L25"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 107,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 108,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 103,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 156,
|
|
"name": "SernEventsMapping"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 57,
|
|
"name": "SernEmitter"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.once"
|
|
}
|
|
}
|
|
],
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "EventEmitter.once"
|
|
}
|
|
},
|
|
{
|
|
"id": 64,
|
|
"name": "failure",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 43,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L43"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 65,
|
|
"name": "failure",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 66,
|
|
"name": "module",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
},
|
|
{
|
|
"id": 67,
|
|
"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": 68,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 70,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 342,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 71,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 55,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 69,
|
|
"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/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 464,
|
|
"name": "Failure"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
70,
|
|
71,
|
|
69
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 72,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 73,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 46,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L46"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 464,
|
|
"name": "Failure"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
73
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 46,
|
|
"character": 45,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L46"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 58,
|
|
"name": "payload",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isPrivate": true,
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 40,
|
|
"character": 19,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L40"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 59,
|
|
"name": "payload",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 60,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 145,
|
|
"name": "Payload"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 61,
|
|
"name": "type",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 462,
|
|
"name": "PayloadType"
|
|
}
|
|
},
|
|
{
|
|
"id": 62,
|
|
"name": "module",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
},
|
|
{
|
|
"id": 63,
|
|
"name": "reason",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 60,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 74,
|
|
"name": "success",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 48,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L48"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 75,
|
|
"name": "success",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 76,
|
|
"name": "module",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 77,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 79,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 342,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 78,
|
|
"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/ab4bdaa/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 463,
|
|
"name": "Success"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
79,
|
|
78
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L27"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 80,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 81,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 49,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L49"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 463,
|
|
"name": "Success"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
81
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 49,
|
|
"character": 45,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L49"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 82,
|
|
"name": "warning",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {
|
|
"isStatic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 51,
|
|
"character": 11,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L51"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 83,
|
|
"name": "warning",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 84,
|
|
"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": 85,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 87,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 86,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 465,
|
|
"name": "Warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
87,
|
|
86
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L29"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 88,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 89,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 52,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 465,
|
|
"name": "Warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
89
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 52,
|
|
"character": 45,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L52"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [
|
|
90
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
109,
|
|
93,
|
|
101,
|
|
64,
|
|
58,
|
|
74,
|
|
82
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sernEmitter.ts",
|
|
"line": 6,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sernEmitter.ts#L6"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "EventEmitter",
|
|
"qualifiedName": "EventEmitter",
|
|
"package": "@types/node"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 330,
|
|
"name": "AutocompleteCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 332,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 112,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L112"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 336,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 116,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L116"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 337,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 116,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L116"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 338,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 339,
|
|
"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",
|
|
"id": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 331,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 111,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L111"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 335,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 115,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L115"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 334,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 114,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L114"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 333,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 113,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L113"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
332,
|
|
336,
|
|
331,
|
|
335,
|
|
334,
|
|
333
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 110,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L110"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 227,
|
|
"name": "BothCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 229,
|
|
"name": "alias",
|
|
"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/ab4bdaa/src/types/module.ts#L59"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 230,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 60,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L60"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 232,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 62,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L62"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 233,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 62,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L62"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 234,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 235,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 377,
|
|
"name": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 236,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 132,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 237,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 238,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 231,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 61,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L61"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "SernSubCommandData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 371,
|
|
"name": "SernSubCommandGroupData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "BaseOptions"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 239,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 228,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 58,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L58"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 445,
|
|
"name": "Both"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
229,
|
|
230,
|
|
232,
|
|
237,
|
|
238,
|
|
231,
|
|
239,
|
|
228
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 57,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L57"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 260,
|
|
"name": "ButtonCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 269,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 262,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 77,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L77"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 263,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 77,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L77"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 264,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 265,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 266,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 267,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 268,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 261,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 76,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L76"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 448,
|
|
"name": "Button"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
269,
|
|
262,
|
|
266,
|
|
267,
|
|
268,
|
|
261
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 75,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L75"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 280,
|
|
"name": "ChannelSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 289,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 282,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 87,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L87"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 283,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 87,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L87"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 284,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 285,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 286,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 287,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 288,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 281,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 86,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L86"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 451,
|
|
"name": "ChannelSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
289,
|
|
282,
|
|
286,
|
|
287,
|
|
288,
|
|
281
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 85,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L85"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 250,
|
|
"name": "ContextMenuMsg",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 259,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 252,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 72,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L72"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 253,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 72,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L72"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 254,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 255,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 256,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 257,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 258,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 251,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 71,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L71"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 447,
|
|
"name": "CtxMsg"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
259,
|
|
252,
|
|
256,
|
|
257,
|
|
258,
|
|
251
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 70,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L70"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 240,
|
|
"name": "ContextMenuUser",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 249,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 242,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 67,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L67"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 243,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 67,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L67"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 244,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 245,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 246,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 247,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 248,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 241,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 66,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L66"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 446,
|
|
"name": "CtxUser"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
249,
|
|
242,
|
|
246,
|
|
247,
|
|
248,
|
|
241
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 65,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L65"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 491,
|
|
"name": "ControlPlugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 493,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 35,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 494,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 35,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L35"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 495,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 496,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 497,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 479,
|
|
"name": "Plugin.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 492,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 34,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L34"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 461,
|
|
"name": "Control"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 478,
|
|
"name": "Plugin.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
493,
|
|
492
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 33,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L33"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 497,
|
|
"name": "Args",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 477,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 497,
|
|
"name": "Args"
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 176,
|
|
"name": "Dependencies",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 177,
|
|
"name": "@sern/client",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 41,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L41"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "__module",
|
|
"qualifiedName": "EventEmitter",
|
|
"package": "@types/node"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 179,
|
|
"name": "@sern/emitter",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 43,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L43"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 57,
|
|
"name": "SernEmitter"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 182,
|
|
"name": "@sern/errors",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 46,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L46"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 552,
|
|
"name": "ErrorHandling"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 178,
|
|
"name": "@sern/logger",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 42,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L42"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 570,
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
],
|
|
"name": "Logging"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 181,
|
|
"name": "@sern/modules",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 45,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L45"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 601,
|
|
"name": "ModuleManager"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
},
|
|
{
|
|
"id": 180,
|
|
"name": "@sern/store",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 44,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L44"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 166,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 423,
|
|
"name": "ModuleStore"
|
|
}
|
|
],
|
|
"name": "Singleton"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
177,
|
|
179,
|
|
182,
|
|
178,
|
|
181,
|
|
180
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 40,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L40"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 552,
|
|
"name": "ErrorHandling",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 553,
|
|
"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": 9,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L9"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 554,
|
|
"name": "crash",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 15,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L15"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 555,
|
|
"name": "crash",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Utility function to crash"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 556,
|
|
"name": "error",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 557,
|
|
"name": "updateAlive",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 21,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L21"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 558,
|
|
"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": 559,
|
|
"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": [
|
|
553
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
554,
|
|
557
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/errorHandling.ts",
|
|
"line": 5,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/errorHandling.ts#L5"
|
|
}
|
|
],
|
|
"implementedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 560,
|
|
"name": "DefaultErrorHandling"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 469,
|
|
"name": "InitArgs",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 471,
|
|
"name": "absPath",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 100,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/args.ts#L100"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 470,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 99,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/args.ts#L99"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 472,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
471,
|
|
470
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 98,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/args.ts#L98"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 472,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 144,
|
|
"name": "AnyDefinedModule"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 484,
|
|
"name": "InitPlugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 486,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 30,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L30"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 487,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 30,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L30"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 488,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 489,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 490,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 479,
|
|
"name": "Plugin.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 485,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 29,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 460,
|
|
"name": "Init"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 478,
|
|
"name": "Plugin.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
486,
|
|
485
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 28,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L28"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 490,
|
|
"name": "Args",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 477,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 490,
|
|
"name": "Args"
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 570,
|
|
"name": "Logging",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 580,
|
|
"name": "debug",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 7,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L7"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 581,
|
|
"name": "debug",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 582,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 583,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 571,
|
|
"name": "error",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 4,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L4"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 572,
|
|
"name": "error",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 573,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 583,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 577,
|
|
"name": "info",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 6,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L6"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 578,
|
|
"name": "info",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 579,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 583,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 574,
|
|
"name": "warning",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 5,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L5"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 575,
|
|
"name": "warning",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 576,
|
|
"name": "payload",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 162,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 583,
|
|
"name": "T"
|
|
}
|
|
],
|
|
"name": "LogPayload"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
580,
|
|
571,
|
|
577,
|
|
574
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/logging.ts",
|
|
"line": 3,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/logging.ts#L3"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 583,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"implementedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 584,
|
|
"name": "DefaultLogging"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 300,
|
|
"name": "MentionableSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 309,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 302,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 97,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L97"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 303,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 97,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L97"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 304,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 305,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 306,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 307,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 308,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 301,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 96,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L96"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 452,
|
|
"name": "MentionableSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
309,
|
|
302,
|
|
306,
|
|
307,
|
|
308,
|
|
301
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 95,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L95"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 320,
|
|
"name": "ModalSubmitCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 329,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 322,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 107,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L107"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 323,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 107,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L107"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 324,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 325,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 326,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 327,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 328,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 321,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 106,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L106"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 450,
|
|
"name": "Modal"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
329,
|
|
322,
|
|
326,
|
|
327,
|
|
328,
|
|
321
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 105,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L105"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 193,
|
|
"name": "Module",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 198,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 199,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 41,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L41"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 200,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 41,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L41"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 201,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 202,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 195,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 196,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 197,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 194,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 36,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
198,
|
|
199,
|
|
195,
|
|
196,
|
|
197,
|
|
194
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 35,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L35"
|
|
}
|
|
],
|
|
"extendedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 203,
|
|
"name": "TextCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 215,
|
|
"name": "SlashCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 227,
|
|
"name": "BothCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 240,
|
|
"name": "ContextMenuUser"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 250,
|
|
"name": "ContextMenuMsg"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 260,
|
|
"name": "ButtonCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 270,
|
|
"name": "StringSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 280,
|
|
"name": "ChannelSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 290,
|
|
"name": "RoleSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 300,
|
|
"name": "MentionableSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 310,
|
|
"name": "UserSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 320,
|
|
"name": "ModalSubmitCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 330,
|
|
"name": "AutocompleteCommand"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 601,
|
|
"name": "ModuleManager",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 602,
|
|
"name": "get",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 6,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L6"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 603,
|
|
"name": "get",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 604,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 605,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 606,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 7,
|
|
"character": 15,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L7"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 607,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 608,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 423,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 604,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 604,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 609,
|
|
"name": "set",
|
|
"kind": 2048,
|
|
"kindString": "Method",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 9,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L9"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 610,
|
|
"name": "set",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 611,
|
|
"name": "strat",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 612,
|
|
"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/ab4bdaa/src/handler/contracts/moduleManager.ts#L9"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 613,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 614,
|
|
"name": "ms",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 423,
|
|
"name": "ModuleStore"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Methods",
|
|
"children": [
|
|
602,
|
|
609
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/contracts/moduleManager.ts",
|
|
"line": 5,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/contracts/moduleManager.ts#L5"
|
|
}
|
|
],
|
|
"implementedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 615,
|
|
"name": "DefaultModuleManager"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 477,
|
|
"name": "Plugin",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 479,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 25,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 480,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 25,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L25"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 481,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 482,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 483,
|
|
"name": "Args"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 478,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 24,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L24"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 459,
|
|
"name": "PluginType"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
479,
|
|
478
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 23,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L23"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 483,
|
|
"name": "Args",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extendedBy": [
|
|
{
|
|
"type": "reference",
|
|
"id": 484,
|
|
"name": "InitPlugin"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 491,
|
|
"name": "ControlPlugin"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 290,
|
|
"name": "RoleSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 299,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 292,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 92,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L92"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 293,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 92,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L92"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 294,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 295,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 296,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 297,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 298,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 291,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 91,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L91"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 453,
|
|
"name": "RoleSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
299,
|
|
292,
|
|
296,
|
|
297,
|
|
298,
|
|
291
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 90,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L90"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 362,
|
|
"name": "SernAutocompleteData",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 363,
|
|
"name": "autocomplete",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 161,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L161"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"id": 365,
|
|
"name": "command",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 166,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L166"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 330,
|
|
"name": "AutocompleteCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 364,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 162,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L162"
|
|
}
|
|
],
|
|
"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": [
|
|
363,
|
|
365,
|
|
364
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 159,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L159"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData",
|
|
"qualifiedName": "BaseApplicationCommandOptionsData",
|
|
"package": "discord.js"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "autocomplete"
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 367,
|
|
"name": "SernSubCommandData",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 370,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 183,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L183"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "BaseOptions"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 369,
|
|
"name": "required",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 182,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L182"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData.required"
|
|
}
|
|
},
|
|
{
|
|
"id": 368,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 181,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L181"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "Subcommand",
|
|
"qualifiedName": "ApplicationCommandOptionType.Subcommand",
|
|
"package": "discord-api-types"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
370,
|
|
369,
|
|
368
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 180,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L180"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData",
|
|
"qualifiedName": "BaseApplicationCommandOptionsData",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 371,
|
|
"name": "SernSubCommandGroupData",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 374,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 189,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L189"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "SernSubCommandData"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 373,
|
|
"name": "required",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 188,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L188"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData.required"
|
|
}
|
|
},
|
|
{
|
|
"id": 372,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 187,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L187"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SubcommandGroup",
|
|
"qualifiedName": "ApplicationCommandOptionType.SubcommandGroup",
|
|
"package": "discord-api-types"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
374,
|
|
373,
|
|
372
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 186,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L186"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"name": "BaseApplicationCommandOptionsData",
|
|
"qualifiedName": "BaseApplicationCommandOptionsData",
|
|
"package": "discord.js"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 215,
|
|
"name": "SlashCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 217,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 52,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 219,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 54,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L54"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 220,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 54,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L54"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 221,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 222,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 377,
|
|
"name": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 223,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "literal",
|
|
"value": "slash"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 136,
|
|
"name": "SlashOptions"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 224,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 225,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 218,
|
|
"name": "options",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 53,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L53"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "SernSubCommandData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 371,
|
|
"name": "SernSubCommandGroupData"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "BaseOptions"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 226,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 216,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 51,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L51"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 444,
|
|
"name": "Slash"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
217,
|
|
219,
|
|
224,
|
|
225,
|
|
218,
|
|
226,
|
|
216
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 50,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L50"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 270,
|
|
"name": "StringSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 279,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 272,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 82,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L82"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 273,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 82,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L82"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 274,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 275,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 276,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 277,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 278,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 271,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 81,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L81"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 449,
|
|
"name": "StringSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
279,
|
|
272,
|
|
276,
|
|
277,
|
|
278,
|
|
271
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 80,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L80"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 203,
|
|
"name": "TextCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 205,
|
|
"name": "alias",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 46,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L46"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 214,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 206,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 47,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L47"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 207,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 47,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L47"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 208,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 209,
|
|
"name": "ctx",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 377,
|
|
"name": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 210,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 211,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 212,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 213,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 204,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 45,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L45"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 443,
|
|
"name": "Text"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
205,
|
|
214,
|
|
206,
|
|
211,
|
|
212,
|
|
213,
|
|
204
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 44,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L44"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 310,
|
|
"name": "UserSelectCommand",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 319,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 40,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L40"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 198,
|
|
"name": "Module.description"
|
|
}
|
|
},
|
|
{
|
|
"id": 312,
|
|
"name": "execute",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 102,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L102"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 313,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 102,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L102"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 314,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 315,
|
|
"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": 199,
|
|
"name": "Module.execute"
|
|
}
|
|
},
|
|
{
|
|
"id": 316,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 37,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 195,
|
|
"name": "Module.name"
|
|
}
|
|
},
|
|
{
|
|
"id": 317,
|
|
"name": "onEvent",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 38,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 491,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "ControlPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 196,
|
|
"name": "Module.onEvent"
|
|
}
|
|
},
|
|
{
|
|
"id": 318,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 39,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
},
|
|
"inheritedFrom": {
|
|
"type": "reference",
|
|
"id": 197,
|
|
"name": "Module.plugins"
|
|
}
|
|
},
|
|
{
|
|
"id": 311,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 101,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L101"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 454,
|
|
"name": "UserSelect"
|
|
},
|
|
"overwrites": {
|
|
"type": "reference",
|
|
"id": 194,
|
|
"name": "Module.type"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
319,
|
|
312,
|
|
316,
|
|
317,
|
|
318,
|
|
311
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 100,
|
|
"character": 17,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L100"
|
|
}
|
|
],
|
|
"extendedTypes": [
|
|
{
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 413,
|
|
"name": "Wrapper",
|
|
"kind": 256,
|
|
"kindString": "Interface",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "An object to be passed into Sern#init() function."
|
|
}
|
|
]
|
|
},
|
|
"children": [
|
|
{
|
|
"id": 415,
|
|
"name": "commands",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 9,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L9"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 417,
|
|
"name": "containerConfig",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 11,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L11"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 418,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 419,
|
|
"name": "get",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 12,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L12"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 420,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 12,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L12"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 421,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 422,
|
|
"name": "keys",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 176,
|
|
"name": "Dependencies"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
419
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 11,
|
|
"character": 30,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L11"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 414,
|
|
"name": "defaultPrefix",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true,
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 8,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L8"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 416,
|
|
"name": "events",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true,
|
|
"isReadonly": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 10,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L10"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
415,
|
|
417,
|
|
414,
|
|
416
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/structures/wrapper.ts",
|
|
"line": 7,
|
|
"character": 10,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/structures/wrapper.ts#L7"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 500,
|
|
"name": "AnyCommandPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 45,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L45"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 491,
|
|
"name": "ControlPlugin"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 137,
|
|
"name": "DefinedCommandModule"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 144,
|
|
"name": "AnyDefinedModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 25,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 137,
|
|
"name": "DefinedCommandModule"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 141,
|
|
"name": "DefinedEventModule"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 501,
|
|
"name": "AnyEventPlugin",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 46,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L46"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 491,
|
|
"name": "ControlPlugin"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 484,
|
|
"typeArguments": [
|
|
{
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 141,
|
|
"name": "DefinedEventModule"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "InitPlugin"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 342,
|
|
"name": "AnyModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 134,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L134"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 340,
|
|
"name": "EventModule"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 132,
|
|
"name": "Args",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 15,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L15"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 130,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 133,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 135,
|
|
"name": "slash",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 15,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L15"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 136,
|
|
"name": "SlashOptions"
|
|
}
|
|
},
|
|
{
|
|
"id": 134,
|
|
"name": "text",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 15,
|
|
"character": 31,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L15"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
135,
|
|
134
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 15,
|
|
"character": 29,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L15"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"name": "ParseType"
|
|
}
|
|
},
|
|
{
|
|
"id": 366,
|
|
"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": 362
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 172,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L172"
|
|
}
|
|
],
|
|
"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": 362,
|
|
"name": "SernAutocompleteData"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 473,
|
|
"name": "CommandArgs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 103,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/args.ts#L103"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 474,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
}
|
|
},
|
|
{
|
|
"id": 475,
|
|
"name": "J",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 459,
|
|
"name": "PluginType"
|
|
},
|
|
"default": {
|
|
"type": "reference",
|
|
"id": 459,
|
|
"name": "PluginType"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 475,
|
|
"name": "J"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 474,
|
|
"name": "I"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "CommandArgsMatrix"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 341,
|
|
"name": "CommandModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 120,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L120"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 203,
|
|
"name": "TextCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 215,
|
|
"name": "SlashCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 227,
|
|
"name": "BothCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 240,
|
|
"name": "ContextMenuUser"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 250,
|
|
"name": "ContextMenuMsg"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 260,
|
|
"name": "ButtonCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 270,
|
|
"name": "StringSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 300,
|
|
"name": "MentionableSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 310,
|
|
"name": "UserSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 280,
|
|
"name": "ChannelSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 290,
|
|
"name": "RoleSelectCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 320,
|
|
"name": "ModalSubmitCommand"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 343,
|
|
"name": "CommandModuleDefs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 138,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L138"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 344,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 345,
|
|
"name": "1",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 139,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L139"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 203,
|
|
"name": "TextCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 352,
|
|
"name": "1024",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 146,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L146"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 290,
|
|
"name": "RoleSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 350,
|
|
"name": "16",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 144,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L144"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 260,
|
|
"name": "ButtonCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 346,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 140,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L140"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 215,
|
|
"name": "SlashCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 355,
|
|
"name": "2048",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 149,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L149"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 310,
|
|
"name": "UserSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 353,
|
|
"name": "256",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 147,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L147"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 280,
|
|
"name": "ChannelSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 347,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 141,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L141"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 227,
|
|
"name": "BothCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 351,
|
|
"name": "32",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 145,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L145"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 270,
|
|
"name": "StringSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 349,
|
|
"name": "4",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 143,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L143"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 240,
|
|
"name": "ContextMenuUser"
|
|
}
|
|
},
|
|
{
|
|
"id": 354,
|
|
"name": "512",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 148,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L148"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 300,
|
|
"name": "MentionableSelectCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 356,
|
|
"name": "64",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 150,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L150"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 320,
|
|
"name": "ModalSubmitCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 348,
|
|
"name": "8",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 142,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L142"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 250,
|
|
"name": "ContextMenuMsg"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
345,
|
|
352,
|
|
350,
|
|
346,
|
|
355,
|
|
353,
|
|
347,
|
|
351,
|
|
349,
|
|
354,
|
|
356,
|
|
348
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 138,
|
|
"character": 32,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L138"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 498,
|
|
"name": "CommandModuleNoPlugins",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 38,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
},
|
|
"templateType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 343,
|
|
"name": "CommandModuleDefs"
|
|
}
|
|
},
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "plugins"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "onEvent"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 137,
|
|
"name": "DefinedCommandModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "After modules are transformed, name and description are given default values if none\r\nare provided to Module. This type represents that transformation"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 23,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L23"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 138,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 140,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 23,
|
|
"character": 67,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L23"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 139,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 23,
|
|
"character": 53,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L23"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
140,
|
|
139
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 23,
|
|
"character": 51,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L23"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 141,
|
|
"name": "DefinedEventModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 24,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L24"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 340,
|
|
"name": "EventModule"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 142,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 143,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 24,
|
|
"character": 49,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L24"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
143
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 24,
|
|
"character": 47,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L24"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 466,
|
|
"name": "EventArgs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/args.ts",
|
|
"line": 104,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/args.ts#L104"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 467,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
}
|
|
},
|
|
{
|
|
"id": 468,
|
|
"name": "J",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 459,
|
|
"name": "PluginType"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 468,
|
|
"name": "J"
|
|
},
|
|
"objectType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 467,
|
|
"name": "I"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "EventArgsMatrix"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 340,
|
|
"name": "EventModule",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 119,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L119"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"name": "DiscordEventCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "SernEventCommand"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "ExternalEventCommand"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 357,
|
|
"name": "EventModuleDefs",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 153,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L153"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 358,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 360,
|
|
"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/ab4bdaa/src/types/module.ts#L155"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "DiscordEventCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 359,
|
|
"name": "2",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 154,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L154"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "SernEventCommand"
|
|
}
|
|
},
|
|
{
|
|
"id": 361,
|
|
"name": "3",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 156,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L156"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"name": "ExternalEventCommand"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
360,
|
|
359,
|
|
361
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 153,
|
|
"character": 30,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L153"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 499,
|
|
"name": "EventModulesNoPlugins",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 41,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L41"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
},
|
|
"templateType": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 357,
|
|
"name": "EventModuleDefs"
|
|
}
|
|
},
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "plugins"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "onEvent"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Omit",
|
|
"qualifiedName": "Omit",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 505,
|
|
"name": "InputCommand",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 52,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
},
|
|
"objectType": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
},
|
|
"templateType": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 498,
|
|
"name": "CommandModuleNoPlugins"
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 506,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 507,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 53,
|
|
"character": 54,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L53"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 500,
|
|
"name": "AnyCommandPlugin"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
507
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 53,
|
|
"character": 52,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L53"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 502,
|
|
"name": "InputEvent",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 48,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L48"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
},
|
|
"objectType": {
|
|
"type": "mapped",
|
|
"parameter": "T",
|
|
"parameterType": {
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
},
|
|
"templateType": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 499,
|
|
"name": "EventModulesNoPlugins"
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 503,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 504,
|
|
"name": "plugins",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 49,
|
|
"character": 51,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L49"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"id": 501,
|
|
"name": "AnyEventPlugin"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
504
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 49,
|
|
"character": 49,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L49"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 162,
|
|
"name": "LogPayload",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 36,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L36"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 165,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"default": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 163,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 164,
|
|
"name": "message",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 36,
|
|
"character": 40,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 165,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
164
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 36,
|
|
"character": 38,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L36"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 184,
|
|
"name": "MapDeps",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 54,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L54"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 185,
|
|
"name": "Deps",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 176,
|
|
"name": "Dependencies"
|
|
}
|
|
},
|
|
{
|
|
"id": 186,
|
|
"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": 186,
|
|
"name": "T"
|
|
},
|
|
"extendsType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "inferred",
|
|
"name": "First",
|
|
"constraint": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 185,
|
|
"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": 185,
|
|
"name": "Deps"
|
|
}
|
|
}
|
|
],
|
|
"name": "UnpackFunction",
|
|
"qualifiedName": "UnpackFunction",
|
|
"package": "iti"
|
|
},
|
|
{
|
|
"type": "rest",
|
|
"elementType": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "reference",
|
|
"id": 184,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 185,
|
|
"name": "Deps"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Rest"
|
|
}
|
|
],
|
|
"name": "MapDeps"
|
|
},
|
|
"extendsType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
},
|
|
"trueType": {
|
|
"type": "tuple"
|
|
},
|
|
"falseType": {
|
|
"type": "reference",
|
|
"id": 184,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 185,
|
|
"name": "Deps"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Rest"
|
|
}
|
|
],
|
|
"name": "MapDeps"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"falseType": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 187,
|
|
"name": "OptionalDependencies",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 64,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L64"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "@sern/logger"
|
|
}
|
|
},
|
|
{
|
|
"id": 130,
|
|
"name": "ParseType",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 11,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L11"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 131,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 131,
|
|
"name": "T"
|
|
}
|
|
},
|
|
"objectType": {
|
|
"type": "mapped",
|
|
"parameter": "K",
|
|
"parameterType": {
|
|
"type": "typeOperator",
|
|
"operator": "keyof",
|
|
"target": {
|
|
"type": "reference",
|
|
"id": 131,
|
|
"name": "T"
|
|
}
|
|
},
|
|
"templateType": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"name": "K"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"id": 131,
|
|
"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": 131,
|
|
"name": "T"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"falseType": {
|
|
"type": "intrinsic",
|
|
"name": "never"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 145,
|
|
"name": "Payload",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 26,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 146,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 148,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 342,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 147,
|
|
"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/ab4bdaa/src/types/handler.ts#L27"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 463,
|
|
"name": "PayloadType.Success"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
148,
|
|
147
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 27,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L27"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 149,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 151,
|
|
"name": "module",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 342,
|
|
"name": "AnyModule"
|
|
}
|
|
},
|
|
{
|
|
"id": 152,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 55,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"name": "Error",
|
|
"qualifiedName": "Error",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 150,
|
|
"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/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 464,
|
|
"name": "PayloadType.Failure"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
151,
|
|
152,
|
|
150
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 28,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L28"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 153,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 155,
|
|
"name": "reason",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 35,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 154,
|
|
"name": "type",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 8,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 465,
|
|
"name": "PayloadType.Warning"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
155,
|
|
154
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 29,
|
|
"character": 6,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L29"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 476,
|
|
"name": "PluginResult",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/plugin.ts",
|
|
"line": 21,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/plugin.ts#L21"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "Result",
|
|
"qualifiedName": "Result",
|
|
"package": "ts-results-es"
|
|
}
|
|
],
|
|
"name": "Awaitable",
|
|
"qualifiedName": "Awaitable",
|
|
"package": "@discordjs/util"
|
|
}
|
|
},
|
|
{
|
|
"id": 188,
|
|
"name": "Processed",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 65,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L65"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 192,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 193,
|
|
"name": "Module"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"id": 192,
|
|
"name": "T"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 189,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 191,
|
|
"name": "description",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 65,
|
|
"character": 62,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L65"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 190,
|
|
"name": "name",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 65,
|
|
"character": 48,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L65"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
191,
|
|
190
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 65,
|
|
"character": 46,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L65"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 183,
|
|
"name": "ReplyOptions",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 49,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L49"
|
|
}
|
|
],
|
|
"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": 156,
|
|
"name": "SernEventsMapping",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 30,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L30"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 157,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 160,
|
|
"name": "error",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 33,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L33"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 145,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 159,
|
|
"name": "module.activate",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 32,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L32"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 145,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 158,
|
|
"name": "module.register",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 31,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L31"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 145,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 161,
|
|
"name": "warning",
|
|
"kind": 1024,
|
|
"kindString": "Property",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 34,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L34"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "tuple",
|
|
"elements": [
|
|
{
|
|
"type": "reference",
|
|
"id": 145,
|
|
"name": "Payload"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
160,
|
|
159,
|
|
158,
|
|
161
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 30,
|
|
"character": 32,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L30"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 375,
|
|
"name": "SernOptionsData",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/module.ts",
|
|
"line": 192,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/module.ts#L192"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 376,
|
|
"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": 376,
|
|
"name": "U"
|
|
},
|
|
"extendsType": {
|
|
"type": "reference",
|
|
"name": "ApplicationCommandSubCommandData",
|
|
"qualifiedName": "ApplicationCommandSubCommandData",
|
|
"package": "discord.js"
|
|
},
|
|
"trueType": {
|
|
"type": "reference",
|
|
"id": 367,
|
|
"name": "SernSubCommandData"
|
|
},
|
|
"falseType": {
|
|
"type": "conditional",
|
|
"checkType": {
|
|
"type": "reference",
|
|
"id": 376,
|
|
"name": "U"
|
|
},
|
|
"extendsType": {
|
|
"type": "reference",
|
|
"name": "ApplicationCommandSubGroupData",
|
|
"qualifiedName": "ApplicationCommandSubGroupData",
|
|
"package": "discord.js"
|
|
},
|
|
"trueType": {
|
|
"type": "reference",
|
|
"id": 371,
|
|
"name": "SernSubCommandGroupData"
|
|
},
|
|
"falseType": {
|
|
"type": "reference",
|
|
"id": 366,
|
|
"name": "BaseOptions"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 166,
|
|
"name": "Singleton",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 37,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L37"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 169,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 167,
|
|
"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/ab4bdaa/src/types/handler.ts#L37"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 168,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 169,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 136,
|
|
"name": "SlashOptions",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 17,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L17"
|
|
}
|
|
],
|
|
"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": 170,
|
|
"name": "Transient",
|
|
"kind": 4194304,
|
|
"kindString": "Type alias",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 38,
|
|
"character": 12,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L38"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 175,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 171,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 38,
|
|
"character": 27,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L38"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 172,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 173,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/types/handler.ts",
|
|
"line": 38,
|
|
"character": 33,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/types/handler.ts#L38"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 174,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 175,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 25,
|
|
"name": "controller",
|
|
"kind": 32,
|
|
"kindString": "Variable",
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The object passed into every plugin to control a command's behavior"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 51,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L51"
|
|
}
|
|
],
|
|
"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": 52,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 28,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 10,
|
|
"character": 39,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/utilities/functions.ts#L10"
|
|
}
|
|
],
|
|
"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": 53,
|
|
"character": 4,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L53"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 31,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 10,
|
|
"character": 39,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/utilities/functions.ts#L10"
|
|
}
|
|
],
|
|
"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": 51,
|
|
"character": 26,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L51"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 530,
|
|
"name": "CommandControlPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 28,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L28"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 531,
|
|
"name": "CommandControlPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 532,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 533,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 534,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 29,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L29"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 535,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 536,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 473,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 532,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 461,
|
|
"name": "Control"
|
|
}
|
|
],
|
|
"name": "CommandArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 477,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 523,
|
|
"name": "CommandInitPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 22,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L22"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 524,
|
|
"name": "CommandInitPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 525,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 442,
|
|
"name": "CommandType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 526,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 527,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 23,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L23"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 528,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 529,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 473,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 525,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 460,
|
|
"name": "Init"
|
|
}
|
|
],
|
|
"name": "CommandArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 477,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 544,
|
|
"name": "DiscordEventControlPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 45,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L45"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 545,
|
|
"name": "DiscordEventControlPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@Experimental",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A specialized function for creating control plugins with discord.js ClientEvents.\r\nWill probably be moved one day!"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 546,
|
|
"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": 547,
|
|
"name": "name",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 546,
|
|
"name": "T"
|
|
}
|
|
},
|
|
{
|
|
"id": 548,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 549,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 45,
|
|
"character": 90,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L45"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 550,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 551,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "indexedAccess",
|
|
"indexType": {
|
|
"type": "reference",
|
|
"id": 546,
|
|
"name": "T"
|
|
},
|
|
"objectType": {
|
|
"type": "reference",
|
|
"name": "ClientEvents",
|
|
"qualifiedName": "ClientEvents",
|
|
"package": "discord.js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 477,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 537,
|
|
"name": "EventControlPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 34,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L34"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 538,
|
|
"name": "EventControlPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 539,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 540,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 541,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 35,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L35"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 542,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 543,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 466,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 539,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 461,
|
|
"name": "Control"
|
|
}
|
|
],
|
|
"name": "EventArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 477,
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 516,
|
|
"name": "EventInitPlugin",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 16,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L16"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 517,
|
|
"name": "EventInitPlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 518,
|
|
"name": "I",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 455,
|
|
"name": "EventType"
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 519,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 520,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/plugins/createPlugin.ts",
|
|
"line": 17,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/plugins/createPlugin.ts#L17"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 521,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 522,
|
|
"name": "args",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {
|
|
"isRest": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 466,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 518,
|
|
"name": "I"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"id": 460,
|
|
"name": "Init"
|
|
}
|
|
],
|
|
"name": "EventArgs"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 476,
|
|
"name": "PluginResult"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 477,
|
|
"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": 60,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L60"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 5,
|
|
"name": "commandModule",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The wrapper function to define command modules for sern"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 6,
|
|
"name": "mod",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 505,
|
|
"name": "InputCommand"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 341,
|
|
"name": "CommandModule"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "eventModule",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/sern.ts",
|
|
"line": 75,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/sern.ts#L75"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 2,
|
|
"name": "eventModule",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The wrapper function to define event modules for sern"
|
|
}
|
|
]
|
|
},
|
|
"parameters": [
|
|
{
|
|
"id": 3,
|
|
"name": "mod",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 502,
|
|
"name": "InputEvent"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 340,
|
|
"name": "EventModule"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 508,
|
|
"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/ab4bdaa/src/handler/plugins/createPlugin.ts#L6"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 509,
|
|
"name": "makePlugin",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"typeParameter": [
|
|
{
|
|
"id": 510,
|
|
"name": "V",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "intrinsic",
|
|
"name": "unknown"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 511,
|
|
"name": "type",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 459,
|
|
"name": "PluginType"
|
|
}
|
|
},
|
|
{
|
|
"id": 512,
|
|
"name": "execute",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 513,
|
|
"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/ab4bdaa/src/handler/plugins/createPlugin.ts#L8"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 514,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"parameters": [
|
|
{
|
|
"id": 515,
|
|
"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": 477,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 510,
|
|
"name": "V"
|
|
}
|
|
],
|
|
"name": "Plugin"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 120,
|
|
"name": "many",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 17,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/utilities/functions.ts#L17"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 121,
|
|
"name": "many",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A function that returns another function\r\nUsed for transient in iti"
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 122,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 123,
|
|
"name": "value",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 122,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 124,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 17,
|
|
"character": 42,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/utilities/functions.ts#L17"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 125,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 126,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 10,
|
|
"character": 39,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/utilities/functions.ts#L10"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 127,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 122,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 114,
|
|
"name": "single",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 10,
|
|
"character": 13,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/utilities/functions.ts#L10"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 115,
|
|
"name": "single",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A function that returns whatever value is provided.\r\nUsed for singleton in iti"
|
|
}
|
|
]
|
|
},
|
|
"typeParameter": [
|
|
{
|
|
"id": 116,
|
|
"name": "T",
|
|
"kind": 131072,
|
|
"kindString": "Type parameter",
|
|
"flags": {}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 117,
|
|
"name": "value",
|
|
"kind": 32768,
|
|
"kindString": "Parameter",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 116,
|
|
"name": "T"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 118,
|
|
"name": "__type",
|
|
"kind": 65536,
|
|
"kindString": "Type literal",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/utilities/functions.ts",
|
|
"line": 10,
|
|
"character": 39,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/utilities/functions.ts#L10"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 119,
|
|
"name": "__type",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"id": 116,
|
|
"name": "T"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 128,
|
|
"name": "useContainerRaw",
|
|
"kind": 64,
|
|
"kindString": "Function",
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/handler/dependencies/provider.ts",
|
|
"line": 88,
|
|
"character": 16,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/handler/dependencies/provider.ts#L88"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 129,
|
|
"name": "useContainerRaw",
|
|
"kind": 4096,
|
|
"kindString": "Call signature",
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Returns the underlying data structure holding all dependencies.\r\nExposes some methods from iti"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 176,
|
|
"name": "Dependencies"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"id": 176,
|
|
"name": "Dependencies"
|
|
}
|
|
],
|
|
"name": "Partial",
|
|
"qualifiedName": "Partial",
|
|
"package": "typescript"
|
|
}
|
|
],
|
|
"name": "Container",
|
|
"qualifiedName": "Container",
|
|
"package": "iti"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Namespaces",
|
|
"children": [
|
|
33
|
|
]
|
|
},
|
|
{
|
|
"title": "Enumerations",
|
|
"children": [
|
|
442,
|
|
455,
|
|
462,
|
|
459
|
|
]
|
|
},
|
|
{
|
|
"title": "Classes",
|
|
"children": [
|
|
16,
|
|
377,
|
|
560,
|
|
584,
|
|
615,
|
|
7,
|
|
423,
|
|
57
|
|
]
|
|
},
|
|
{
|
|
"title": "Interfaces",
|
|
"children": [
|
|
330,
|
|
227,
|
|
260,
|
|
280,
|
|
250,
|
|
240,
|
|
491,
|
|
176,
|
|
552,
|
|
469,
|
|
484,
|
|
570,
|
|
300,
|
|
320,
|
|
193,
|
|
601,
|
|
477,
|
|
290,
|
|
362,
|
|
367,
|
|
371,
|
|
215,
|
|
270,
|
|
203,
|
|
310,
|
|
413
|
|
]
|
|
},
|
|
{
|
|
"title": "Type Aliases",
|
|
"children": [
|
|
500,
|
|
144,
|
|
501,
|
|
342,
|
|
132,
|
|
366,
|
|
473,
|
|
341,
|
|
343,
|
|
498,
|
|
137,
|
|
141,
|
|
466,
|
|
340,
|
|
357,
|
|
499,
|
|
505,
|
|
502,
|
|
162,
|
|
184,
|
|
187,
|
|
130,
|
|
145,
|
|
476,
|
|
188,
|
|
183,
|
|
156,
|
|
375,
|
|
166,
|
|
136,
|
|
170
|
|
]
|
|
},
|
|
{
|
|
"title": "Variables",
|
|
"children": [
|
|
25
|
|
]
|
|
},
|
|
{
|
|
"title": "Functions",
|
|
"children": [
|
|
530,
|
|
523,
|
|
544,
|
|
537,
|
|
516,
|
|
4,
|
|
1,
|
|
508,
|
|
120,
|
|
114,
|
|
128
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/index.ts",
|
|
"line": 1,
|
|
"character": 0,
|
|
"url": "https://github.com/sern-handler/handler/blob/ab4bdaa/src/index.ts#L1"
|
|
}
|
|
]
|
|
} |