@cosmicdrift/kumiko-bundled-features 0.371.1 → 0.372.0

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 (92) hide show
  1. package/dist/auth-mfa/db/queries.d.ts +3 -2
  2. package/dist/auth-mfa/db/queries.js +2 -5
  3. package/dist/auth-mfa/schema/user-mfa.d.ts +10 -10
  4. package/dist/billing-foundation/entities.d.ts +10 -10
  5. package/dist/billing-foundation/projection.d.ts +10 -10
  6. package/dist/cap-counter/entity.d.ts +4 -4
  7. package/dist/cap-overview/web/cap-cards-panel.js +2 -1
  8. package/dist/compliance-profiles/schema/profile-selection.d.ts +4 -4
  9. package/dist/config/table.d.ts +6 -6
  10. package/dist/config/web/index.d.ts +1 -0
  11. package/dist/config/web/index.js +1 -0
  12. package/dist/crypto-shredding/handlers/forget-subject.write.js +55 -30
  13. package/dist/crypto-shredding/resolve-file-bytes-deleter.d.ts +3 -0
  14. package/dist/crypto-shredding/resolve-file-bytes-deleter.js +24 -0
  15. package/dist/custom-fields/entity.d.ts +9 -7
  16. package/dist/custom-fields/executor.d.ts +19 -1
  17. package/dist/data-retention/index.d.ts +1 -0
  18. package/dist/data-retention/index.js +1 -0
  19. package/dist/data-retention/run-retention-cleanup.js +27 -159
  20. package/dist/data-retention/schema/tenant-retention-override.d.ts +6 -6
  21. package/dist/delivery/delivery-service.d.ts +2 -1
  22. package/dist/delivery/delivery-service.js +3 -2
  23. package/dist/delivery/handlers/unsubscribe-page-chrome.query.js +2 -2
  24. package/dist/delivery/index.d.ts +1 -1
  25. package/dist/delivery/index.js +1 -1
  26. package/dist/delivery/jobs.js +21 -7
  27. package/dist/delivery/recipient-address-seal.d.ts +13 -0
  28. package/dist/delivery/recipient-address-seal.js +53 -0
  29. package/dist/delivery/tables.d.ts +8 -7
  30. package/dist/delivery/testing.d.ts +2 -1
  31. package/dist/delivery/testing.js +1 -0
  32. package/dist/delivery/unsubscribe.d.ts +13 -2
  33. package/dist/delivery/unsubscribe.js +9 -1
  34. package/dist/document-ingest-foundation/entity.d.ts +8 -8
  35. package/dist/document-ingest-foundation/executor.d.ts +16 -1
  36. package/dist/file-foundation/read-file-ref-content.js +2 -2
  37. package/dist/folders/entity.d.ts +8 -8
  38. package/dist/folders/executor.d.ts +29 -2
  39. package/dist/form-draft/entity.d.ts +3 -3
  40. package/dist/form-draft/executor.d.ts +15 -1
  41. package/dist/inbound-mail-foundation/entities.d.ts +31 -31
  42. package/dist/inbound-mail-foundation/projection.d.ts +24 -24
  43. package/dist/jobs/job-run-table.d.ts +10 -10
  44. package/dist/ledger/entity.d.ts +21 -21
  45. package/dist/ledger/executor.d.ts +57 -3
  46. package/dist/managed-pages/table.d.ts +16 -14
  47. package/dist/notes-history/entity.d.ts +14 -14
  48. package/dist/notes-history/executor.d.ts +31 -2
  49. package/dist/personal-access-tokens/schema/api-token.d.ts +9 -9
  50. package/dist/personal-access-tokens/screens.js +14 -9
  51. package/dist/secrets/table.d.ts +2 -2
  52. package/dist/sessions/schema/user-session.d.ts +8 -8
  53. package/dist/shared/index.d.ts +2 -0
  54. package/dist/shared/index.js +2 -0
  55. package/dist/shared/purge-files-reaching-subject.d.ts +25 -0
  56. package/dist/shared/purge-files-reaching-subject.js +146 -0
  57. package/dist/shared/purge-row-file-refs.d.ts +33 -0
  58. package/dist/shared/purge-row-file-refs.js +152 -0
  59. package/dist/tags/entity.d.ts +9 -9
  60. package/dist/tags/executor.d.ts +30 -2
  61. package/dist/template-resolver/handlers/shared.d.ts +28 -1
  62. package/dist/template-resolver/table.d.ts +32 -32
  63. package/dist/template-resolver/template-preview.js +13 -4
  64. package/dist/template-resolver/user-content-table.d.ts +16 -16
  65. package/dist/template-resolver/web/client-plugin.js +2 -1
  66. package/dist/template-resolver/web/document-editor-extensions.d.ts +1 -1
  67. package/dist/template-resolver/web/document-editor-extensions.js +2 -5
  68. package/dist/template-resolver/web/placeholder-line-editor.js +2 -2
  69. package/dist/tenant/handlers/list.query.d.ts +21 -1
  70. package/dist/tenant/invitation-table.d.ts +14 -14
  71. package/dist/tenant/membership-table.d.ts +4 -4
  72. package/dist/tenant/schema/tenant.d.ts +20 -18
  73. package/dist/tier-engine/entity.d.ts +2 -2
  74. package/dist/tier-engine/tier-resolver.d.ts +2 -2
  75. package/dist/user/handlers/me.query.d.ts +21 -0
  76. package/dist/user/schema/user.d.ts +24 -22
  77. package/dist/user-data-rights/run-export-jobs.d.ts +20 -1
  78. package/dist/user-data-rights/run-forget-cleanup.js +35 -1
  79. package/dist/user-data-rights/schema/download-attempt.d.ts +16 -16
  80. package/dist/user-data-rights/schema/download-token.d.ts +16 -16
  81. package/dist/user-data-rights/schema/export-job.d.ts +20 -20
  82. package/dist/user-data-rights/web/privacy-center-screen.js +2 -1
  83. package/dist/waitlist/entity.d.ts +24 -24
  84. package/dist/waitlist/lib.d.ts +24 -1
  85. package/package.json +11 -11
  86. package/src/crypto-shredding/changes.json +6 -0
  87. package/src/data-retention/changes.json +6 -0
  88. package/src/delivery/changes.json +13 -0
  89. package/src/files/changes.json +7 -0
  90. package/src/personal-access-tokens/changes.json +12 -0
  91. package/src/template-resolver/changes.json +6 -0
  92. package/src/user-data-rights/changes.json +6 -0
