gubo-data-types 0.1.4 → 0.1.6

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.
@@ -1,11 +1,11 @@
1
1
  export interface ReactionRoleEntry {
2
- emoji: string;
3
- roleId: string;
2
+ emoji: string | null;
3
+ roleId: string | null;
4
4
  removeOnUnreact?: boolean;
5
5
  }
6
6
  export interface ReactionRolePanel {
7
- id: string;
8
- channelId: string;
7
+ id: string | null;
8
+ channelId: string | null;
9
9
  messageId?: string | null;
10
10
  entries: ReactionRoleEntry[];
11
11
  allowMulti?: boolean;
@@ -16,5 +16,7 @@ export interface ReactionRolesPluginConfig {
16
16
  updatedAt?: any | null;
17
17
  updatedBy?: string | null;
18
18
  version?: number;
19
+ dmUserOnRateLimit?: boolean;
20
+ dmOwnerOnRateLimit?: boolean;
19
21
  }
20
22
  export declare const DEFAULT_REACTION_ROLES: ReactionRolesPluginConfig;
@@ -3,8 +3,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_REACTION_ROLES = void 0;
4
4
  exports.DEFAULT_REACTION_ROLES = {
5
5
  enabled: false,
6
- panels: [],
6
+ panels: [
7
+ {
8
+ id: null,
9
+ channelId: null,
10
+ messageId: null,
11
+ entries: [
12
+ {
13
+ emoji: null,
14
+ roleId: null,
15
+ removeOnUnreact: false
16
+ }
17
+ ],
18
+ allowMulti: false
19
+ }
20
+ ],
7
21
  updatedAt: null,
8
22
  updatedBy: null,
9
- version: 0
23
+ version: 0,
24
+ dmUserOnRateLimit: false,
25
+ dmOwnerOnRateLimit: false
10
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gubo-data-types",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Shared type definitions and defaults for GUBO Discord Bot (no firebase-admin dependency)",
5
5
  "license": "MIT",
6
6
  "private": false,