@helyx/module-account-gate 1.0.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/CHANGELOG.md +22 -0
- package/LICENSE +725 -0
- package/README.md +90 -0
- package/dist/challenges.d.ts +16 -0
- package/dist/challenges.js +233 -0
- package/dist/configuration.d.ts +41 -0
- package/dist/configuration.js +224 -0
- package/dist/contracts.d.ts +82 -0
- package/dist/contracts.js +56 -0
- package/dist/enforcement.d.ts +19 -0
- package/dist/enforcement.js +110 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +3324 -0
- package/dist/managed-resource-summary.d.ts +3 -0
- package/dist/managed-resource-summary.js +6 -0
- package/dist/member-resource.d.ts +3 -0
- package/dist/member-resource.js +348 -0
- package/dist/panel-resource.d.ts +15 -0
- package/dist/panel-resource.js +527 -0
- package/dist/password-entry.d.ts +8 -0
- package/dist/password-entry.js +59 -0
- package/dist/password-resource.d.ts +8 -0
- package/dist/password-resource.js +208 -0
- package/dist/privacy.d.ts +4 -0
- package/dist/privacy.js +20 -0
- package/dist/public-channel-resource.d.ts +4 -0
- package/dist/public-channel-resource.js +135 -0
- package/dist/question-resource.d.ts +3 -0
- package/dist/question-resource.js +246 -0
- package/dist/records.d.ts +508 -0
- package/dist/records.js +456 -0
- package/dist/workflow.d.ts +43 -0
- package/dist/workflow.js +167 -0
- package/manifest.json +750 -0
- package/migrations/0001_account_gate_foundation.sql +303 -0
- package/migrations/0002_account_gate_panel_message.sql +27 -0
- package/migrations/0003_account_gate_revoked_member_status.sql +17 -0
- package/migrations/0004_account_gate_multiple_panels.sql +23 -0
- package/migrations/0005_account_gate_panel_passwords.sql +45 -0
- package/package.json +54 -0
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
export declare const accountGateRecords: {
|
|
2
|
+
readonly gate_panels: {
|
|
3
|
+
readonly table: "account_gate_gate_panels";
|
|
4
|
+
readonly fields: {
|
|
5
|
+
readonly panel_id: {
|
|
6
|
+
readonly type: "string";
|
|
7
|
+
};
|
|
8
|
+
readonly guild_id: {
|
|
9
|
+
readonly type: "string";
|
|
10
|
+
};
|
|
11
|
+
readonly channel_id: {
|
|
12
|
+
readonly type: "string";
|
|
13
|
+
};
|
|
14
|
+
readonly message_id: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
};
|
|
17
|
+
readonly message_body: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
};
|
|
20
|
+
readonly access_type: {
|
|
21
|
+
readonly type: "string";
|
|
22
|
+
};
|
|
23
|
+
readonly password_hash: {
|
|
24
|
+
readonly type: "string";
|
|
25
|
+
readonly optional: true;
|
|
26
|
+
};
|
|
27
|
+
readonly password_ignore_case: {
|
|
28
|
+
readonly type: "boolean";
|
|
29
|
+
readonly optional: true;
|
|
30
|
+
};
|
|
31
|
+
readonly password_trim_whitespace: {
|
|
32
|
+
readonly type: "boolean";
|
|
33
|
+
readonly optional: true;
|
|
34
|
+
};
|
|
35
|
+
readonly revision: {
|
|
36
|
+
readonly type: "number";
|
|
37
|
+
};
|
|
38
|
+
readonly created_at: {
|
|
39
|
+
readonly type: "date";
|
|
40
|
+
};
|
|
41
|
+
readonly updated_at: {
|
|
42
|
+
readonly type: "date";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
readonly uniqueKeys: readonly [readonly ["panel_id"], readonly ["guild_id", "panel_id"]];
|
|
46
|
+
readonly readableFields: readonly ["panel_id", "guild_id", "channel_id", "message_id", "message_body", "access_type", "password_hash", "password_ignore_case", "password_trim_whitespace", "revision", "created_at", "updated_at"];
|
|
47
|
+
readonly writableFields: readonly ["channel_id", "message_id", "message_body", "access_type", "password_hash", "password_ignore_case", "password_trim_whitespace", "revision", "updated_at"];
|
|
48
|
+
readonly orderKeys: readonly [readonly ["guild_id", "created_at", "panel_id"]];
|
|
49
|
+
};
|
|
50
|
+
readonly public_channels: {
|
|
51
|
+
readonly table: "account_gate_public_channels";
|
|
52
|
+
readonly fields: {
|
|
53
|
+
readonly guild_id: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
};
|
|
56
|
+
readonly channel_id: {
|
|
57
|
+
readonly type: "string";
|
|
58
|
+
};
|
|
59
|
+
readonly created_at: {
|
|
60
|
+
readonly type: "date";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly uniqueKeys: readonly [readonly ["guild_id", "channel_id"]];
|
|
64
|
+
readonly readableFields: readonly ["guild_id", "channel_id", "created_at"];
|
|
65
|
+
readonly orderKeys: readonly [readonly ["guild_id", "channel_id"]];
|
|
66
|
+
};
|
|
67
|
+
readonly questions: {
|
|
68
|
+
readonly table: "account_gate_questions";
|
|
69
|
+
readonly fields: {
|
|
70
|
+
readonly question_id: {
|
|
71
|
+
readonly type: "string";
|
|
72
|
+
};
|
|
73
|
+
readonly guild_id: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
};
|
|
76
|
+
readonly question_text: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
};
|
|
79
|
+
readonly answers_json: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
};
|
|
82
|
+
readonly correct_option_index: {
|
|
83
|
+
readonly type: "number";
|
|
84
|
+
};
|
|
85
|
+
readonly enabled: {
|
|
86
|
+
readonly type: "boolean";
|
|
87
|
+
};
|
|
88
|
+
readonly sort_order: {
|
|
89
|
+
readonly type: "number";
|
|
90
|
+
};
|
|
91
|
+
readonly revision: {
|
|
92
|
+
readonly type: "number";
|
|
93
|
+
};
|
|
94
|
+
readonly created_at: {
|
|
95
|
+
readonly type: "date";
|
|
96
|
+
};
|
|
97
|
+
readonly updated_at: {
|
|
98
|
+
readonly type: "date";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly uniqueKeys: readonly [readonly ["question_id"], readonly ["guild_id", "question_id"]];
|
|
102
|
+
readonly readableFields: readonly ["question_id", "guild_id", "question_text", "answers_json", "correct_option_index", "enabled", "sort_order", "revision", "created_at", "updated_at"];
|
|
103
|
+
readonly writableFields: readonly ["question_text", "answers_json", "correct_option_index", "enabled", "sort_order", "revision", "updated_at"];
|
|
104
|
+
readonly orderKeys: readonly [readonly ["guild_id", "sort_order", "question_id"]];
|
|
105
|
+
readonly searchableFields: readonly ["question_text"];
|
|
106
|
+
readonly groupableFields: readonly ["guild_id", "enabled"];
|
|
107
|
+
};
|
|
108
|
+
readonly question_creators: {
|
|
109
|
+
readonly table: "account_gate_question_creators";
|
|
110
|
+
readonly fields: {
|
|
111
|
+
readonly attribution_id: {
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
};
|
|
114
|
+
readonly question_id: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
};
|
|
117
|
+
readonly guild_id: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
};
|
|
120
|
+
readonly creator_user_id: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
};
|
|
123
|
+
readonly created_at: {
|
|
124
|
+
readonly type: "date";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
readonly uniqueKeys: readonly [readonly ["attribution_id"], readonly ["question_id"]];
|
|
128
|
+
readonly readableFields: readonly ["attribution_id", "question_id", "guild_id", "creator_user_id", "created_at"];
|
|
129
|
+
readonly orderKeys: readonly [readonly ["creator_user_id", "created_at", "attribution_id"]];
|
|
130
|
+
};
|
|
131
|
+
readonly password_secrets: {
|
|
132
|
+
readonly table: "account_gate_password_secrets";
|
|
133
|
+
readonly fields: {
|
|
134
|
+
readonly guild_id: {
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
};
|
|
137
|
+
readonly encoded_hash: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
};
|
|
140
|
+
readonly ignore_case: {
|
|
141
|
+
readonly type: "boolean";
|
|
142
|
+
};
|
|
143
|
+
readonly trim_whitespace: {
|
|
144
|
+
readonly type: "boolean";
|
|
145
|
+
};
|
|
146
|
+
readonly revision: {
|
|
147
|
+
readonly type: "number";
|
|
148
|
+
};
|
|
149
|
+
readonly created_at: {
|
|
150
|
+
readonly type: "date";
|
|
151
|
+
};
|
|
152
|
+
readonly updated_at: {
|
|
153
|
+
readonly type: "date";
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
readonly uniqueKeys: readonly [readonly ["guild_id"]];
|
|
157
|
+
readonly readableFields: readonly ["guild_id", "encoded_hash", "ignore_case", "trim_whitespace", "revision", "created_at", "updated_at"];
|
|
158
|
+
readonly writableFields: readonly ["encoded_hash", "ignore_case", "trim_whitespace", "revision", "updated_at"];
|
|
159
|
+
readonly orderKeys: readonly [readonly ["guild_id"]];
|
|
160
|
+
};
|
|
161
|
+
readonly attempts: {
|
|
162
|
+
readonly table: "account_gate_attempts";
|
|
163
|
+
readonly fields: {
|
|
164
|
+
readonly attempt_id: {
|
|
165
|
+
readonly type: "string";
|
|
166
|
+
};
|
|
167
|
+
readonly guild_id: {
|
|
168
|
+
readonly type: "string";
|
|
169
|
+
};
|
|
170
|
+
readonly member_user_id: {
|
|
171
|
+
readonly type: "string";
|
|
172
|
+
};
|
|
173
|
+
readonly session_id: {
|
|
174
|
+
readonly type: "string";
|
|
175
|
+
};
|
|
176
|
+
readonly challenge_type: {
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
};
|
|
179
|
+
readonly outcome: {
|
|
180
|
+
readonly type: "string";
|
|
181
|
+
};
|
|
182
|
+
readonly reason_code: {
|
|
183
|
+
readonly type: "string";
|
|
184
|
+
};
|
|
185
|
+
readonly duration_ms: {
|
|
186
|
+
readonly type: "number";
|
|
187
|
+
};
|
|
188
|
+
readonly retention_until: {
|
|
189
|
+
readonly type: "date";
|
|
190
|
+
};
|
|
191
|
+
readonly created_at: {
|
|
192
|
+
readonly type: "date";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly uniqueKeys: readonly [readonly ["attempt_id"], readonly ["guild_id", "attempt_id"], readonly ["guild_id", "session_id", "challenge_type"]];
|
|
196
|
+
readonly readableFields: readonly ["attempt_id", "guild_id", "member_user_id", "session_id", "challenge_type", "outcome", "reason_code", "duration_ms", "retention_until", "created_at"];
|
|
197
|
+
readonly writableFields: readonly ["retention_until"];
|
|
198
|
+
readonly orderKeys: readonly [readonly ["guild_id", "created_at", "attempt_id"]];
|
|
199
|
+
readonly groupableFields: readonly ["guild_id", "member_user_id", "challenge_type", "outcome"];
|
|
200
|
+
};
|
|
201
|
+
readonly member_summaries: {
|
|
202
|
+
readonly table: "account_gate_member_summaries";
|
|
203
|
+
readonly fields: {
|
|
204
|
+
readonly summary_id: {
|
|
205
|
+
readonly type: "string";
|
|
206
|
+
};
|
|
207
|
+
readonly guild_id: {
|
|
208
|
+
readonly type: "string";
|
|
209
|
+
};
|
|
210
|
+
readonly member_user_id: {
|
|
211
|
+
readonly type: "string";
|
|
212
|
+
};
|
|
213
|
+
readonly previous_success_at: {
|
|
214
|
+
readonly type: "date";
|
|
215
|
+
readonly optional: true;
|
|
216
|
+
};
|
|
217
|
+
readonly failure_count: {
|
|
218
|
+
readonly type: "number";
|
|
219
|
+
};
|
|
220
|
+
readonly lockout_until: {
|
|
221
|
+
readonly type: "date";
|
|
222
|
+
readonly optional: true;
|
|
223
|
+
};
|
|
224
|
+
readonly rejoin_count: {
|
|
225
|
+
readonly type: "number";
|
|
226
|
+
};
|
|
227
|
+
readonly join_generation: {
|
|
228
|
+
readonly type: "number";
|
|
229
|
+
};
|
|
230
|
+
readonly account_created_at: {
|
|
231
|
+
readonly type: "date";
|
|
232
|
+
};
|
|
233
|
+
readonly joined_at: {
|
|
234
|
+
readonly type: "date";
|
|
235
|
+
};
|
|
236
|
+
readonly deadline_at: {
|
|
237
|
+
readonly type: "date";
|
|
238
|
+
};
|
|
239
|
+
readonly pending_reason: {
|
|
240
|
+
readonly type: "string";
|
|
241
|
+
};
|
|
242
|
+
readonly last_failure_terminal_id: {
|
|
243
|
+
readonly type: "string";
|
|
244
|
+
readonly optional: true;
|
|
245
|
+
};
|
|
246
|
+
readonly left_at: {
|
|
247
|
+
readonly type: "date";
|
|
248
|
+
readonly optional: true;
|
|
249
|
+
};
|
|
250
|
+
readonly last_decision: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
};
|
|
253
|
+
readonly revision: {
|
|
254
|
+
readonly type: "number";
|
|
255
|
+
};
|
|
256
|
+
readonly retention_until: {
|
|
257
|
+
readonly type: "date";
|
|
258
|
+
};
|
|
259
|
+
readonly created_at: {
|
|
260
|
+
readonly type: "date";
|
|
261
|
+
};
|
|
262
|
+
readonly updated_at: {
|
|
263
|
+
readonly type: "date";
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
readonly uniqueKeys: readonly [readonly ["summary_id"], readonly ["guild_id", "member_user_id"]];
|
|
267
|
+
readonly readableFields: readonly ["summary_id", "guild_id", "member_user_id", "previous_success_at", "failure_count", "lockout_until", "rejoin_count", "join_generation", "account_created_at", "joined_at", "deadline_at", "pending_reason", "last_failure_terminal_id", "left_at", "last_decision", "revision", "retention_until", "created_at", "updated_at"];
|
|
268
|
+
readonly writableFields: readonly ["previous_success_at", "failure_count", "lockout_until", "rejoin_count", "join_generation", "account_created_at", "joined_at", "deadline_at", "pending_reason", "last_failure_terminal_id", "left_at", "last_decision", "revision", "retention_until", "updated_at"];
|
|
269
|
+
readonly orderKeys: readonly [readonly ["guild_id", "member_user_id"]];
|
|
270
|
+
readonly groupableFields: readonly ["guild_id", "last_decision"];
|
|
271
|
+
};
|
|
272
|
+
readonly reviews: {
|
|
273
|
+
readonly table: "account_gate_reviews";
|
|
274
|
+
readonly fields: {
|
|
275
|
+
readonly review_id: {
|
|
276
|
+
readonly type: "string";
|
|
277
|
+
};
|
|
278
|
+
readonly pending_key: {
|
|
279
|
+
readonly type: "string";
|
|
280
|
+
};
|
|
281
|
+
readonly guild_id: {
|
|
282
|
+
readonly type: "string";
|
|
283
|
+
};
|
|
284
|
+
readonly member_user_id: {
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
};
|
|
287
|
+
readonly join_generation: {
|
|
288
|
+
readonly type: "number";
|
|
289
|
+
};
|
|
290
|
+
readonly status: {
|
|
291
|
+
readonly type: "string";
|
|
292
|
+
};
|
|
293
|
+
readonly delivery_status: {
|
|
294
|
+
readonly type: "string";
|
|
295
|
+
};
|
|
296
|
+
readonly claim_action: {
|
|
297
|
+
readonly type: "string";
|
|
298
|
+
readonly optional: true;
|
|
299
|
+
};
|
|
300
|
+
readonly claim_expires_at: {
|
|
301
|
+
readonly type: "date";
|
|
302
|
+
readonly optional: true;
|
|
303
|
+
};
|
|
304
|
+
readonly reason_code: {
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
};
|
|
307
|
+
readonly challenge_types_json: {
|
|
308
|
+
readonly type: "string";
|
|
309
|
+
};
|
|
310
|
+
readonly failed_attempts: {
|
|
311
|
+
readonly type: "number";
|
|
312
|
+
};
|
|
313
|
+
readonly expired_attempts: {
|
|
314
|
+
readonly type: "number";
|
|
315
|
+
};
|
|
316
|
+
readonly review_channel_id: {
|
|
317
|
+
readonly type: "string";
|
|
318
|
+
readonly optional: true;
|
|
319
|
+
};
|
|
320
|
+
readonly review_message_id: {
|
|
321
|
+
readonly type: "string";
|
|
322
|
+
readonly optional: true;
|
|
323
|
+
};
|
|
324
|
+
readonly decided_by_user_id: {
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
readonly optional: true;
|
|
327
|
+
};
|
|
328
|
+
readonly decided_at: {
|
|
329
|
+
readonly type: "date";
|
|
330
|
+
readonly optional: true;
|
|
331
|
+
};
|
|
332
|
+
readonly revision: {
|
|
333
|
+
readonly type: "number";
|
|
334
|
+
};
|
|
335
|
+
readonly retention_until: {
|
|
336
|
+
readonly type: "date";
|
|
337
|
+
};
|
|
338
|
+
readonly created_at: {
|
|
339
|
+
readonly type: "date";
|
|
340
|
+
};
|
|
341
|
+
readonly updated_at: {
|
|
342
|
+
readonly type: "date";
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
readonly uniqueKeys: readonly [readonly ["review_id"], readonly ["pending_key"], readonly ["guild_id", "review_id"]];
|
|
346
|
+
readonly readableFields: readonly ["review_id", "pending_key", "guild_id", "member_user_id", "join_generation", "status", "delivery_status", "claim_action", "claim_expires_at", "reason_code", "challenge_types_json", "failed_attempts", "expired_attempts", "review_channel_id", "review_message_id", "decided_by_user_id", "decided_at", "revision", "retention_until", "created_at", "updated_at"];
|
|
347
|
+
readonly writableFields: readonly ["pending_key", "status", "delivery_status", "claim_action", "claim_expires_at", "review_channel_id", "review_message_id", "decided_by_user_id", "decided_at", "revision", "retention_until", "updated_at"];
|
|
348
|
+
readonly orderKeys: readonly [readonly ["guild_id", "created_at", "review_id"]];
|
|
349
|
+
readonly searchableFields: readonly ["member_user_id"];
|
|
350
|
+
readonly groupableFields: readonly ["guild_id", "status", "reason_code"];
|
|
351
|
+
};
|
|
352
|
+
readonly terminal_finalizations: {
|
|
353
|
+
readonly table: "account_gate_terminal_finalizations";
|
|
354
|
+
readonly fields: {
|
|
355
|
+
readonly finalization_id: {
|
|
356
|
+
readonly type: "string";
|
|
357
|
+
};
|
|
358
|
+
readonly guild_id: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
};
|
|
361
|
+
readonly member_user_id: {
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
};
|
|
364
|
+
readonly session_id: {
|
|
365
|
+
readonly type: "string";
|
|
366
|
+
};
|
|
367
|
+
readonly join_generation: {
|
|
368
|
+
readonly type: "number";
|
|
369
|
+
};
|
|
370
|
+
readonly outcome: {
|
|
371
|
+
readonly type: "string";
|
|
372
|
+
};
|
|
373
|
+
readonly challenge_type: {
|
|
374
|
+
readonly type: "string";
|
|
375
|
+
};
|
|
376
|
+
readonly challenge_types_json: {
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
};
|
|
379
|
+
readonly work_created_at: {
|
|
380
|
+
readonly type: "date";
|
|
381
|
+
};
|
|
382
|
+
readonly status: {
|
|
383
|
+
readonly type: "string";
|
|
384
|
+
};
|
|
385
|
+
readonly revision: {
|
|
386
|
+
readonly type: "number";
|
|
387
|
+
};
|
|
388
|
+
readonly retention_until: {
|
|
389
|
+
readonly type: "date";
|
|
390
|
+
};
|
|
391
|
+
readonly created_at: {
|
|
392
|
+
readonly type: "date";
|
|
393
|
+
};
|
|
394
|
+
readonly updated_at: {
|
|
395
|
+
readonly type: "date";
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
readonly uniqueKeys: readonly [readonly ["finalization_id"], readonly ["guild_id", "session_id"]];
|
|
399
|
+
readonly readableFields: readonly ["finalization_id", "guild_id", "member_user_id", "session_id", "join_generation", "outcome", "challenge_type", "challenge_types_json", "work_created_at", "status", "revision", "retention_until", "created_at", "updated_at"];
|
|
400
|
+
readonly writableFields: readonly ["status", "revision", "retention_until", "updated_at"];
|
|
401
|
+
readonly orderKeys: readonly [readonly ["guild_id", "created_at", "finalization_id"]];
|
|
402
|
+
readonly groupableFields: readonly ["guild_id", "status", "outcome"];
|
|
403
|
+
};
|
|
404
|
+
readonly role_transitions: {
|
|
405
|
+
readonly table: "account_gate_role_transitions";
|
|
406
|
+
readonly fields: {
|
|
407
|
+
readonly transition_id: {
|
|
408
|
+
readonly type: "string";
|
|
409
|
+
};
|
|
410
|
+
readonly guild_id: {
|
|
411
|
+
readonly type: "string";
|
|
412
|
+
};
|
|
413
|
+
readonly member_user_id: {
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
};
|
|
416
|
+
readonly verified_role_id: {
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
};
|
|
419
|
+
readonly pending_remove_role_ids_json: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
};
|
|
422
|
+
readonly status: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
};
|
|
425
|
+
readonly revision: {
|
|
426
|
+
readonly type: "number";
|
|
427
|
+
};
|
|
428
|
+
readonly next_retry_at: {
|
|
429
|
+
readonly type: "date";
|
|
430
|
+
readonly optional: true;
|
|
431
|
+
};
|
|
432
|
+
readonly completed_at: {
|
|
433
|
+
readonly type: "date";
|
|
434
|
+
readonly optional: true;
|
|
435
|
+
};
|
|
436
|
+
readonly created_at: {
|
|
437
|
+
readonly type: "date";
|
|
438
|
+
};
|
|
439
|
+
readonly updated_at: {
|
|
440
|
+
readonly type: "date";
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
readonly uniqueKeys: readonly [readonly ["transition_id"], readonly ["guild_id", "transition_id"], readonly ["guild_id", "member_user_id"]];
|
|
444
|
+
readonly readableFields: readonly ["transition_id", "guild_id", "member_user_id", "verified_role_id", "pending_remove_role_ids_json", "status", "revision", "next_retry_at", "completed_at", "created_at", "updated_at"];
|
|
445
|
+
readonly writableFields: readonly ["verified_role_id", "pending_remove_role_ids_json", "status", "revision", "next_retry_at", "completed_at", "updated_at"];
|
|
446
|
+
readonly orderKeys: readonly [readonly ["guild_id", "updated_at", "transition_id"]];
|
|
447
|
+
readonly groupableFields: readonly ["guild_id", "status"];
|
|
448
|
+
};
|
|
449
|
+
readonly strict_modes: {
|
|
450
|
+
readonly table: "account_gate_strict_modes";
|
|
451
|
+
readonly fields: {
|
|
452
|
+
readonly guild_id: {
|
|
453
|
+
readonly type: "string";
|
|
454
|
+
};
|
|
455
|
+
readonly status: {
|
|
456
|
+
readonly type: "string";
|
|
457
|
+
};
|
|
458
|
+
readonly ends_at: {
|
|
459
|
+
readonly type: "date";
|
|
460
|
+
};
|
|
461
|
+
readonly generation: {
|
|
462
|
+
readonly type: "number";
|
|
463
|
+
};
|
|
464
|
+
readonly activated_by_user_id: {
|
|
465
|
+
readonly type: "string";
|
|
466
|
+
readonly optional: true;
|
|
467
|
+
};
|
|
468
|
+
readonly revision: {
|
|
469
|
+
readonly type: "number";
|
|
470
|
+
};
|
|
471
|
+
readonly created_at: {
|
|
472
|
+
readonly type: "date";
|
|
473
|
+
};
|
|
474
|
+
readonly updated_at: {
|
|
475
|
+
readonly type: "date";
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
readonly uniqueKeys: readonly [readonly ["guild_id"]];
|
|
479
|
+
readonly readableFields: readonly ["guild_id", "status", "ends_at", "generation", "activated_by_user_id", "revision", "created_at", "updated_at"];
|
|
480
|
+
readonly writableFields: readonly ["status", "ends_at", "generation", "activated_by_user_id", "revision", "updated_at"];
|
|
481
|
+
readonly orderKeys: readonly [readonly ["guild_id"]];
|
|
482
|
+
readonly groupableFields: readonly ["status"];
|
|
483
|
+
};
|
|
484
|
+
readonly privacy_suppressions: {
|
|
485
|
+
readonly table: "account_gate_privacy_suppressions";
|
|
486
|
+
readonly fields: {
|
|
487
|
+
readonly suppression_id: {
|
|
488
|
+
readonly type: "string";
|
|
489
|
+
};
|
|
490
|
+
readonly guild_id: {
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
};
|
|
493
|
+
readonly member_user_id: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
};
|
|
496
|
+
readonly suppressed_at: {
|
|
497
|
+
readonly type: "date";
|
|
498
|
+
};
|
|
499
|
+
readonly created_at: {
|
|
500
|
+
readonly type: "date";
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
readonly uniqueKeys: readonly [readonly ["suppression_id"], readonly ["guild_id", "member_user_id"]];
|
|
504
|
+
readonly readableFields: readonly ["suppression_id", "guild_id", "member_user_id", "suppressed_at", "created_at"];
|
|
505
|
+
readonly orderKeys: readonly [readonly ["guild_id", "member_user_id"]];
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
//# sourceMappingURL=records.d.ts.map
|