@wordrhyme/db 0.1.0-alpha.14

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.
Files changed (98) hide show
  1. package/README.md +66 -0
  2. package/dist/acl-policy.d.ts +86 -0
  3. package/dist/acl-policy.d.ts.map +1 -0
  4. package/dist/chunk-3TTVLSF5.js +3390 -0
  5. package/dist/chunk-3TTVLSF5.js.map +1 -0
  6. package/dist/chunk-DCJM6GN5.js +264 -0
  7. package/dist/chunk-DCJM6GN5.js.map +1 -0
  8. package/dist/chunk-KWWJRUIK.js +54 -0
  9. package/dist/chunk-KWWJRUIK.js.map +1 -0
  10. package/dist/chunk-XAIEVBMU.js +212 -0
  11. package/dist/chunk-XAIEVBMU.js.map +1 -0
  12. package/dist/delete-policy.d.ts +11 -0
  13. package/dist/delete-policy.d.ts.map +1 -0
  14. package/dist/index.d.ts +31 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +545 -0
  17. package/dist/index.js.map +1 -0
  18. package/dist/plugin.d.ts +110 -0
  19. package/dist/plugin.d.ts.map +1 -0
  20. package/dist/plugin.js +21 -0
  21. package/dist/plugin.js.map +1 -0
  22. package/dist/relations/index.d.ts +105 -0
  23. package/dist/relations/index.d.ts.map +1 -0
  24. package/dist/relations/index.js +9 -0
  25. package/dist/relations/index.js.map +1 -0
  26. package/dist/schema/action-journal.d.ts +386 -0
  27. package/dist/schema/action-journal.d.ts.map +1 -0
  28. package/dist/schema/audit-archive.d.ts +934 -0
  29. package/dist/schema/audit-archive.d.ts.map +1 -0
  30. package/dist/schema/audit-events.d.ts +502 -0
  31. package/dist/schema/audit-events.d.ts.map +1 -0
  32. package/dist/schema/audit-logs.d.ts +418 -0
  33. package/dist/schema/audit-logs.d.ts.map +1 -0
  34. package/dist/schema/auth.d.ts +2727 -0
  35. package/dist/schema/auth.d.ts.map +1 -0
  36. package/dist/schema/billing.d.ts +3969 -0
  37. package/dist/schema/billing.d.ts.map +1 -0
  38. package/dist/schema/common.d.ts +87 -0
  39. package/dist/schema/common.d.ts.map +1 -0
  40. package/dist/schema/currency.d.ts +791 -0
  41. package/dist/schema/currency.d.ts.map +1 -0
  42. package/dist/schema/entity-extensions.d.ts +314 -0
  43. package/dist/schema/entity-extensions.d.ts.map +1 -0
  44. package/dist/schema/entity-ownerships.d.ts +862 -0
  45. package/dist/schema/entity-ownerships.d.ts.map +1 -0
  46. package/dist/schema/feature-flags.d.ts +770 -0
  47. package/dist/schema/feature-flags.d.ts.map +1 -0
  48. package/dist/schema/geo.d.ts +824 -0
  49. package/dist/schema/geo.d.ts.map +1 -0
  50. package/dist/schema/i18n.d.ts +1109 -0
  51. package/dist/schema/i18n.d.ts.map +1 -0
  52. package/dist/schema/index.d.ts +43 -0
  53. package/dist/schema/index.d.ts.map +1 -0
  54. package/dist/schema/index.js +507 -0
  55. package/dist/schema/index.js.map +1 -0
  56. package/dist/schema/media.d.ts +1147 -0
  57. package/dist/schema/media.d.ts.map +1 -0
  58. package/dist/schema/menus.d.ts +636 -0
  59. package/dist/schema/menus.d.ts.map +1 -0
  60. package/dist/schema/notification-channels.d.ts +288 -0
  61. package/dist/schema/notification-channels.d.ts.map +1 -0
  62. package/dist/schema/notification-preferences.d.ts +300 -0
  63. package/dist/schema/notification-preferences.d.ts.map +1 -0
  64. package/dist/schema/notification-templates.d.ts +476 -0
  65. package/dist/schema/notification-templates.d.ts.map +1 -0
  66. package/dist/schema/notifications.d.ts +1139 -0
  67. package/dist/schema/notifications.d.ts.map +1 -0
  68. package/dist/schema/permission-fields.d.ts +96 -0
  69. package/dist/schema/permission-fields.d.ts.map +1 -0
  70. package/dist/schema/permissions.d.ts +173 -0
  71. package/dist/schema/permissions.d.ts.map +1 -0
  72. package/dist/schema/plugin-migrations.d.ts +204 -0
  73. package/dist/schema/plugin-migrations.d.ts.map +1 -0
  74. package/dist/schema/plugins.d.ts +1977 -0
  75. package/dist/schema/plugins.d.ts.map +1 -0
  76. package/dist/schema/relationships.d.ts +221 -0
  77. package/dist/schema/relationships.d.ts.map +1 -0
  78. package/dist/schema/role-permissions.d.ts +305 -0
  79. package/dist/schema/role-permissions.d.ts.map +1 -0
  80. package/dist/schema/roles.d.ts +260 -0
  81. package/dist/schema/roles.d.ts.map +1 -0
  82. package/dist/schema/scheduled-tasks.d.ts +1334 -0
  83. package/dist/schema/scheduled-tasks.d.ts.map +1 -0
  84. package/dist/schema/settings.d.ts +819 -0
  85. package/dist/schema/settings.d.ts.map +1 -0
  86. package/dist/schema/site-presentation.d.ts +1587 -0
  87. package/dist/schema/site-presentation.d.ts.map +1 -0
  88. package/dist/schema/teams.d.ts +381 -0
  89. package/dist/schema/teams.d.ts.map +1 -0
  90. package/dist/schema/web-design.d.ts +1542 -0
  91. package/dist/schema/web-design.d.ts.map +1 -0
  92. package/dist/schema/webhooks.d.ts +1016 -0
  93. package/dist/schema/webhooks.d.ts.map +1 -0
  94. package/dist/zod/index.d.ts +2 -0
  95. package/dist/zod/index.d.ts.map +1 -0
  96. package/dist/zod/index.js +6 -0
  97. package/dist/zod/index.js.map +1 -0
  98. package/package.json +63 -0
