includio-cms 0.14.6 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/DOCS.md +45 -1
- package/ROADMAP.md +23 -2
- package/dist/admin/auth-client.d.ts +42 -42
- package/dist/admin/client/entry/entry.svelte +1 -0
- package/dist/admin/client/index.d.ts +6 -0
- package/dist/admin/client/index.js +6 -0
- package/dist/admin/client/shop/shipping-method-edit-page.svelte +113 -0
- package/dist/admin/client/shop/shipping-method-edit-page.svelte.d.ts +3 -0
- package/dist/admin/client/shop/shipping-method-form.svelte +244 -0
- package/dist/admin/client/shop/shipping-method-form.svelte.d.ts +37 -0
- package/dist/admin/client/shop/shipping-method-new-page.svelte +47 -0
- package/dist/admin/client/shop/shipping-method-new-page.svelte.d.ts +3 -0
- package/dist/admin/client/shop/shipping-methods-list-page.svelte +172 -0
- package/dist/admin/client/shop/shipping-methods-list-page.svelte.d.ts +3 -0
- package/dist/admin/client/shop/shop-order-detail-page.svelte +332 -0
- package/dist/admin/client/shop/shop-order-detail-page.svelte.d.ts +3 -0
- package/dist/admin/client/shop/shop-orders-list-page.svelte +150 -0
- package/dist/admin/client/shop/shop-orders-list-page.svelte.d.ts +3 -0
- package/dist/admin/client/shop/shop-products-list-page.svelte +157 -0
- package/dist/admin/client/shop/shop-products-list-page.svelte.d.ts +3 -0
- package/dist/admin/components/fields/field-renderer.svelte +4 -2
- package/dist/admin/components/fields/shop-field.svelte +298 -0
- package/dist/admin/components/fields/shop-field.svelte.d.ts +7 -0
- package/dist/admin/components/layout/app-sidebar.svelte +2 -0
- package/dist/admin/components/layout/lang.d.ts +6 -0
- package/dist/admin/components/layout/lang.js +12 -0
- package/dist/admin/components/layout/nav-shop.svelte +55 -0
- package/dist/admin/components/layout/nav-shop.svelte.d.ts +3 -0
- package/dist/admin/remote/index.d.ts +1 -0
- package/dist/admin/remote/index.js +1 -0
- package/dist/admin/remote/shop.remote.d.ts +244 -0
- package/dist/admin/remote/shop.remote.js +153 -0
- package/dist/cli/scaffold/admin.js +84 -0
- package/dist/core/cms.d.ts +2 -0
- package/dist/core/cms.js +2 -0
- package/dist/core/fields/fieldSchemaToTs.js +5 -0
- package/dist/core/server/entries/operations/get.js +3 -3
- package/dist/core/server/fields/populateEntry.d.ts +1 -1
- package/dist/core/server/fields/populateEntry.js +3 -1
- package/dist/core/server/generator/fields.js +14 -0
- package/dist/core/server/generator/generator.js +13 -0
- package/dist/db-postgres/schema/index.d.ts +1 -0
- package/dist/db-postgres/schema/index.js +1 -0
- package/dist/db-postgres/schema/shop/index.d.ts +8 -0
- package/dist/db-postgres/schema/shop/index.js +8 -0
- package/dist/db-postgres/schema/shop/order.d.ts +396 -0
- package/dist/db-postgres/schema/shop/order.js +28 -0
- package/dist/db-postgres/schema/shop/orderItem.d.ts +179 -0
- package/dist/db-postgres/schema/shop/orderItem.js +20 -0
- package/dist/db-postgres/schema/shop/orderStatusHistory.d.ts +112 -0
- package/dist/db-postgres/schema/shop/orderStatusHistory.js +12 -0
- package/dist/db-postgres/schema/shop/payment.d.ts +180 -0
- package/dist/db-postgres/schema/shop/payment.js +16 -0
- package/dist/db-postgres/schema/shop/product.d.ts +143 -0
- package/dist/db-postgres/schema/shop/product.js +15 -0
- package/dist/db-postgres/schema/shop/productVariant.d.ts +164 -0
- package/dist/db-postgres/schema/shop/productVariant.js +15 -0
- package/dist/db-postgres/schema/shop/shippingMethod.d.ts +190 -0
- package/dist/db-postgres/schema/shop/shippingMethod.js +13 -0
- package/dist/db-postgres/schema/shop/stockReservation.d.ts +109 -0
- package/dist/db-postgres/schema/shop/stockReservation.js +13 -0
- package/dist/db-postgres/schema-core.d.ts +9 -0
- package/dist/db-postgres/schema-core.js +9 -0
- package/dist/db-postgres/schema-shop.d.ts +1 -0
- package/dist/db-postgres/schema-shop.js +1 -0
- package/dist/email-nodemailer/index.d.ts +2 -9
- package/dist/shop/adapters/manual/index.d.ts +10 -0
- package/dist/shop/adapters/manual/index.js +16 -0
- package/dist/shop/cart/cookie.d.ts +8 -0
- package/dist/shop/cart/cookie.js +84 -0
- package/dist/shop/cart/types.d.ts +42 -0
- package/dist/shop/cart/types.js +1 -0
- package/dist/shop/client/index.d.ts +59 -0
- package/dist/shop/client/index.js +40 -0
- package/dist/shop/http/cart-handler.d.ts +7 -0
- package/dist/shop/http/cart-handler.js +88 -0
- package/dist/shop/http/checkout-handler.d.ts +4 -0
- package/dist/shop/http/checkout-handler.js +100 -0
- package/dist/shop/http/index.d.ts +3 -0
- package/dist/shop/http/index.js +3 -0
- package/dist/shop/http/shipping-handler.d.ts +4 -0
- package/dist/shop/http/shipping-handler.js +31 -0
- package/dist/shop/index.d.ts +4 -0
- package/dist/shop/index.js +17 -0
- package/dist/shop/pricing.d.ts +15 -0
- package/dist/shop/pricing.js +31 -0
- package/dist/shop/rate-limit.d.ts +9 -0
- package/dist/shop/rate-limit.js +28 -0
- package/dist/shop/server/cart-hydrate.d.ts +4 -0
- package/dist/shop/server/cart-hydrate.js +172 -0
- package/dist/shop/server/db.d.ts +4 -0
- package/dist/shop/server/db.js +16 -0
- package/dist/shop/server/email.d.ts +2 -0
- package/dist/shop/server/email.js +138 -0
- package/dist/shop/server/order-number.d.ts +5 -0
- package/dist/shop/server/order-number.js +15 -0
- package/dist/shop/server/orders.d.ts +45 -0
- package/dist/shop/server/orders.js +293 -0
- package/dist/shop/server/populate.d.ts +15 -0
- package/dist/shop/server/populate.js +39 -0
- package/dist/shop/server/shipping.d.ts +37 -0
- package/dist/shop/server/shipping.js +111 -0
- package/dist/shop/server/shop-data.d.ts +51 -0
- package/dist/shop/server/shop-data.js +186 -0
- package/dist/shop/services/cart.service.d.ts +38 -0
- package/dist/shop/services/cart.service.js +1 -0
- package/dist/shop/services/email.service.d.ts +6 -0
- package/dist/shop/services/email.service.js +1 -0
- package/dist/shop/services/index.d.ts +6 -0
- package/dist/shop/services/index.js +1 -0
- package/dist/shop/services/orders.service.d.ts +34 -0
- package/dist/shop/services/orders.service.js +1 -0
- package/dist/shop/services/payment.service.d.ts +7 -0
- package/dist/shop/services/payment.service.js +1 -0
- package/dist/shop/services/products.service.d.ts +31 -0
- package/dist/shop/services/products.service.js +1 -0
- package/dist/shop/services/shipping.service.d.ts +23 -0
- package/dist/shop/services/shipping.service.js +1 -0
- package/dist/shop/types.d.ts +72 -0
- package/dist/shop/types.js +1 -0
- package/dist/types/cms.d.ts +3 -0
- package/dist/types/fields.d.ts +18 -2
- package/dist/updates/0.15.0/index.d.ts +2 -0
- package/dist/updates/0.15.0/index.js +25 -0
- package/dist/updates/index.js +2 -1
- package/package.json +27 -1
|
@@ -3,6 +3,7 @@ export declare const authClient: {
|
|
|
3
3
|
social: <FetchOptions extends {
|
|
4
4
|
method?: string | undefined;
|
|
5
5
|
mode?: RequestMode | undefined;
|
|
6
|
+
redirect?: RequestRedirect | undefined;
|
|
6
7
|
headers?: (HeadersInit & (HeadersInit | {
|
|
7
8
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
8
9
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -13,7 +14,6 @@ export declare const authClient: {
|
|
|
13
14
|
integrity?: string | undefined;
|
|
14
15
|
keepalive?: boolean | undefined;
|
|
15
16
|
priority?: RequestPriority | undefined;
|
|
16
|
-
redirect?: RequestRedirect | undefined;
|
|
17
17
|
referrer?: string | undefined;
|
|
18
18
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
19
19
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -112,6 +112,7 @@ export declare const authClient: {
|
|
|
112
112
|
signOut: <FetchOptions extends {
|
|
113
113
|
method?: string | undefined;
|
|
114
114
|
mode?: RequestMode | undefined;
|
|
115
|
+
redirect?: RequestRedirect | undefined;
|
|
115
116
|
headers?: (HeadersInit & (HeadersInit | {
|
|
116
117
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
117
118
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -122,7 +123,6 @@ export declare const authClient: {
|
|
|
122
123
|
integrity?: string | undefined;
|
|
123
124
|
keepalive?: boolean | undefined;
|
|
124
125
|
priority?: RequestPriority | undefined;
|
|
125
|
-
redirect?: RequestRedirect | undefined;
|
|
126
126
|
referrer?: string | undefined;
|
|
127
127
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
128
128
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -176,6 +176,7 @@ export declare const authClient: {
|
|
|
176
176
|
email: <FetchOptions extends {
|
|
177
177
|
method?: string | undefined;
|
|
178
178
|
mode?: RequestMode | undefined;
|
|
179
|
+
redirect?: RequestRedirect | undefined;
|
|
179
180
|
headers?: (HeadersInit & (HeadersInit | {
|
|
180
181
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
181
182
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -186,7 +187,6 @@ export declare const authClient: {
|
|
|
186
187
|
integrity?: string | undefined;
|
|
187
188
|
keepalive?: boolean | undefined;
|
|
188
189
|
priority?: RequestPriority | undefined;
|
|
189
|
-
redirect?: RequestRedirect | undefined;
|
|
190
190
|
referrer?: string | undefined;
|
|
191
191
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
192
192
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -260,6 +260,7 @@ export declare const authClient: {
|
|
|
260
260
|
forgetPassword: <FetchOptions extends {
|
|
261
261
|
method?: string | undefined;
|
|
262
262
|
mode?: RequestMode | undefined;
|
|
263
|
+
redirect?: RequestRedirect | undefined;
|
|
263
264
|
headers?: (HeadersInit & (HeadersInit | {
|
|
264
265
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
265
266
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -270,7 +271,6 @@ export declare const authClient: {
|
|
|
270
271
|
integrity?: string | undefined;
|
|
271
272
|
keepalive?: boolean | undefined;
|
|
272
273
|
priority?: RequestPriority | undefined;
|
|
273
|
-
redirect?: RequestRedirect | undefined;
|
|
274
274
|
referrer?: string | undefined;
|
|
275
275
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
276
276
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -328,6 +328,7 @@ export declare const authClient: {
|
|
|
328
328
|
resetPassword: <FetchOptions extends {
|
|
329
329
|
method?: string | undefined;
|
|
330
330
|
mode?: RequestMode | undefined;
|
|
331
|
+
redirect?: RequestRedirect | undefined;
|
|
331
332
|
headers?: (HeadersInit & (HeadersInit | {
|
|
332
333
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
333
334
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -338,7 +339,6 @@ export declare const authClient: {
|
|
|
338
339
|
integrity?: string | undefined;
|
|
339
340
|
keepalive?: boolean | undefined;
|
|
340
341
|
priority?: RequestPriority | undefined;
|
|
341
|
-
redirect?: RequestRedirect | undefined;
|
|
342
342
|
referrer?: string | undefined;
|
|
343
343
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
344
344
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -398,6 +398,7 @@ export declare const authClient: {
|
|
|
398
398
|
verifyEmail: <FetchOptions extends {
|
|
399
399
|
method?: string | undefined;
|
|
400
400
|
mode?: RequestMode | undefined;
|
|
401
|
+
redirect?: RequestRedirect | undefined;
|
|
401
402
|
headers?: (HeadersInit & (HeadersInit | {
|
|
402
403
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
403
404
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -408,7 +409,6 @@ export declare const authClient: {
|
|
|
408
409
|
integrity?: string | undefined;
|
|
409
410
|
keepalive?: boolean | undefined;
|
|
410
411
|
priority?: RequestPriority | undefined;
|
|
411
|
-
redirect?: RequestRedirect | undefined;
|
|
412
412
|
referrer?: string | undefined;
|
|
413
413
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
414
414
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -479,6 +479,7 @@ export declare const authClient: {
|
|
|
479
479
|
sendVerificationEmail: <FetchOptions extends {
|
|
480
480
|
method?: string | undefined;
|
|
481
481
|
mode?: RequestMode | undefined;
|
|
482
|
+
redirect?: RequestRedirect | undefined;
|
|
482
483
|
headers?: (HeadersInit & (HeadersInit | {
|
|
483
484
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
484
485
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -489,7 +490,6 @@ export declare const authClient: {
|
|
|
489
490
|
integrity?: string | undefined;
|
|
490
491
|
keepalive?: boolean | undefined;
|
|
491
492
|
priority?: RequestPriority | undefined;
|
|
492
|
-
redirect?: RequestRedirect | undefined;
|
|
493
493
|
referrer?: string | undefined;
|
|
494
494
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
495
495
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -547,6 +547,7 @@ export declare const authClient: {
|
|
|
547
547
|
changeEmail: <FetchOptions extends {
|
|
548
548
|
method?: string | undefined;
|
|
549
549
|
mode?: RequestMode | undefined;
|
|
550
|
+
redirect?: RequestRedirect | undefined;
|
|
550
551
|
headers?: (HeadersInit & (HeadersInit | {
|
|
551
552
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
552
553
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -557,7 +558,6 @@ export declare const authClient: {
|
|
|
557
558
|
integrity?: string | undefined;
|
|
558
559
|
keepalive?: boolean | undefined;
|
|
559
560
|
priority?: RequestPriority | undefined;
|
|
560
|
-
redirect?: RequestRedirect | undefined;
|
|
561
561
|
referrer?: string | undefined;
|
|
562
562
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
563
563
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -615,6 +615,7 @@ export declare const authClient: {
|
|
|
615
615
|
changePassword: <FetchOptions extends {
|
|
616
616
|
method?: string | undefined;
|
|
617
617
|
mode?: RequestMode | undefined;
|
|
618
|
+
redirect?: RequestRedirect | undefined;
|
|
618
619
|
headers?: (HeadersInit & (HeadersInit | {
|
|
619
620
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
620
621
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -625,7 +626,6 @@ export declare const authClient: {
|
|
|
625
626
|
integrity?: string | undefined;
|
|
626
627
|
keepalive?: boolean | undefined;
|
|
627
628
|
priority?: RequestPriority | undefined;
|
|
628
|
-
redirect?: RequestRedirect | undefined;
|
|
629
629
|
referrer?: string | undefined;
|
|
630
630
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
631
631
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -694,6 +694,7 @@ export declare const authClient: {
|
|
|
694
694
|
deleteUser: <FetchOptions extends {
|
|
695
695
|
method?: string | undefined;
|
|
696
696
|
mode?: RequestMode | undefined;
|
|
697
|
+
redirect?: RequestRedirect | undefined;
|
|
697
698
|
headers?: (HeadersInit & (HeadersInit | {
|
|
698
699
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
699
700
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -704,7 +705,6 @@ export declare const authClient: {
|
|
|
704
705
|
integrity?: string | undefined;
|
|
705
706
|
keepalive?: boolean | undefined;
|
|
706
707
|
priority?: RequestPriority | undefined;
|
|
707
|
-
redirect?: RequestRedirect | undefined;
|
|
708
708
|
referrer?: string | undefined;
|
|
709
709
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
710
710
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -766,6 +766,7 @@ export declare const authClient: {
|
|
|
766
766
|
":token": <FetchOptions extends {
|
|
767
767
|
method?: string | undefined;
|
|
768
768
|
mode?: RequestMode | undefined;
|
|
769
|
+
redirect?: RequestRedirect | undefined;
|
|
769
770
|
headers?: (HeadersInit & (HeadersInit | {
|
|
770
771
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
771
772
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -776,7 +777,6 @@ export declare const authClient: {
|
|
|
776
777
|
integrity?: string | undefined;
|
|
777
778
|
keepalive?: boolean | undefined;
|
|
778
779
|
priority?: RequestPriority | undefined;
|
|
779
|
-
redirect?: RequestRedirect | undefined;
|
|
780
780
|
referrer?: string | undefined;
|
|
781
781
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
782
782
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -834,6 +834,7 @@ export declare const authClient: {
|
|
|
834
834
|
requestPasswordReset: <FetchOptions extends {
|
|
835
835
|
method?: string | undefined;
|
|
836
836
|
mode?: RequestMode | undefined;
|
|
837
|
+
redirect?: RequestRedirect | undefined;
|
|
837
838
|
headers?: (HeadersInit & (HeadersInit | {
|
|
838
839
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
839
840
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -844,7 +845,6 @@ export declare const authClient: {
|
|
|
844
845
|
integrity?: string | undefined;
|
|
845
846
|
keepalive?: boolean | undefined;
|
|
846
847
|
priority?: RequestPriority | undefined;
|
|
847
|
-
redirect?: RequestRedirect | undefined;
|
|
848
848
|
referrer?: string | undefined;
|
|
849
849
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
850
850
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -904,6 +904,7 @@ export declare const authClient: {
|
|
|
904
904
|
":token": <FetchOptions extends {
|
|
905
905
|
method?: string | undefined;
|
|
906
906
|
mode?: RequestMode | undefined;
|
|
907
|
+
redirect?: RequestRedirect | undefined;
|
|
907
908
|
headers?: (HeadersInit & (HeadersInit | {
|
|
908
909
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
909
910
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -914,7 +915,6 @@ export declare const authClient: {
|
|
|
914
915
|
integrity?: string | undefined;
|
|
915
916
|
keepalive?: boolean | undefined;
|
|
916
917
|
priority?: RequestPriority | undefined;
|
|
917
|
-
redirect?: RequestRedirect | undefined;
|
|
918
918
|
referrer?: string | undefined;
|
|
919
919
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
920
920
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -972,6 +972,7 @@ export declare const authClient: {
|
|
|
972
972
|
revokeSession: <FetchOptions extends {
|
|
973
973
|
method?: string | undefined;
|
|
974
974
|
mode?: RequestMode | undefined;
|
|
975
|
+
redirect?: RequestRedirect | undefined;
|
|
975
976
|
headers?: (HeadersInit & (HeadersInit | {
|
|
976
977
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
977
978
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -982,7 +983,6 @@ export declare const authClient: {
|
|
|
982
983
|
integrity?: string | undefined;
|
|
983
984
|
keepalive?: boolean | undefined;
|
|
984
985
|
priority?: RequestPriority | undefined;
|
|
985
|
-
redirect?: RequestRedirect | undefined;
|
|
986
986
|
referrer?: string | undefined;
|
|
987
987
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
988
988
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1038,6 +1038,7 @@ export declare const authClient: {
|
|
|
1038
1038
|
revokeSessions: <FetchOptions extends {
|
|
1039
1039
|
method?: string | undefined;
|
|
1040
1040
|
mode?: RequestMode | undefined;
|
|
1041
|
+
redirect?: RequestRedirect | undefined;
|
|
1041
1042
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1042
1043
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1043
1044
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1048,7 +1049,6 @@ export declare const authClient: {
|
|
|
1048
1049
|
integrity?: string | undefined;
|
|
1049
1050
|
keepalive?: boolean | undefined;
|
|
1050
1051
|
priority?: RequestPriority | undefined;
|
|
1051
|
-
redirect?: RequestRedirect | undefined;
|
|
1052
1052
|
referrer?: string | undefined;
|
|
1053
1053
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1054
1054
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1101,6 +1101,7 @@ export declare const authClient: {
|
|
|
1101
1101
|
revokeOtherSessions: <FetchOptions extends {
|
|
1102
1102
|
method?: string | undefined;
|
|
1103
1103
|
mode?: RequestMode | undefined;
|
|
1104
|
+
redirect?: RequestRedirect | undefined;
|
|
1104
1105
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1105
1106
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1106
1107
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1111,7 +1112,6 @@ export declare const authClient: {
|
|
|
1111
1112
|
integrity?: string | undefined;
|
|
1112
1113
|
keepalive?: boolean | undefined;
|
|
1113
1114
|
priority?: RequestPriority | undefined;
|
|
1114
|
-
redirect?: RequestRedirect | undefined;
|
|
1115
1115
|
referrer?: string | undefined;
|
|
1116
1116
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1117
1117
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1164,6 +1164,7 @@ export declare const authClient: {
|
|
|
1164
1164
|
linkSocial: <FetchOptions extends {
|
|
1165
1165
|
method?: string | undefined;
|
|
1166
1166
|
mode?: RequestMode | undefined;
|
|
1167
|
+
redirect?: RequestRedirect | undefined;
|
|
1167
1168
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1168
1169
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1169
1170
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1174,7 +1175,6 @@ export declare const authClient: {
|
|
|
1174
1175
|
integrity?: string | undefined;
|
|
1175
1176
|
keepalive?: boolean | undefined;
|
|
1176
1177
|
priority?: RequestPriority | undefined;
|
|
1177
|
-
redirect?: RequestRedirect | undefined;
|
|
1178
1178
|
referrer?: string | undefined;
|
|
1179
1179
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1180
1180
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1255,6 +1255,7 @@ export declare const authClient: {
|
|
|
1255
1255
|
listAccounts: <FetchOptions extends {
|
|
1256
1256
|
method?: string | undefined;
|
|
1257
1257
|
mode?: RequestMode | undefined;
|
|
1258
|
+
redirect?: RequestRedirect | undefined;
|
|
1258
1259
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1259
1260
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1260
1261
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1265,7 +1266,6 @@ export declare const authClient: {
|
|
|
1265
1266
|
integrity?: string | undefined;
|
|
1266
1267
|
keepalive?: boolean | undefined;
|
|
1267
1268
|
priority?: RequestPriority | undefined;
|
|
1268
|
-
redirect?: RequestRedirect | undefined;
|
|
1269
1269
|
referrer?: string | undefined;
|
|
1270
1270
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1271
1271
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1324,6 +1324,7 @@ export declare const authClient: {
|
|
|
1324
1324
|
callback: <FetchOptions extends {
|
|
1325
1325
|
method?: string | undefined;
|
|
1326
1326
|
mode?: RequestMode | undefined;
|
|
1327
|
+
redirect?: RequestRedirect | undefined;
|
|
1327
1328
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1328
1329
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1329
1330
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1334,7 +1335,6 @@ export declare const authClient: {
|
|
|
1334
1335
|
integrity?: string | undefined;
|
|
1335
1336
|
keepalive?: boolean | undefined;
|
|
1336
1337
|
priority?: RequestPriority | undefined;
|
|
1337
|
-
redirect?: RequestRedirect | undefined;
|
|
1338
1338
|
referrer?: string | undefined;
|
|
1339
1339
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1340
1340
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1395,6 +1395,7 @@ export declare const authClient: {
|
|
|
1395
1395
|
unlinkAccount: <FetchOptions extends {
|
|
1396
1396
|
method?: string | undefined;
|
|
1397
1397
|
mode?: RequestMode | undefined;
|
|
1398
|
+
redirect?: RequestRedirect | undefined;
|
|
1398
1399
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1399
1400
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1400
1401
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1405,7 +1406,6 @@ export declare const authClient: {
|
|
|
1405
1406
|
integrity?: string | undefined;
|
|
1406
1407
|
keepalive?: boolean | undefined;
|
|
1407
1408
|
priority?: RequestPriority | undefined;
|
|
1408
|
-
redirect?: RequestRedirect | undefined;
|
|
1409
1409
|
referrer?: string | undefined;
|
|
1410
1410
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1411
1411
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1463,6 +1463,7 @@ export declare const authClient: {
|
|
|
1463
1463
|
refreshToken: <FetchOptions extends {
|
|
1464
1464
|
method?: string | undefined;
|
|
1465
1465
|
mode?: RequestMode | undefined;
|
|
1466
|
+
redirect?: RequestRedirect | undefined;
|
|
1466
1467
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1467
1468
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1468
1469
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1473,7 +1474,6 @@ export declare const authClient: {
|
|
|
1473
1474
|
integrity?: string | undefined;
|
|
1474
1475
|
keepalive?: boolean | undefined;
|
|
1475
1476
|
priority?: RequestPriority | undefined;
|
|
1476
|
-
redirect?: RequestRedirect | undefined;
|
|
1477
1477
|
referrer?: string | undefined;
|
|
1478
1478
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1479
1479
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1531,6 +1531,7 @@ export declare const authClient: {
|
|
|
1531
1531
|
getAccessToken: <FetchOptions extends {
|
|
1532
1532
|
method?: string | undefined;
|
|
1533
1533
|
mode?: RequestMode | undefined;
|
|
1534
|
+
redirect?: RequestRedirect | undefined;
|
|
1534
1535
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1535
1536
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1536
1537
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1541,7 +1542,6 @@ export declare const authClient: {
|
|
|
1541
1542
|
integrity?: string | undefined;
|
|
1542
1543
|
keepalive?: boolean | undefined;
|
|
1543
1544
|
priority?: RequestPriority | undefined;
|
|
1544
|
-
redirect?: RequestRedirect | undefined;
|
|
1545
1545
|
referrer?: string | undefined;
|
|
1546
1546
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1547
1547
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1604,6 +1604,7 @@ export declare const authClient: {
|
|
|
1604
1604
|
accountInfo: <FetchOptions extends {
|
|
1605
1605
|
method?: string | undefined;
|
|
1606
1606
|
mode?: RequestMode | undefined;
|
|
1607
|
+
redirect?: RequestRedirect | undefined;
|
|
1607
1608
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1608
1609
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1609
1610
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1614,7 +1615,6 @@ export declare const authClient: {
|
|
|
1614
1615
|
integrity?: string | undefined;
|
|
1615
1616
|
keepalive?: boolean | undefined;
|
|
1616
1617
|
priority?: RequestPriority | undefined;
|
|
1617
|
-
redirect?: RequestRedirect | undefined;
|
|
1618
1618
|
referrer?: string | undefined;
|
|
1619
1619
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1620
1620
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1672,6 +1672,7 @@ export declare const authClient: {
|
|
|
1672
1672
|
getUser: <FetchOptions extends {
|
|
1673
1673
|
method?: string | undefined;
|
|
1674
1674
|
mode?: RequestMode | undefined;
|
|
1675
|
+
redirect?: RequestRedirect | undefined;
|
|
1675
1676
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1676
1677
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1677
1678
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1682,7 +1683,6 @@ export declare const authClient: {
|
|
|
1682
1683
|
integrity?: string | undefined;
|
|
1683
1684
|
keepalive?: boolean | undefined;
|
|
1684
1685
|
priority?: RequestPriority | undefined;
|
|
1685
|
-
redirect?: RequestRedirect | undefined;
|
|
1686
1686
|
referrer?: string | undefined;
|
|
1687
1687
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1688
1688
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1747,6 +1747,7 @@ export declare const authClient: {
|
|
|
1747
1747
|
updateUser: <FetchOptions extends {
|
|
1748
1748
|
method?: string | undefined;
|
|
1749
1749
|
mode?: RequestMode | undefined;
|
|
1750
|
+
redirect?: RequestRedirect | undefined;
|
|
1750
1751
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1751
1752
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1752
1753
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1757,7 +1758,6 @@ export declare const authClient: {
|
|
|
1757
1758
|
integrity?: string | undefined;
|
|
1758
1759
|
keepalive?: boolean | undefined;
|
|
1759
1760
|
priority?: RequestPriority | undefined;
|
|
1760
|
-
redirect?: RequestRedirect | undefined;
|
|
1761
1761
|
referrer?: string | undefined;
|
|
1762
1762
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1763
1763
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1815,6 +1815,7 @@ export declare const authClient: {
|
|
|
1815
1815
|
listUsers: <FetchOptions extends {
|
|
1816
1816
|
method?: string | undefined;
|
|
1817
1817
|
mode?: RequestMode | undefined;
|
|
1818
|
+
redirect?: RequestRedirect | undefined;
|
|
1818
1819
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1819
1820
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1820
1821
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1825,7 +1826,6 @@ export declare const authClient: {
|
|
|
1825
1826
|
integrity?: string | undefined;
|
|
1826
1827
|
keepalive?: boolean | undefined;
|
|
1827
1828
|
priority?: RequestPriority | undefined;
|
|
1828
|
-
redirect?: RequestRedirect | undefined;
|
|
1829
1829
|
referrer?: string | undefined;
|
|
1830
1830
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1831
1831
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1908,6 +1908,7 @@ export declare const authClient: {
|
|
|
1908
1908
|
listUserSessions: <FetchOptions extends {
|
|
1909
1909
|
method?: string | undefined;
|
|
1910
1910
|
mode?: RequestMode | undefined;
|
|
1911
|
+
redirect?: RequestRedirect | undefined;
|
|
1911
1912
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1912
1913
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1913
1914
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1918,7 +1919,6 @@ export declare const authClient: {
|
|
|
1918
1919
|
integrity?: string | undefined;
|
|
1919
1920
|
keepalive?: boolean | undefined;
|
|
1920
1921
|
priority?: RequestPriority | undefined;
|
|
1921
|
-
redirect?: RequestRedirect | undefined;
|
|
1922
1922
|
referrer?: string | undefined;
|
|
1923
1923
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1924
1924
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -1976,6 +1976,7 @@ export declare const authClient: {
|
|
|
1976
1976
|
unbanUser: <FetchOptions extends {
|
|
1977
1977
|
method?: string | undefined;
|
|
1978
1978
|
mode?: RequestMode | undefined;
|
|
1979
|
+
redirect?: RequestRedirect | undefined;
|
|
1979
1980
|
headers?: (HeadersInit & (HeadersInit | {
|
|
1980
1981
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1981
1982
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -1986,7 +1987,6 @@ export declare const authClient: {
|
|
|
1986
1987
|
integrity?: string | undefined;
|
|
1987
1988
|
keepalive?: boolean | undefined;
|
|
1988
1989
|
priority?: RequestPriority | undefined;
|
|
1989
|
-
redirect?: RequestRedirect | undefined;
|
|
1990
1990
|
referrer?: string | undefined;
|
|
1991
1991
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1992
1992
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2044,6 +2044,7 @@ export declare const authClient: {
|
|
|
2044
2044
|
banUser: <FetchOptions extends {
|
|
2045
2045
|
method?: string | undefined;
|
|
2046
2046
|
mode?: RequestMode | undefined;
|
|
2047
|
+
redirect?: RequestRedirect | undefined;
|
|
2047
2048
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2048
2049
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2049
2050
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2054,7 +2055,6 @@ export declare const authClient: {
|
|
|
2054
2055
|
integrity?: string | undefined;
|
|
2055
2056
|
keepalive?: boolean | undefined;
|
|
2056
2057
|
priority?: RequestPriority | undefined;
|
|
2057
|
-
redirect?: RequestRedirect | undefined;
|
|
2058
2058
|
referrer?: string | undefined;
|
|
2059
2059
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2060
2060
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2116,6 +2116,7 @@ export declare const authClient: {
|
|
|
2116
2116
|
impersonateUser: <FetchOptions extends {
|
|
2117
2117
|
method?: string | undefined;
|
|
2118
2118
|
mode?: RequestMode | undefined;
|
|
2119
|
+
redirect?: RequestRedirect | undefined;
|
|
2119
2120
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2120
2121
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2121
2122
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2126,7 +2127,6 @@ export declare const authClient: {
|
|
|
2126
2127
|
integrity?: string | undefined;
|
|
2127
2128
|
keepalive?: boolean | undefined;
|
|
2128
2129
|
priority?: RequestPriority | undefined;
|
|
2129
|
-
redirect?: RequestRedirect | undefined;
|
|
2130
2130
|
referrer?: string | undefined;
|
|
2131
2131
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2132
2132
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2202,6 +2202,7 @@ export declare const authClient: {
|
|
|
2202
2202
|
stopImpersonating: <FetchOptions extends {
|
|
2203
2203
|
method?: string | undefined;
|
|
2204
2204
|
mode?: RequestMode | undefined;
|
|
2205
|
+
redirect?: RequestRedirect | undefined;
|
|
2205
2206
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2206
2207
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2207
2208
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2212,7 +2213,6 @@ export declare const authClient: {
|
|
|
2212
2213
|
integrity?: string | undefined;
|
|
2213
2214
|
keepalive?: boolean | undefined;
|
|
2214
2215
|
priority?: RequestPriority | undefined;
|
|
2215
|
-
redirect?: RequestRedirect | undefined;
|
|
2216
2216
|
referrer?: string | undefined;
|
|
2217
2217
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2218
2218
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2268,6 +2268,7 @@ export declare const authClient: {
|
|
|
2268
2268
|
revokeUserSession: <FetchOptions extends {
|
|
2269
2269
|
method?: string | undefined;
|
|
2270
2270
|
mode?: RequestMode | undefined;
|
|
2271
|
+
redirect?: RequestRedirect | undefined;
|
|
2271
2272
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2272
2273
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2273
2274
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2278,7 +2279,6 @@ export declare const authClient: {
|
|
|
2278
2279
|
integrity?: string | undefined;
|
|
2279
2280
|
keepalive?: boolean | undefined;
|
|
2280
2281
|
priority?: RequestPriority | undefined;
|
|
2281
|
-
redirect?: RequestRedirect | undefined;
|
|
2282
2282
|
referrer?: string | undefined;
|
|
2283
2283
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2284
2284
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2336,6 +2336,7 @@ export declare const authClient: {
|
|
|
2336
2336
|
revokeUserSessions: <FetchOptions extends {
|
|
2337
2337
|
method?: string | undefined;
|
|
2338
2338
|
mode?: RequestMode | undefined;
|
|
2339
|
+
redirect?: RequestRedirect | undefined;
|
|
2339
2340
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2340
2341
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2341
2342
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2346,7 +2347,6 @@ export declare const authClient: {
|
|
|
2346
2347
|
integrity?: string | undefined;
|
|
2347
2348
|
keepalive?: boolean | undefined;
|
|
2348
2349
|
priority?: RequestPriority | undefined;
|
|
2349
|
-
redirect?: RequestRedirect | undefined;
|
|
2350
2350
|
referrer?: string | undefined;
|
|
2351
2351
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2352
2352
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2404,6 +2404,7 @@ export declare const authClient: {
|
|
|
2404
2404
|
removeUser: <FetchOptions extends {
|
|
2405
2405
|
method?: string | undefined;
|
|
2406
2406
|
mode?: RequestMode | undefined;
|
|
2407
|
+
redirect?: RequestRedirect | undefined;
|
|
2407
2408
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2408
2409
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2409
2410
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2414,7 +2415,6 @@ export declare const authClient: {
|
|
|
2414
2415
|
integrity?: string | undefined;
|
|
2415
2416
|
keepalive?: boolean | undefined;
|
|
2416
2417
|
priority?: RequestPriority | undefined;
|
|
2417
|
-
redirect?: RequestRedirect | undefined;
|
|
2418
2418
|
referrer?: string | undefined;
|
|
2419
2419
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2420
2420
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2472,6 +2472,7 @@ export declare const authClient: {
|
|
|
2472
2472
|
setUserPassword: <FetchOptions extends {
|
|
2473
2473
|
method?: string | undefined;
|
|
2474
2474
|
mode?: RequestMode | undefined;
|
|
2475
|
+
redirect?: RequestRedirect | undefined;
|
|
2475
2476
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2476
2477
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2477
2478
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2482,7 +2483,6 @@ export declare const authClient: {
|
|
|
2482
2483
|
integrity?: string | undefined;
|
|
2483
2484
|
keepalive?: boolean | undefined;
|
|
2484
2485
|
priority?: RequestPriority | undefined;
|
|
2485
|
-
redirect?: RequestRedirect | undefined;
|
|
2486
2486
|
referrer?: string | undefined;
|
|
2487
2487
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2488
2488
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2542,6 +2542,7 @@ export declare const authClient: {
|
|
|
2542
2542
|
setRole: <FetchOptions extends {
|
|
2543
2543
|
method?: string | undefined;
|
|
2544
2544
|
mode?: RequestMode | undefined;
|
|
2545
|
+
redirect?: RequestRedirect | undefined;
|
|
2545
2546
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2546
2547
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2547
2548
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2552,7 +2553,6 @@ export declare const authClient: {
|
|
|
2552
2553
|
integrity?: string | undefined;
|
|
2553
2554
|
keepalive?: boolean | undefined;
|
|
2554
2555
|
priority?: RequestPriority | undefined;
|
|
2555
|
-
redirect?: RequestRedirect | undefined;
|
|
2556
2556
|
referrer?: string | undefined;
|
|
2557
2557
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2558
2558
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2612,6 +2612,7 @@ export declare const authClient: {
|
|
|
2612
2612
|
createUser: <FetchOptions extends {
|
|
2613
2613
|
method?: string | undefined;
|
|
2614
2614
|
mode?: RequestMode | undefined;
|
|
2615
|
+
redirect?: RequestRedirect | undefined;
|
|
2615
2616
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2616
2617
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2617
2618
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2622,7 +2623,6 @@ export declare const authClient: {
|
|
|
2622
2623
|
integrity?: string | undefined;
|
|
2623
2624
|
keepalive?: boolean | undefined;
|
|
2624
2625
|
priority?: RequestPriority | undefined;
|
|
2625
|
-
redirect?: RequestRedirect | undefined;
|
|
2626
2626
|
referrer?: string | undefined;
|
|
2627
2627
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2628
2628
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2688,6 +2688,7 @@ export declare const authClient: {
|
|
|
2688
2688
|
hasPermission: <FetchOptions extends {
|
|
2689
2689
|
method?: string | undefined;
|
|
2690
2690
|
mode?: RequestMode | undefined;
|
|
2691
|
+
redirect?: RequestRedirect | undefined;
|
|
2691
2692
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2692
2693
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2693
2694
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2698,7 +2699,6 @@ export declare const authClient: {
|
|
|
2698
2699
|
integrity?: string | undefined;
|
|
2699
2700
|
keepalive?: boolean | undefined;
|
|
2700
2701
|
priority?: RequestPriority | undefined;
|
|
2701
|
-
redirect?: RequestRedirect | undefined;
|
|
2702
2702
|
referrer?: string | undefined;
|
|
2703
2703
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2704
2704
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2783,6 +2783,7 @@ export declare const authClient: {
|
|
|
2783
2783
|
email: <FetchOptions extends {
|
|
2784
2784
|
method?: string | undefined;
|
|
2785
2785
|
mode?: RequestMode | undefined;
|
|
2786
|
+
redirect?: RequestRedirect | undefined;
|
|
2786
2787
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2787
2788
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2788
2789
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2793,7 +2794,6 @@ export declare const authClient: {
|
|
|
2793
2794
|
integrity?: string | undefined;
|
|
2794
2795
|
keepalive?: boolean | undefined;
|
|
2795
2796
|
priority?: RequestPriority | undefined;
|
|
2796
|
-
redirect?: RequestRedirect | undefined;
|
|
2797
2797
|
referrer?: string | undefined;
|
|
2798
2798
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2799
2799
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2878,6 +2878,7 @@ export declare const authClient: {
|
|
|
2878
2878
|
updateUser: <FetchOptions extends {
|
|
2879
2879
|
method?: string | undefined;
|
|
2880
2880
|
mode?: RequestMode | undefined;
|
|
2881
|
+
redirect?: RequestRedirect | undefined;
|
|
2881
2882
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2882
2883
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2883
2884
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2888,7 +2889,6 @@ export declare const authClient: {
|
|
|
2888
2889
|
integrity?: string | undefined;
|
|
2889
2890
|
keepalive?: boolean | undefined;
|
|
2890
2891
|
priority?: RequestPriority | undefined;
|
|
2891
|
-
redirect?: RequestRedirect | undefined;
|
|
2892
2892
|
referrer?: string | undefined;
|
|
2893
2893
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2894
2894
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -2945,6 +2945,7 @@ export declare const authClient: {
|
|
|
2945
2945
|
listSessions: <FetchOptions extends {
|
|
2946
2946
|
method?: string | undefined;
|
|
2947
2947
|
mode?: RequestMode | undefined;
|
|
2948
|
+
redirect?: RequestRedirect | undefined;
|
|
2948
2949
|
headers?: (HeadersInit & (HeadersInit | {
|
|
2949
2950
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2950
2951
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -2955,7 +2956,6 @@ export declare const authClient: {
|
|
|
2955
2956
|
integrity?: string | undefined;
|
|
2956
2957
|
keepalive?: boolean | undefined;
|
|
2957
2958
|
priority?: RequestPriority | undefined;
|
|
2958
|
-
redirect?: RequestRedirect | undefined;
|
|
2959
2959
|
referrer?: string | undefined;
|
|
2960
2960
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2961
2961
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -3015,6 +3015,7 @@ export declare const authClient: {
|
|
|
3015
3015
|
getSession: <FetchOptions extends {
|
|
3016
3016
|
method?: string | undefined;
|
|
3017
3017
|
mode?: RequestMode | undefined;
|
|
3018
|
+
redirect?: RequestRedirect | undefined;
|
|
3018
3019
|
headers?: (HeadersInit & (HeadersInit | {
|
|
3019
3020
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3020
3021
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
@@ -3025,7 +3026,6 @@ export declare const authClient: {
|
|
|
3025
3026
|
integrity?: string | undefined;
|
|
3026
3027
|
keepalive?: boolean | undefined;
|
|
3027
3028
|
priority?: RequestPriority | undefined;
|
|
3028
|
-
redirect?: RequestRedirect | undefined;
|
|
3029
3029
|
referrer?: string | undefined;
|
|
3030
3030
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3031
3031
|
signal?: (AbortSignal | null) | undefined;
|
|
@@ -142,6 +142,7 @@
|
|
|
142
142
|
|
|
143
143
|
setContext('cms-path-template', collection.pathTemplate || null);
|
|
144
144
|
setContext('cms-entry-published', entry.publishedVersions[contentLanguage.current] != null);
|
|
145
|
+
setContext('cms-entry-id', entry.id);
|
|
145
146
|
|
|
146
147
|
// Create form once at component level — localized: false since data is flat single-language
|
|
147
148
|
const collectionSchema = generateZodSchemaFromFields(
|