@hexclave/shared 1.0.19 → 1.0.21

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 (75) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  5. package/dist/config/schema-fuzzer.test.js +4 -1
  6. package/dist/config/schema-fuzzer.test.js.map +1 -1
  7. package/dist/config/schema.d.ts +190 -181
  8. package/dist/config/schema.d.ts.map +1 -1
  9. package/dist/config/schema.js +7 -3
  10. package/dist/config/schema.js.map +1 -1
  11. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  12. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  13. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  14. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  15. package/dist/esm/config/schema-fuzzer.test.js +4 -1
  16. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  17. package/dist/esm/config/schema.d.ts +190 -181
  18. package/dist/esm/config/schema.d.ts.map +1 -1
  19. package/dist/esm/config/schema.js +8 -4
  20. package/dist/esm/config/schema.js.map +1 -1
  21. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  22. package/dist/esm/interface/conversations.d.ts +9 -9
  23. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  24. package/dist/esm/interface/crud/email-outbox.d.ts +116 -116
  25. package/dist/esm/interface/crud/products.d.ts +15 -15
  26. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  27. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  28. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  29. package/dist/esm/interface/crud/transactions.d.ts +21 -21
  30. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  31. package/dist/esm/interface/crud/users.d.ts +4 -4
  32. package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
  33. package/dist/esm/interface/page-component-versions.js +20 -4
  34. package/dist/esm/interface/page-component-versions.js.map +1 -1
  35. package/dist/esm/known-errors.d.ts +5 -5
  36. package/dist/esm/schema-fields.d.ts +8 -6
  37. package/dist/esm/schema-fields.d.ts.map +1 -1
  38. package/dist/esm/schema-fields.js +9 -1
  39. package/dist/esm/schema-fields.js.map +1 -1
  40. package/dist/esm/sessions.d.ts +7 -7
  41. package/dist/esm/utils/oauth.d.ts +8 -1
  42. package/dist/esm/utils/oauth.d.ts.map +1 -1
  43. package/dist/esm/utils/oauth.js +7 -1
  44. package/dist/esm/utils/oauth.js.map +1 -1
  45. package/dist/interface/admin-metrics.d.ts +10 -10
  46. package/dist/interface/conversations.d.ts +9 -9
  47. package/dist/interface/crud/current-user.d.ts +5 -5
  48. package/dist/interface/crud/email-outbox.d.ts +116 -116
  49. package/dist/interface/crud/products.d.ts +15 -15
  50. package/dist/interface/crud/products.d.ts.map +1 -1
  51. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  52. package/dist/interface/crud/team-member-profiles.d.ts +8 -8
  53. package/dist/interface/crud/transactions.d.ts +21 -21
  54. package/dist/interface/crud/transactions.d.ts.map +1 -1
  55. package/dist/interface/crud/users.d.ts +4 -4
  56. package/dist/interface/page-component-versions.d.ts.map +1 -1
  57. package/dist/interface/page-component-versions.js +20 -4
  58. package/dist/interface/page-component-versions.js.map +1 -1
  59. package/dist/known-errors.d.ts +5 -5
  60. package/dist/schema-fields.d.ts +8 -6
  61. package/dist/schema-fields.d.ts.map +1 -1
  62. package/dist/schema-fields.js +10 -0
  63. package/dist/schema-fields.js.map +1 -1
  64. package/dist/sessions.d.ts +7 -7
  65. package/dist/utils/oauth.d.ts +8 -1
  66. package/dist/utils/oauth.d.ts.map +1 -1
  67. package/dist/utils/oauth.js +7 -0
  68. package/dist/utils/oauth.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +4 -5
  71. package/src/config/schema-fuzzer.test.ts +3 -0
  72. package/src/config/schema.ts +9 -4
  73. package/src/interface/page-component-versions.ts +20 -4
  74. package/src/schema-fields.ts +2 -0
  75. package/src/utils/oauth.tsx +8 -0
@@ -10,6 +10,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
10
10
  client_metadata?: {} | null | undefined;
11
11
  client_read_only_metadata?: {} | null | undefined;
12
12
  server_metadata?: {} | null | undefined;
13
+ server_only: boolean;
14
+ customer_type: "team" | "user" | "custom";
13
15
  stackable: boolean;
14
16
  prices: Record<string, {
15
17
  USD?: string | undefined;
@@ -23,11 +25,9 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
23
25
  free_trial?: DayInterval | undefined;
24
26
  }>;
