@hexclave/shared 1.0.8 → 1.0.10
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/ai/unified-prompts/reminders.js +1 -0
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +2 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js +1 -0
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +2 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/interface/crud/current-user.d.ts +5 -5
- package/dist/esm/interface/crud/email-outbox.d.ts +44 -44
- package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
- package/dist/esm/interface/crud/users.d.ts +2 -2
- package/dist/interface/crud/current-user.d.ts +5 -5
- package/dist/interface/crud/email-outbox.d.ts +44 -44
- package/dist/interface/crud/team-member-profiles.d.ts +8 -8
- package/dist/interface/crud/users.d.ts +2 -2
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -0
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +2 -0
|
@@ -25,15 +25,15 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
25
25
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
26
26
|
} | null;
|
|
27
27
|
primary_email: string | null;
|
|
28
|
-
selected_team_id: string | null;
|
|
29
|
-
is_anonymous: boolean;
|
|
30
|
-
is_restricted: boolean;
|
|
31
|
-
requires_totp_mfa: boolean;
|
|
32
28
|
display_name: string | null;
|
|
33
29
|
client_metadata: {} | null;
|
|
34
30
|
client_read_only_metadata: {} | null;
|
|
35
31
|
server_metadata: {} | null;
|
|
36
32
|
id: string;
|
|
33
|
+
selected_team_id: string | null;
|
|
34
|
+
is_anonymous: boolean;
|
|
35
|
+
is_restricted: boolean;
|
|
36
|
+
requires_totp_mfa: boolean;
|
|
37
37
|
country_code: string | null;
|
|
38
38
|
profile_image_url: string | null;
|
|
39
39
|
signed_up_at_millis: number;
|
|
@@ -148,15 +148,15 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
148
148
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
149
149
|
} | null;
|
|
150
150
|
primary_email: string | null;
|
|
151
|
-
selected_team_id: string | null;
|
|
152
|
-
is_anonymous: boolean;
|
|
153
|
-
is_restricted: boolean;
|
|
154
|
-
requires_totp_mfa: boolean;
|
|
155
151
|
display_name: string | null;
|
|
156
152
|
client_metadata: {} | null;
|
|
157
153
|
client_read_only_metadata: {} | null;
|
|
158
154
|
server_metadata: {} | null;
|
|
159
155
|
id: string;
|
|
156
|
+
selected_team_id: string | null;
|
|
157
|
+
is_anonymous: boolean;
|
|
158
|
+
is_restricted: boolean;
|
|
159
|
+
requires_totp_mfa: boolean;
|
|
160
160
|
country_code: string | null;
|
|
161
161
|
profile_image_url: string | null;
|
|
162
162
|
signed_up_at_millis: number;
|
|
@@ -164,11 +164,11 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
164
164
|
}, "">;
|
|
165
165
|
declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
166
166
|
primary_email: string | null | undefined;
|
|
167
|
-
is_anonymous: boolean | undefined;
|
|
168
167
|
display_name: string | null | undefined;
|
|
169
168
|
client_metadata: {} | null | undefined;
|
|
170
169
|
client_read_only_metadata: {} | null | undefined;
|
|
171
170
|
server_metadata: {} | null | undefined;
|
|
171
|
+
is_anonymous: boolean | undefined;
|
|
172
172
|
password: string | null | undefined;
|
|
173
173
|
country_code: string | null | undefined;
|
|
174
174
|
profile_image_url: string | null | undefined;
|
|
@@ -370,11 +370,11 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
370
370
|
}, "">;
|
|
371
371
|
serverCreateSchema: yup$1.ObjectSchema<{
|
|
372
372
|
primary_email: string | null | undefined;
|
|
373
|
-
is_anonymous: boolean | undefined;
|
|
374
373
|
display_name: string | null | undefined;
|
|
375
374
|
client_metadata: {} | null | undefined;
|
|
376
375
|
client_read_only_metadata: {} | null | undefined;
|
|
377
376
|
server_metadata: {} | null | undefined;
|
|
377
|
+
is_anonymous: boolean | undefined;
|
|
378
378
|
password: string | null | undefined;
|
|
379
379
|
country_code: string | null | undefined;
|
|
380
380
|
profile_image_url: string | null | undefined;
|
|
@@ -8,14 +8,14 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
8
8
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
9
9
|
} | null;
|
|
10
10
|
primary_email: string | null;
|
|
11
|
-
selected_team_id: string | null;
|
|
12
|
-
is_anonymous: boolean;
|
|
13
|
-
is_restricted: boolean;
|
|
14
|
-
requires_totp_mfa: boolean;
|
|
15
11
|
display_name: string | null;
|
|
16
12
|
client_metadata: {} | null;
|
|
17
13
|
client_read_only_metadata: {} | null;
|
|
18
14
|
id: string;
|
|
15
|
+
selected_team_id: string | null;
|
|
16
|
+
is_anonymous: boolean;
|
|
17
|
+
is_restricted: boolean;
|
|
18
|
+
requires_totp_mfa: boolean;
|
|
19
19
|
profile_image_url: string | null;
|
|
20
20
|
signed_up_at_millis: number;
|
|
21
21
|
primary_email_verified: boolean;
|
|
@@ -173,9 +173,9 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
|
|
|
173
173
|
}, "">;
|
|
174
174
|
clientUpdateSchema: yup$1.ObjectSchema<{
|
|
175
175
|
primary_email: string | null | undefined;
|
|
176
|
-
selected_team_id: string | null | undefined;
|
|
177
176
|
display_name: string | null | undefined;
|
|
178
177
|
client_metadata: {} | null | undefined;
|
|
178
|
+
selected_team_id: string | null | undefined;
|
|
179
179
|
profile_image_url: string | null | undefined;
|
|
180
180
|
otp_auth_enabled: boolean | undefined;
|
|
181
181
|
passkey_auth_enabled: boolean | undefined;
|
|
@@ -163,6 +163,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
163
163
|
id: string;
|
|
164
164
|
subject: string;
|
|
165
165
|
created_at_millis: number;
|
|
166
|
+
html: string | null;
|
|
167
|
+
text: string | null;
|
|
166
168
|
updated_at_millis: number;
|
|
167
169
|
tsx_source: string;
|
|
168
170
|
theme_id: string | null;
|
|
@@ -199,8 +201,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
199
201
|
has_delivered: boolean;
|
|
200
202
|
started_rendering_at_millis: number;
|
|
201
203
|
rendered_at_millis: number;
|
|
202
|
-
html: string | null;
|
|
203
|
-
text: string | null;
|
|
204
204
|
is_transactional: boolean;
|
|
205
205
|
is_high_priority: boolean;
|
|
206
206
|
notification_category_id: string | null;
|
|
@@ -209,6 +209,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
209
209
|
id: string;
|
|
210
210
|
subject: string;
|
|
211
211
|
created_at_millis: number;
|
|
212
|
+
html: string | null;
|
|
213
|
+
text: string | null;
|
|
212
214
|
updated_at_millis: number;
|
|
213
215
|
tsx_source: string;
|
|
214
216
|
theme_id: string | null;
|
|
@@ -245,8 +247,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
245
247
|
has_delivered: boolean;
|
|
246
248
|
started_rendering_at_millis: number;
|
|
247
249
|
rendered_at_millis: number;
|
|
248
|
-
html: string | null;
|
|
249
|
-
text: string | null;
|
|
250
250
|
is_transactional: boolean;
|
|
251
251
|
is_high_priority: boolean;
|
|
252
252
|
notification_category_id: string | null;
|
|
@@ -255,6 +255,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
255
255
|
id: string;
|
|
256
256
|
subject: string;
|
|
257
257
|
created_at_millis: number;
|
|
258
|
+
html: string | null;
|
|
259
|
+
text: string | null;
|
|
258
260
|
updated_at_millis: number;
|
|
259
261
|
tsx_source: string;
|
|
260
262
|
theme_id: string | null;
|
|
@@ -291,8 +293,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
291
293
|
has_delivered: boolean;
|
|
292
294
|
started_rendering_at_millis: number;
|
|
293
295
|
rendered_at_millis: number;
|
|
294
|
-
html: string | null;
|
|
295
|
-
text: string | null;
|
|
296
296
|
is_transactional: boolean;
|
|
297
297
|
is_high_priority: boolean;
|
|
298
298
|
notification_category_id: string | null;
|
|
@@ -302,6 +302,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
302
302
|
id: string;
|
|
303
303
|
subject: string;
|
|
304
304
|
created_at_millis: number;
|
|
305
|
+
html: string | null;
|
|
306
|
+
text: string | null;
|
|
305
307
|
updated_at_millis: number;
|
|
306
308
|
tsx_source: string;
|
|
307
309
|
theme_id: string | null;
|
|
@@ -338,8 +340,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
338
340
|
has_delivered: boolean;
|
|
339
341
|
started_rendering_at_millis: number;
|
|
340
342
|
rendered_at_millis: number;
|
|
341
|
-
html: string | null;
|
|
342
|
-
text: string | null;
|
|
343
343
|
is_transactional: boolean;
|
|
344
344
|
is_high_priority: boolean;
|
|
345
345
|
notification_category_id: string | null;
|
|
@@ -348,10 +348,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
348
348
|
server_error: string;
|
|
349
349
|
} | {
|
|
350
350
|
subject?: string | undefined;
|
|
351
|
-
started_rendering_at_millis?: number | undefined;
|
|
352
|
-
rendered_at_millis?: number | undefined;
|
|
353
351
|
html?: string | null | undefined;
|
|
354
352
|
text?: string | null | undefined;
|
|
353
|
+
started_rendering_at_millis?: number | undefined;
|
|
354
|
+
rendered_at_millis?: number | undefined;
|
|
355
355
|
is_transactional?: boolean | undefined;
|
|
356
356
|
is_high_priority?: boolean | undefined;
|
|
357
357
|
notification_category_id?: string | null | undefined;
|
|
@@ -401,6 +401,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
401
401
|
id: string;
|
|
402
402
|
subject: string;
|
|
403
403
|
created_at_millis: number;
|
|
404
|
+
html: string | null;
|
|
405
|
+
text: string | null;
|
|
404
406
|
updated_at_millis: number;
|
|
405
407
|
tsx_source: string;
|
|
406
408
|
theme_id: string | null;
|
|
@@ -437,8 +439,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
437
439
|
has_delivered: boolean;
|
|
438
440
|
started_rendering_at_millis: number;
|
|
439
441
|
rendered_at_millis: number;
|
|
440
|
-
html: string | null;
|
|
441
|
-
text: string | null;
|
|
442
442
|
is_transactional: boolean;
|
|
443
443
|
is_high_priority: boolean;
|
|
444
444
|
notification_category_id: string | null;
|
|
@@ -449,6 +449,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
449
449
|
id: string;
|
|
450
450
|
subject: string;
|
|
451
451
|
created_at_millis: number;
|
|
452
|
+
html: string | null;
|
|
453
|
+
text: string | null;
|
|
452
454
|
updated_at_millis: number;
|
|
453
455
|
tsx_source: string;
|
|
454
456
|
theme_id: string | null;
|
|
@@ -485,8 +487,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
485
487
|
has_delivered: boolean;
|
|
486
488
|
started_rendering_at_millis: number;
|
|
487
489
|
rendered_at_millis: number;
|
|
488
|
-
html: string | null;
|
|
489
|
-
text: string | null;
|
|
490
490
|
is_transactional: boolean;
|
|
491
491
|
is_high_priority: boolean;
|
|
492
492
|
notification_category_id: string | null;
|
|
@@ -497,6 +497,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
497
497
|
id: string;
|
|
498
498
|
subject: string;
|
|
499
499
|
created_at_millis: number;
|
|
500
|
+
html: string | null;
|
|
501
|
+
text: string | null;
|
|
500
502
|
updated_at_millis: number;
|
|
501
503
|
tsx_source: string;
|
|
502
504
|
theme_id: string | null;
|
|
@@ -533,8 +535,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
533
535
|
has_delivered: boolean;
|
|
534
536
|
started_rendering_at_millis: number;
|
|
535
537
|
rendered_at_millis: number;
|
|
536
|
-
html: string | null;
|
|
537
|
-
text: string | null;
|
|
538
538
|
is_transactional: boolean;
|
|
539
539
|
is_high_priority: boolean;
|
|
540
540
|
notification_category_id: string | null;
|
|
@@ -546,6 +546,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
546
546
|
id: string;
|
|
547
547
|
subject: string;
|
|
548
548
|
created_at_millis: number;
|
|
549
|
+
html: string | null;
|
|
550
|
+
text: string | null;
|
|
549
551
|
updated_at_millis: number;
|
|
550
552
|
tsx_source: string;
|
|
551
553
|
theme_id: string | null;
|
|
@@ -582,8 +584,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
582
584
|
has_delivered: boolean;
|
|
583
585
|
started_rendering_at_millis: number;
|
|
584
586
|
rendered_at_millis: number;
|
|
585
|
-
html: string | null;
|
|
586
|
-
text: string | null;
|
|
587
587
|
is_transactional: boolean;
|
|
588
588
|
is_high_priority: boolean;
|
|
589
589
|
notification_category_id: string | null;
|
|
@@ -596,6 +596,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
596
596
|
id: string;
|
|
597
597
|
subject: string;
|
|
598
598
|
created_at_millis: number;
|
|
599
|
+
html: string | null;
|
|
600
|
+
text: string | null;
|
|
599
601
|
updated_at_millis: number;
|
|
600
602
|
tsx_source: string;
|
|
601
603
|
theme_id: string | null;
|
|
@@ -632,8 +634,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
632
634
|
has_delivered: boolean;
|
|
633
635
|
started_rendering_at_millis: number;
|
|
634
636
|
rendered_at_millis: number;
|
|
635
|
-
html: string | null;
|
|
636
|
-
text: string | null;
|
|
637
637
|
is_transactional: boolean;
|
|
638
638
|
is_high_priority: boolean;
|
|
639
639
|
notification_category_id: string | null;
|
|
@@ -646,6 +646,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
646
646
|
id: string;
|
|
647
647
|
subject: string;
|
|
648
648
|
created_at_millis: number;
|
|
649
|
+
html: string | null;
|
|
650
|
+
text: string | null;
|
|
649
651
|
updated_at_millis: number;
|
|
650
652
|
tsx_source: string;
|
|
651
653
|
theme_id: string | null;
|
|
@@ -682,8 +684,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
682
684
|
has_delivered: boolean;
|
|
683
685
|
started_rendering_at_millis: number;
|
|
684
686
|
rendered_at_millis: number;
|
|
685
|
-
html: string | null;
|
|
686
|
-
text: string | null;
|
|
687
687
|
is_transactional: boolean;
|
|
688
688
|
is_high_priority: boolean;
|
|
689
689
|
notification_category_id: string | null;
|
|
@@ -883,6 +883,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
883
883
|
id: string;
|
|
884
884
|
subject: string;
|
|
885
885
|
created_at_millis: number;
|
|
886
|
+
html: string | null;
|
|
887
|
+
text: string | null;
|
|
886
888
|
updated_at_millis: number;
|
|
887
889
|
tsx_source: string;
|
|
888
890
|
theme_id: string | null;
|
|
@@ -919,8 +921,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
919
921
|
has_delivered: boolean;
|
|
920
922
|
started_rendering_at_millis: number;
|
|
921
923
|
rendered_at_millis: number;
|
|
922
|
-
html: string | null;
|
|
923
|
-
text: string | null;
|
|
924
924
|
is_transactional: boolean;
|
|
925
925
|
is_high_priority: boolean;
|
|
926
926
|
notification_category_id: string | null;
|
|
@@ -929,6 +929,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
929
929
|
id: string;
|
|
930
930
|
subject: string;
|
|
931
931
|
created_at_millis: number;
|
|
932
|
+
html: string | null;
|
|
933
|
+
text: string | null;
|
|
932
934
|
updated_at_millis: number;
|
|
933
935
|
tsx_source: string;
|
|
934
936
|
theme_id: string | null;
|
|
@@ -965,8 +967,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
965
967
|
has_delivered: boolean;
|
|
966
968
|
started_rendering_at_millis: number;
|
|
967
969
|
rendered_at_millis: number;
|
|
968
|
-
html: string | null;
|
|
969
|
-
text: string | null;
|
|
970
970
|
is_transactional: boolean;
|
|
971
971
|
is_high_priority: boolean;
|
|
972
972
|
notification_category_id: string | null;
|
|
@@ -975,6 +975,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
975
975
|
id: string;
|
|
976
976
|
subject: string;
|
|
977
977
|
created_at_millis: number;
|
|
978
|
+
html: string | null;
|
|
979
|
+
text: string | null;
|
|
978
980
|
updated_at_millis: number;
|
|
979
981
|
tsx_source: string;
|
|
980
982
|
theme_id: string | null;
|
|
@@ -1011,8 +1013,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1011
1013
|
has_delivered: boolean;
|
|
1012
1014
|
started_rendering_at_millis: number;
|
|
1013
1015
|
rendered_at_millis: number;
|
|
1014
|
-
html: string | null;
|
|
1015
|
-
text: string | null;
|
|
1016
1016
|
is_transactional: boolean;
|
|
1017
1017
|
is_high_priority: boolean;
|
|
1018
1018
|
notification_category_id: string | null;
|
|
@@ -1022,6 +1022,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1022
1022
|
id: string;
|
|
1023
1023
|
subject: string;
|
|
1024
1024
|
created_at_millis: number;
|
|
1025
|
+
html: string | null;
|
|
1026
|
+
text: string | null;
|
|
1025
1027
|
updated_at_millis: number;
|
|
1026
1028
|
tsx_source: string;
|
|
1027
1029
|
theme_id: string | null;
|
|
@@ -1058,8 +1060,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1058
1060
|
has_delivered: boolean;
|
|
1059
1061
|
started_rendering_at_millis: number;
|
|
1060
1062
|
rendered_at_millis: number;
|
|
1061
|
-
html: string | null;
|
|
1062
|
-
text: string | null;
|
|
1063
1063
|
is_transactional: boolean;
|
|
1064
1064
|
is_high_priority: boolean;
|
|
1065
1065
|
notification_category_id: string | null;
|
|
@@ -1068,10 +1068,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1068
1068
|
server_error: string;
|
|
1069
1069
|
} | {
|
|
1070
1070
|
subject?: string | undefined;
|
|
1071
|
-
started_rendering_at_millis?: number | undefined;
|
|
1072
|
-
rendered_at_millis?: number | undefined;
|
|
1073
1071
|
html?: string | null | undefined;
|
|
1074
1072
|
text?: string | null | undefined;
|
|
1073
|
+
started_rendering_at_millis?: number | undefined;
|
|
1074
|
+
rendered_at_millis?: number | undefined;
|
|
1075
1075
|
is_transactional?: boolean | undefined;
|
|
1076
1076
|
is_high_priority?: boolean | undefined;
|
|
1077
1077
|
notification_category_id?: string | null | undefined;
|
|
@@ -1121,6 +1121,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1121
1121
|
id: string;
|
|
1122
1122
|
subject: string;
|
|
1123
1123
|
created_at_millis: number;
|
|
1124
|
+
html: string | null;
|
|
1125
|
+
text: string | null;
|
|
1124
1126
|
updated_at_millis: number;
|
|
1125
1127
|
tsx_source: string;
|
|
1126
1128
|
theme_id: string | null;
|
|
@@ -1157,8 +1159,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1157
1159
|
has_delivered: boolean;
|
|
1158
1160
|
started_rendering_at_millis: number;
|
|
1159
1161
|
rendered_at_millis: number;
|
|
1160
|
-
html: string | null;
|
|
1161
|
-
text: string | null;
|
|
1162
1162
|
is_transactional: boolean;
|
|
1163
1163
|
is_high_priority: boolean;
|
|
1164
1164
|
notification_category_id: string | null;
|
|
@@ -1169,6 +1169,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1169
1169
|
id: string;
|
|
1170
1170
|
subject: string;
|
|
1171
1171
|
created_at_millis: number;
|
|
1172
|
+
html: string | null;
|
|
1173
|
+
text: string | null;
|
|
1172
1174
|
updated_at_millis: number;
|
|
1173
1175
|
tsx_source: string;
|
|
1174
1176
|
theme_id: string | null;
|
|
@@ -1205,8 +1207,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1205
1207
|
has_delivered: boolean;
|
|
1206
1208
|
started_rendering_at_millis: number;
|
|
1207
1209
|
rendered_at_millis: number;
|
|
1208
|
-
html: string | null;
|
|
1209
|
-
text: string | null;
|
|
1210
1210
|
is_transactional: boolean;
|
|
1211
1211
|
is_high_priority: boolean;
|
|
1212
1212
|
notification_category_id: string | null;
|
|
@@ -1217,6 +1217,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1217
1217
|
id: string;
|
|
1218
1218
|
subject: string;
|
|
1219
1219
|
created_at_millis: number;
|
|
1220
|
+
html: string | null;
|
|
1221
|
+
text: string | null;
|
|
1220
1222
|
updated_at_millis: number;
|
|
1221
1223
|
tsx_source: string;
|
|
1222
1224
|
theme_id: string | null;
|
|
@@ -1253,8 +1255,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1253
1255
|
has_delivered: boolean;
|
|
1254
1256
|
started_rendering_at_millis: number;
|
|
1255
1257
|
rendered_at_millis: number;
|
|
1256
|
-
html: string | null;
|
|
1257
|
-
text: string | null;
|
|
1258
1258
|
is_transactional: boolean;
|
|
1259
1259
|
is_high_priority: boolean;
|
|
1260
1260
|
notification_category_id: string | null;
|
|
@@ -1266,6 +1266,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1266
1266
|
id: string;
|
|
1267
1267
|
subject: string;
|
|
1268
1268
|
created_at_millis: number;
|
|
1269
|
+
html: string | null;
|
|
1270
|
+
text: string | null;
|
|
1269
1271
|
updated_at_millis: number;
|
|
1270
1272
|
tsx_source: string;
|
|
1271
1273
|
theme_id: string | null;
|
|
@@ -1302,8 +1304,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1302
1304
|
has_delivered: boolean;
|
|
1303
1305
|
started_rendering_at_millis: number;
|
|
1304
1306
|
rendered_at_millis: number;
|
|
1305
|
-
html: string | null;
|
|
1306
|
-
text: string | null;
|
|
1307
1307
|
is_transactional: boolean;
|
|
1308
1308
|
is_high_priority: boolean;
|
|
1309
1309
|
notification_category_id: string | null;
|
|
@@ -1316,6 +1316,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1316
1316
|
id: string;
|
|
1317
1317
|
subject: string;
|
|
1318
1318
|
created_at_millis: number;
|
|
1319
|
+
html: string | null;
|
|
1320
|
+
text: string | null;
|
|
1319
1321
|
updated_at_millis: number;
|
|
1320
1322
|
tsx_source: string;
|
|
1321
1323
|
theme_id: string | null;
|
|
@@ -1352,8 +1354,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1352
1354
|
has_delivered: boolean;
|
|
1353
1355
|
started_rendering_at_millis: number;
|
|
1354
1356
|
rendered_at_millis: number;
|
|
1355
|
-
html: string | null;
|
|
1356
|
-
text: string | null;
|
|
1357
1357
|
is_transactional: boolean;
|
|
1358
1358
|
is_high_priority: boolean;
|
|
1359
1359
|
notification_category_id: string | null;
|
|
@@ -1366,6 +1366,8 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
subject: string;
|
|
1368
1368
|
created_at_millis: number;
|
|
1369
|
+
html: string | null;
|
|
1370
|
+
text: string | null;
|
|
1369
1371
|
updated_at_millis: number;
|
|
1370
1372
|
tsx_source: string;
|
|
1371
1373
|
theme_id: string | null;
|
|
@@ -1402,8 +1404,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1402
1404
|
has_delivered: boolean;
|
|
1403
1405
|
started_rendering_at_millis: number;
|
|
1404
1406
|
rendered_at_millis: number;
|
|
1405
|
-
html: string | null;
|
|
1406
|
-
text: string | null;
|
|
1407
1407
|
is_transactional: boolean;
|
|
1408
1408
|
is_high_priority: boolean;
|
|
1409
1409
|
notification_category_id: string | null;
|
|
@@ -24,15 +24,15 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
24
24
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
25
25
|
} | null;
|
|
26
26
|
primary_email: string | null;
|
|
27
|
-
selected_team_id: string | null;
|
|
28
|
-
is_anonymous: boolean;
|
|
29
|
-
is_restricted: boolean;
|
|
30
|
-
requires_totp_mfa: boolean;
|
|
31
27
|
display_name: string | null;
|
|
32
28
|
client_metadata: {} | null;
|
|
33
29
|
client_read_only_metadata: {} | null;
|
|
34
30
|
server_metadata: {} | null;
|
|
35
31
|
id: string;
|
|
32
|
+
selected_team_id: string | null;
|
|
33
|
+
is_anonymous: boolean;
|
|
34
|
+
is_restricted: boolean;
|
|
35
|
+
requires_totp_mfa: boolean;
|
|
36
36
|
country_code: string | null;
|
|
37
37
|
profile_image_url: string | null;
|
|
38
38
|
signed_up_at_millis: number;
|
|
@@ -147,15 +147,15 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
|
|
|
147
147
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
148
148
|
} | null;
|
|
149
149
|
primary_email: string | null;
|
|
150
|
-
selected_team_id: string | null;
|
|
151
|
-
is_anonymous: boolean;
|
|
152
|
-
is_restricted: boolean;
|
|
153
|
-
requires_totp_mfa: boolean;
|
|
154
150
|
display_name: string | null;
|
|
155
151
|
client_metadata: {} | null;
|
|
156
152
|
client_read_only_metadata: {} | null;
|
|
157
153
|
server_metadata: {} | null;
|
|
158
154
|
id: string;
|
|
155
|
+
selected_team_id: string | null;
|
|
156
|
+
is_anonymous: boolean;
|
|
157
|
+
is_restricted: boolean;
|
|
158
|
+
requires_totp_mfa: boolean;
|
|
159
159
|
country_code: string | null;
|
|
160
160
|
profile_image_url: string | null;
|
|
161
161
|
signed_up_at_millis: number;
|
|
@@ -163,11 +163,11 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
163
163
|
}, "">;
|
|
164
164
|
declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
165
165
|
primary_email: string | null | undefined;
|
|
166
|
-
is_anonymous: boolean | undefined;
|
|
167
166
|
display_name: string | null | undefined;
|
|
168
167
|
client_metadata: {} | null | undefined;
|
|
169
168
|
client_read_only_metadata: {} | null | undefined;
|
|
170
169
|
server_metadata: {} | null | undefined;
|
|
170
|
+
is_anonymous: boolean | undefined;
|
|
171
171
|
password: string | null | undefined;
|
|
172
172
|
country_code: string | null | undefined;
|
|
173
173
|
profile_image_url: string | null | undefined;
|
|
@@ -369,11 +369,11 @@ declare const usersCrud: CrudSchemaFromOptions<{
|
|
|
369
369
|
}, "">;
|
|
370
370
|
serverCreateSchema: yup$1.ObjectSchema<{
|
|
371
371
|
primary_email: string | null | undefined;
|
|
372
|
-
is_anonymous: boolean | undefined;
|
|
373
372
|
display_name: string | null | undefined;
|
|
374
373
|
client_metadata: {} | null | undefined;
|
|
375
374
|
client_read_only_metadata: {} | null | undefined;
|
|
376
375
|
server_metadata: {} | null | undefined;
|
|
376
|
+
is_anonymous: boolean | undefined;
|
|
377
377
|
password: string | null | undefined;
|
|
378
378
|
country_code: string | null | undefined;
|
|
379
379
|
profile_image_url: string | null | undefined;
|
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ export const remindersPrompt = deindent`
|
|
|
18
18
|
- Language, framework, and library-specific details:
|
|
19
19
|
- JavaScript & TypeScript:
|
|
20
20
|
- Hexclave has different SDK packages for different frameworks and languages. As of the time of writing these reminders, they are: @hexclave/js (JavaScript/TypeScript), @hexclave/next (Next.js), @hexclave/react (React), @hexclave/tanstack-start (TanStack Start). You can find all of these on npm. They are all versioned together, meaning that vX.Y.Z of one SDK was released at the same time as vX.Y.Z of another SDK. For the most part, they are the same, although each has platform-specific features and differences.
|
|
21
|
+
- The Hexclave/Stack Auth SDK constructor accepts a \`urls\` option that tells the SDK where auth pages and post-auth redirects live. When you add a custom auth page such as a \`sign-in\`, \`sign-up\`, \`forgot-password\`, \`account-settings\`, etc., update the corresponding \`urls\` key to point to that route; also set redirect targets such as \`afterSignIn\`, \`afterSignUp\`, \`afterSignOut\`, and \`home\` when those destinations are customized. The \`urls\` option is the source of truth for redirect helpers such as \`redirectToSignIn()\`, hosted or handler-page flows, and post-auth navigation; if it is left pointing at the default pages after custom pages are added, users can hit extra redirects, land on the wrong auth page, or return to an unexpected page after signing in or out.
|
|
21
22
|
- The \`Result<T, E>\` type is \`{ status: "ok", data: T } | { status: "error", error: E }\`.
|
|
22
23
|
- \`KnownErrors[KNOWN_ERROR_CODE]\` refers to a specific known error type. Each KnownError may have its own properties, but they all inherit from \`Error & { statusCode: number, humanReadableMessage: string, details?: Json }\`.
|
|
23
24
|
- React & Next.js:
|
|
@@ -744,6 +744,8 @@ export function getSdkSetupPrompt(mainType: "ai-prompt" | "nextjs" | "react" | "
|
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
\`\`\`
|
|
747
|
+
|
|
748
|
+
\`hexclave dev\` injects all necessary environment variables into the app process automatically, so the app is ready to use without any extra environment variable setup.
|
|
747
749
|
</Accordion>
|
|
748
750
|
|
|
749
751
|
<Accordion title="Option 2: Connecting to a production project hosted in the cloud">
|