@krak-stack/auth 0.1.45 → 0.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/api.group.d.ts +134 -16
- package/dist/admin/api.group.js +84 -1
- package/dist/admin/schema.d.ts +43 -13
- package/dist/admin/schema.js +70 -0
- package/dist/api.d.ts +144 -26
- package/dist/better-auth/api.group.d.ts +1 -1
- package/dist/better-auth/api.group.js +1 -0
- package/dist/components/auth-client-api.d.ts +256 -138
- package/dist/components/auth-provider.d.ts +15 -15
- package/dist/components/organization-switcher.js +0 -3
- package/dist/components/user-button.d.ts +2 -0
- package/dist/components/user-button.js +8 -3
- package/dist/extra/api.group.d.ts +4 -4
- package/dist/extra/api.group.js +19 -3
- package/dist/server/middleware.d.ts +9 -3
- package/dist/server/middleware.js +25 -2
- package/dist/server/proxy.js +1 -13
- package/dist/service.d.ts +480 -484
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
|
|
|
56
56
|
readonly createdAt: import("effect/Schema").Date;
|
|
57
57
|
readonly updatedAt: import("effect/Schema").Date;
|
|
58
58
|
}>;
|
|
59
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"authExtra", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
59
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"authExtra", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
60
60
|
readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
|
|
61
61
|
readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
|
|
62
62
|
readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -64,7 +64,7 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
|
|
|
64
64
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
65
65
|
readonly id: import("effect/Schema").String;
|
|
66
66
|
readonly key: import("effect/Schema").String;
|
|
67
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
67
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
68
68
|
readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
69
69
|
readonly clientId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
70
70
|
readonly host: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -87,11 +87,11 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
|
|
|
87
87
|
readonly newPassword: import("effect/Schema").NonEmptyString;
|
|
88
88
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
89
89
|
readonly ok: import("effect/Schema").Boolean;
|
|
90
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
|
|
90
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
|
|
91
91
|
readonly file: import("effect/Schema").decodeTo<import("effect/unstable/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/unstable/http/Multipart").PersistedFileSchema>, never, never>;
|
|
92
92
|
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
93
93
|
readonly url: import("effect/Schema").String;
|
|
94
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
94
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
95
95
|
readonly key: import("effect/Schema").NonEmptyString;
|
|
96
96
|
readonly configId: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>>;
|
|
97
97
|
readonly permissions: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
@@ -119,7 +119,7 @@ export declare const AuthServiceApi: HttpApi.HttpApi<"AuthServiceApi", import("e
|
|
|
119
119
|
readonly password: import("effect/Schema").NonEmptyString;
|
|
120
120
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
121
121
|
readonly ok: import("effect/Schema").Boolean;
|
|
122
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra/schema").ExtraBadRequest>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"domains", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/domains", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
122
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"domains", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/domains", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
123
123
|
readonly hostname: import("effect/Schema").NonEmptyString;
|
|
124
124
|
readonly rootHostname: import("effect/Schema").NonEmptyString;
|
|
125
125
|
readonly projectId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
@@ -371,7 +371,26 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
371
371
|
readonly users: import("effect/Schema").Number;
|
|
372
372
|
readonly organizations: import("effect/Schema").Number;
|
|
373
373
|
}>>;
|
|
374
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
374
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteApiKey", "DELETE", "/api/auth/admin/api-keys/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
375
|
+
readonly id: import("effect/Schema").String;
|
|
376
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
377
|
+
readonly id: import("effect/Schema").String;
|
|
378
|
+
readonly configId: import("effect/Schema").String;
|
|
379
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
380
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
381
|
+
readonly referenceId: import("effect/Schema").String;
|
|
382
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
383
|
+
readonly enabled: import("effect/Schema").Boolean;
|
|
384
|
+
readonly rateLimitEnabled: import("effect/Schema").Boolean;
|
|
385
|
+
readonly rateLimitTimeWindow: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
386
|
+
readonly rateLimitMax: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
387
|
+
readonly requestCount: import("effect/Schema").Number;
|
|
388
|
+
readonly remaining: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
389
|
+
readonly lastRequest: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
390
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
391
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
392
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
393
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/auth/admin/domains/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
375
394
|
readonly id: import("effect/Schema").NonEmptyString;
|
|
376
395
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
377
396
|
readonly id: import("effect/Schema").String;
|
|
@@ -398,6 +417,44 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
398
417
|
readonly metadata: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
399
418
|
readonly memberCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
400
419
|
readonly createdAt: import("effect/Schema").Date;
|
|
420
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"disableApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/disable-rate-limit", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
421
|
+
readonly id: import("effect/Schema").String;
|
|
422
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
423
|
+
readonly id: import("effect/Schema").String;
|
|
424
|
+
readonly configId: import("effect/Schema").String;
|
|
425
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
426
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
427
|
+
readonly referenceId: import("effect/Schema").String;
|
|
428
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
429
|
+
readonly enabled: import("effect/Schema").Boolean;
|
|
430
|
+
readonly rateLimitEnabled: import("effect/Schema").Boolean;
|
|
431
|
+
readonly rateLimitTimeWindow: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
432
|
+
readonly rateLimitMax: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
433
|
+
readonly requestCount: import("effect/Schema").Number;
|
|
434
|
+
readonly remaining: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
435
|
+
readonly lastRequest: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
436
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
437
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
438
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
439
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"enableApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/enable-rate-limit", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
440
|
+
readonly id: import("effect/Schema").String;
|
|
441
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
442
|
+
readonly id: import("effect/Schema").String;
|
|
443
|
+
readonly configId: import("effect/Schema").String;
|
|
444
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
445
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
446
|
+
readonly referenceId: import("effect/Schema").String;
|
|
447
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
448
|
+
readonly enabled: import("effect/Schema").Boolean;
|
|
449
|
+
readonly rateLimitEnabled: import("effect/Schema").Boolean;
|
|
450
|
+
readonly rateLimitTimeWindow: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
451
|
+
readonly rateLimitMax: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
452
|
+
readonly requestCount: import("effect/Schema").Number;
|
|
453
|
+
readonly remaining: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
454
|
+
readonly lastRequest: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
455
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
456
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
457
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
401
458
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/auth/admin/domains/:id/records", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
402
459
|
readonly id: import("effect/Schema").NonEmptyString;
|
|
403
460
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -406,7 +463,24 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
406
463
|
readonly type: import("effect/Schema").String;
|
|
407
464
|
readonly name: import("effect/Schema").String;
|
|
408
465
|
readonly value: import("effect/Schema").String;
|
|
409
|
-
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
466
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listApiKeys", "GET", "/api/auth/admin/api-keys", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
467
|
+
readonly id: import("effect/Schema").String;
|
|
468
|
+
readonly configId: import("effect/Schema").String;
|
|
469
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
470
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
471
|
+
readonly referenceId: import("effect/Schema").String;
|
|
472
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
473
|
+
readonly enabled: import("effect/Schema").Boolean;
|
|
474
|
+
readonly rateLimitEnabled: import("effect/Schema").Boolean;
|
|
475
|
+
readonly rateLimitTimeWindow: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
476
|
+
readonly rateLimitMax: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
477
|
+
readonly requestCount: import("effect/Schema").Number;
|
|
478
|
+
readonly remaining: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
479
|
+
readonly lastRequest: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
480
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
481
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
482
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
483
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listDomains", "GET", "/api/auth/admin/domains", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
410
484
|
readonly id: import("effect/Schema").String;
|
|
411
485
|
readonly hostname: import("effect/Schema").String;
|
|
412
486
|
readonly rootHostname: import("effect/Schema").String;
|
|
@@ -456,26 +530,70 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
456
530
|
}>>, import("effect/Schema").String, never, never>, never, never>>;
|
|
457
531
|
readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
458
532
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
459
|
-
readonly data: import("effect/Schema").$Array<import("effect/Schema").Schema<{
|
|
460
|
-
readonly id:
|
|
461
|
-
readonly name:
|
|
462
|
-
readonly email:
|
|
463
|
-
readonly emailVerified:
|
|
464
|
-
readonly image:
|
|
465
|
-
readonly createdAt: Date;
|
|
466
|
-
readonly lastSignedIn: Date
|
|
467
|
-
readonly role:
|
|
468
|
-
readonly banned:
|
|
469
|
-
readonly banReason:
|
|
470
|
-
readonly banExpires: Date
|
|
471
|
-
}
|
|
533
|
+
readonly data: import("effect/Schema").$Array<import("effect/Schema").Schema<import("effect/Schema").Struct.ReadonlySide<{
|
|
534
|
+
readonly id: import("effect/Schema").String;
|
|
535
|
+
readonly name: import("effect/Schema").String;
|
|
536
|
+
readonly email: import("effect/Schema").String;
|
|
537
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
538
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
539
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
540
|
+
readonly lastSignedIn: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
541
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
542
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
543
|
+
readonly banReason: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
544
|
+
readonly banExpires: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
545
|
+
}, "Type">>>;
|
|
472
546
|
readonly meta: import("effect/Schema").Struct<{
|
|
473
547
|
readonly page: import("effect/Schema").Int;
|
|
474
548
|
readonly pageSize: import("effect/Schema").Int;
|
|
475
549
|
readonly total: import("effect/Schema").Int;
|
|
476
550
|
readonly pageCount: import("effect/Schema").Int;
|
|
477
551
|
}>;
|
|
478
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
552
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resetApiKeyRateLimit", "POST", "/api/auth/admin/api-keys/:id/reset-rate-limit", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
553
|
+
readonly id: import("effect/Schema").String;
|
|
554
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
555
|
+
readonly id: import("effect/Schema").String;
|
|
556
|
+
readonly configId: import("effect/Schema").String;
|
|
557
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
558
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
559
|
+
readonly referenceId: import("effect/Schema").String;
|
|
560
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
561
|
+
readonly enabled: import("effect/Schema").Boolean;
|
|
562
|
+
readonly rateLimitEnabled: import("effect/Schema").Boolean;
|
|
563
|
+
readonly rateLimitTimeWindow: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
564
|
+
readonly rateLimitMax: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
565
|
+
readonly requestCount: import("effect/Schema").Number;
|
|
566
|
+
readonly remaining: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
567
|
+
readonly lastRequest: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
568
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
569
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
570
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
571
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateApiKey", "PATCH", "/api/auth/admin/api-keys/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
572
|
+
readonly id: import("effect/Schema").String;
|
|
573
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
574
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
575
|
+
readonly enabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
576
|
+
readonly rateLimitEnabled: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
577
|
+
readonly rateLimitMax: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
|
|
578
|
+
readonly rateLimitTimeWindow: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Number>>;
|
|
579
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
580
|
+
readonly id: import("effect/Schema").String;
|
|
581
|
+
readonly configId: import("effect/Schema").String;
|
|
582
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
583
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
584
|
+
readonly referenceId: import("effect/Schema").String;
|
|
585
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
586
|
+
readonly enabled: import("effect/Schema").Boolean;
|
|
587
|
+
readonly rateLimitEnabled: import("effect/Schema").Boolean;
|
|
588
|
+
readonly rateLimitTimeWindow: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
589
|
+
readonly rateLimitMax: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
590
|
+
readonly requestCount: import("effect/Schema").Number;
|
|
591
|
+
readonly remaining: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
592
|
+
readonly lastRequest: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
593
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
594
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
595
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
596
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateDomain", "PATCH", "/api/auth/admin/domains/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
479
597
|
readonly id: import("effect/Schema").NonEmptyString;
|
|
480
598
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
481
599
|
readonly hostname: import("effect/Schema").NonEmptyString;
|
|
@@ -569,7 +687,7 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
569
687
|
readonly createdAt: import("effect/Schema").Date;
|
|
570
688
|
readonly updatedAt: import("effect/Schema").Date;
|
|
571
689
|
}>;
|
|
572
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"authExtra", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
690
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"authExtra", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
573
691
|
readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
|
|
574
692
|
readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
|
|
575
693
|
readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -577,7 +695,7 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
577
695
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
578
696
|
readonly id: import("effect/Schema").String;
|
|
579
697
|
readonly key: import("effect/Schema").String;
|
|
580
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
698
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getProjectPublicConfig", "GET", "/api/auth/project-config", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
581
699
|
readonly projectId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
582
700
|
readonly clientId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
583
701
|
readonly host: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -600,11 +718,11 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
600
718
|
readonly newPassword: import("effect/Schema").NonEmptyString;
|
|
601
719
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
602
720
|
readonly ok: import("effect/Schema").Boolean;
|
|
603
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
|
|
721
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"uploadUserImage", "POST", "/api/auth/image/upload", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").asMultipartStream<import("effect/Schema").Struct<{
|
|
604
722
|
readonly file: import("effect/Schema").decodeTo<import("effect/unstable/http/Multipart").PersistedFileSchema, import("effect/Schema").$Array<import("effect/unstable/http/Multipart").PersistedFileSchema>, never, never>;
|
|
605
723
|
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
606
724
|
readonly url: import("effect/Schema").String;
|
|
607
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
725
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
608
726
|
readonly key: import("effect/Schema").NonEmptyString;
|
|
609
727
|
readonly configId: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>>;
|
|
610
728
|
readonly permissions: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
@@ -632,4 +750,4 @@ export declare const AuthClientApi: HttpApi.HttpApi<"AuthClientApi", import("eff
|
|
|
632
750
|
readonly password: import("effect/Schema").NonEmptyString;
|
|
633
751
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
634
752
|
readonly ok: import("effect/Schema").Boolean;
|
|
635
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra/schema").ExtraBadRequest>, never, never>, false>>;
|
|
753
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra/schema").ExtraBadRequest>, never, never>, false>>;
|
|
@@ -59,4 +59,4 @@ export declare const BetterAuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpA
|
|
|
59
59
|
readonly createdAt: import("effect/Schema").Date;
|
|
60
60
|
readonly updatedAt: import("effect/Schema").Date;
|
|
61
61
|
}>;
|
|
62
|
-
}>>, HttpApiEndpoint.Json<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, false>;
|
|
62
|
+
}>>, HttpApiEndpoint.Json<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError>, never, never>, false>;
|