disgroove 1.3.1 → 1.3.3-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/lib/Client.d.ts +234 -0
- package/dist/lib/Client.js +256 -0
- package/dist/lib/Client.js.map +1 -0
- package/dist/lib/constants.d.ts +1084 -0
- package/dist/lib/constants.js +1163 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/gateway/Shard.d.ts +25 -0
- package/dist/lib/gateway/Shard.js +522 -0
- package/dist/lib/gateway/Shard.js.map +1 -0
- package/dist/lib/gateway/ShardsManager.d.ts +5 -0
- package/dist/lib/gateway/ShardsManager.js +13 -0
- package/dist/lib/gateway/ShardsManager.js.map +1 -0
- package/dist/lib/gateway/index.d.ts +2 -0
- package/dist/lib/gateway/index.js +19 -0
- package/dist/lib/gateway/index.js.map +1 -0
- package/dist/lib/index.d.ts +7 -0
- package/dist/lib/index.js +24 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/rest/CDN.d.ts +21 -0
- package/dist/lib/rest/CDN.js +46 -0
- package/dist/lib/rest/CDN.js.map +1 -0
- package/dist/lib/rest/Endpoints.d.ts +94 -0
- package/dist/lib/rest/Endpoints.js +211 -0
- package/dist/lib/rest/Endpoints.js.map +1 -0
- package/dist/lib/rest/REST.d.ts +22 -0
- package/dist/lib/rest/REST.js +35 -0
- package/dist/lib/rest/REST.js.map +1 -0
- package/dist/lib/rest/RequestsManager.d.ts +17 -0
- package/dist/lib/rest/RequestsManager.js +124 -0
- package/dist/lib/rest/RequestsManager.js.map +1 -0
- package/dist/lib/rest/index.d.ts +4 -0
- package/dist/lib/rest/index.js +34 -0
- package/dist/lib/rest/index.js.map +1 -0
- package/dist/lib/structures/Application.d.ts +174 -0
- package/dist/lib/structures/Application.js +328 -0
- package/dist/lib/structures/Application.js.map +1 -0
- package/dist/lib/structures/ApplicationCommand.d.ts +45 -0
- package/dist/lib/structures/ApplicationCommand.js +127 -0
- package/dist/lib/structures/ApplicationCommand.js.map +1 -0
- package/dist/lib/structures/AuditLog.d.ts +20 -0
- package/dist/lib/structures/AuditLog.js +76 -0
- package/dist/lib/structures/AuditLog.js.map +1 -0
- package/dist/lib/structures/AutoModerationRule.d.ts +34 -0
- package/dist/lib/structures/AutoModerationRule.js +96 -0
- package/dist/lib/structures/AutoModerationRule.js.map +1 -0
- package/dist/lib/structures/Base.d.ts +17 -0
- package/dist/lib/structures/Base.js +31 -0
- package/dist/lib/structures/Base.js.map +1 -0
- package/dist/lib/structures/Channel.d.ts +253 -0
- package/dist/lib/structures/Channel.js +591 -0
- package/dist/lib/structures/Channel.js.map +1 -0
- package/dist/lib/structures/ClientApplication.d.ts +150 -0
- package/dist/lib/structures/ClientApplication.js +241 -0
- package/dist/lib/structures/ClientApplication.js.map +1 -0
- package/dist/lib/structures/Emoji.d.ts +28 -0
- package/dist/lib/structures/Emoji.js +79 -0
- package/dist/lib/structures/Emoji.js.map +1 -0
- package/dist/lib/structures/Entitlement.d.ts +24 -0
- package/dist/lib/structures/Entitlement.js +68 -0
- package/dist/lib/structures/Entitlement.js.map +1 -0
- package/dist/lib/structures/Guild.d.ts +462 -0
- package/dist/lib/structures/Guild.js +1095 -0
- package/dist/lib/structures/Guild.js.map +1 -0
- package/dist/lib/structures/GuildMember.d.ts +50 -0
- package/dist/lib/structures/GuildMember.js +149 -0
- package/dist/lib/structures/GuildMember.js.map +1 -0
- package/dist/lib/structures/GuildScheduledEvent.d.ts +49 -0
- package/dist/lib/structures/GuildScheduledEvent.js +118 -0
- package/dist/lib/structures/GuildScheduledEvent.js.map +1 -0
- package/dist/lib/structures/GuildTemplate.d.ts +32 -0
- package/dist/lib/structures/GuildTemplate.js +76 -0
- package/dist/lib/structures/GuildTemplate.js.map +1 -0
- package/dist/lib/structures/Integration.d.ts +30 -0
- package/dist/lib/structures/Integration.js +102 -0
- package/dist/lib/structures/Integration.js.map +1 -0
- package/dist/lib/structures/Interaction.d.ts +76 -0
- package/dist/lib/structures/Interaction.js +345 -0
- package/dist/lib/structures/Interaction.js.map +1 -0
- package/dist/lib/structures/Invite.d.ts +28 -0
- package/dist/lib/structures/Invite.js +86 -0
- package/dist/lib/structures/Invite.js.map +1 -0
- package/dist/lib/structures/Message.d.ts +84 -0
- package/dist/lib/structures/Message.js +300 -0
- package/dist/lib/structures/Message.js.map +1 -0
- package/dist/lib/structures/Role.d.ts +37 -0
- package/dist/lib/structures/Role.js +90 -0
- package/dist/lib/structures/Role.js.map +1 -0
- package/dist/lib/structures/SKU.d.ts +23 -0
- package/dist/lib/structures/SKU.js +63 -0
- package/dist/lib/structures/SKU.js.map +1 -0
- package/dist/lib/structures/StageInstance.d.ts +24 -0
- package/dist/lib/structures/StageInstance.js +57 -0
- package/dist/lib/structures/StageInstance.js.map +1 -0
- package/dist/lib/structures/Sticker.d.ts +31 -0
- package/dist/lib/structures/Sticker.js +86 -0
- package/dist/lib/structures/Sticker.js.map +1 -0
- package/dist/lib/structures/Team.d.ts +14 -0
- package/dist/lib/structures/Team.js +39 -0
- package/dist/lib/structures/Team.js.map +1 -0
- package/dist/lib/structures/TestEntitlement.d.ts +23 -0
- package/dist/lib/structures/TestEntitlement.js +61 -0
- package/dist/lib/structures/TestEntitlement.js.map +1 -0
- package/dist/lib/structures/UnavailableGuild.d.ts +11 -0
- package/dist/lib/structures/UnavailableGuild.js +25 -0
- package/dist/lib/structures/UnavailableGuild.js.map +1 -0
- package/dist/lib/structures/User.d.ts +63 -0
- package/dist/lib/structures/User.js +177 -0
- package/dist/lib/structures/User.js.map +1 -0
- package/dist/lib/structures/VoiceState.d.ts +26 -0
- package/dist/lib/structures/VoiceState.js +70 -0
- package/dist/lib/structures/VoiceState.js.map +1 -0
- package/dist/lib/structures/Webhook.d.ts +84 -0
- package/dist/lib/structures/Webhook.js +239 -0
- package/dist/lib/structures/Webhook.js.map +1 -0
- package/dist/lib/structures/index.d.ts +27 -0
- package/dist/lib/structures/index.js +44 -0
- package/dist/lib/structures/index.js.map +1 -0
- package/dist/lib/types/application-command.d.ts +102 -0
- package/dist/lib/types/application-command.js +3 -0
- package/dist/lib/types/application-command.js.map +1 -0
- package/dist/lib/types/application-role-connection-metadata.d.ts +18 -0
- package/dist/lib/types/application-role-connection-metadata.js +3 -0
- package/dist/lib/types/application-role-connection-metadata.js.map +1 -0
- package/dist/lib/types/application.d.ts +66 -0
- package/dist/lib/types/application.js +3 -0
- package/dist/lib/types/application.js.map +1 -0
- package/dist/lib/types/audit-log.d.ts +82 -0
- package/dist/lib/types/audit-log.js +3 -0
- package/dist/lib/types/audit-log.js.map +1 -0
- package/dist/lib/types/auto-moderation.d.ts +65 -0
- package/dist/lib/types/auto-moderation.js +3 -0
- package/dist/lib/types/auto-moderation.js.map +1 -0
- package/dist/lib/types/channel.d.ts +456 -0
- package/dist/lib/types/channel.js +3 -0
- package/dist/lib/types/channel.js.map +1 -0
- package/dist/lib/types/emoji.d.ts +22 -0
- package/dist/lib/types/emoji.js +3 -0
- package/dist/lib/types/emoji.js.map +1 -0
- package/dist/lib/types/entitlements.d.ts +32 -0
- package/dist/lib/types/entitlements.js +3 -0
- package/dist/lib/types/entitlements.js.map +1 -0
- package/dist/lib/types/gateway-events.d.ts +805 -0
- package/dist/lib/types/gateway-events.js +3 -0
- package/dist/lib/types/gateway-events.js.map +1 -0
- package/dist/lib/types/guild-scheduled-event.d.ts +57 -0
- package/dist/lib/types/guild-scheduled-event.js +3 -0
- package/dist/lib/types/guild-scheduled-event.js.map +1 -0
- package/dist/lib/types/guild-template.d.ts +28 -0
- package/dist/lib/types/guild-template.js +3 -0
- package/dist/lib/types/guild-template.js.map +1 -0
- package/dist/lib/types/guild.d.ts +333 -0
- package/dist/lib/types/guild.js +3 -0
- package/dist/lib/types/guild.js.map +1 -0
- package/dist/lib/types/index.d.ts +23 -0
- package/dist/lib/types/index.js +40 -0
- package/dist/lib/types/index.js.map +1 -0
- package/dist/lib/types/interaction.d.ts +170 -0
- package/dist/lib/types/interaction.js +3 -0
- package/dist/lib/types/interaction.js.map +1 -0
- package/dist/lib/types/invite.d.ts +59 -0
- package/dist/lib/types/invite.js +3 -0
- package/dist/lib/types/invite.js.map +1 -0
- package/dist/lib/types/message-components.d.ts +100 -0
- package/dist/lib/types/message-components.js +3 -0
- package/dist/lib/types/message-components.js.map +1 -0
- package/dist/lib/types/role.d.ts +47 -0
- package/dist/lib/types/role.js +3 -0
- package/dist/lib/types/role.js.map +1 -0
- package/dist/lib/types/sku.d.ts +30 -0
- package/dist/lib/types/sku.js +3 -0
- package/dist/lib/types/sku.js.map +1 -0
- package/dist/lib/types/stage-instance.d.ts +20 -0
- package/dist/lib/types/stage-instance.js +3 -0
- package/dist/lib/types/stage-instance.js.map +1 -0
- package/dist/lib/types/sticker.d.ts +61 -0
- package/dist/lib/types/sticker.js +3 -0
- package/dist/lib/types/sticker.js.map +1 -0
- package/dist/lib/types/team.d.ts +30 -0
- package/dist/lib/types/team.js +3 -0
- package/dist/lib/types/team.js.map +1 -0
- package/dist/lib/types/user.d.ts +77 -0
- package/dist/lib/types/user.js +3 -0
- package/dist/lib/types/user.js.map +1 -0
- package/dist/lib/types/voice.d.ts +47 -0
- package/dist/lib/types/voice.js +3 -0
- package/dist/lib/types/voice.js.map +1 -0
- package/dist/lib/types/webhook.d.ts +31 -0
- package/dist/lib/types/webhook.js +3 -0
- package/dist/lib/types/webhook.js.map +1 -0
- package/dist/lib/utils/Util.d.ts +15 -0
- package/dist/lib/utils/Util.js +543 -0
- package/dist/lib/utils/Util.js.map +1 -0
- package/dist/lib/utils/errors.d.ts +12 -0
- package/dist/lib/utils/errors.js +25 -0
- package/dist/lib/utils/errors.js.map +1 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/index.js +19 -0
- package/dist/lib/utils/index.js.map +1 -0
- package/dist/package.json +1 -1
- package/lib/Client.ts +616 -0
- package/lib/constants.ts +1173 -0
- package/lib/gateway/Shard.ts +704 -0
- package/lib/gateway/ShardsManager.ts +11 -0
- package/lib/gateway/index.ts +2 -0
- package/lib/index.ts +7 -0
- package/lib/rest/CDN.ts +56 -0
- package/lib/rest/Endpoints.ts +241 -0
- package/lib/rest/REST.ts +45 -0
- package/lib/rest/RequestsManager.ts +134 -0
- package/lib/rest/index.ts +4 -0
- package/lib/structures/Application.ts +599 -0
- package/lib/structures/ApplicationCommand.ts +187 -0
- package/lib/structures/AuditLog.ts +112 -0
- package/lib/structures/AutoModerationRule.ts +127 -0
- package/lib/structures/Base.ts +39 -0
- package/lib/structures/Channel.ts +921 -0
- package/lib/structures/ClientApplication.ts +515 -0
- package/lib/structures/Emoji.ts +95 -0
- package/lib/structures/Entitlement.ts +65 -0
- package/lib/structures/Guild.ts +1842 -0
- package/lib/structures/GuildMember.ts +193 -0
- package/lib/structures/GuildScheduledEvent.ts +164 -0
- package/lib/structures/GuildTemplate.ts +103 -0
- package/lib/structures/Integration.ts +136 -0
- package/lib/structures/Interaction.ts +506 -0
- package/lib/structures/Invite.ts +108 -0
- package/lib/structures/Message.ts +421 -0
- package/lib/structures/Role.ts +116 -0
- package/lib/structures/SKU.ts +63 -0
- package/lib/structures/StageInstance.ts +74 -0
- package/lib/structures/Sticker.ts +100 -0
- package/lib/structures/Team.ts +41 -0
- package/lib/structures/TestEntitlement.ts +78 -0
- package/lib/structures/UnavailableGuild.ts +27 -0
- package/lib/structures/User.ts +233 -0
- package/lib/structures/VoiceState.ts +72 -0
- package/lib/structures/Webhook.ts +341 -0
- package/lib/structures/index.ts +27 -0
- package/lib/types/application-command.ts +118 -0
- package/lib/types/application-role-connection-metadata.ts +23 -0
- package/lib/types/application.ts +77 -0
- package/lib/types/audit-log.ts +105 -0
- package/lib/types/auto-moderation.ts +78 -0
- package/lib/types/channel.ts +534 -0
- package/lib/types/emoji.ts +24 -0
- package/lib/types/entitlements.ts +34 -0
- package/lib/types/gateway-events.ts +970 -0
- package/lib/types/guild-scheduled-event.ts +67 -0
- package/lib/types/guild-template.ts +30 -0
- package/lib/types/guild.ts +388 -0
- package/lib/types/index.ts +23 -0
- package/lib/types/interaction.ts +224 -0
- package/lib/types/invite.ts +78 -0
- package/lib/types/message-components.ts +127 -0
- package/lib/types/role.ts +51 -0
- package/lib/types/sku.ts +32 -0
- package/lib/types/stage-instance.ts +22 -0
- package/lib/types/sticker.ts +67 -0
- package/lib/types/team.ts +34 -0
- package/lib/types/user.ts +93 -0
- package/lib/types/voice.ts +51 -0
- package/lib/types/webhook.ts +40 -0
- package/lib/utils/Util.ts +600 -0
- package/lib/utils/errors.ts +23 -0
- package/lib/utils/index.ts +2 -0
- package/package.json +1 -1
@@ -0,0 +1,66 @@
|
|
1
|
+
import type { RawUser, RawTeam, JSONTeam, JSONUser, RawGuild, JSONGuild } from ".";
|
2
|
+
import type { ApplicationFlags, OAuth2Scopes } from "../constants";
|
3
|
+
/** https://discord.com/developers/docs/resources/application#application-object-application-structure */
|
4
|
+
export interface RawApplication {
|
5
|
+
id: string;
|
6
|
+
name: string;
|
7
|
+
icon: string | null;
|
8
|
+
description: string;
|
9
|
+
rpc_origins?: Array<string>;
|
10
|
+
bot_public: boolean;
|
11
|
+
bot_require_code_grant: boolean;
|
12
|
+
terms_of_service_url?: string;
|
13
|
+
privacy_policy_url?: string;
|
14
|
+
owner?: RawUser;
|
15
|
+
verify_key: string;
|
16
|
+
team: RawTeam | null;
|
17
|
+
guild_id?: string;
|
18
|
+
guild?: RawGuild;
|
19
|
+
primary_sku_id?: string;
|
20
|
+
slug?: string;
|
21
|
+
cover_image?: string;
|
22
|
+
flags?: ApplicationFlags;
|
23
|
+
approximate_guild_count?: number;
|
24
|
+
redirect_uris?: Array<string>;
|
25
|
+
interactions_endpoint_url?: string;
|
26
|
+
role_connections_verification_url?: string;
|
27
|
+
tags?: Array<string>;
|
28
|
+
install_params?: RawInstallParams;
|
29
|
+
custom_install_url?: string;
|
30
|
+
}
|
31
|
+
/** https://discord.com/developers/docs/resources/application#install-params-object-install-params-structure */
|
32
|
+
export interface RawInstallParams {
|
33
|
+
scopes: Array<OAuth2Scopes>;
|
34
|
+
permissions: string;
|
35
|
+
}
|
36
|
+
export interface JSONApplication {
|
37
|
+
id: string;
|
38
|
+
name: string;
|
39
|
+
icon: string | null;
|
40
|
+
description: string;
|
41
|
+
rpcOrigins?: Array<string>;
|
42
|
+
botPublic: boolean;
|
43
|
+
botRequireCodeGrant: boolean;
|
44
|
+
termsOfServiceURL?: string;
|
45
|
+
privacyPolicyURL?: string;
|
46
|
+
owner?: JSONUser;
|
47
|
+
verifyKey: string;
|
48
|
+
team: JSONTeam | null;
|
49
|
+
guildId?: string;
|
50
|
+
guild?: JSONGuild;
|
51
|
+
primarySKUId?: string;
|
52
|
+
slug?: string;
|
53
|
+
coverImage?: string;
|
54
|
+
flags?: ApplicationFlags;
|
55
|
+
approximateGuildCount?: number;
|
56
|
+
redirectURIs?: Array<string>;
|
57
|
+
interactionsEndpointURL?: string;
|
58
|
+
roleConnectionsVerificationURL?: string;
|
59
|
+
tags?: Array<string>;
|
60
|
+
installParams?: JSONInstallParams;
|
61
|
+
customInstallURL?: string;
|
62
|
+
}
|
63
|
+
export interface JSONInstallParams {
|
64
|
+
scopes: Array<OAuth2Scopes>;
|
65
|
+
permissions: string;
|
66
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../../lib/types/application.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
import type { RawApplicationCommand, RawGuildScheduledEvent, RawAutoModerationRule, RawIntegration, RawChannel, RawUser, RawWebhook, JSONUser, JSONApplicationCommand, JSONAutoModerationRule, JSONGuildScheduledEvent, JSONIntegration, JSONChannel, JSONWebhook } from ".";
|
2
|
+
import type { AuditLogEvents } from "../constants";
|
3
|
+
/** https://discord.com/developers/docs/resources/audit-log#audit-log-object-audit-log-structure */
|
4
|
+
export interface RawAuditLog {
|
5
|
+
application_commands: Array<RawApplicationCommand>;
|
6
|
+
audit_log_entries: Array<RawAuditLogEntry>;
|
7
|
+
auto_moderation_rules: Array<RawAutoModerationRule>;
|
8
|
+
guild_scheduled_events: Array<RawGuildScheduledEvent>;
|
9
|
+
integrations: Array<RawIntegration>;
|
10
|
+
threads: Array<RawChannel>;
|
11
|
+
users: Array<RawUser>;
|
12
|
+
webhooks: Array<RawWebhook>;
|
13
|
+
}
|
14
|
+
/** https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure */
|
15
|
+
export interface RawAuditLogEntry {
|
16
|
+
target_id: string | null;
|
17
|
+
changes?: Array<RawAuditLogChange>;
|
18
|
+
user_id: string | null;
|
19
|
+
id: string;
|
20
|
+
action_type: AuditLogEvents;
|
21
|
+
options?: RawOptionalAuditLogEntryInfo;
|
22
|
+
reason?: string;
|
23
|
+
}
|
24
|
+
/** https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info */
|
25
|
+
export interface RawOptionalAuditLogEntryInfo {
|
26
|
+
application_id: string;
|
27
|
+
auto_moderation_rule_name: string;
|
28
|
+
auto_moderation_rule_trigger_type: string;
|
29
|
+
channel_id: string;
|
30
|
+
count: string;
|
31
|
+
delete_member_days: string;
|
32
|
+
id: string;
|
33
|
+
members_removed: string;
|
34
|
+
message_id: string;
|
35
|
+
role_name: string;
|
36
|
+
type: string;
|
37
|
+
integration_type: string;
|
38
|
+
}
|
39
|
+
/** https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-structure */
|
40
|
+
export interface RawAuditLogChange {
|
41
|
+
new_value?: any;
|
42
|
+
old_value?: any;
|
43
|
+
key: string;
|
44
|
+
}
|
45
|
+
export interface JSONAuditLog {
|
46
|
+
applicationCommands: Array<JSONApplicationCommand>;
|
47
|
+
auditLogEntries: Array<JSONAuditLogEntry>;
|
48
|
+
autoModerationRules: Array<JSONAutoModerationRule>;
|
49
|
+
guildScheduledEvents: Array<JSONGuildScheduledEvent>;
|
50
|
+
integrations: Array<JSONIntegration>;
|
51
|
+
threads: Array<JSONChannel>;
|
52
|
+
users: Array<JSONUser>;
|
53
|
+
webhooks: Array<JSONWebhook>;
|
54
|
+
}
|
55
|
+
export interface JSONAuditLogEntry {
|
56
|
+
targetId: string | null;
|
57
|
+
changes?: Array<JSONAuditLogChange>;
|
58
|
+
userId: string | null;
|
59
|
+
id: string;
|
60
|
+
actionType: AuditLogEvents;
|
61
|
+
options?: JSONOptionalAuditLogEntryInfo;
|
62
|
+
reason?: string;
|
63
|
+
}
|
64
|
+
export interface JSONOptionalAuditLogEntryInfo {
|
65
|
+
applicationId: string;
|
66
|
+
autoModerationRuleName: string;
|
67
|
+
autoModerationRuleTriggerType: string;
|
68
|
+
channelId: string;
|
69
|
+
count: string;
|
70
|
+
deleteMemberDays: string;
|
71
|
+
id: string;
|
72
|
+
membersRemoved: string;
|
73
|
+
messageId: string;
|
74
|
+
roleName: string;
|
75
|
+
type: string;
|
76
|
+
integrationType: string;
|
77
|
+
}
|
78
|
+
export interface JSONAuditLogChange {
|
79
|
+
newValue?: any;
|
80
|
+
oldValue?: any;
|
81
|
+
key: string;
|
82
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"audit-log.js","sourceRoot":"","sources":["../../../lib/types/audit-log.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import type { KeywordPresetTypes, ActionTypes, EventTypes, TriggerTypes } from "../constants";
|
2
|
+
/** https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-auto-moderation-rule-structure */
|
3
|
+
export interface RawAutoModerationRule {
|
4
|
+
id: string;
|
5
|
+
guild_id: string;
|
6
|
+
name: string;
|
7
|
+
creator_id: string;
|
8
|
+
event_type: EventTypes;
|
9
|
+
trigger_type: TriggerTypes;
|
10
|
+
trigger_metadata: RawTriggerMetadata;
|
11
|
+
actions: Array<RawAutoModerationAction>;
|
12
|
+
enabled: boolean;
|
13
|
+
exempt_roles: Array<string>;
|
14
|
+
exempt_channels: Array<string>;
|
15
|
+
}
|
16
|
+
/** https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-trigger-metadata */
|
17
|
+
export interface RawTriggerMetadata {
|
18
|
+
keyword_filter: Array<string>;
|
19
|
+
regex_patterns: Array<string>;
|
20
|
+
presets: KeywordPresetTypes;
|
21
|
+
allow_list: Array<string>;
|
22
|
+
mention_total_limit: number;
|
23
|
+
mention_raid_protection: boolean;
|
24
|
+
}
|
25
|
+
/** https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-action-object-auto-moderation-action-structure */
|
26
|
+
export interface RawAutoModerationAction {
|
27
|
+
type: ActionTypes;
|
28
|
+
metadata: RawActionMetadata;
|
29
|
+
}
|
30
|
+
/** https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-action-object-action-metadata */
|
31
|
+
export interface RawActionMetadata {
|
32
|
+
channel_id: string;
|
33
|
+
duration_seconds: number;
|
34
|
+
custom_message?: string;
|
35
|
+
}
|
36
|
+
export interface JSONAutoModerationRule {
|
37
|
+
id: string;
|
38
|
+
guildId: string;
|
39
|
+
name: string;
|
40
|
+
creatorId: string;
|
41
|
+
eventType: EventTypes;
|
42
|
+
triggerType: TriggerTypes;
|
43
|
+
triggerMetadata: JSONTriggerMetadata;
|
44
|
+
actions: Array<JSONAutoModerationAction>;
|
45
|
+
enabled: boolean;
|
46
|
+
exemptRoles: Array<string>;
|
47
|
+
exemptChannels: Array<string>;
|
48
|
+
}
|
49
|
+
export interface JSONTriggerMetadata {
|
50
|
+
keywordFilter: Array<string>;
|
51
|
+
regexPatterns: Array<string>;
|
52
|
+
presets: KeywordPresetTypes;
|
53
|
+
allowList: Array<string>;
|
54
|
+
mentionTotalLimit: number;
|
55
|
+
mentionRaidProtection: boolean;
|
56
|
+
}
|
57
|
+
export interface JSONAutoModerationAction {
|
58
|
+
type: ActionTypes;
|
59
|
+
metadata: JSONActionMetadata;
|
60
|
+
}
|
61
|
+
export interface JSONActionMetadata {
|
62
|
+
channelId: string;
|
63
|
+
durationSeconds: number;
|
64
|
+
customMessage?: string;
|
65
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"auto-moderation.js","sourceRoot":"","sources":["../../../lib/types/auto-moderation.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,456 @@
|
|
1
|
+
import type { AllowedMentionTypes, AttachmentFlags, ChannelFlags, ChannelTypes, ForumLayoutTypes, MessageActivityTypes, MessageFlags, MessageTypes, SortOrderTypes, VideoQualityModes } from "../constants";
|
2
|
+
import type { RawApplication, RawGuildMember, RawUser, RawEmoji, RawSticker, RawStickerItem, RawMessageInteraction, JSONMessageInteraction, JSONStickerItem, JSONSticker, JSONEmoji, JSONUser, JSONApplication, JSONGuildMember, RawActionRow, JSONActionRow, RawResolvedData, JSONResolvedData } from ".";
|
3
|
+
/** https://discord.com/developers/docs/resources/channel#channel-object-channel-structure */
|
4
|
+
export interface RawChannel {
|
5
|
+
id: string;
|
6
|
+
type: ChannelTypes;
|
7
|
+
guild_id?: string;
|
8
|
+
position?: number;
|
9
|
+
permission_overwrites?: Array<RawOverwrite>;
|
10
|
+
name?: string | null;
|
11
|
+
topic?: string | null;
|
12
|
+
nsfw?: boolean;
|
13
|
+
last_message_id?: string | null;
|
14
|
+
bitrate?: number;
|
15
|
+
user_limit?: number;
|
16
|
+
rate_limit_per_user?: number;
|
17
|
+
recipients?: Array<RawUser>;
|
18
|
+
icon?: string | null;
|
19
|
+
owner_id?: string;
|
20
|
+
application_id?: string;
|
21
|
+
managed?: boolean;
|
22
|
+
parent_id?: string | null;
|
23
|
+
last_pin_timestamp?: string | null;
|
24
|
+
rtc_region?: string | null;
|
25
|
+
video_quality_mode?: VideoQualityModes;
|
26
|
+
message_count?: number;
|
27
|
+
member_count?: number;
|
28
|
+
thread_metadata?: RawThreadMetadata;
|
29
|
+
member?: RawThreadMember;
|
30
|
+
default_auto_archive_duration?: number;
|
31
|
+
permissions?: string;
|
32
|
+
flags?: ChannelFlags;
|
33
|
+
total_message_sent?: number;
|
34
|
+
available_tags?: Array<RawForumTag>;
|
35
|
+
applied_tags?: Array<string>;
|
36
|
+
default_reaction_emoji?: RawDefaultReaction | null;
|
37
|
+
default_thread_rate_limit_per_user?: number;
|
38
|
+
default_sort_order?: SortOrderTypes | null;
|
39
|
+
default_forum_layout?: ForumLayoutTypes;
|
40
|
+
}
|
41
|
+
/** https://discord.com/developers/docs/resources/channel#message-object-message-structure */
|
42
|
+
export interface RawMessage {
|
43
|
+
id: string;
|
44
|
+
channel_id: string;
|
45
|
+
author: RawUser;
|
46
|
+
content: string;
|
47
|
+
timestamp: string;
|
48
|
+
edited_timestamp: string | null;
|
49
|
+
tts: boolean;
|
50
|
+
mention_everyone: boolean;
|
51
|
+
mentions: Array<RawUser>;
|
52
|
+
mention_roles: Array<string>;
|
53
|
+
mention_channels?: Array<RawChannelMention>;
|
54
|
+
attachments: Array<RawAttachment>;
|
55
|
+
embeds: Array<RawEmbed>;
|
56
|
+
reactions?: Array<RawReaction>;
|
57
|
+
nonce?: number | string;
|
58
|
+
pinned: boolean;
|
59
|
+
webhook_id?: string;
|
60
|
+
type: MessageTypes;
|
61
|
+
activity?: RawMessageActivity;
|
62
|
+
application?: RawApplication;
|
63
|
+
application_id?: string;
|
64
|
+
message_reference?: RawMessageReference;
|
65
|
+
flags?: MessageFlags;
|
66
|
+
referenced_message?: RawMessage | null;
|
67
|
+
interaction?: RawMessageInteraction;
|
68
|
+
thread?: RawChannel;
|
69
|
+
components?: Array<RawActionRow>;
|
70
|
+
sticker_items?: Array<RawStickerItem>;
|
71
|
+
stickers?: Array<RawSticker>;
|
72
|
+
position?: number;
|
73
|
+
role_subscription_data?: RawRoleSubscriptionData;
|
74
|
+
resolved?: RawResolvedData;
|
75
|
+
}
|
76
|
+
/** https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure */
|
77
|
+
export interface RawMessageActivity {
|
78
|
+
type: MessageActivityTypes;
|
79
|
+
party_id?: string;
|
80
|
+
}
|
81
|
+
/** https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure */
|
82
|
+
export interface RawMessageReference {
|
83
|
+
message_id?: string;
|
84
|
+
channel_id?: string;
|
85
|
+
guild_id?: string;
|
86
|
+
fail_if_not_exists?: boolean;
|
87
|
+
}
|
88
|
+
/** https://discord.com/developers/docs/resources/channel#followed-channel-object-followed-channel-structure */
|
89
|
+
export interface RawFollowedChannel {
|
90
|
+
channel_id: string;
|
91
|
+
webhook_id: string;
|
92
|
+
}
|
93
|
+
/** https://discord.com/developers/docs/resources/channel#reaction-object-reaction-structure */
|
94
|
+
export interface RawReaction {
|
95
|
+
count: number;
|
96
|
+
count_details: RawReactionCountDetails;
|
97
|
+
me: boolean;
|
98
|
+
me_burst: boolean;
|
99
|
+
emoji: RawEmoji;
|
100
|
+
burst_colors: Array<string>;
|
101
|
+
}
|
102
|
+
/** https://discord.com/developers/docs/resources/channel#reaction-count-details-object-reaction-count-details-structure */
|
103
|
+
export interface RawReactionCountDetails {
|
104
|
+
burst: number;
|
105
|
+
normal: number;
|
106
|
+
}
|
107
|
+
/** https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure */
|
108
|
+
export interface RawOverwrite {
|
109
|
+
id: string;
|
110
|
+
type: number;
|
111
|
+
allow: string;
|
112
|
+
deny: string;
|
113
|
+
}
|
114
|
+
/** https://discord.com/developers/docs/resources/channel#thread-metadata-object-thread-metadata-structure */
|
115
|
+
export interface RawThreadMetadata {
|
116
|
+
archived: boolean;
|
117
|
+
auto_archive_duration: number;
|
118
|
+
archive_timestamp: string;
|
119
|
+
locked: boolean;
|
120
|
+
invitable?: boolean;
|
121
|
+
create_timestamp?: string | null;
|
122
|
+
}
|
123
|
+
/** https://discord.com/developers/docs/resources/channel#thread-member-object-thread-member-structure */
|
124
|
+
export interface RawThreadMember {
|
125
|
+
id?: string;
|
126
|
+
user_id?: string;
|
127
|
+
join_timestamp: string;
|
128
|
+
flags: number;
|
129
|
+
member?: RawGuildMember;
|
130
|
+
}
|
131
|
+
/** https://discord.com/developers/docs/resources/channel#default-reaction-object-default-reaction-structure */
|
132
|
+
export interface RawDefaultReaction {
|
133
|
+
emoji_id: string | null;
|
134
|
+
emoji_name: string | null;
|
135
|
+
}
|
136
|
+
/** https://discord.com/developers/docs/resources/channel#forum-tag-object-forum-tag-structure */
|
137
|
+
export interface RawForumTag {
|
138
|
+
id: string;
|
139
|
+
name: string;
|
140
|
+
moderated: boolean;
|
141
|
+
emoji_id?: string;
|
142
|
+
emoji_name?: string;
|
143
|
+
}
|
144
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-structure */
|
145
|
+
export interface RawEmbed {
|
146
|
+
title?: string;
|
147
|
+
type?: string;
|
148
|
+
description?: string;
|
149
|
+
url?: string;
|
150
|
+
timestamp?: string;
|
151
|
+
color?: number;
|
152
|
+
footer?: RawEmbedFooter;
|
153
|
+
image?: RawEmbedImage;
|
154
|
+
thumbnail?: RawEmbedThumbnail;
|
155
|
+
video?: RawEmbedVideo;
|
156
|
+
provider?: RawEmbedProvider;
|
157
|
+
author?: RawEmbedAuthor;
|
158
|
+
fields?: Array<RawEmbedField>;
|
159
|
+
}
|
160
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure */
|
161
|
+
export interface RawEmbedThumbnail {
|
162
|
+
url: string;
|
163
|
+
proxy_url?: string;
|
164
|
+
height?: number;
|
165
|
+
width?: number;
|
166
|
+
}
|
167
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure */
|
168
|
+
export interface RawEmbedVideo {
|
169
|
+
url?: string;
|
170
|
+
proxy_url?: string;
|
171
|
+
height?: number;
|
172
|
+
width?: number;
|
173
|
+
}
|
174
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure */
|
175
|
+
export interface RawEmbedImage {
|
176
|
+
url: string;
|
177
|
+
proxy_url?: string;
|
178
|
+
height?: number;
|
179
|
+
width?: number;
|
180
|
+
}
|
181
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure */
|
182
|
+
export interface RawEmbedProvider {
|
183
|
+
name?: string;
|
184
|
+
url?: string;
|
185
|
+
}
|
186
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure */
|
187
|
+
export interface RawEmbedAuthor {
|
188
|
+
name: string;
|
189
|
+
url?: string;
|
190
|
+
icon_url?: string;
|
191
|
+
proxy_icon_url?: string;
|
192
|
+
}
|
193
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure */
|
194
|
+
export interface RawEmbedFooter {
|
195
|
+
text: string;
|
196
|
+
icon_url?: string;
|
197
|
+
proxy_icon_url?: string;
|
198
|
+
}
|
199
|
+
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure */
|
200
|
+
export interface RawEmbedField {
|
201
|
+
name: string;
|
202
|
+
value: string;
|
203
|
+
inline?: boolean;
|
204
|
+
}
|
205
|
+
/** https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure */
|
206
|
+
export interface RawAttachment {
|
207
|
+
id: string;
|
208
|
+
filename: string;
|
209
|
+
description?: string;
|
210
|
+
content_type?: string;
|
211
|
+
size: number;
|
212
|
+
url: string;
|
213
|
+
proxy_url: string;
|
214
|
+
height?: number;
|
215
|
+
width?: number;
|
216
|
+
ephemeral?: boolean;
|
217
|
+
duration_secs?: number;
|
218
|
+
waveform?: boolean;
|
219
|
+
flags?: AttachmentFlags;
|
220
|
+
}
|
221
|
+
/** https://discord.com/developers/docs/resources/channel#channel-mention-object-channel-mention-structure */
|
222
|
+
export interface RawChannelMention {
|
223
|
+
id: string;
|
224
|
+
guild_id: string;
|
225
|
+
type: ChannelTypes;
|
226
|
+
name: string;
|
227
|
+
}
|
228
|
+
/** https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure */
|
229
|
+
export interface RawAllowedMentions {
|
230
|
+
parse: Array<AllowedMentionTypes>;
|
231
|
+
roles: Array<string>;
|
232
|
+
users: Array<string>;
|
233
|
+
replied_user: boolean;
|
234
|
+
}
|
235
|
+
/** https://discord.com/developers/docs/resources/channel#role-subscription-data-object-role-subscription-data-object-structure */
|
236
|
+
export interface RawRoleSubscriptionData {
|
237
|
+
role_subscription_listing_id: string;
|
238
|
+
tier_name: string;
|
239
|
+
total_months_subscribed: number;
|
240
|
+
is_renewal: boolean;
|
241
|
+
}
|
242
|
+
export interface JSONChannel {
|
243
|
+
id: string;
|
244
|
+
type: ChannelTypes;
|
245
|
+
guildId?: string;
|
246
|
+
position?: number;
|
247
|
+
permissionOverwrites?: Array<JSONOverwrite>;
|
248
|
+
name?: string | null;
|
249
|
+
topic?: string | null;
|
250
|
+
nsfw?: boolean;
|
251
|
+
lastMessageId?: string | null;
|
252
|
+
bitrate?: number;
|
253
|
+
userLimit?: number;
|
254
|
+
rateLimitPerUser?: number;
|
255
|
+
recipients?: Array<JSONUser>;
|
256
|
+
icon?: string | null;
|
257
|
+
ownerId?: string;
|
258
|
+
applicationId?: string;
|
259
|
+
managed?: boolean;
|
260
|
+
parentId?: string | null;
|
261
|
+
lastPinTimestamp?: string | null;
|
262
|
+
rtcRegion?: string | null;
|
263
|
+
videoQualityMode?: VideoQualityModes;
|
264
|
+
messageCount?: number;
|
265
|
+
memberCount?: number;
|
266
|
+
threadMetadata?: JSONThreadMetadata;
|
267
|
+
member?: JSONThreadMember;
|
268
|
+
defaultAutoArchiveDuration?: number;
|
269
|
+
permissions?: string;
|
270
|
+
flags?: ChannelFlags;
|
271
|
+
totalMessageSent?: number;
|
272
|
+
availableTags?: Array<JSONForumTag>;
|
273
|
+
appliedTags?: Array<string>;
|
274
|
+
defaultReactionEmoji?: JSONDefaultReaction | null;
|
275
|
+
defaultThreadRateLimitPerUser?: number;
|
276
|
+
defaultSortOrder?: SortOrderTypes | null;
|
277
|
+
defaultForumLayout?: ForumLayoutTypes;
|
278
|
+
}
|
279
|
+
export interface JSONMessage {
|
280
|
+
id: string;
|
281
|
+
channelId: string;
|
282
|
+
author: JSONUser;
|
283
|
+
content: string;
|
284
|
+
timestamp: string;
|
285
|
+
editedTimestamp: string | null;
|
286
|
+
tts: boolean;
|
287
|
+
mentionEveryone: boolean;
|
288
|
+
mentions: Array<JSONUser>;
|
289
|
+
mentionRoles: Array<string>;
|
290
|
+
mentionChannels?: Array<JSONChannelMention>;
|
291
|
+
attachments: Array<JSONAttachment>;
|
292
|
+
embeds: Array<JSONEmbed>;
|
293
|
+
reactions?: Array<JSONReaction>;
|
294
|
+
nonce?: number | string;
|
295
|
+
pinned: boolean;
|
296
|
+
webhookId?: string;
|
297
|
+
type: MessageTypes;
|
298
|
+
activity?: JSONMessageActivity;
|
299
|
+
application?: JSONApplication;
|
300
|
+
applicationId?: string;
|
301
|
+
messageReference?: JSONMessageReference;
|
302
|
+
flags?: MessageFlags;
|
303
|
+
referencedMessage?: JSONMessage | null;
|
304
|
+
interaction?: JSONMessageInteraction;
|
305
|
+
thread?: JSONChannel;
|
306
|
+
components?: Array<JSONActionRow>;
|
307
|
+
stickerItems?: Array<JSONStickerItem>;
|
308
|
+
stickers?: Array<JSONSticker>;
|
309
|
+
position?: number;
|
310
|
+
roleSubscriptionData?: JSONRoleSubscriptionData;
|
311
|
+
resolved?: JSONResolvedData;
|
312
|
+
}
|
313
|
+
export interface JSONMessageActivity {
|
314
|
+
type: MessageActivityTypes;
|
315
|
+
partyId?: string;
|
316
|
+
}
|
317
|
+
export interface JSONMessageReference {
|
318
|
+
messageId?: string;
|
319
|
+
channelId?: string;
|
320
|
+
guildId?: string;
|
321
|
+
failIfNotExists?: boolean;
|
322
|
+
}
|
323
|
+
export interface JSONFollowedChannel {
|
324
|
+
channelId: string;
|
325
|
+
webhookId: string;
|
326
|
+
}
|
327
|
+
export interface JSONReaction {
|
328
|
+
count: number;
|
329
|
+
countDetails: JSONReactionCountDetails;
|
330
|
+
me: boolean;
|
331
|
+
meBurst: boolean;
|
332
|
+
emoji: JSONEmoji;
|
333
|
+
burstColors: Array<string>;
|
334
|
+
}
|
335
|
+
export interface JSONReactionCountDetails {
|
336
|
+
burst: number;
|
337
|
+
normal: number;
|
338
|
+
}
|
339
|
+
export interface JSONOverwrite {
|
340
|
+
id: string;
|
341
|
+
type: number;
|
342
|
+
allow: string;
|
343
|
+
deny: string;
|
344
|
+
}
|
345
|
+
export interface JSONThreadMetadata {
|
346
|
+
archived: boolean;
|
347
|
+
autoArchiveDuration: number;
|
348
|
+
archiveTimestamp: string;
|
349
|
+
locked: boolean;
|
350
|
+
invitable?: boolean;
|
351
|
+
createTimestamp?: string | null;
|
352
|
+
}
|
353
|
+
export interface JSONThreadMember {
|
354
|
+
id?: string;
|
355
|
+
userId?: string;
|
356
|
+
joinTimestamp: string;
|
357
|
+
flags: number;
|
358
|
+
member?: JSONGuildMember;
|
359
|
+
}
|
360
|
+
export interface JSONDefaultReaction {
|
361
|
+
emojiId: string | null;
|
362
|
+
emojiName: string | null;
|
363
|
+
}
|
364
|
+
export interface JSONForumTag {
|
365
|
+
id: string;
|
366
|
+
name: string;
|
367
|
+
moderated: boolean;
|
368
|
+
emojiId?: string;
|
369
|
+
emojiName?: string;
|
370
|
+
}
|
371
|
+
export interface JSONEmbed {
|
372
|
+
title?: string;
|
373
|
+
type?: string;
|
374
|
+
description?: string;
|
375
|
+
url?: string;
|
376
|
+
timestamp?: string;
|
377
|
+
color?: number;
|
378
|
+
footer?: JSONEmbedFooter;
|
379
|
+
image?: JSONEmbedImage;
|
380
|
+
thumbnail?: JSONEmbedThumbnail;
|
381
|
+
video?: JSONEmbedVideo;
|
382
|
+
provider?: JSONEmbedProvider;
|
383
|
+
author?: JSONEmbedAuthor;
|
384
|
+
fields?: Array<JSONEmbedField>;
|
385
|
+
}
|
386
|
+
export interface JSONEmbedThumbnail {
|
387
|
+
url: string;
|
388
|
+
proxyURL?: string;
|
389
|
+
height?: number;
|
390
|
+
width?: number;
|
391
|
+
}
|
392
|
+
export interface JSONEmbedVideo {
|
393
|
+
url?: string;
|
394
|
+
proxyURL?: string;
|
395
|
+
height?: number;
|
396
|
+
width?: number;
|
397
|
+
}
|
398
|
+
export interface JSONEmbedImage {
|
399
|
+
url: string;
|
400
|
+
proxyURL?: string;
|
401
|
+
height?: number;
|
402
|
+
width?: number;
|
403
|
+
}
|
404
|
+
export interface JSONEmbedProvider {
|
405
|
+
name?: string;
|
406
|
+
url?: string;
|
407
|
+
}
|
408
|
+
export interface JSONEmbedAuthor {
|
409
|
+
name: string;
|
410
|
+
url?: string;
|
411
|
+
iconURL?: string;
|
412
|
+
proxyIconURL?: string;
|
413
|
+
}
|
414
|
+
export interface JSONEmbedFooter {
|
415
|
+
text: string;
|
416
|
+
iconURL?: string;
|
417
|
+
proxyIconURL?: string;
|
418
|
+
}
|
419
|
+
export interface JSONEmbedField {
|
420
|
+
name: string;
|
421
|
+
value: string;
|
422
|
+
inline?: boolean;
|
423
|
+
}
|
424
|
+
export interface JSONAttachment {
|
425
|
+
id: string;
|
426
|
+
filename: string;
|
427
|
+
description?: string;
|
428
|
+
contentType?: string;
|
429
|
+
size: number;
|
430
|
+
url: string;
|
431
|
+
proxyURL: string;
|
432
|
+
height?: number;
|
433
|
+
width?: number;
|
434
|
+
ephemeral?: boolean;
|
435
|
+
durationSecs?: number;
|
436
|
+
waveform?: boolean;
|
437
|
+
flags?: AttachmentFlags;
|
438
|
+
}
|
439
|
+
export interface JSONChannelMention {
|
440
|
+
id: string;
|
441
|
+
guildId: string;
|
442
|
+
type: ChannelTypes;
|
443
|
+
name: string;
|
444
|
+
}
|
445
|
+
export interface JSONAllowedMentions {
|
446
|
+
parse: Array<AllowedMentionTypes>;
|
447
|
+
roles: Array<string>;
|
448
|
+
users: Array<string>;
|
449
|
+
repliedUser: boolean;
|
450
|
+
}
|
451
|
+
export interface JSONRoleSubscriptionData {
|
452
|
+
roleSubscriptionListingId: string;
|
453
|
+
tierName: string;
|
454
|
+
totalMonthsSubscribed: number;
|
455
|
+
isRenewal: boolean;
|
456
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"channel.js","sourceRoot":"","sources":["../../../lib/types/channel.ts"],"names":[],"mappings":""}
|