@@ -0,0 +1,476 @@
1
+ import type { NotificationPriority } from './notifications';
2
+ /**
3
+ * i18n text structure
4
+ */
5
+ export type I18nText = Record<string, string>;
6
+ /**
7
+ * Template category
8
+ */
9
+ export type TemplateCategory = 'system' | 'plugin' | 'custom';
10
+ /**
11
+ * Notification Templates Table
12
+ *
13
+ * Stores configurable notification templates with i18n support.
14
+ */
15
+ export declare const notificationTemplates: import("drizzle-orm/pg-core").PgTableWithColumns<{
16
+ name: "notification_templates";
17
+ schema: undefined;
18
+ columns: {
19
+ id: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasRuntimeDefault<import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, {
20
+ name: string;
21
+ tableName: "notification_templates";
22
+ dataType: "string";
23
+ data: string;
24
+ driverParam: string;
25
+ notNull: true;
26
+ hasDefault: true;
27
+ isPrimaryKey: false;
28
+ isAutoincrement: false;
29
+ hasRuntimeDefault: false;
30
+ enumValues: undefined;
31
+ identity: undefined;
32
+ generated: undefined;
33
+ }>;
34
+ key: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
35
+ name: string;
36
+ tableName: "notification_templates";
37
+ dataType: "string";
38
+ data: string;
39
+ driverParam: string;
40
+ notNull: true;
41
+ hasDefault: false;
42
+ isPrimaryKey: false;
43
+ isAutoincrement: false;
44
+ hasRuntimeDefault: false;
45
+ enumValues: undefined;
46
+ identity: undefined;
47
+ generated: undefined;
48
+ }>;
49
+ name: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
50
+ name: string;
51
+ tableName: "notification_templates";
52
+ dataType: "string";
53
+ data: string;
54
+ driverParam: string;
55
+ notNull: true;
56
+ hasDefault: false;
57
+ isPrimaryKey: false;
58
+ isAutoincrement: false;
59
+ hasRuntimeDefault: false;
60
+ enumValues: undefined;
61
+ identity: undefined;
62
+ generated: undefined;
63
+ }>;
64
+ description: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
65
+ name: string;
66
+ tableName: "notification_templates";
67
+ dataType: "string";
68
+ data: string;
69
+ driverParam: string;
70
+ notNull: false;
71
+ hasDefault: false;
72
+ isPrimaryKey: false;
73
+ isAutoincrement: false;
74
+ hasRuntimeDefault: false;
75
+ enumValues: undefined;
76
+ identity: undefined;
77
+ generated: undefined;
78
+ }>;
79
+ category: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, TemplateCategory>, {
80
+ name: string;
81
+ tableName: "notification_templates";
82
+ dataType: "string";
83
+ data: TemplateCategory;
84
+ driverParam: string;
85
+ notNull: true;
86
+ hasDefault: false;
87
+ isPrimaryKey: false;
88
+ isAutoincrement: false;
89
+ hasRuntimeDefault: false;
90
+ enumValues: undefined;
91
+ identity: undefined;
92
+ generated: undefined;
93
+ }>;
94
+ title: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgJsonbBuilder>, I18nText>, {
95
+ name: string;
96
+ tableName: "notification_templates";
97
+ dataType: "object json";
98
+ data: I18nText;
99
+ driverParam: unknown;
100
+ notNull: true;
101
+ hasDefault: false;
102
+ isPrimaryKey: false;
103
+ isAutoincrement: false;
104
+ hasRuntimeDefault: false;
105
+ enumValues: undefined;
106
+ identity: undefined;
107
+ generated: undefined;
108
+ }>;
109
+ message: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgJsonbBuilder>, I18nText>, {
110
+ name: string;
111
+ tableName: "notification_templates";
112
+ dataType: "object json";
113
+ data: I18nText;
114
+ driverParam: unknown;
115
+ notNull: true;
116
+ hasDefault: false;
117
+ isPrimaryKey: false;
118
+ isAutoincrement: false;
119
+ hasRuntimeDefault: false;
120
+ enumValues: undefined;
121
+ identity: undefined;
122
+ generated: undefined;
123
+ }>;
124
+ variables: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, string[]>, {
125
+ name: string;
126
+ tableName: "notification_templates";
127
+ dataType: "object json";
128
+ data: string[];
129
+ driverParam: unknown;
130
+ notNull: false;
131
+ hasDefault: false;
132
+ isPrimaryKey: false;
133
+ isAutoincrement: false;
134
+ hasRuntimeDefault: false;
135
+ enumValues: undefined;
136
+ identity: undefined;
137
+ generated: undefined;
138
+ }>;
139
+ defaultChannels: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgJsonbBuilder>>, string[]>, {
140
+ name: string;
141
+ tableName: "notification_templates";
142
+ dataType: "object json";
143
+ data: string[];
144
+ driverParam: unknown;
145
+ notNull: true;
146
+ hasDefault: true;
147
+ isPrimaryKey: false;
148
+ isAutoincrement: false;
149
+ hasRuntimeDefault: false;
150
+ enumValues: undefined;
151
+ identity: undefined;
152
+ generated: undefined;
153
+ }>;
154
+ priority: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, NotificationPriority>, {
155
+ name: string;
156
+ tableName: "notification_templates";
157
+ dataType: "string";
158
+ data: NotificationPriority;
159
+ driverParam: string;
160
+ notNull: true;
161
+ hasDefault: true;
162
+ isPrimaryKey: false;
163
+ isAutoincrement: false;
164
+ hasRuntimeDefault: false;
165
+ enumValues: undefined;
166
+ identity: undefined;
167
+ generated: undefined;
168
+ }>;
169
+ pluginId: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
170
+ name: string;
171
+ tableName: "notification_templates";
172
+ dataType: "string";
173
+ data: string;
174
+ driverParam: string;
175
+ notNull: false;
176
+ hasDefault: false;
177
+ isPrimaryKey: false;
178
+ isAutoincrement: false;
179
+ hasRuntimeDefault: false;
180
+ enumValues: undefined;
181
+ identity: undefined;
182
+ generated: undefined;
183
+ }>;
184
+ deprecated: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBooleanBuilder>>, {
185
+ name: string;
186
+ tableName: "notification_templates";
187
+ dataType: "boolean";
188
+ data: boolean;
189
+ driverParam: boolean;
190
+ notNull: true;
191
+ hasDefault: true;
192
+ isPrimaryKey: false;
193
+ isAutoincrement: false;
194
+ hasRuntimeDefault: false;
195
+ enumValues: undefined;
196
+ identity: undefined;
197
+ generated: undefined;
198
+ }>;
199
+ version: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
200
+ name: string;
201
+ tableName: "notification_templates";
202
+ dataType: "number int32";
203
+ data: number;
204
+ driverParam: string | number;
205
+ notNull: true;
206
+ hasDefault: true;
207
+ isPrimaryKey: false;
208
+ isAutoincrement: false;
209
+ hasRuntimeDefault: false;
210
+ enumValues: undefined;
211
+ identity: undefined;
212
+ generated: undefined;
213
+ }>;
214
+ createdAt: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>>, {
215
+ name: string;
216
+ tableName: "notification_templates";
217
+ dataType: "object date";
218
+ data: Date;
219
+ driverParam: string;
220
+ notNull: true;
221
+ hasDefault: true;
222
+ isPrimaryKey: false;
223
+ isAutoincrement: false;
224
+ hasRuntimeDefault: false;
225
+ enumValues: undefined;
226
+ identity: undefined;
227
+ generated: undefined;
228
+ }>;
229
+ updatedAt: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>>, {
230
+ name: string;
231
+ tableName: "notification_templates";
232
+ dataType: "object date";
233
+ data: Date;
234
+ driverParam: string;
235
+ notNull: true;
236
+ hasDefault: true;
237
+ isPrimaryKey: false;
238
+ isAutoincrement: false;
239
+ hasRuntimeDefault: false;
240
+ enumValues: undefined;
241
+ identity: undefined;
242
+ generated: undefined;
243
+ }>;
244
+ };
245
+ dialect: "pg";
246
+ }>;
247
+ export declare const notificationTemplateSchema: import("drizzle-orm/zod").BuildSchema<"insert", {
248
+ id: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasRuntimeDefault<import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, {
249
+ name: string;
250
+ tableName: "notification_templates";
251
+ dataType: "string";
252
+ data: string;
253
+ driverParam: string;
254
+ notNull: true;
255
+ hasDefault: true;
256
+ isPrimaryKey: false;
257
+ isAutoincrement: false;
258
+ hasRuntimeDefault: false;
259
+ enumValues: undefined;
260
+ identity: undefined;
261
+ generated: undefined;
262
+ }>;
263
+ key: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
264
+ name: string;
265
+ tableName: "notification_templates";
266
+ dataType: "string";
267
+ data: string;
268
+ driverParam: string;
269
+ notNull: true;
270
+ hasDefault: false;
271
+ isPrimaryKey: false;
272
+ isAutoincrement: false;
273
+ hasRuntimeDefault: false;
274
+ enumValues: undefined;
275
+ identity: undefined;
276
+ generated: undefined;
277
+ }>;
278
+ name: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
279
+ name: string;
280
+ tableName: "notification_templates";
281
+ dataType: "string";
282
+ data: string;
283
+ driverParam: string;
284
+ notNull: true;
285
+ hasDefault: false;
286
+ isPrimaryKey: false;
287
+ isAutoincrement: false;
288
+ hasRuntimeDefault: false;
289
+ enumValues: undefined;
290
+ identity: undefined;
291
+ generated: undefined;
292
+ }>;
293
+ description: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
294
+ name: string;
295
+ tableName: "notification_templates";
296
+ dataType: "string";
297
+ data: string;
298
+ driverParam: string;
299
+ notNull: false;
300
+ hasDefault: false;
301
+ isPrimaryKey: false;
302
+ isAutoincrement: false;
303
+ hasRuntimeDefault: false;
304
+ enumValues: undefined;
305
+ identity: undefined;
306
+ generated: undefined;
307
+ }>;
308
+ category: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, TemplateCategory>, {
309
+ name: string;
310
+ tableName: "notification_templates";
311
+ dataType: "string";
312
+ data: TemplateCategory;
313
+ driverParam: string;
314
+ notNull: true;
315
+ hasDefault: false;
316
+ isPrimaryKey: false;
317
+ isAutoincrement: false;
318
+ hasRuntimeDefault: false;
319
+ enumValues: undefined;
320
+ identity: undefined;
321
+ generated: undefined;
322
+ }>;
323
+ title: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgJsonbBuilder>, I18nText>, {
324
+ name: string;
325
+ tableName: "notification_templates";
326
+ dataType: "object json";
327
+ data: I18nText;
328
+ driverParam: unknown;
329
+ notNull: true;
330
+ hasDefault: false;
331
+ isPrimaryKey: false;
332
+ isAutoincrement: false;
333
+ hasRuntimeDefault: false;
334
+ enumValues: undefined;
335
+ identity: undefined;
336
+ generated: undefined;
337
+ }>;
338
+ message: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgJsonbBuilder>, I18nText>, {
339
+ name: string;
340
+ tableName: "notification_templates";
341
+ dataType: "object json";
342
+ data: I18nText;
343
+ driverParam: unknown;
344
+ notNull: true;
345
+ hasDefault: false;
346
+ isPrimaryKey: false;
347
+ isAutoincrement: false;
348
+ hasRuntimeDefault: false;
349
+ enumValues: undefined;
350
+ identity: undefined;
351
+ generated: undefined;
352
+ }>;
353
+ variables: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, string[]>, {
354
+ name: string;
355
+ tableName: "notification_templates";
356
+ dataType: "object json";
357
+ data: string[];
358
+ driverParam: unknown;
359
+ notNull: false;
360
+ hasDefault: false;
361
+ isPrimaryKey: false;
362
+ isAutoincrement: false;
363
+ hasRuntimeDefault: false;
364
+ enumValues: undefined;
365
+ identity: undefined;
366
+ generated: undefined;
367
+ }>;
368
+ defaultChannels: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgJsonbBuilder>>, string[]>, {
369
+ name: string;
370
+ tableName: "notification_templates";
371
+ dataType: "object json";
372
+ data: string[];
373
+ driverParam: unknown;
374
+ notNull: true;
375
+ hasDefault: true;
376
+ isPrimaryKey: false;
377
+ isAutoincrement: false;
378
+ hasRuntimeDefault: false;
379
+ enumValues: undefined;
380
+ identity: undefined;
381
+ generated: undefined;
382
+ }>;
383
+ priority: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, NotificationPriority>, {
384
+ name: string;
385
+ tableName: "notification_templates";
386
+ dataType: "string";
387
+ data: NotificationPriority;
388
+ driverParam: string;
389
+ notNull: true;
390
+ hasDefault: true;
391
+ isPrimaryKey: false;
392
+ isAutoincrement: false;
393
+ hasRuntimeDefault: false;
394
+ enumValues: undefined;
395
+ identity: undefined;
396
+ generated: undefined;
397
+ }>;
398
+ pluginId: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
399
+ name: string;
400
+ tableName: "notification_templates";
401
+ dataType: "string";
402
+ data: string;
403
+ driverParam: string;
404
+ notNull: false;
405
+ hasDefault: false;
406
+ isPrimaryKey: false;
407
+ isAutoincrement: false;
408
+ hasRuntimeDefault: false;
409
+ enumValues: undefined;
410
+ identity: undefined;
411
+ generated: undefined;
412
+ }>;
413
+ deprecated: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBooleanBuilder>>, {
414
+ name: string;
415
+ tableName: "notification_templates";
416
+ dataType: "boolean";
417
+ data: boolean;
418
+ driverParam: boolean;
419
+ notNull: true;
420
+ hasDefault: true;
421
+ isPrimaryKey: false;
422
+ isAutoincrement: false;
423
+ hasRuntimeDefault: false;
424
+ enumValues: undefined;
425
+ identity: undefined;
426
+ generated: undefined;
427
+ }>;
428
+ version: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
429
+ name: string;
430
+ tableName: "notification_templates";
431
+ dataType: "number int32";
432
+ data: number;
433
+ driverParam: string | number;
434
+ notNull: true;
435
+ hasDefault: true;
436
+ isPrimaryKey: false;
437
+ isAutoincrement: false;
438
+ hasRuntimeDefault: false;
439
+ enumValues: undefined;
440
+ identity: undefined;
441
+ generated: undefined;
442
+ }>;
443
+ createdAt: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>>, {
444
+ name: string;
445
+ tableName: "notification_templates";
446
+ dataType: "object date";
447
+ data: Date;
448
+ driverParam: string;
449
+ notNull: true;
450
+ hasDefault: true;
451
+ isPrimaryKey: false;
452
+ isAutoincrement: false;
453
+ hasRuntimeDefault: false;
454
+ enumValues: undefined;
455
+ identity: undefined;
456
+ generated: undefined;
457
+ }>;
458
+ updatedAt: import("drizzle-orm/pg-core").PgBuildColumn<"notification_templates", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>>, {
459
+ name: string;
460
+ tableName: "notification_templates";
461
+ dataType: "object date";
462
+ data: Date;
463
+ driverParam: string;
464
+ notNull: true;
465
+ hasDefault: true;
466
+ isPrimaryKey: false;
467
+ isAutoincrement: false;
468
+ hasRuntimeDefault: false;
469
+ enumValues: undefined;
470
+ identity: undefined;
471
+ generated: undefined;
472
+ }>;
473
+ }, undefined, undefined>;
474
+ export type NotificationTemplate = typeof notificationTemplates.$inferSelect;
475
+ export type InsertNotificationTemplate = typeof notificationTemplates.$inferInsert;
476
+ //# sourceMappingURL=notification-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-templates.d.ts","sourceRoot":"","sources":["../../src/schema/notification-templates.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAM5D;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAM9D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDjC,CAAC;AAMF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA4C,CAAC;AAMpF,MAAM,MAAM,oBAAoB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAC;AAC7E,MAAM,MAAM,0BAA0B,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAC"}