25
27
  display_name: string;
26
- customer_type: "user" | "team" | "custom";
27
- server_only: boolean;
28
28
  included_items: Record<string, {
29
- repeat?: "never" | DayInterval | undefined;
30
29
  quantity?: number | undefined;
30
+ repeat?: "never" | DayInterval | undefined;
31
31
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
32
32
  }>;
33
33
  };
@@ -39,11 +39,14 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
39
39
  is_cancelable: boolean;
40
40
  } | null | undefined;
41
41
  switch_options: {
42
+ product_id: string;
42
43
  product: {
43
44
  free_trial?: DayInterval | undefined;
44
45
  client_metadata?: {} | null | undefined;
45
46
  client_read_only_metadata?: {} | null | undefined;
46
47
  server_metadata?: {} | null | undefined;
48
+ server_only: boolean;
49
+ customer_type: "team" | "user" | "custom";
47
50
  stackable: boolean;
48
51
  prices: Record<string, {
49
52
  USD?: string | undefined;
@@ -57,15 +60,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
57
60
  free_trial?: DayInterval | undefined;
58
61
  }>;
59
62
  display_name: string;
60
- customer_type: "user" | "team" | "custom";
61
- server_only: boolean;
62
63
  included_items: Record<string, {
63
- repeat?: "never" | DayInterval | undefined;
64
64
  quantity?: number | undefined;
65
+ repeat?: "never" | DayInterval | undefined;
65
66
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
66
67
  }>;
67
68
  };
68
- product_id: string;
69
69
  }[] | undefined;
70
70
  }, yup$1.AnyObject, {
71
71
  id: undefined;
@@ -102,11 +102,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
102
102
  is_cancelable: boolean;
103
103
  } | null | undefined;
104
104
  switch_options?: {
105
+ product_id: string;
105
106
  product: {
106
107
  free_trial?: DayInterval | undefined;
107
108
  client_metadata?: {} | null | undefined;
108
109
  client_read_only_metadata?: {} | null | undefined;
109
110
  server_metadata?: {} | null | undefined;
111
+ server_only: boolean;
112
+ customer_type: "team" | "user" | "custom";
110
113
  stackable: boolean;
111
114
  prices: Record<string, {
112
115
  USD?: string | undefined;
@@ -120,21 +123,21 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
120
123
  free_trial?: DayInterval | undefined;
121
124
  }>;
122
125
  display_name: string;
123
- customer_type: "user" | "team" | "custom";
124
- server_only: boolean;
125
126
  included_items: Record<string, {
126
- repeat?: "never" | DayInterval | undefined;
127
127
  quantity?: number | undefined;
128
+ repeat?: "never" | DayInterval | undefined;
128
129
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
129
130
  }>;
130
131
  };
131
- product_id: string;
132
132
  }[] | undefined;
133
+ quantity: number;
133
134
  product: {
134
135
  free_trial?: DayInterval | undefined;
135
136
  client_metadata?: {} | null | undefined;
136
137
  client_read_only_metadata?: {} | null | undefined;
137
138
  server_metadata?: {} | null | undefined;
139
+ server_only: boolean;
140
+ customer_type: "team" | "user" | "custom";
138
141
  stackable: boolean;
139
142
  prices: Record<string, {
140
143
  USD?: string | undefined;
@@ -148,15 +151,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
148
151
  free_trial?: DayInterval | undefined;
149
152
  }>;
150
153
  display_name: string;
151
- customer_type: "user" | "team" | "custom";
152
- server_only: boolean;
153
154
  included_items: Record<string, {
154
- repeat?: "never" | DayInterval | undefined;
155
155
  quantity?: number | undefined;
156
+ repeat?: "never" | DayInterval | undefined;
156
157
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
157
158
  }>;
158
159
  };
159
- quantity: number;
160
160
  id: string | null;
161
161
  }[];
162
162
  is_paginated: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
