@hexclave/shared 1.0.19 → 1.0.20

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 (73) hide show
  1. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  4. package/dist/config/schema-fuzzer.test.js +4 -1
  5. package/dist/config/schema-fuzzer.test.js.map +1 -1
  6. package/dist/config/schema.d.ts +192 -183
  7. package/dist/config/schema.d.ts.map +1 -1
  8. package/dist/config/schema.js +7 -3
  9. package/dist/config/schema.js.map +1 -1
  10. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  11. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -5
  12. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  13. package/dist/esm/config/schema-fuzzer.test.js +4 -1
  14. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  15. package/dist/esm/config/schema.d.ts +192 -183
  16. package/dist/esm/config/schema.d.ts.map +1 -1
  17. package/dist/esm/config/schema.js +8 -4
  18. package/dist/esm/config/schema.js.map +1 -1
  19. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  20. package/dist/esm/interface/conversations.d.ts +8 -8
  21. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  22. package/dist/esm/interface/crud/email-outbox.d.ts +250 -250
  23. package/dist/esm/interface/crud/products.d.ts +15 -15
  24. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  25. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  26. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  27. package/dist/esm/interface/crud/transactions.d.ts +21 -21
  28. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  29. package/dist/esm/interface/crud/users.d.ts +4 -4
  30. package/dist/esm/interface/page-component-versions.d.ts.map +1 -1
  31. package/dist/esm/interface/page-component-versions.js +20 -4
  32. package/dist/esm/interface/page-component-versions.js.map +1 -1
  33. package/dist/esm/known-errors.d.ts +5 -5
  34. package/dist/esm/schema-fields.d.ts +8 -6
  35. package/dist/esm/schema-fields.d.ts.map +1 -1
  36. package/dist/esm/schema-fields.js +9 -1
  37. package/dist/esm/schema-fields.js.map +1 -1
  38. package/dist/esm/sessions.d.ts +7 -7
  39. package/dist/esm/utils/oauth.d.ts +8 -1
  40. package/dist/esm/utils/oauth.d.ts.map +1 -1
  41. package/dist/esm/utils/oauth.js +7 -1
  42. package/dist/esm/utils/oauth.js.map +1 -1
  43. package/dist/interface/admin-metrics.d.ts +10 -10
  44. package/dist/interface/conversations.d.ts +8 -8
  45. package/dist/interface/crud/current-user.d.ts +5 -5
  46. package/dist/interface/crud/email-outbox.d.ts +250 -250
  47. package/dist/interface/crud/products.d.ts +15 -15
  48. package/dist/interface/crud/products.d.ts.map +1 -1
  49. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  50. package/dist/interface/crud/team-member-profiles.d.ts +8 -8
  51. package/dist/interface/crud/transactions.d.ts +21 -21
  52. package/dist/interface/crud/transactions.d.ts.map +1 -1
  53. package/dist/interface/crud/users.d.ts +4 -4
  54. package/dist/interface/page-component-versions.d.ts.map +1 -1
  55. package/dist/interface/page-component-versions.js +20 -4
  56. package/dist/interface/page-component-versions.js.map +1 -1
  57. package/dist/known-errors.d.ts +5 -5
  58. package/dist/schema-fields.d.ts +8 -6
  59. package/dist/schema-fields.d.ts.map +1 -1
  60. package/dist/schema-fields.js +10 -0
  61. package/dist/schema-fields.js.map +1 -1
  62. package/dist/sessions.d.ts +7 -7
  63. package/dist/utils/oauth.d.ts +8 -1
  64. package/dist/utils/oauth.d.ts.map +1 -1
  65. package/dist/utils/oauth.js +7 -0
  66. package/dist/utils/oauth.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +4 -5
  69. package/src/config/schema-fuzzer.test.ts +3 -0
  70. package/src/config/schema.ts +9 -4
  71. package/src/interface/page-component-versions.ts +20 -4
  72. package/src/schema-fields.ts +2 -0
  73. 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?: ______utils_dates0.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" | ______utils_dates0.DayInterval | undefined;
30
29
  quantity?: number | undefined;
30
+ repeat?: "never" | ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.DayInterval | undefined;
64
64
  quantity?: number | undefined;
65
+ repeat?: "never" | ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.DayInterval | undefined;
127
127
  quantity?: number | undefined;
128
+ repeat?: "never" | ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.DayInterval | undefined;
155
155
  quantity?: number | undefined;
156
+ repeat?: "never" | ______utils_dates0.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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;qBAMnC,kBAAA,CAAA,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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -79,10 +79,10 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
+ user_id: string;
82
83
  type: "user";
83
84
  description: string;
84
85
  id: string;
85
- user_id: string;
86
86
  created_at_millis: number;
87
87
  expires_at_millis: number | undefined;
88
88
  manually_revoked_at_millis: number | undefined;
@@ -178,9 +178,9 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
178
178
  team_id: undefined;
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
180
  type: "team";
181
+ team_id: string;
181
182
  description: string;
182
183
  id: string;
183
- team_id: string;
184
184
  created_at_millis: number;
185
185
  expires_at_millis: number | undefined;
186
186
  manually_revoked_at_millis: number | undefined;
@@ -21,6 +21,10 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
+ restricted_reason: {
25
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
+ } | null;
27
+ primary_email: string | null;
24
28
  display_name: string | null;
25
29
  client_metadata: {} | null;
26
30
  client_read_only_metadata: {} | null;
