@hexclave/shared 1.0.53 → 1.0.55
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/dist/{admin-interface-D9wMduWc.d.ts → admin-interface-DIt0PvhC.d.ts} +4 -4
- package/dist/{admin-interface-D9wMduWc.d.ts.map → admin-interface-DIt0PvhC.d.ts.map} +1 -1
- package/dist/ai/unified-prompts/reminders.js +1 -1
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -4
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/config/schema-fuzzer.test.js +1 -1
- package/dist/config/schema.d.ts +1 -1
- package/dist/config/schema.js +1 -1
- package/dist/config-authoring.d.ts +1 -1
- package/dist/config-rendering.d.ts +9 -1
- package/dist/config-rendering.d.ts.map +1 -1
- package/dist/config-rendering.js +2 -2
- package/dist/config-rendering.js.map +1 -1
- package/dist/dates-BRAvSk6L.d.ts.map +1 -1
- package/dist/{email-outbox-B1wmVPRG.d.ts → email-outbox-CqzwInBL.d.ts} +91 -91
- package/dist/{email-outbox-B1wmVPRG.d.ts.map → email-outbox-CqzwInBL.d.ts.map} +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -4
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/config/schema-fuzzer.test.js +1 -1
- package/dist/esm/config/schema.d.ts +28 -28
- package/dist/esm/config/schema.js +1 -1
- package/dist/esm/config-rendering.d.ts +9 -1
- package/dist/esm/config-rendering.d.ts.map +1 -1
- package/dist/esm/config-rendering.js +2 -3
- package/dist/esm/config-rendering.js.map +1 -1
- package/dist/esm/interface/admin-interface.js +1 -1
- package/dist/esm/interface/client-interface.js +2 -2
- package/dist/esm/interface/crud/email-outbox.d.ts +90 -90
- package/dist/esm/interface/plan-usage.d.ts +1 -1
- package/dist/esm/interface/server-interface.js +1 -1
- package/dist/esm/package.json +18 -0
- package/dist/esm/utils/dates.d.ts.map +1 -1
- package/dist/esm/utils/dates.js +2 -1
- package/dist/esm/utils/dates.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/interface/admin-interface.d.ts +2 -2
- package/dist/interface/admin-interface.js +1 -1
- package/dist/interface/client-interface.js +2 -2
- package/dist/interface/crud/email-outbox.d.ts +1 -1
- package/dist/interface/plan-usage.d.ts +1 -1
- package/dist/interface/server-interface.js +1 -1
- package/dist/{plan-usage-BaDxcLZ1.d.ts → plan-usage-BO2GsKlN.d.ts} +2 -2
- package/dist/{plan-usage-BaDxcLZ1.d.ts.map → plan-usage-BO2GsKlN.d.ts.map} +1 -1
- package/dist/{schema-DV0SQUbY.d.ts → schema-CLmaZetm.d.ts} +29 -29
- package/dist/{schema-DV0SQUbY.d.ts.map → schema-CLmaZetm.d.ts.map} +1 -1
- package/dist/utils/dates.js +2 -1
- package/dist/utils/dates.js.map +1 -1
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -1
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +4 -4
- package/src/config-rendering.ts +5 -6
- package/src/utils/dates.tsx +22 -1
|
@@ -5,9 +5,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
5
5
|
status: "paused";
|
|
6
6
|
id: string;
|
|
7
7
|
created_at_millis: number;
|
|
8
|
-
updated_at_millis: number;
|
|
9
|
-
tsx_source: string;
|
|
10
|
-
theme_id: string | null;
|
|
11
8
|
to: {
|
|
12
9
|
user_id: string;
|
|
13
10
|
type: "user-primary-email";
|
|
@@ -19,6 +16,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
19
16
|
type: "custom-emails";
|
|
20
17
|
emails: string[];
|
|
21
18
|
};
|
|
19
|
+
updated_at_millis: number;
|
|
20
|
+
tsx_source: string;
|
|
21
|
+
theme_id: string | null;
|
|
22
22
|
variables: Record<string, {} | null>;
|
|
23
23
|
skip_deliverability_check: boolean;
|
|
24
24
|
scheduled_at_millis: number;
|
|
@@ -43,9 +43,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
43
43
|
status: "preparing";
|
|
44
44
|
id: string;
|
|
45
45
|
created_at_millis: number;
|
|
46
|
-
updated_at_millis: number;
|
|
47
|
-
tsx_source: string;
|
|
48
|
-
theme_id: string | null;
|
|
49
46
|
to: {
|
|
50
47
|
user_id: string;
|
|
51
48
|
type: "user-primary-email";
|
|
@@ -57,6 +54,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
57
54
|
type: "custom-emails";
|
|
58
55
|
emails: string[];
|
|
59
56
|
};
|
|
57
|
+
updated_at_millis: number;
|
|
58
|
+
tsx_source: string;
|
|
59
|
+
theme_id: string | null;
|
|
60
60
|
variables: Record<string, {} | null>;
|
|
61
61
|
skip_deliverability_check: boolean;
|
|
62
62
|
scheduled_at_millis: number;
|
|
@@ -81,9 +81,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
81
81
|
status: "rendering";
|
|
82
82
|
id: string;
|
|
83
83
|
created_at_millis: number;
|
|
84
|
-
updated_at_millis: number;
|
|
85
|
-
tsx_source: string;
|
|
86
|
-
theme_id: string | null;
|
|
87
84
|
to: {
|
|
88
85
|
user_id: string;
|
|
89
86
|
type: "user-primary-email";
|
|
@@ -95,6 +92,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
95
92
|
type: "custom-emails";
|
|
96
93
|
emails: string[];
|
|
97
94
|
};
|
|
95
|
+
updated_at_millis: number;
|
|
96
|
+
tsx_source: string;
|
|
97
|
+
theme_id: string | null;
|
|
98
98
|
variables: Record<string, {} | null>;
|
|
99
99
|
skip_deliverability_check: boolean;
|
|
100
100
|
scheduled_at_millis: number;
|
|
@@ -120,9 +120,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
120
120
|
status: "render-error";
|
|
121
121
|
id: string;
|
|
122
122
|
created_at_millis: number;
|
|
123
|
-
updated_at_millis: number;
|
|
124
|
-
tsx_source: string;
|
|
125
|
-
theme_id: string | null;
|
|
126
123
|
to: {
|
|
127
124
|
user_id: string;
|
|
128
125
|
type: "user-primary-email";
|
|
@@ -134,6 +131,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
134
131
|
type: "custom-emails";
|
|
135
132
|
emails: string[];
|
|
136
133
|
};
|
|
134
|
+
updated_at_millis: number;
|
|
135
|
+
tsx_source: string;
|
|
136
|
+
theme_id: string | null;
|
|
137
137
|
variables: Record<string, {} | null>;
|
|
138
138
|
skip_deliverability_check: boolean;
|
|
139
139
|
scheduled_at_millis: number;
|
|
@@ -164,9 +164,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
164
164
|
created_at_millis: number;
|
|
165
165
|
html: string | null;
|
|
166
166
|
text: string | null;
|
|
167
|
-
updated_at_millis: number;
|
|
168
|
-
tsx_source: string;
|
|
169
|
-
theme_id: string | null;
|
|
170
167
|
to: {
|
|
171
168
|
user_id: string;
|
|
172
169
|
type: "user-primary-email";
|
|
@@ -178,6 +175,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
178
175
|
type: "custom-emails";
|
|
179
176
|
emails: string[];
|
|
180
177
|
};
|
|
178
|
+
updated_at_millis: number;
|
|
179
|
+
tsx_source: string;
|
|
180
|
+
theme_id: string | null;
|
|
181
181
|
variables: Record<string, {} | null>;
|
|
182
182
|
skip_deliverability_check: boolean;
|
|
183
183
|
scheduled_at_millis: number;
|
|
@@ -210,9 +210,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
210
210
|
created_at_millis: number;
|
|
211
211
|
html: string | null;
|
|
212
212
|
text: string | null;
|
|
213
|
-
updated_at_millis: number;
|
|
214
|
-
tsx_source: string;
|
|
215
|
-
theme_id: string | null;
|
|
216
213
|
to: {
|
|
217
214
|
user_id: string;
|
|
218
215
|
type: "user-primary-email";
|
|
@@ -224,6 +221,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
224
221
|
type: "custom-emails";
|
|
225
222
|
emails: string[];
|
|
226
223
|
};
|
|
224
|
+
updated_at_millis: number;
|
|
225
|
+
tsx_source: string;
|
|
226
|
+
theme_id: string | null;
|
|
227
227
|
variables: Record<string, {} | null>;
|
|
228
228
|
skip_deliverability_check: boolean;
|
|
229
229
|
scheduled_at_millis: number;
|
|
@@ -256,9 +256,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
256
256
|
created_at_millis: number;
|
|
257
257
|
html: string | null;
|
|
258
258
|
text: string | null;
|
|
259
|
-
updated_at_millis: number;
|
|
260
|
-
tsx_source: string;
|
|
261
|
-
theme_id: string | null;
|
|
262
259
|
to: {
|
|
263
260
|
user_id: string;
|
|
264
261
|
type: "user-primary-email";
|
|
@@ -270,6 +267,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
270
267
|
type: "custom-emails";
|
|
271
268
|
emails: string[];
|
|
272
269
|
};
|
|
270
|
+
updated_at_millis: number;
|
|
271
|
+
tsx_source: string;
|
|
272
|
+
theme_id: string | null;
|
|
273
273
|
variables: Record<string, {} | null>;
|
|
274
274
|
skip_deliverability_check: boolean;
|
|
275
275
|
scheduled_at_millis: number;
|
|
@@ -303,9 +303,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
303
303
|
created_at_millis: number;
|
|
304
304
|
html: string | null;
|
|
305
305
|
text: string | null;
|
|
306
|
-
updated_at_millis: number;
|
|
307
|
-
tsx_source: string;
|
|
308
|
-
theme_id: string | null;
|
|
309
306
|
to: {
|
|
310
307
|
user_id: string;
|
|
311
308
|
type: "user-primary-email";
|
|
@@ -317,6 +314,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
317
314
|
type: "custom-emails";
|
|
318
315
|
emails: string[];
|
|
319
316
|
};
|
|
317
|
+
updated_at_millis: number;
|
|
318
|
+
tsx_source: string;
|
|
319
|
+
theme_id: string | null;
|
|
320
320
|
variables: Record<string, {} | null>;
|
|
321
321
|
skip_deliverability_check: boolean;
|
|
322
322
|
scheduled_at_millis: number;
|
|
@@ -358,9 +358,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
358
358
|
status: "skipped";
|
|
359
359
|
id: string;
|
|
360
360
|
created_at_millis: number;
|
|
361
|
-
updated_at_millis: number;
|
|
362
|
-
tsx_source: string;
|
|
363
|
-
theme_id: string | null;
|
|
364
361
|
to: {
|
|
365
362
|
user_id: string;
|
|
366
363
|
type: "user-primary-email";
|
|
@@ -372,6 +369,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
372
369
|
type: "custom-emails";
|
|
373
370
|
emails: string[];
|
|
374
371
|
};
|
|
372
|
+
updated_at_millis: number;
|
|
373
|
+
tsx_source: string;
|
|
374
|
+
theme_id: string | null;
|
|
375
375
|
variables: Record<string, {} | null>;
|
|
376
376
|
skip_deliverability_check: boolean;
|
|
377
377
|
scheduled_at_millis: number;
|
|
@@ -402,9 +402,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
402
402
|
created_at_millis: number;
|
|
403
403
|
html: string | null;
|
|
404
404
|
text: string | null;
|
|
405
|
-
updated_at_millis: number;
|
|
406
|
-
tsx_source: string;
|
|
407
|
-
theme_id: string | null;
|
|
408
405
|
to: {
|
|
409
406
|
user_id: string;
|
|
410
407
|
type: "user-primary-email";
|
|
@@ -416,6 +413,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
416
413
|
type: "custom-emails";
|
|
417
414
|
emails: string[];
|
|
418
415
|
};
|
|
416
|
+
updated_at_millis: number;
|
|
417
|
+
tsx_source: string;
|
|
418
|
+
theme_id: string | null;
|
|
419
419
|
variables: Record<string, {} | null>;
|
|
420
420
|
skip_deliverability_check: boolean;
|
|
421
421
|
scheduled_at_millis: number;
|
|
@@ -450,9 +450,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
450
450
|
created_at_millis: number;
|
|
451
451
|
html: string | null;
|
|
452
452
|
text: string | null;
|
|
453
|
-
updated_at_millis: number;
|
|
454
|
-
tsx_source: string;
|
|
455
|
-
theme_id: string | null;
|
|
456
453
|
to: {
|
|
457
454
|
user_id: string;
|
|
458
455
|
type: "user-primary-email";
|
|
@@ -464,6 +461,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
464
461
|
type: "custom-emails";
|
|
465
462
|
emails: string[];
|
|
466
463
|
};
|
|
464
|
+
updated_at_millis: number;
|
|
465
|
+
tsx_source: string;
|
|
466
|
+
theme_id: string | null;
|
|
467
467
|
variables: Record<string, {} | null>;
|
|
468
468
|
skip_deliverability_check: boolean;
|
|
469
469
|
scheduled_at_millis: number;
|
|
@@ -498,9 +498,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
498
498
|
created_at_millis: number;
|
|
499
499
|
html: string | null;
|
|
500
500
|
text: string | null;
|
|
501
|
-
updated_at_millis: number;
|
|
502
|
-
tsx_source: string;
|
|
503
|
-
theme_id: string | null;
|
|
504
501
|
to: {
|
|
505
502
|
user_id: string;
|
|
506
503
|
type: "user-primary-email";
|
|
@@ -512,6 +509,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
512
509
|
type: "custom-emails";
|
|
513
510
|
emails: string[];
|
|
514
511
|
};
|
|
512
|
+
updated_at_millis: number;
|
|
513
|
+
tsx_source: string;
|
|
514
|
+
theme_id: string | null;
|
|
515
515
|
variables: Record<string, {} | null>;
|
|
516
516
|
skip_deliverability_check: boolean;
|
|
517
517
|
scheduled_at_millis: number;
|
|
@@ -547,9 +547,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
547
547
|
created_at_millis: number;
|
|
548
548
|
html: string | null;
|
|
549
549
|
text: string | null;
|
|
550
|
-
updated_at_millis: number;
|
|
551
|
-
tsx_source: string;
|
|
552
|
-
theme_id: string | null;
|
|
553
550
|
to: {
|
|
554
551
|
user_id: string;
|
|
555
552
|
type: "user-primary-email";
|
|
@@ -561,6 +558,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
561
558
|
type: "custom-emails";
|
|
562
559
|
emails: string[];
|
|
563
560
|
};
|
|
561
|
+
updated_at_millis: number;
|
|
562
|
+
tsx_source: string;
|
|
563
|
+
theme_id: string | null;
|
|
564
564
|
variables: Record<string, {} | null>;
|
|
565
565
|
skip_deliverability_check: boolean;
|
|
566
566
|
scheduled_at_millis: number;
|
|
@@ -597,9 +597,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
597
597
|
created_at_millis: number;
|
|
598
598
|
html: string | null;
|
|
599
599
|
text: string | null;
|
|
600
|
-
updated_at_millis: number;
|
|
601
|
-
tsx_source: string;
|
|
602
|
-
theme_id: string | null;
|
|
603
600
|
to: {
|
|
604
601
|
user_id: string;
|
|
605
602
|
type: "user-primary-email";
|
|
@@ -611,6 +608,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
611
608
|
type: "custom-emails";
|
|
612
609
|
emails: string[];
|
|
613
610
|
};
|
|
611
|
+
updated_at_millis: number;
|
|
612
|
+
tsx_source: string;
|
|
613
|
+
theme_id: string | null;
|
|
614
614
|
variables: Record<string, {} | null>;
|
|
615
615
|
skip_deliverability_check: boolean;
|
|
616
616
|
scheduled_at_millis: number;
|
|
@@ -647,9 +647,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
647
647
|
created_at_millis: number;
|
|
648
648
|
html: string | null;
|
|
649
649
|
text: string | null;
|
|
650
|
-
updated_at_millis: number;
|
|
651
|
-
tsx_source: string;
|
|
652
|
-
theme_id: string | null;
|
|
653
650
|
to: {
|
|
654
651
|
user_id: string;
|
|
655
652
|
type: "user-primary-email";
|
|
@@ -661,6 +658,9 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
661
658
|
type: "custom-emails";
|
|
662
659
|
emails: string[];
|
|
663
660
|
};
|
|
661
|
+
updated_at_millis: number;
|
|
662
|
+
tsx_source: string;
|
|
663
|
+
theme_id: string | null;
|
|
664
664
|
variables: Record<string, {} | null>;
|
|
665
665
|
skip_deliverability_check: boolean;
|
|
666
666
|
scheduled_at_millis: number;
|
|
@@ -725,9 +725,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
725
725
|
status: "paused";
|
|
726
726
|
id: string;
|
|
727
727
|
created_at_millis: number;
|
|
728
|
-
updated_at_millis: number;
|
|
729
|
-
tsx_source: string;
|
|
730
|
-
theme_id: string | null;
|
|
731
728
|
to: {
|
|
732
729
|
user_id: string;
|
|
733
730
|
type: "user-primary-email";
|
|
@@ -739,6 +736,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
739
736
|
type: "custom-emails";
|
|
740
737
|
emails: string[];
|
|
741
738
|
};
|
|
739
|
+
updated_at_millis: number;
|
|
740
|
+
tsx_source: string;
|
|
741
|
+
theme_id: string | null;
|
|
742
742
|
variables: Record<string, {} | null>;
|
|
743
743
|
skip_deliverability_check: boolean;
|
|
744
744
|
scheduled_at_millis: number;
|
|
@@ -763,9 +763,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
763
763
|
status: "preparing";
|
|
764
764
|
id: string;
|
|
765
765
|
created_at_millis: number;
|
|
766
|
-
updated_at_millis: number;
|
|
767
|
-
tsx_source: string;
|
|
768
|
-
theme_id: string | null;
|
|
769
766
|
to: {
|
|
770
767
|
user_id: string;
|
|
771
768
|
type: "user-primary-email";
|
|
@@ -777,6 +774,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
777
774
|
type: "custom-emails";
|
|
778
775
|
emails: string[];
|
|
779
776
|
};
|
|
777
|
+
updated_at_millis: number;
|
|
778
|
+
tsx_source: string;
|
|
779
|
+
theme_id: string | null;
|
|
780
780
|
variables: Record<string, {} | null>;
|
|
781
781
|
skip_deliverability_check: boolean;
|
|
782
782
|
scheduled_at_millis: number;
|
|
@@ -801,9 +801,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
801
801
|
status: "rendering";
|
|
802
802
|
id: string;
|
|
803
803
|
created_at_millis: number;
|
|
804
|
-
updated_at_millis: number;
|
|
805
|
-
tsx_source: string;
|
|
806
|
-
theme_id: string | null;
|
|
807
804
|
to: {
|
|
808
805
|
user_id: string;
|
|
809
806
|
type: "user-primary-email";
|
|
@@ -815,6 +812,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
815
812
|
type: "custom-emails";
|
|
816
813
|
emails: string[];
|
|
817
814
|
};
|
|
815
|
+
updated_at_millis: number;
|
|
816
|
+
tsx_source: string;
|
|
817
|
+
theme_id: string | null;
|
|
818
818
|
variables: Record<string, {} | null>;
|
|
819
819
|
skip_deliverability_check: boolean;
|
|
820
820
|
scheduled_at_millis: number;
|
|
@@ -840,9 +840,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
840
840
|
status: "render-error";
|
|
841
841
|
id: string;
|
|
842
842
|
created_at_millis: number;
|
|
843
|
-
updated_at_millis: number;
|
|
844
|
-
tsx_source: string;
|
|
845
|
-
theme_id: string | null;
|
|
846
843
|
to: {
|
|
847
844
|
user_id: string;
|
|
848
845
|
type: "user-primary-email";
|
|
@@ -854,6 +851,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
854
851
|
type: "custom-emails";
|
|
855
852
|
emails: string[];
|
|
856
853
|
};
|
|
854
|
+
updated_at_millis: number;
|
|
855
|
+
tsx_source: string;
|
|
856
|
+
theme_id: string | null;
|
|
857
857
|
variables: Record<string, {} | null>;
|
|
858
858
|
skip_deliverability_check: boolean;
|
|
859
859
|
scheduled_at_millis: number;
|
|
@@ -884,9 +884,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
884
884
|
created_at_millis: number;
|
|
885
885
|
html: string | null;
|
|
886
886
|
text: string | null;
|
|
887
|
-
updated_at_millis: number;
|
|
888
|
-
tsx_source: string;
|
|
889
|
-
theme_id: string | null;
|
|
890
887
|
to: {
|
|
891
888
|
user_id: string;
|
|
892
889
|
type: "user-primary-email";
|
|
@@ -898,6 +895,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
898
895
|
type: "custom-emails";
|
|
899
896
|
emails: string[];
|
|
900
897
|
};
|
|
898
|
+
updated_at_millis: number;
|
|
899
|
+
tsx_source: string;
|
|
900
|
+
theme_id: string | null;
|
|
901
901
|
variables: Record<string, {} | null>;
|
|
902
902
|
skip_deliverability_check: boolean;
|
|
903
903
|
scheduled_at_millis: number;
|
|
@@ -930,9 +930,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
930
930
|
created_at_millis: number;
|
|
931
931
|
html: string | null;
|
|
932
932
|
text: string | null;
|
|
933
|
-
updated_at_millis: number;
|
|
934
|
-
tsx_source: string;
|
|
935
|
-
theme_id: string | null;
|
|
936
933
|
to: {
|
|
937
934
|
user_id: string;
|
|
938
935
|
type: "user-primary-email";
|
|
@@ -944,6 +941,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
944
941
|
type: "custom-emails";
|
|
945
942
|
emails: string[];
|
|
946
943
|
};
|
|
944
|
+
updated_at_millis: number;
|
|
945
|
+
tsx_source: string;
|
|
946
|
+
theme_id: string | null;
|
|
947
947
|
variables: Record<string, {} | null>;
|
|
948
948
|
skip_deliverability_check: boolean;
|
|
949
949
|
scheduled_at_millis: number;
|
|
@@ -976,9 +976,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
976
976
|
created_at_millis: number;
|
|
977
977
|
html: string | null;
|
|
978
978
|
text: string | null;
|
|
979
|
-
updated_at_millis: number;
|
|
980
|
-
tsx_source: string;
|
|
981
|
-
theme_id: string | null;
|
|
982
979
|
to: {
|
|
983
980
|
user_id: string;
|
|
984
981
|
type: "user-primary-email";
|
|
@@ -990,6 +987,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
990
987
|
type: "custom-emails";
|
|
991
988
|
emails: string[];
|
|
992
989
|
};
|
|
990
|
+
updated_at_millis: number;
|
|
991
|
+
tsx_source: string;
|
|
992
|
+
theme_id: string | null;
|
|
993
993
|
variables: Record<string, {} | null>;
|
|
994
994
|
skip_deliverability_check: boolean;
|
|
995
995
|
scheduled_at_millis: number;
|
|
@@ -1023,9 +1023,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1023
1023
|
created_at_millis: number;
|
|
1024
1024
|
html: string | null;
|
|
1025
1025
|
text: string | null;
|
|
1026
|
-
updated_at_millis: number;
|
|
1027
|
-
tsx_source: string;
|
|
1028
|
-
theme_id: string | null;
|
|
1029
1026
|
to: {
|
|
1030
1027
|
user_id: string;
|
|
1031
1028
|
type: "user-primary-email";
|
|
@@ -1037,6 +1034,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1037
1034
|
type: "custom-emails";
|
|
1038
1035
|
emails: string[];
|
|
1039
1036
|
};
|
|
1037
|
+
updated_at_millis: number;
|
|
1038
|
+
tsx_source: string;
|
|
1039
|
+
theme_id: string | null;
|
|
1040
1040
|
variables: Record<string, {} | null>;
|
|
1041
1041
|
skip_deliverability_check: boolean;
|
|
1042
1042
|
scheduled_at_millis: number;
|
|
@@ -1078,9 +1078,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1078
1078
|
status: "skipped";
|
|
1079
1079
|
id: string;
|
|
1080
1080
|
created_at_millis: number;
|
|
1081
|
-
updated_at_millis: number;
|
|
1082
|
-
tsx_source: string;
|
|
1083
|
-
theme_id: string | null;
|
|
1084
1081
|
to: {
|
|
1085
1082
|
user_id: string;
|
|
1086
1083
|
type: "user-primary-email";
|
|
@@ -1092,6 +1089,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1092
1089
|
type: "custom-emails";
|
|
1093
1090
|
emails: string[];
|
|
1094
1091
|
};
|
|
1092
|
+
updated_at_millis: number;
|
|
1093
|
+
tsx_source: string;
|
|
1094
|
+
theme_id: string | null;
|
|
1095
1095
|
variables: Record<string, {} | null>;
|
|
1096
1096
|
skip_deliverability_check: boolean;
|
|
1097
1097
|
scheduled_at_millis: number;
|
|
@@ -1122,9 +1122,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1122
1122
|
created_at_millis: number;
|
|
1123
1123
|
html: string | null;
|
|
1124
1124
|
text: string | null;
|
|
1125
|
-
updated_at_millis: number;
|
|
1126
|
-
tsx_source: string;
|
|
1127
|
-
theme_id: string | null;
|
|
1128
1125
|
to: {
|
|
1129
1126
|
user_id: string;
|
|
1130
1127
|
type: "user-primary-email";
|
|
@@ -1136,6 +1133,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1136
1133
|
type: "custom-emails";
|
|
1137
1134
|
emails: string[];
|
|
1138
1135
|
};
|
|
1136
|
+
updated_at_millis: number;
|
|
1137
|
+
tsx_source: string;
|
|
1138
|
+
theme_id: string | null;
|
|
1139
1139
|
variables: Record<string, {} | null>;
|
|
1140
1140
|
skip_deliverability_check: boolean;
|
|
1141
1141
|
scheduled_at_millis: number;
|
|
@@ -1170,9 +1170,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1170
1170
|
created_at_millis: number;
|
|
1171
1171
|
html: string | null;
|
|
1172
1172
|
text: string | null;
|
|
1173
|
-
updated_at_millis: number;
|
|
1174
|
-
tsx_source: string;
|
|
1175
|
-
theme_id: string | null;
|
|
1176
1173
|
to: {
|
|
1177
1174
|
user_id: string;
|
|
1178
1175
|
type: "user-primary-email";
|
|
@@ -1184,6 +1181,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1184
1181
|
type: "custom-emails";
|
|
1185
1182
|
emails: string[];
|
|
1186
1183
|
};
|
|
1184
|
+
updated_at_millis: number;
|
|
1185
|
+
tsx_source: string;
|
|
1186
|
+
theme_id: string | null;
|
|
1187
1187
|
variables: Record<string, {} | null>;
|
|
1188
1188
|
skip_deliverability_check: boolean;
|
|
1189
1189
|
scheduled_at_millis: number;
|
|
@@ -1218,9 +1218,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1218
1218
|
created_at_millis: number;
|
|
1219
1219
|
html: string | null;
|
|
1220
1220
|
text: string | null;
|
|
1221
|
-
updated_at_millis: number;
|
|
1222
|
-
tsx_source: string;
|
|
1223
|
-
theme_id: string | null;
|
|
1224
1221
|
to: {
|
|
1225
1222
|
user_id: string;
|
|
1226
1223
|
type: "user-primary-email";
|
|
@@ -1232,6 +1229,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1232
1229
|
type: "custom-emails";
|
|
1233
1230
|
emails: string[];
|
|
1234
1231
|
};
|
|
1232
|
+
updated_at_millis: number;
|
|
1233
|
+
tsx_source: string;
|
|
1234
|
+
theme_id: string | null;
|
|
1235
1235
|
variables: Record<string, {} | null>;
|
|
1236
1236
|
skip_deliverability_check: boolean;
|
|
1237
1237
|
scheduled_at_millis: number;
|
|
@@ -1267,9 +1267,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1267
1267
|
created_at_millis: number;
|
|
1268
1268
|
html: string | null;
|
|
1269
1269
|
text: string | null;
|
|
1270
|
-
updated_at_millis: number;
|
|
1271
|
-
tsx_source: string;
|
|
1272
|
-
theme_id: string | null;
|
|
1273
1270
|
to: {
|
|
1274
1271
|
user_id: string;
|
|
1275
1272
|
type: "user-primary-email";
|
|
@@ -1281,6 +1278,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1281
1278
|
type: "custom-emails";
|
|
1282
1279
|
emails: string[];
|
|
1283
1280
|
};
|
|
1281
|
+
updated_at_millis: number;
|
|
1282
|
+
tsx_source: string;
|
|
1283
|
+
theme_id: string | null;
|
|
1284
1284
|
variables: Record<string, {} | null>;
|
|
1285
1285
|
skip_deliverability_check: boolean;
|
|
1286
1286
|
scheduled_at_millis: number;
|
|
@@ -1317,9 +1317,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1317
1317
|
created_at_millis: number;
|
|
1318
1318
|
html: string | null;
|
|
1319
1319
|
text: string | null;
|
|
1320
|
-
updated_at_millis: number;
|
|
1321
|
-
tsx_source: string;
|
|
1322
|
-
theme_id: string | null;
|
|
1323
1320
|
to: {
|
|
1324
1321
|
user_id: string;
|
|
1325
1322
|
type: "user-primary-email";
|
|
@@ -1331,6 +1328,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1331
1328
|
type: "custom-emails";
|
|
1332
1329
|
emails: string[];
|
|
1333
1330
|
};
|
|
1331
|
+
updated_at_millis: number;
|
|
1332
|
+
tsx_source: string;
|
|
1333
|
+
theme_id: string | null;
|
|
1334
1334
|
variables: Record<string, {} | null>;
|
|
1335
1335
|
skip_deliverability_check: boolean;
|
|
1336
1336
|
scheduled_at_millis: number;
|
|
@@ -1367,9 +1367,6 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1367
1367
|
created_at_millis: number;
|
|
1368
1368
|
html: string | null;
|
|
1369
1369
|
text: string | null;
|
|
1370
|
-
updated_at_millis: number;
|
|
1371
|
-
tsx_source: string;
|
|
1372
|
-
theme_id: string | null;
|
|
1373
1370
|
to: {
|
|
1374
1371
|
user_id: string;
|
|
1375
1372
|
type: "user-primary-email";
|
|
@@ -1381,6 +1378,9 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1381
1378
|
type: "custom-emails";
|
|
1382
1379
|
emails: string[];
|
|
1383
1380
|
};
|
|
1381
|
+
updated_at_millis: number;
|
|
1382
|
+
tsx_source: string;
|
|
1383
|
+
theme_id: string | null;
|
|
1384
1384
|
variables: Record<string, {} | null>;
|
|
1385
1385
|
skip_deliverability_check: boolean;
|
|
1386
1386
|
scheduled_at_millis: number;
|
|
@@ -24,7 +24,7 @@ declare const planUsageRowSchema: yup$1.ObjectSchema<{
|
|
|
24
24
|
declare const planUsageResponseSchema: yup$1.ObjectSchema<{
|
|
25
25
|
owner_team_id: string;
|
|
26
26
|
owner_team_display_name: string;
|
|
27
|
-
plan_id: "
|
|
27
|
+
plan_id: "free" | "team" | "growth";
|
|
28
28
|
plan_display_name: string;
|
|
29
29
|
period_start_millis: number;
|
|
30
30
|
period_end_millis: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HexclaveAssertionError } from "../utils/errors.js";
|
|
2
|
+
import { urlString } from "../utils/urls.js";
|
|
2
3
|
import { filterUndefined } from "../utils/objects.js";
|
|
3
4
|
import { Result } from "../utils/results.js";
|
|
4
|
-
import { urlString } from "../utils/urls.js";
|
|
5
5
|
import { KnownErrors } from "../known-errors.js";
|
|
6
6
|
import { InternalSession } from "../sessions.js";
|
|
7
7
|
import { HexclaveClientInterface } from "./client-interface.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hexclave/shared",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"exports": {
|
|
5
|
+
".": {
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"default": "./index.js"
|
|
8
|
+
},
|
|
9
|
+
"./config": {
|
|
10
|
+
"types": "./config-authoring.d.ts",
|
|
11
|
+
"default": "./config-authoring.js"
|
|
12
|
+
},
|
|
13
|
+
"./dist/*": {
|
|
14
|
+
"types": "./*.d.ts",
|
|
15
|
+
"default": "./*.js"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dates.d.ts","names":[],"sources":["../../../src/utils/dates.tsx"],"mappings":";iBAIgB,SAAA,CAAU,IAAU,EAAJ,IAAI;AAAA,iBAuBpB,OAAA,CAAQ,IAAU,EAAJ,IAAI;AAAA,iBAiClB,eAAA,CAAgB,IAAA,EAAM,IAAI;EACxC,MAAA;EAzD8B;AAAI;AAuBpC;EAsCE,kBAAA;AAAA;;AAtCgC;AAiClC;iBAkDgB,2BAAA,CAA4B,IAAU,EAAJ,IAAI;AAAA,KAkC1C,QAAA;AAAA,KACA,WAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"dates.d.ts","names":[],"sources":["../../../src/utils/dates.tsx"],"mappings":";iBAIgB,SAAA,CAAU,IAAU,EAAJ,IAAI;AAAA,iBAuBpB,OAAA,CAAQ,IAAU,EAAJ,IAAI;AAAA,iBAiClB,eAAA,CAAgB,IAAA,EAAM,IAAI;EACxC,MAAA;EAzD8B;AAAI;AAuBpC;EAsCE,kBAAA;AAAA;;AAtCgC;AAiClC;iBAkDgB,2BAAA,CAA4B,IAAU,EAAJ,IAAI;AAAA,KAkC1C,QAAA;AAAA,KACA,WAAA;AAAA,iBAmDI,gBAAA,CAAiB,IAAA,EAAM,IAAA,EAAM,QAAA,EAAU,QAAA,GAAW,IAAA;AAAA,iBASlD,WAAA,CAAY,IAAA,EAAM,IAAA,EAAM,QAAA,EAAU,QAAA,GAAW,IAAA;AAAA,cAqBhD,eAAA,EAAe,IAA6B;AAAA,iBAgBzC,mBAAA,CAAoB,MAAA,EAAQ,IAAA,EAAM,EAAA,EAAI,IAAA,EAAM,MAAA,EAAQ,WAAA;;AAjLhD;AA6CpB;;;;AAAsD;AAkCtD;;;;AAAoB;AACpB;;;;iBAkJgB,oBAAA,CAAqB,YAAA,UAAsB,QAAA,EAAU,WAAW,EAAE,UAAA"}
|
package/dist/esm/utils/dates.js
CHANGED
|
@@ -54,8 +54,9 @@ function getInputDatetimeLocalString(date) {
|
|
|
54
54
|
date.setMinutes(date.getMinutes() - date.getTimezoneOffset());
|
|
55
55
|
return date.toISOString().slice(0, 19);
|
|
56
56
|
}
|
|
57
|
-
function applyInterval(
|
|
57
|
+
function applyInterval(inputDate, times, interval) {
|
|
58
58
|
if (!intervalSchema.isValidSync(interval)) throw new HexclaveAssertionError(`Invalid interval`, { interval });
|
|
59
|
+
const date = new Date(inputDate);
|
|
59
60
|
const [amount, unit] = interval;
|
|
60
61
|
switch (unit) {
|
|
61
62
|
case "millisecond":
|