@@ -1,5 +1,5 @@
1
1
  export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-framework/db").EntityTable<import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
2
- provider: {
2
+ readonly provider: {
3
3
  readonly type: "text";
4
4
  readonly description?: string;
5
5
  readonly maxLength?: number;
@@ -22,7 +22,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
22
22
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
23
23
  required: true;
24
24
  };
25
- authMethod: {
25
+ readonly authMethod: {
26
26
  readonly type: "text";
27
27
  readonly description?: string;
28
28
  readonly maxLength?: number;
@@ -45,7 +45,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
45
45
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
46
46
  required: true;
47
47
  };
48
- ownerUserId: {
48
+ readonly ownerUserId: {
49
49
  readonly type: "text";
50
50
  readonly description?: string;
51
51
  readonly maxLength?: number;
@@ -68,7 +68,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
68
68
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
69
69
  required: false;
70
70
  };
71
- displayName: {
71
+ readonly displayName: {
72
72
  readonly type: "text";
73
73
  readonly description?: string;
74
74
  readonly maxLength?: number;
@@ -91,7 +91,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
91
91
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
92
92
  required: false;
93
93
  };
94
- address: {
94
+ readonly address: {
95
95
  readonly type: "text";
96
96
  readonly description?: string;
97
97
  readonly maxLength?: number;
@@ -114,7 +114,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
114
114
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
115
115
  required: true;
116
116
  };
117
- status: {
117
+ readonly status: {
118
118
  readonly type: "text";
119
119
  readonly description?: string;
120
120
  readonly maxLength?: number;
@@ -137,7 +137,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
137
137
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
138
138
  required: true;
139
139
  };
140
- watchState: {
140
+ readonly watchState: {
141
141
  readonly type: "text";
142
142
  readonly description?: string;
143
143
  readonly maxLength?: number;
@@ -160,7 +160,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
160
160
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
161
161
  required: false;
162
162
  };
163
- connectedAt: {
163
+ readonly connectedAt: {
164
164
  readonly type: "timestamp";
165
165
  readonly description?: string;
166
166
  readonly required?: boolean;
@@ -177,7 +177,7 @@ export declare const mailAccountsProjectionTable: import("@cosmicdrift/kumiko-fr
177
177
  };
178
178
  }, "tenant">>;
179
179
  export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko-framework/db").EntityTable<import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
180
- accountId: {
180
+ readonly accountId: {
181
181
  readonly type: "text";
182
182
  readonly description?: string;
183
183
  readonly maxLength?: number;
@@ -200,7 +200,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
200
200
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
201
201
  required: true;
202
202
  };
203
- ownerUserId: {
203
+ readonly ownerUserId: {
204
204
  readonly type: "text";
205
205
  readonly description?: string;
206
206
  readonly maxLength?: number;
@@ -223,7 +223,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
223
223
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
224
224
  required: false;
225
225
  };
226
- messageIdHeader: {
226
+ readonly messageIdHeader: {
227
227
  readonly type: "text";
228
228
  readonly description?: string;
229
229
  readonly maxLength?: number;
@@ -246,7 +246,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
246
246
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
247
247
  required: true;
248
248
  };
249
- threadKey: {
249
+ readonly threadKey: {
250
250
  readonly type: "text";
251
251
  readonly description?: string;
252
252
  readonly maxLength?: number;
@@ -269,7 +269,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
269
269
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
270
270
  required: true;
271
271
  };
272
- from: {
272
+ readonly from: {
273
273
  readonly type: "text";
274
274
  readonly description?: string;
275
275
  readonly maxLength?: number;
@@ -292,7 +292,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
292
292
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
293
293
  required: true;
294
294
  };
295
- to: {
295
+ readonly to: {
296
296
  readonly type: "text";
297
297
  readonly description?: string;
298
298
  readonly maxLength?: number;
@@ -315,7 +315,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
315
315
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
316
316
  required: false;
317
317
  };
318
- cc: {
318
+ readonly cc: {
319
319
  readonly type: "text";
320
320
  readonly description?: string;
321
321
  readonly maxLength?: number;
@@ -338,7 +338,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
338
338
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
339
339
  required: false;
340
340
  };
341
- subject: {
341
+ readonly subject: {
342
342
  readonly type: "text";
343
343
  readonly description?: string;
344
344
  readonly maxLength?: number;
@@ -361,7 +361,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
361
361
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
362
362
  required: false;
363
363
  };
364
- snippet: {
364
+ readonly snippet: {
365
365
  readonly type: "text";
366
366
  readonly description?: string;
367
367
  readonly maxLength?: number;
@@ -384,7 +384,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
384
384
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
385
385
  required: false;
386
386
  };
387
- receivedAt: {
387
+ readonly receivedAt: {
388
388
  readonly type: "timestamp";
389
389
  readonly description?: string;
390
390
  readonly required?: boolean;
@@ -399,7 +399,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
399
399
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
400
400
  required: true;
401
401
  };
402
- bodyRef: {
402
+ readonly bodyRef: {
403
403
  readonly type: "text";
404
404
  readonly description?: string;
405
405
  readonly maxLength?: number;
@@ -422,7 +422,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
422
422
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
423
423
  required: false;
424
424
  };
425
- scope: {
425
+ readonly scope: {
426
426
  readonly type: "text";
427
427
  readonly description?: string;
428
428
  readonly maxLength?: number;
@@ -447,7 +447,7 @@ export declare const inboundMessagesProjectionTable: import("@cosmicdrift/kumiko
447
447
  };
448
448
  }, "tenant">>;
449
449
  export declare const mailThreadsProjectionTable: import("@cosmicdrift/kumiko-framework/db").EntityTable<import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
450
- threadKey: {
450
+ readonly threadKey: {
451
451
  readonly type: "text";
452
452
  readonly description?: string;
453
453
  readonly maxLength?: number;
@@ -470,7 +470,7 @@ export declare const mailThreadsProjectionTable: import("@cosmicdrift/kumiko-fra
470
470
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
471
471
  required: true;
472
472
  };
473
- subject: {
473
+ readonly subject: {
474
474
  readonly type: "text";
475
475
  readonly description?: string;
476
476
  readonly maxLength?: number;
@@ -493,7 +493,7 @@ export declare const mailThreadsProjectionTable: import("@cosmicdrift/kumiko-fra
493
493
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
494
494
  required: false;
495
495
  };
496
- lastMessageAt: {
496
+ readonly lastMessageAt: {
497
497
  readonly type: "timestamp";
498
498
  readonly description?: string;
499
499
  readonly required?: boolean;
@@ -508,7 +508,7 @@ export declare const mailThreadsProjectionTable: import("@cosmicdrift/kumiko-fra
508
508
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
509
509
  required: true;
510
510
  };
511
- messageCount: {
511
+ readonly messageCount: {
512
512
  readonly type: "number";
513
513
  readonly description?: string;
514
514
  readonly required?: boolean;
@@ -2,7 +2,7 @@ import { type EntityTableMeta } from "@cosmicdrift/kumiko-framework/db";
2
2
  export type JobRunStatus = "queued" | "running" | "completed" | "failed";
3
3
  export type JobLogLevel = "info" | "warn" | "error";
4
4
  export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
5
- jobName: {
5
+ readonly jobName: {
6
6
  readonly type: "text";
7
7
  readonly description?: string;
8
8
  readonly maxLength?: number;
@@ -25,7 +25,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
25
25
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
26
26
  required: true;
27
27
  };
28
- bullJobId: {
28
+ readonly bullJobId: {
29
29
  readonly type: "text";
30
30
  readonly description?: string;
31
31
  readonly maxLength?: number;
@@ -48,7 +48,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
48
48
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
49
49
  required: true;
50
50
  };
51
- status: {
51
+ readonly status: {
52
52
  readonly type: "text";
53
53
  readonly description?: string;
54
54
  readonly maxLength?: number;
@@ -71,7 +71,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
71
71
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
72
72
  required: true;
73
73
  };
74
- payload: {
74
+ readonly payload: {
75
75
  readonly type: "text";
76
76
  readonly description?: string;
77
77
  readonly maxLength?: number;
@@ -94,7 +94,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
94
94
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
95
95
  required: false;
96
96
  };
97
- error: {
97
+ readonly error: {
98
98
  readonly type: "text";
99
99
  readonly description?: string;
100
100
  readonly maxLength?: number;
@@ -117,7 +117,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
117
117
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
118
118
  required: false;
119
119
  };
120
- attempt: {
120
+ readonly attempt: {
121
121
  readonly type: "number";
122
122
  readonly description?: string;
123
123
  readonly required?: boolean;
@@ -136,7 +136,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
136
136
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
137
137
  required: true;
138
138
  };
139
- startedAt: {
139
+ readonly startedAt: {
140
140
  readonly type: "timestamp";
141
141
  readonly description?: string;
142
142
  readonly required?: boolean;
@@ -151,7 +151,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
151
151
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
152
152
  required: true;
153
153
  };
154
- finishedAt: {
154
+ readonly finishedAt: {
155
155
  readonly type: "timestamp";
156
156
  readonly description?: string;
157
157
  readonly required?: boolean;
@@ -166,7 +166,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
166
166
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
167
167
  required: false;
168
168
  };
169
- duration: {
169
+ readonly duration: {
170
170
  readonly type: "number";
171
171
  readonly description?: string;
172
172
  readonly required?: boolean;
@@ -185,7 +185,7 @@ export declare const jobRunEntity: import("@cosmicdrift/kumiko-types/fields").En
185
185
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
186
186
  required: false;
187
187
  };
188
- triggeredById: {
188
+ readonly triggeredById: {
189
189
  readonly type: "text";
190
190
  readonly description?: string;
191
191
  readonly maxLength?: number;
@@ -1,5 +1,5 @@
1
1
  export declare const accountEntity: import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
2
- name: {
2
+ readonly name: {
3
3
  readonly type: "text";
4
4
  readonly description?: string;
5
5
  readonly maxLength?: number;
@@ -22,7 +22,7 @@ export declare const accountEntity: import("@cosmicdrift/kumiko-types/fields").E
22
22
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
23
23
  required: true;
24
24
  };
25
- type: {
25
+ readonly type: {
26
26
  readonly type: "select";
27
27
  readonly description?: string;
28
28
  readonly options: readonly ["asset", "liability", "equity", "income", "expense"];
@@ -47,7 +47,7 @@ export declare const accountEntity: import("@cosmicdrift/kumiko-types/fields").E
47
47
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
48
48
  required: true;
49
49
  };
50
- code: {
50
+ readonly code: {
51
51
  readonly type: "text";
52
52
  readonly description?: string;
53
53
  readonly maxLength?: number;
@@ -70,7 +70,7 @@ export declare const accountEntity: import("@cosmicdrift/kumiko-types/fields").E
70
70
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
71
71
  required: false;
72
72
  };
73
- parentId: {
73
+ readonly parentId: {
74
74
  readonly type: "text";
75
75
  readonly description?: string;
76
76
  readonly maxLength?: number;
@@ -95,7 +95,7 @@ export declare const accountEntity: import("@cosmicdrift/kumiko-types/fields").E
95
95
  };
96
96
  }, "tenant">;
97
97
  export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
98
- date: {
98
+ readonly date: {
99
99
  readonly type: "date";
100
100
  readonly description?: string;
101
101
  readonly required?: boolean;
@@ -109,7 +109,7 @@ export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields
109
109
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
110
110
  required: true;
111
111
  };
112
- description: {
112
+ readonly description: {
113
113
  readonly type: "text";
114
114
  readonly description?: string;
115
115
  readonly maxLength?: number;
@@ -132,7 +132,7 @@ export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields
132
132
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
133
133
  required: true;
134
134
  };
135
- reference: {
135
+ readonly reference: {
136
136
  readonly type: "text";
137
137
  readonly description?: string;
138
138
  readonly maxLength?: number;
@@ -155,7 +155,7 @@ export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields
155
155
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
156
156
  required: false;
157
157
  };
158
- status: {
158
+ readonly status: {
159
159
  readonly type: "select";
160
160
  readonly description?: string;
161
161
  readonly options: readonly ["draft", "posted"];
@@ -177,7 +177,7 @@ export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields
177
177
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
178
178
  required: true;
179
179
  };
180
- lines: {
180
+ readonly lines: {
181
181
  readonly type: "embedded";
182
182
  readonly description?: string;
183
183
  readonly required?: boolean;
@@ -193,7 +193,7 @@ export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields
193
193
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
194
194
  multiple: true;
195
195
  };
196
- subjectType: {
196
+ readonly subjectType: {
197
197
  readonly type: "text";
198
198
  readonly description?: string;
199
199
  readonly maxLength?: number;
@@ -216,7 +216,7 @@ export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields
216
216
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
217
217
  required: false;
218
218
  };
219
- subjectId: {
219
+ readonly subjectId: {
220
220
  readonly type: "text";
221
221
  readonly description?: string;
222
222
  readonly maxLength?: number;
@@ -241,7 +241,7 @@ export declare const transactionEntity: import("@cosmicdrift/kumiko-types/fields
241
241
  };
242
242
  }, "tenant">;
243
243
  export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
244
- description: {
244
+ readonly description: {
245
245
  readonly type: "text";
246
246
  readonly description?: string;
247
247
  readonly maxLength?: number;
@@ -264,7 +264,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
264
264
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
265
265
  required: true;
266
266
  };
267
- startDate: {
267
+ readonly startDate: {
268
268
  readonly type: "date";
269
269
  readonly description?: string;
270
270
  readonly required?: boolean;
@@ -278,7 +278,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
278
278
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
279
279
  required: true;
280
280
  };
281
- endDate: {
281
+ readonly endDate: {
282
282
  readonly type: "date";
283
283
  readonly description?: string;
284
284
  readonly required?: boolean;
@@ -292,7 +292,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
292
292
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
293
293
  required: false;
294
294
  };
295
- interval: {
295
+ readonly interval: {
296
296
  readonly type: "select";
297
297
  readonly description?: string;
298
298
  readonly options: readonly ["monthly"];
@@ -313,7 +313,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
313
313
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
314
314
  required: true;
315
315
  };
316
- amount: {
316
+ readonly amount: {
317
317
  readonly type: "number";
318
318
  readonly description?: string;
319
319
  readonly required?: boolean;
@@ -332,7 +332,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
332
332
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
333
333
  required: true;
334
334
  };
335
- debitAccountId: {
335
+ readonly debitAccountId: {
336
336
  readonly type: "text";
337
337
  readonly description?: string;
338
338
  readonly maxLength?: number;
@@ -355,7 +355,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
355
355
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
356
356
  required: true;
357
357
  };
358
- creditAccountId: {
358
+ readonly creditAccountId: {
359
359
  readonly type: "text";
360
360
  readonly description?: string;
361
361
  readonly maxLength?: number;
@@ -378,7 +378,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
378
378
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
379
379
  required: true;
380
380
  };
381
- subjectType: {
381
+ readonly subjectType: {
382
382
  readonly type: "text";
383
383
  readonly description?: string;
384
384
  readonly maxLength?: number;
@@ -401,7 +401,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
401
401
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
402
402
  required: false;
403
403
  };
404
- subjectId: {
404
+ readonly subjectId: {
405
405
  readonly type: "text";
406
406
  readonly description?: string;
407
407
  readonly maxLength?: number;
@@ -424,7 +424,7 @@ export declare const scheduleEntity: import("@cosmicdrift/kumiko-types/fields").
424
424
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
425
425
  required: false;
426
426
  };
427
- sourceRef: {
427
+ readonly sourceRef: {
428
428
  readonly type: "text";
429
429
  readonly description?: string;
430
430
  readonly maxLength?: number;
@@ -1,3 +1,57 @@
1
- export declare const accountTable: import("@cosmicdrift/kumiko-framework/db").EntityTable, accountExecutor: import("@cosmicdrift/kumiko-types/event-store-executor-types").EventStoreExecutor;
2
- export declare const transactionTable: import("@cosmicdrift/kumiko-framework/db").EntityTable, transactionExecutor: import("@cosmicdrift/kumiko-types/event-store-executor-types").EventStoreExecutor;
3
- export declare const scheduleTable: import("@cosmicdrift/kumiko-framework/db").EntityTable, scheduleExecutor: import("@cosmicdrift/kumiko-types/event-store-executor-types").EventStoreExecutor;
1
+ export declare const accountTable: import("@cosmicdrift/kumiko-framework/db").EntityTable, accountExecutor: import("@cosmicdrift/kumiko-types/event-store-executor-types").EventStoreExecutor<{
2
+ readonly id: string;
3
+ readonly tenantId: string;
4
+ readonly version: number;
5
+ readonly insertedAt: Temporal.Instant;
6
+ readonly modifiedAt: Temporal.Instant | null;
7
+ readonly insertedById: string | null;
8
+ readonly modifiedById: string | null;
9
+ readonly isDeleted?: boolean | undefined;
10
+ readonly deletedAt?: Temporal.Instant | null | undefined;
11
+ readonly deletedById?: string | null | undefined;
12
+ readonly code: string | null;
13
+ readonly name: string;
14
+ readonly parentId: string | null;
15
+ readonly type: string;
16
+ }>;
17
+ export declare const transactionTable: import("@cosmicdrift/kumiko-framework/db").EntityTable, transactionExecutor: import("@cosmicdrift/kumiko-types/event-store-executor-types").EventStoreExecutor<{
18
+ readonly id: string;
19
+ readonly tenantId: string;
20
+ readonly version: number;
21
+ readonly insertedAt: Temporal.Instant;
22
+ readonly modifiedAt: Temporal.Instant | null;
23
+ readonly insertedById: string | null;
24
+ readonly modifiedById: string | null;
25
+ readonly isDeleted?: boolean | undefined;
26
+ readonly deletedAt?: Temporal.Instant | null | undefined;
27
+ readonly deletedById?: string | null | undefined;
28
+ readonly date: Temporal.PlainDate;
29
+ readonly description: string;
30
+ readonly lines: readonly Readonly<Record<string, unknown>>[];
31
+ readonly reference: string | null;
32
+ readonly status: string;
33
+ readonly subjectId: string | null;
34
+ readonly subjectType: string | null;
35
+ }>;
36
+ export declare const scheduleTable: import("@cosmicdrift/kumiko-framework/db").EntityTable, scheduleExecutor: import("@cosmicdrift/kumiko-types/event-store-executor-types").EventStoreExecutor<{
37
+ readonly id: string;
38
+ readonly tenantId: string;
39
+ readonly version: number;
40
+ readonly insertedAt: Temporal.Instant;
41
+ readonly modifiedAt: Temporal.Instant | null;
42
+ readonly insertedById: string | null;
43
+ readonly modifiedById: string | null;
44
+ readonly isDeleted?: boolean | undefined;
45
+ readonly deletedAt?: Temporal.Instant | null | undefined;
46
+ readonly deletedById?: string | null | undefined;
47
+ readonly amount: number;
48
+ readonly creditAccountId: string;
49
+ readonly debitAccountId: string;
50
+ readonly description: string;
51
+ readonly endDate: Temporal.PlainDate | null;
52
+ readonly interval: string;
53
+ readonly sourceRef: string | null;
54
+ readonly startDate: Temporal.PlainDate;
55
+ readonly subjectId: string | null;
56
+ readonly subjectType: string | null;
57
+ }>;
@@ -1,5 +1,5 @@
1
1
  export declare const pageEntity: import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
2
- slug: {
2
+ readonly slug: {
3
3
  readonly type: "text";
4
4
  readonly description?: string;
5
5
  readonly maxLength?: number;
@@ -22,7 +22,7 @@ export declare const pageEntity: import("@cosmicdrift/kumiko-types/fields").Enti
22
22
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
23
23
  required: true;
24
24
  };
25
- lang: {
25
+ readonly lang: {
26
26
  readonly type: "text";
27
27
  readonly description?: string;
28
28
  readonly maxLength?: number;
@@ -45,7 +45,7 @@ export declare const pageEntity: import("@cosmicdrift/kumiko-types/fields").Enti
45
45
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
46
46
  required: true;
47
47
  };
48
- title: {
48
+ readonly title: {
49
49
  readonly type: "text";
50
50
  readonly description?: string;
51
51
  readonly maxLength?: number;
@@ -68,7 +68,7 @@ export declare const pageEntity: import("@cosmicdrift/kumiko-types/fields").Enti
68
68
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
69
69
  required: true;
70
70
  };
71
- body: {
71
+ readonly body: {
72
72
  readonly type: "text";
73
73
  readonly description?: string;
74
74
  readonly maxLength?: number;
@@ -91,7 +91,7 @@ export declare const pageEntity: import("@cosmicdrift/kumiko-types/fields").Enti
91
91
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
92
92
  required: false;
93
93
  };
94
- description: {
94
+ readonly description: {
95
95
  readonly type: "text";
96
96
  readonly description?: string;
97
97
  readonly maxLength?: number;
@@ -114,7 +114,7 @@ export declare const pageEntity: import("@cosmicdrift/kumiko-types/fields").Enti
114
114
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
115
115
  required: false;
116
116
  };
117
- ogImage: {
117
+ readonly ogImage: {
118
118
  readonly type: "text";
119
119
  readonly description?: string;
120
120
  readonly maxLength?: number;
@@ -137,12 +137,13 @@ export declare const pageEntity: import("@cosmicdrift/kumiko-types/fields").Enti
137
137
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
138
138
  required: false;
139
139
  };
140
- published: import("@cosmicdrift/kumiko-types/fields").BooleanFieldDef & {
140
+ readonly published: import("@cosmicdrift/kumiko-types/fields").BooleanFieldDef & {
141
141
  required: false;
142
+ default: boolean;
142
143
  };
143
144
  }, "tenant">;
144
145
  export declare const pagesTable: import("@cosmicdrift/kumiko-framework/db").EntityTable<import("@cosmicdrift/kumiko-types/fields").EntityDefinition<{
145
- slug: {
146
+ readonly slug: {
146
147
  readonly type: "text";
147
148
  readonly description?: string;
148
149
  readonly maxLength?: number;
@@ -165,7 +166,7 @@ export declare const pagesTable: import("@cosmicdrift/kumiko-framework/db").Enti
165
166
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
166
167
  required: true;
167
168
  };
168
- lang: {
169
+ readonly lang: {
169
170
  readonly type: "text";
170
171
  readonly description?: string;
171
172
  readonly maxLength?: number;
@@ -188,7 +189,7 @@ export declare const pagesTable: import("@cosmicdrift/kumiko-framework/db").Enti
188
189
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
189
190
  required: true;
190
191
  };
191
- title: {
192
+ readonly title: {
192
193
  readonly type: "text";
193
194
  readonly description?: string;
194
195
  readonly maxLength?: number;
@@ -211,7 +212,7 @@ export declare const pagesTable: import("@cosmicdrift/kumiko-framework/db").Enti
211
212
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
212
213
  required: true;
213
214
  };
214
- body: {
215
+ readonly body: {
215
216
  readonly type: "text";
216
217
  readonly description?: string;
217
218
  readonly maxLength?: number;
@@ -234,7 +235,7 @@ export declare const pagesTable: import("@cosmicdrift/kumiko-framework/db").Enti
234
235
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
235
236
  required: false;
236
237
  };
237
- description: {
238
+ readonly description: {
238
239
  readonly type: "text";
239
240
  readonly description?: string;
240
241
  readonly maxLength?: number;
@@ -257,7 +258,7 @@ export declare const pagesTable: import("@cosmicdrift/kumiko-framework/db").Enti
257
258
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
258
259
  required: false;
259
260
  };
260
- ogImage: {
261
+ readonly ogImage: {
261
262
  readonly type: "text";
262
263
  readonly description?: string;
263
264
  readonly maxLength?: number;
@@ -280,8 +281,9 @@ export declare const pagesTable: import("@cosmicdrift/kumiko-framework/db").Enti
280
281
  } & import("@cosmicdrift/kumiko-types/fields").ResolvedPiiFlags & {
281
282
  required: false;
282
283
  };
283
- published: import("@cosmicdrift/kumiko-types/fields").BooleanFieldDef & {
284
+ readonly published: import("@cosmicdrift/kumiko-types/fields").BooleanFieldDef & {
284
285
  required: false;
286
+ default: boolean;
285
287
  };
286
288
  }, "tenant">>;
287
289
  export type PageRow = {