@@ -29,11 +33,7 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
29
33
  selected_team_id: string | null;
30
34
  is_anonymous: boolean;
31
35
  is_restricted: boolean;
32
- restricted_reason: {
33
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
34
- } | null;
35
36
  requires_totp_mfa: boolean;
36
- primary_email: string | null;
37
37
  country_code: string | null;
38
38
  profile_image_url: string | null;
39
39
  signed_up_at_millis: number;
@@ -144,6 +144,10 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
+ restricted_reason: {
148
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
+ } | null;
150
+ primary_email: string | null;
147
151
  display_name: string | null;
148
152
  client_metadata: {} | null;
149
153
  client_read_only_metadata: {} | null;
@@ -152,11 +156,7 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
152
156
  selected_team_id: string | null;
153
157
  is_anonymous: boolean;
154
158
  is_restricted: boolean;
155
- restricted_reason: {
156
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
157
- } | null;
158
159
  requires_totp_mfa: boolean;
159
- primary_email: string | null;
160
160
  country_code: string | null;
161
161
  profile_image_url: string | null;
162
162
  signed_up_at_millis: number;
@@ -5,8 +5,8 @@ import * as ______utils_dates0 from "../../utils/dates";
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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.DayInterval | undefined;
58
61
  quantity?: number | undefined;
62
+ repeat?: "never" | ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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" | ______utils_dates0.DayInterval | undefined;
142
145
  quantity?: number | undefined;
146
+ repeat?: "never" | ______utils_dates0.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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -163,13 +163,13 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  requires_totp_mfa: undefined;
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
+ primary_email: string | null | undefined;
166
167
  display_name: string | null | undefined;
167
168
  client_metadata: {} | null | undefined;
168
169
  client_read_only_metadata: {} | null | undefined;
169
170
  server_metadata: {} | null | undefined;
170
171
  is_anonymous: boolean | undefined;
171
172
  password: string | null | undefined;
172
- primary_email: string | null | undefined;
173
173
  country_code: string | null | undefined;
174
174
  profile_image_url: string | null | undefined;
175
175
  primary_email_verified: boolean | undefined;
@@ -189,8 +189,8 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
189
189
  totp_secret_base64: string | null | undefined;
190
190
  } & {
191
191
  oauth_providers: {
192
- id: string;
193
192
  email: string | null;
193
+ id: string;
194
194
  account_id: string;
195
195
  }[] | undefined;
196
196
  is_anonymous: boolean | undefined;
@@ -369,13 +369,13 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
369
369
  };
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
+ primary_email: string | null | undefined;
372
373
  display_name: string | null | undefined;
373
374
  client_metadata: {} | null | undefined;
374
375
  client_read_only_metadata: {} | null | undefined;
375
376
  server_metadata: {} | null | undefined;
376
377
  is_anonymous: boolean | undefined;
377
378
  password: string | null | undefined;
378
- primary_email: string | null | undefined;
379
379
  country_code: string | null | undefined;
380
380
  profile_image_url: string | null | undefined;
381
381
  primary_email_verified: boolean | undefined;
@@ -395,8 +395,8 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
395
395
  totp_secret_base64: string | null | undefined;
396
396
  } & {
397
397
  oauth_providers: {
398
- id: string;
399
398
  email: string | null;
399
+ id: string;
400
400
  account_id: string;
401
401
  }[] | undefined;
402
402
  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"}
@@ -178,7 +178,7 @@ function createAuthPagePrompt(type) {
178
178
  <Typography>
179
179
  {"Don't have an account? "}
180
180
  <a
181
- href={hexclaveApp.urls.signUp}
181
+ href="#"
182
182
  onClick={async (e) => {
183
183
  e.preventDefault();
184
184
  await hexclaveApp.redirectToSignUp();
@@ -191,7 +191,7 @@ function createAuthPagePrompt(type) {
191
191
  }` : `<Typography>
192
192
  {"Already have an account? "}
193
193
  <a
194
- href={hexclaveApp.urls.signIn}
194
+ href="#"
195
195
  onClick={async (e) => {
196
196
  e.preventDefault();
197
197
  await hexclaveApp.redirectToSignIn();
@@ -511,7 +511,15 @@ function getCustomPagePrompts() {
511
511
  <Typography type="h2">Reset Your Password</Typography>
512
512
  <Typography>
513
513
  {"Don't need to reset? "}
514
- <a href={hexclaveApp.urls.signIn}>Sign in</a>
514
+ <a
515
+ href="#"
516
+ onClick={async (e) => {
517
+ e.preventDefault();
518
+ await hexclaveApp.redirectToSignIn();
519
+ }}
520
+ >
521
+ Sign in
522
+ </a>
515
523
  </Typography>
516
524
 
517
525
  <form onSubmit={async (e) => {
@@ -577,7 +585,15 @@ function getCustomPagePrompts() {
577
585
  {showRedirectLink ? (
578
586
  <Typography>
579
587
  {"If you are not redirected automatically, "}
580
- <a href={hexclaveApp.urls.home}>click here</a>
588
+ <a
589
+ href="#"
590
+ onClick={async (e) => {
591
+ e.preventDefault();
592
+ await hexclaveApp.redirectToHome();
593
+ }}
594
+ >
595
+ click here
596
+ </a>
581
597
  </Typography>
582
598
  ) : null}
583
599
  {error ? <pre>{JSON.stringify(error, null, 2)}</pre> : null}