1
+ {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -78,10 +78,10 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
+ user_id: string;
81
82
  type: "user";
82
83
  description: string;
83
84
  id: string;
84
- user_id: string;
85
85
  created_at_millis: number;
86
86
  expires_at_millis: number | undefined;
87
87
  manually_revoked_at_millis: number | undefined;
@@ -177,9 +177,9 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
+ team_id: string;
180
181
  description: string;
181
182
  id: string;
182
- team_id: string;
183
183
  created_at_millis: number;
184
184
  expires_at_millis: number | undefined;
185
185
  manually_revoked_at_millis: number | undefined;
@@ -20,6 +20,10 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
20
20
  profile_image_url: string | null;
21
21
  } & {
22
22
  user: {
23
+ restricted_reason: {
24
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
+ } | null;
26
+ primary_email: string | null;
23
27
  display_name: string | null;
24
28
  client_metadata: {} | null;
25
29
  client_read_only_metadata: {} | null;
@@ -28,11 +32,7 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
28
32
  selected_team_id: string | null;
29
33
  is_anonymous: boolean;
30
34
  is_restricted: boolean;
31
- restricted_reason: {
32
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
33
- } | null;
34
35
  requires_totp_mfa: boolean;
35
- primary_email: string | null;
36
36
  country_code: string | null;
37
37
  profile_image_url: string | null;
38
38
  signed_up_at_millis: number;
@@ -143,6 +143,10 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
143
143
  profile_image_url: string | null;
144
144
  } & {
145
145
  user: {
146
+ restricted_reason: {
147
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
+ } | null;
149
+ primary_email: string | null;
146
150
  display_name: string | null;
147
151
  client_metadata: {} | null;
148
152
  client_read_only_metadata: {} | null;
@@ -151,11 +155,7 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
151
155
  selected_team_id: string | null;
152
156
  is_anonymous: boolean;
153
157
  is_restricted: boolean;
154
- restricted_reason: {
155
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
156
- } | null;
157
158
  requires_totp_mfa: boolean;
158
- primary_email: string | null;
159
159
  country_code: string | null;
160
160
  profile_image_url: string | null;
161
161
  signed_up_at_millis: number;
@@ -5,8 +5,8 @@ import { InferType } from "yup";
5
5
  //#region src/interface/crud/transactions.d.ts
6
6
  declare const transactionEntrySchema: yup$1.MixedSchema<{
7
7
  type: "money_transfer";
8
- customer_type: "user" | "team" | "custom";
9
8
  customer_id: string;
9
+ customer_type: "team" | "user" | "custom";
10
10
  charged_amount: {
11
11
  USD?: string | undefined;
12
12
  EUR?: string | undefined;
@@ -23,21 +23,27 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
23
23
  adjusted_entry_index: number | null;
24
24
  } | {
25
25
  type: "item_quantity_change";
26
- quantity: number;
27
- customer_type: "user" | "team" | "custom";
28
26
  item_id: string;
29
27
  customer_id: string;
28
+ quantity: number;
29
+ customer_type: "team" | "user" | "custom";
30
30
  adjusted_transaction_id: string | null;
31
31
  adjusted_entry_index: number | null;
32
32
  } | {
33
33
  one_time_purchase_id?: string | undefined;
34
34
  subscription_id?: string | undefined;
35
35
  type: "product_grant";
36
+ customer_id: string;
37
+ product_id: string | null;
38
+ quantity: number;
39
+ customer_type: "team" | "user" | "custom";
36
40
  product: {
37
41
  free_trial?: DayInterval | undefined;
38
42
  client_metadata?: {} | null | undefined;
39
43
  client_read_only_metadata?: {} | null | undefined;
40
44
  server_metadata?: {} | null | undefined;
45
+ server_only: boolean;
46
+ customer_type: "team" | "user" | "custom";
41
47
  stackable: boolean;
42
48
  prices: Record<string, {
43
49
  USD?: string | undefined;
@@ -51,18 +57,12 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
51
57
  free_trial?: DayInterval | undefined;
52
58
  }>;
53
59
  display_name: string;
54
- customer_type: "user" | "team" | "custom";
55
- server_only: boolean;
56
60
  included_items: Record<string, {
57
- repeat?: "never" | DayInterval | undefined;
58
61
  quantity?: number | undefined;
62
+ repeat?: "never" | DayInterval | undefined;
59
63
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
60
64
  }>;
61
65
  };
62
- quantity: number;
63
- customer_type: "user" | "team" | "custom";
64
- customer_id: string;
65
- product_id: string | null;
66
66
  adjusted_transaction_id: string | null;
67
67
  adjusted_entry_index: number | null;
68
68
  price_id: string | null;
@@ -85,12 +85,12 @@ declare const transactionSchema: yup$1.ObjectSchema<{
85
85
  created_at_millis: number;
86
86
  effective_at_millis: number;
87
87
  type: "purchase" | "subscription-cancellation" | "subscription-renewal" | "manual-item-quantity-change" | "refund" | "chargeback" | "product-change" | null;
88
- customer_type: "user" | "team" | "custom";
88
+ customer_type: "team" | "user" | "custom";
89
89
  customer_id: string;
90
90
  entries: ({
91
91
  type: "money_transfer";
92
- customer_type: "user" | "team" | "custom";
93
92
  customer_id: string;
93
+ customer_type: "team" | "user" | "custom";
94
94
  charged_amount: {
95
95
  USD?: string | undefined;
96
96
  EUR?: string | undefined;
@@ -107,21 +107,27 @@ declare const transactionSchema: yup$1.ObjectSchema<{
107
107
  adjusted_entry_index: number | null;
108
108
  } | {
109
109
  type: "item_quantity_change";
110
- quantity: number;
111
- customer_type: "user" | "team" | "custom";
112
110
  item_id: string;
113
111
  customer_id: string;
112
+ quantity: number;
113
+ customer_type: "team" | "user" | "custom";
114
114
  adjusted_transaction_id: string | null;
115
115
  adjusted_entry_index: number | null;
116
116
  } | {
117
117
  one_time_purchase_id?: string | undefined;
118
118
  subscription_id?: string | undefined;
119
119
  type: "product_grant";
120
+ customer_id: string;
121
+ product_id: string | null;
122
+ quantity: number;
123
+ customer_type: "team" | "user" | "custom";
120
124
  product: {
121
125
  free_trial?: DayInterval | undefined;
122
126
  client_metadata?: {} | null | undefined;
123
127
  client_read_only_metadata?: {} | null | undefined;
124
128
  server_metadata?: {} | null | undefined;
129
+ server_only: boolean;
130
+ customer_type: "team" | "user" | "custom";
125
131
  stackable: boolean;
126
132
  prices: Record<string, {
127
133
  USD?: string | undefined;
@@ -135,18 +141,12 @@ declare const transactionSchema: yup$1.ObjectSchema<{
135
141
  free_trial?: DayInterval | undefined;
136
142
  }>;
137
143
  display_name: string;
138
- customer_type: "user" | "team" | "custom";
139
- server_only: boolean;
140
144
  included_items: Record<string, {
141
- repeat?: "never" | DayInterval | undefined;
142
145
  quantity?: number | undefined;
146
+ repeat?: "never" | DayInterval | undefined;
143
147
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
144
148
  }>;
145
149
  };
146
- quantity: number;
147
- customer_type: "user" | "team" | "custom";
148
- customer_id: string;
149
- product_id: string | null;
150
150
  adjusted_transaction_id: string | null;
151
151
  adjusted_entry_index: number | null;
152
152
  price_id: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
1
+ {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -162,13 +162,13 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
162
162
  requires_totp_mfa: undefined;
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
+ primary_email: string | null | undefined;
165
166
  display_name: string | null | undefined;
166
167
  client_metadata: {} | null | undefined;
167
168
  client_read_only_metadata: {} | null | undefined;
168
169
  server_metadata: {} | null | undefined;
169
170
  is_anonymous: boolean | undefined;
170
171
  password: string | null | undefined;
171
- primary_email: string | null | undefined;
172
172
  country_code: string | null | undefined;
173
173
  profile_image_url: string | null | undefined;
174
174
  primary_email_verified: boolean | undefined;
@@ -188,8 +188,8 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
188
188
  totp_secret_base64: string | null | undefined;
189
189
  } & {
190
190
  oauth_providers: {
191
- id: string;
192
191
  email: string | null;
192
+ id: string;
193
193
  account_id: string;
194
194
  }[] | undefined;
195
195
  is_anonymous: boolean | undefined;
@@ -368,13 +368,13 @@ declare const usersCrud: CrudSchemaFromOptions<{
368
368
  };
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
+ primary_email: string | null | undefined;
371
372
  display_name: string | null | undefined;
372
373
  client_metadata: {} | null | undefined;
373
374
  client_read_only_metadata: {} | null | undefined;
374
375
  server_metadata: {} | null | undefined;
375
376
  is_anonymous: boolean | undefined;
376
377
  password: string | null | undefined;
377
- primary_email: string | null | undefined;
378
378
  country_code: string | null | undefined;
379
379
  profile_image_url: string | null | undefined;
380
380
  primary_email_verified: boolean | undefined;
@@ -394,8 +394,8 @@ declare const usersCrud: CrudSchemaFromOptions<{
394
394
  totp_secret_base64: string | null | undefined;
395
395
  } & {
396
396
  oauth_providers: {
397
- id: string;
398
397
  email: string | null;
398
+ id: string;
399
399
  account_id: string;
400
400
  }[] | undefined;
401
401
  is_anonymous: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"page-component-versions.d.ts","names":[],"sources":["../../src/interface/page-component-versions.ts"],"mappings":";;;KAmBY,gBAAA;EACV,aAAA;EACA,aAAA;EACA,SAAA;AAAA;AAAA,KAGU,YAAA,GAAe,MAAA,SAAe,gBAAA;EAAsB,CAAA,EAAG,gBAAA;AAAA;AAAA,KAEvD,gBAAA,GAAmB,OAAA,OAAc,eAAA;AAAA,KAEjC,gBAAA;EACV,KAAA;EACA,UAAA;EACA,QAAA,EAAU,YAAA;AAAA;AAAA,iBAySI,oBAAA,CAAA,GAAwB,MAAA,CAAO,gBAAA,EAAkB,gBAAA;AAAA,iBA80CjD,qBAAA,CAAA,GAAyB,MAAA;EAAiB,OAAA;EAAiB,UAAA,EAAY,MAAA;AAAA"}
1
+ {"version":3,"file":"page-component-versions.d.ts","names":[],"sources":["../../src/interface/page-component-versions.ts"],"mappings":";;;KAmBY,gBAAA;EACV,aAAA;EACA,aAAA;EACA,SAAA;AAAA;AAAA,KAGU,YAAA,GAAe,MAAA,SAAe,gBAAA;EAAsB,CAAA,EAAG,gBAAA;AAAA;AAAA,KAEvD,gBAAA,GAAmB,OAAA,OAAc,eAAA;AAAA,KAEjC,gBAAA;EACV,KAAA;EACA,UAAA;EACA,QAAA,EAAU,YAAA;AAAA;AAAA,iBAySI,oBAAA,CAAA,GAAwB,MAAA,CAAO,gBAAA,EAAkB,gBAAA;AAAA,iBA81CjD,qBAAA,CAAA,GAAyB,MAAA;EAAiB,OAAA;EAAiB,UAAA,EAAY,MAAA;AAAA"}
@@ -180,7 +180,7 @@ function createAuthPagePrompt(type) {
180
180
  <Typography>
181
181
  {"Don't have an account? "}
182
182
  <a
183
- href={hexclaveApp.urls.signUp}
183
+ href="#"
184
184
  onClick={async (e) => {
185
185
  e.preventDefault();
186
186
  await hexclaveApp.redirectToSignUp();
@@ -193,7 +193,7 @@ function createAuthPagePrompt(type) {
193
193
  }` : `<Typography>
194
194
  {"Already have an account? "}
195
195
  <a
196
- href={hexclaveApp.urls.signIn}
196
+ href="#"
197
197
  onClick={async (e) => {
198
198
  e.preventDefault();
199
199
  await hexclaveApp.redirectToSignIn();
@@ -513,7 +513,15 @@ function getCustomPagePrompts() {
513
513
  <Typography type="h2">Reset Your Password</Typography>
514
514
  <Typography>
515
515
  {"Don't need to reset? "}
516
- <a href={hexclaveApp.urls.signIn}>Sign in</a>
516
+ <a
517
+ href="#"
518
+ onClick={async (e) => {
519
+ e.preventDefault();
520
+ await hexclaveApp.redirectToSignIn();
521
+ }}
522
+ >
523
+ Sign in
524
+ </a>
517
525
  </Typography>
518
526
 
519
527
  <form onSubmit={async (e) => {
@@ -579,7 +587,15 @@ function getCustomPagePrompts() {
579
587
  {showRedirectLink ? (
580
588
  <Typography>
581
589
  {"If you are not redirected automatically, "}
582
- <a href={hexclaveApp.urls.home}>click here</a>
590
+ <a
591
+ href="#"
592
+ onClick={async (e) => {
593
+ e.preventDefault();
594
+ await hexclaveApp.redirectToHome();
595
+ }}
596
+ >
597
+ click here
598
+ </a>
583
599
  </Typography>
584
600
  ) : null}
585
601
  {error ? <pre>{JSON.stringify(error, null, 2)}</pre> : null}