@r2wa-org/eden 0.0.56 → 0.0.59
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/src/admin/admin/dto.schemas.d.ts +3 -54
- package/dist/src/admin/admin/router.d.ts +10 -12
- package/dist/src/admin/admin/service.d.ts +0 -2
- package/dist/src/admin/index.d.ts +1043 -54
- package/dist/src/asset/admin/dto.schemas.d.ts +49 -26
- package/dist/src/asset/admin/router.d.ts +123 -20
- package/dist/src/asset/admin/service.d.ts +52 -4
- package/dist/src/asset/user/dto.schemas.d.ts +16 -98
- package/dist/src/asset/user/router.d.ts +69 -75
- package/dist/src/asset/user/service.d.ts +42 -42
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +459 -566
- package/dist/src/asset-convert-product/admin/router.d.ts +564 -22
- package/dist/src/asset-convert-product/admin/service.d.ts +419 -12
- package/dist/src/asset-convert-product/errors/index.d.ts +7 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +7 -0
- package/dist/src/asset-convert-product/permissions.d.ts +2 -2
- package/dist/src/asset-convert-product/user/router.d.ts +8 -8
- package/dist/src/asset-price/admin/dto.schemas.d.ts +99 -352
- package/dist/src/asset-price/admin/router.d.ts +125 -10
- package/dist/src/asset-price/admin/service.d.ts +157 -0
- package/dist/src/asset-price/errors/index.d.ts +3 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +3 -0
- package/dist/src/asset-price/internal/service.d.ts +1 -0
- package/dist/src/asset-price/user/dto.schemas.d.ts +7 -3
- package/dist/src/asset-price/user/router.d.ts +51 -10
- package/dist/src/asset-price/user/service.d.ts +13 -1
- package/dist/src/asset-type/admin/dto.schemas.d.ts +291 -33
- package/dist/src/asset-type/admin/router.d.ts +60 -18
- package/dist/src/asset-type/admin/service.d.ts +16 -6
- package/dist/src/asset-type/db.schemas.d.ts +6 -6
- package/dist/src/asset-type/errors/index.d.ts +6 -0
- package/dist/src/asset-type/errors/locales/zh.d.ts +3 -0
- package/dist/src/asset-type/internal/service.d.ts +4 -4
- package/dist/src/asset-type/permissions.d.ts +1 -1
- package/dist/src/asset-type/schema.d.ts +3 -5
- package/dist/src/asset-type/user/dto.schemas.d.ts +3 -15
- package/dist/src/asset-type/user/router.d.ts +10 -10
- package/dist/src/asset-type/user/service.d.ts +1 -1
- package/dist/src/auth/better-auth.d.ts +706 -451
- package/dist/src/auth/db.schemas.d.ts +27 -407
- package/dist/src/auth/permissions.d.ts +20 -20
- package/dist/src/auth/roles.d.ts +60 -60
- package/dist/src/auth/router.d.ts +6 -6
- package/dist/src/auth/schema.d.ts +8 -206
- package/dist/src/bank-account/admin/router.d.ts +10 -10
- package/dist/src/bank-account/user/router.d.ts +6 -6
- package/dist/src/check-in/admin/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/admin/router.d.ts +10 -11
- package/dist/src/check-in/admin/service.d.ts +0 -1
- package/dist/src/check-in/internal/service.d.ts +0 -1
- package/dist/src/check-in/user/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/user/router.d.ts +8 -9
- package/dist/src/check-in/user/service.d.ts +0 -1
- package/dist/src/deposit/admin/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/admin/router.d.ts +10 -11
- package/dist/src/deposit/admin/service.d.ts +0 -2
- package/dist/src/deposit/user/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/user/router.d.ts +8 -9
- package/dist/src/deposit/user/service.d.ts +0 -2
- package/dist/src/dynamic-env/admin.router.d.ts +10 -10
- package/dist/src/env/server.d.ts +1 -1
- package/dist/src/file-storage/admin/router.d.ts +10 -10
- package/dist/src/file-storage/share/router.d.ts +8 -8
- package/dist/src/file-storage/user/router.d.ts +8 -8
- package/dist/src/index.d.ts +1578 -352
- package/dist/src/ledger/admin/router.d.ts +10 -10
- package/dist/src/ledger/user/router.d.ts +8 -8
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +2 -2
- package/dist/src/ledger-account/admin/router.d.ts +11 -11
- package/dist/src/ledger-account/user/dto.schemas.d.ts +39 -193
- package/dist/src/ledger-account/user/router.d.ts +51 -50
- package/dist/src/ledger-account/user/service.d.ts +41 -41
- package/dist/src/ledger-account-import/admin/router.d.ts +10 -10
- package/dist/src/ledger-account-transfer/user/router.d.ts +8 -8
- package/dist/src/ledger-account-type/admin/router.d.ts +10 -10
- package/dist/src/ledger-account-type/user/router.d.ts +56 -8
- package/dist/src/ledger-account-type/user/service.d.ts +25 -0
- package/dist/src/market-data/admin/router.d.ts +10 -10
- package/dist/src/market-data/user/router.d.ts +8 -8
- package/dist/src/market-pricing/admin/router.d.ts +10 -10
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/admin/router.d.ts +10 -10
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/news/user/router.d.ts +8 -8
- package/dist/src/news-category/user/router.d.ts +6 -6
- package/dist/src/notification/admin/dto.schemas.d.ts +3 -3
- package/dist/src/notification/admin/router.d.ts +10 -10
- package/dist/src/notification/user/dto.schemas.d.ts +2 -2
- package/dist/src/notification/user/router.d.ts +8 -8
- package/dist/src/portfolio/index.d.ts +2 -0
- package/dist/src/portfolio/internal/index.d.ts +1 -0
- package/dist/src/portfolio/internal/service.d.ts +5 -0
- package/dist/src/portfolio/user/dto.schemas.d.ts +352 -0
- package/dist/src/portfolio/user/index.d.ts +3 -0
- package/dist/src/portfolio/user/router.d.ts +659 -0
- package/dist/src/portfolio/user/service.d.ts +143 -0
- package/dist/src/receipt-method/admin/router.d.ts +10 -10
- package/dist/src/receipt-method/user/router.d.ts +6 -6
- package/dist/src/referral/admin/dto.schemas.d.ts +2 -36
- package/dist/src/referral/admin/router.d.ts +10 -11
- package/dist/src/referral/user/dto.schemas.d.ts +2 -36
- package/dist/src/referral/user/router.d.ts +8 -9
- package/dist/src/referral-depth-config/admin/router.d.ts +10 -10
- package/dist/src/server-test/index.d.ts +6 -6
- package/dist/src/shipping-address/admin/router.d.ts +10 -10
- package/dist/src/shipping-address/user/router.d.ts +6 -6
- package/dist/src/team/admin/dto.schemas.d.ts +2 -36
- package/dist/src/team/admin/router.d.ts +10 -11
- package/dist/src/team/user/dto.schemas.d.ts +5 -90
- package/dist/src/team/user/router.d.ts +8 -11
- package/dist/src/trade-market/admin/dto.schemas.d.ts +1 -1
- package/dist/src/trade-market/admin/router.d.ts +10 -10
- package/dist/src/trade-market/user/router.d.ts +8 -8
- package/dist/src/transfer/admin/router.d.ts +10 -10
- package/dist/src/transfer/admin/service.d.ts +0 -2
- package/dist/src/transfer/user/router.d.ts +8 -8
- package/dist/src/transfer/user/service.d.ts +0 -2
- package/dist/src/user/admin/dto.schemas.d.ts +1 -21
- package/dist/src/user/admin/router.d.ts +10 -15
- package/dist/src/user/admin/service.d.ts +0 -4
- package/dist/src/user/user/router.d.ts +6 -8
- package/dist/src/user/user/service.d.ts +0 -2
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +1 -1
- package/dist/src/user-kyc/admin/router.d.ts +10 -10
- package/dist/src/user-kyc/user/router.d.ts +8 -8
- package/dist/src/user-security/admin/router.d.ts +10 -10
- package/dist/src/user-security/user/router.d.ts +8 -8
- package/dist/src/wallet/admin/dto.schemas.d.ts +35 -3
- package/dist/src/wallet/admin/router.d.ts +75 -10
- package/dist/src/wallet/admin/service.d.ts +46 -8
- package/dist/src/wallet/internal/service.d.ts +118 -14
- package/dist/src/wallet/user/dto.schemas.d.ts +6 -66
- package/dist/src/wallet/user/router.d.ts +9 -69
- package/dist/src/wallet/user/service.d.ts +20 -46
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +4 -0
- package/dist/src/wallet-type/admin/router.d.ts +143 -10
- package/dist/src/wallet-type/admin/service.d.ts +51 -0
- package/dist/src/wallet-type/errors/index.d.ts +4 -0
- package/dist/src/wallet-type/errors/locales/zh.d.ts +4 -0
- package/dist/src/wallet-type/internal/service.d.ts +37 -0
- package/dist/src/wallet-type/user/router.d.ts +8 -8
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/admin/router.d.ts +10 -10
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/src/welfare-cycle/user/router.d.ts +51 -56
- package/dist/src/welfare-cycle/user/service.d.ts +1 -1
- package/dist/src/withdraw/admin/router.d.ts +10 -10
- package/dist/src/withdraw/user/dto.schemas.d.ts +7 -0
- package/dist/src/withdraw/user/router.d.ts +55 -8
- package/dist/src/withdraw/user/service.d.ts +20 -1
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -771,11 +771,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
771
771
|
emailVerified: boolean;
|
|
772
772
|
name: string;
|
|
773
773
|
image?: string | null | undefined | undefined;
|
|
774
|
-
phoneNumber?: string | null | undefined;
|
|
775
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
776
774
|
twoFactorEnabled: boolean | null | undefined;
|
|
777
775
|
username?: string | null | undefined;
|
|
778
776
|
displayUsername?: string | null | undefined;
|
|
777
|
+
phoneNumber?: string | null | undefined;
|
|
778
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
779
779
|
banned: boolean | null | undefined;
|
|
780
780
|
role?: string | null | undefined;
|
|
781
781
|
banReason?: string | null | undefined;
|
|
@@ -801,11 +801,11 @@ export declare const marketPricingAdminRouter: Elysia<"/market_pricing", {
|
|
|
801
801
|
emailVerified: boolean;
|
|
802
802
|
name: string;
|
|
803
803
|
image?: string | null | undefined | undefined;
|
|
804
|
-
phoneNumber?: string | null | undefined;
|
|
805
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
806
804
|
twoFactorEnabled: boolean | null | undefined;
|
|
807
805
|
username?: string | null | undefined;
|
|
808
806
|
displayUsername?: string | null | undefined;
|
|
807
|
+
phoneNumber?: string | null | undefined;
|
|
808
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
809
809
|
banned: boolean | null | undefined;
|
|
810
810
|
role?: string | null | undefined;
|
|
811
811
|
banReason?: string | null | undefined;
|
|
@@ -30,14 +30,14 @@ export declare const newsListItemModel: import("@sinclair/typebox").TObject<{
|
|
|
30
30
|
createdAt: import("@sinclair/typebox").TDate;
|
|
31
31
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
32
32
|
id: import("@sinclair/typebox").TString;
|
|
33
|
+
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
34
|
+
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
35
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
33
36
|
status: import("@sinclair/typebox").TEnum<{
|
|
34
37
|
archived: "archived";
|
|
35
38
|
draft: "draft";
|
|
36
39
|
published: "published";
|
|
37
40
|
}>;
|
|
38
|
-
sortOrder: import("@sinclair/typebox").TInteger;
|
|
39
|
-
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
40
|
-
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
41
41
|
createdBy: import("@sinclair/typebox").TString;
|
|
42
42
|
title: import("@sinclair/typebox").TString;
|
|
43
43
|
content: import("@sinclair/typebox").TString;
|
|
@@ -62,14 +62,14 @@ export declare const newsListResponse: import("@sinclair/typebox").TObject<{
|
|
|
62
62
|
createdAt: import("@sinclair/typebox").TDate;
|
|
63
63
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
64
64
|
id: import("@sinclair/typebox").TString;
|
|
65
|
+
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
66
|
+
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
67
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
65
68
|
status: import("@sinclair/typebox").TEnum<{
|
|
66
69
|
archived: "archived";
|
|
67
70
|
draft: "draft";
|
|
68
71
|
published: "published";
|
|
69
72
|
}>;
|
|
70
|
-
sortOrder: import("@sinclair/typebox").TInteger;
|
|
71
|
-
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
72
|
-
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
73
73
|
createdBy: import("@sinclair/typebox").TString;
|
|
74
74
|
title: import("@sinclair/typebox").TString;
|
|
75
75
|
content: import("@sinclair/typebox").TString;
|
|
@@ -41,7 +41,7 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -757,11 +757,11 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
757
757
|
emailVerified: boolean;
|
|
758
758
|
name: string;
|
|
759
759
|
image?: string | null | undefined | undefined;
|
|
760
|
-
phoneNumber?: string | null | undefined;
|
|
761
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
762
760
|
twoFactorEnabled: boolean | null | undefined;
|
|
763
761
|
username?: string | null | undefined;
|
|
764
762
|
displayUsername?: string | null | undefined;
|
|
763
|
+
phoneNumber?: string | null | undefined;
|
|
764
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
765
765
|
banned: boolean | null | undefined;
|
|
766
766
|
role?: string | null | undefined;
|
|
767
767
|
banReason?: string | null | undefined;
|
|
@@ -787,11 +787,11 @@ export declare const newsAdminRouter: Elysia<"/news", {
|
|
|
787
787
|
emailVerified: boolean;
|
|
788
788
|
name: string;
|
|
789
789
|
image?: string | null | undefined | undefined;
|
|
790
|
-
phoneNumber?: string | null | undefined;
|
|
791
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
792
790
|
twoFactorEnabled: boolean | null | undefined;
|
|
793
791
|
username?: string | null | undefined;
|
|
794
792
|
displayUsername?: string | null | undefined;
|
|
793
|
+
phoneNumber?: string | null | undefined;
|
|
794
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
795
795
|
banned: boolean | null | undefined;
|
|
796
796
|
role?: string | null | undefined;
|
|
797
797
|
banReason?: string | null | undefined;
|
|
@@ -30,14 +30,14 @@ export declare const newsListItemModel: import("@sinclair/typebox").TObject<{
|
|
|
30
30
|
createdAt: import("@sinclair/typebox").TDate;
|
|
31
31
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
32
32
|
id: import("@sinclair/typebox").TString;
|
|
33
|
+
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
34
|
+
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
35
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
33
36
|
status: import("@sinclair/typebox").TEnum<{
|
|
34
37
|
archived: "archived";
|
|
35
38
|
draft: "draft";
|
|
36
39
|
published: "published";
|
|
37
40
|
}>;
|
|
38
|
-
sortOrder: import("@sinclair/typebox").TInteger;
|
|
39
|
-
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
40
|
-
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
41
41
|
createdBy: import("@sinclair/typebox").TString;
|
|
42
42
|
title: import("@sinclair/typebox").TString;
|
|
43
43
|
content: import("@sinclair/typebox").TString;
|
|
@@ -62,14 +62,14 @@ export declare const newsListResponse: import("@sinclair/typebox").TObject<{
|
|
|
62
62
|
createdAt: import("@sinclair/typebox").TDate;
|
|
63
63
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
64
64
|
id: import("@sinclair/typebox").TString;
|
|
65
|
+
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
66
|
+
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
67
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
65
68
|
status: import("@sinclair/typebox").TEnum<{
|
|
66
69
|
archived: "archived";
|
|
67
70
|
draft: "draft";
|
|
68
71
|
published: "published";
|
|
69
72
|
}>;
|
|
70
|
-
sortOrder: import("@sinclair/typebox").TInteger;
|
|
71
|
-
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
72
|
-
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
73
73
|
createdBy: import("@sinclair/typebox").TString;
|
|
74
74
|
title: import("@sinclair/typebox").TString;
|
|
75
75
|
content: import("@sinclair/typebox").TString;
|
|
@@ -115,14 +115,14 @@ export declare const newsDetailResponse: import("@sinclair/typebox").TObject<{
|
|
|
115
115
|
createdAt: import("@sinclair/typebox").TDate;
|
|
116
116
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
117
117
|
id: import("@sinclair/typebox").TString;
|
|
118
|
+
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
119
|
+
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
120
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
118
121
|
status: import("@sinclair/typebox").TEnum<{
|
|
119
122
|
archived: "archived";
|
|
120
123
|
draft: "draft";
|
|
121
124
|
published: "published";
|
|
122
125
|
}>;
|
|
123
|
-
sortOrder: import("@sinclair/typebox").TInteger;
|
|
124
|
-
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
125
|
-
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
126
126
|
createdBy: import("@sinclair/typebox").TString;
|
|
127
127
|
title: import("@sinclair/typebox").TString;
|
|
128
128
|
content: import("@sinclair/typebox").TString;
|
|
@@ -151,14 +151,14 @@ export declare const pendingConfirmationsResponse: import("@sinclair/typebox").T
|
|
|
151
151
|
createdAt: import("@sinclair/typebox").TDate;
|
|
152
152
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
153
153
|
id: import("@sinclair/typebox").TString;
|
|
154
|
+
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
155
|
+
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
156
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
154
157
|
status: import("@sinclair/typebox").TEnum<{
|
|
155
158
|
archived: "archived";
|
|
156
159
|
draft: "draft";
|
|
157
160
|
published: "published";
|
|
158
161
|
}>;
|
|
159
|
-
sortOrder: import("@sinclair/typebox").TInteger;
|
|
160
|
-
expiresAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
161
|
-
scope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
162
162
|
createdBy: import("@sinclair/typebox").TString;
|
|
163
163
|
title: import("@sinclair/typebox").TString;
|
|
164
164
|
content: import("@sinclair/typebox").TString;
|
|
@@ -41,7 +41,7 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -587,11 +587,11 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
587
587
|
emailVerified: boolean;
|
|
588
588
|
name: string;
|
|
589
589
|
image?: string | null | undefined | undefined;
|
|
590
|
-
phoneNumber?: string | null | undefined;
|
|
591
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
592
590
|
twoFactorEnabled: boolean | null | undefined;
|
|
593
591
|
username?: string | null | undefined;
|
|
594
592
|
displayUsername?: string | null | undefined;
|
|
593
|
+
phoneNumber?: string | null | undefined;
|
|
594
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
595
595
|
banned: boolean | null | undefined;
|
|
596
596
|
role?: string | null | undefined;
|
|
597
597
|
banReason?: string | null | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -2,13 +2,13 @@ export declare const notificationResponseSchema: import("@sinclair/typebox").TOb
|
|
|
2
2
|
createdAt: import("@sinclair/typebox").TDate;
|
|
3
3
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
|
+
userId: import("@sinclair/typebox").TString;
|
|
5
6
|
status: import("@sinclair/typebox").TEnum<{
|
|
6
7
|
archived: "archived";
|
|
7
8
|
unread: "unread";
|
|
8
9
|
read: "read";
|
|
9
10
|
deleted: "deleted";
|
|
10
11
|
}>;
|
|
11
|
-
userId: import("@sinclair/typebox").TString;
|
|
12
12
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
13
13
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
14
14
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -191,13 +191,13 @@ export declare const notificationListResponseSchema: import("@sinclair/typebox")
|
|
|
191
191
|
createdAt: import("@sinclair/typebox").TDate;
|
|
192
192
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
193
193
|
id: import("@sinclair/typebox").TString;
|
|
194
|
+
userId: import("@sinclair/typebox").TString;
|
|
194
195
|
status: import("@sinclair/typebox").TEnum<{
|
|
195
196
|
archived: "archived";
|
|
196
197
|
unread: "unread";
|
|
197
198
|
read: "read";
|
|
198
199
|
deleted: "deleted";
|
|
199
200
|
}>;
|
|
200
|
-
userId: import("@sinclair/typebox").TString;
|
|
201
201
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
202
202
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
203
203
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -384,13 +384,13 @@ export declare const notificationListResponseSchema: import("@sinclair/typebox")
|
|
|
384
384
|
}>;
|
|
385
385
|
export declare const notificationCreateSchema: import("@sinclair/typebox").TObject<{
|
|
386
386
|
category: import("@sinclair/typebox").TString;
|
|
387
|
+
expiresAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>>;
|
|
387
388
|
type: import("@sinclair/typebox").TEnum<{
|
|
388
389
|
system: "system";
|
|
389
390
|
transaction: "transaction";
|
|
390
391
|
activity: "activity";
|
|
391
392
|
security: "security";
|
|
392
393
|
}>;
|
|
393
|
-
expiresAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>>;
|
|
394
394
|
title: import("@sinclair/typebox").TString;
|
|
395
395
|
content: import("@sinclair/typebox").TString;
|
|
396
396
|
priority: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
@@ -41,7 +41,7 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -515,11 +515,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
515
515
|
emailVerified: boolean;
|
|
516
516
|
name: string;
|
|
517
517
|
image?: string | null | undefined | undefined;
|
|
518
|
-
phoneNumber?: string | null | undefined;
|
|
519
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
520
518
|
twoFactorEnabled: boolean | null | undefined;
|
|
521
519
|
username?: string | null | undefined;
|
|
522
520
|
displayUsername?: string | null | undefined;
|
|
521
|
+
phoneNumber?: string | null | undefined;
|
|
522
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
523
523
|
banned: boolean | null | undefined;
|
|
524
524
|
role?: string | null | undefined;
|
|
525
525
|
banReason?: string | null | undefined;
|
|
@@ -545,11 +545,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
545
545
|
emailVerified: boolean;
|
|
546
546
|
name: string;
|
|
547
547
|
image?: string | null | undefined | undefined;
|
|
548
|
-
phoneNumber?: string | null | undefined;
|
|
549
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
550
548
|
twoFactorEnabled: boolean | null | undefined;
|
|
551
549
|
username?: string | null | undefined;
|
|
552
550
|
displayUsername?: string | null | undefined;
|
|
551
|
+
phoneNumber?: string | null | undefined;
|
|
552
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
553
553
|
banned: boolean | null | undefined;
|
|
554
554
|
role?: string | null | undefined;
|
|
555
555
|
banReason?: string | null | undefined;
|
|
@@ -2,13 +2,13 @@ export declare const notificationResponseSchema: import("@sinclair/typebox").TOb
|
|
|
2
2
|
createdAt: import("@sinclair/typebox").TDate;
|
|
3
3
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
|
+
userId: import("@sinclair/typebox").TString;
|
|
5
6
|
status: import("@sinclair/typebox").TEnum<{
|
|
6
7
|
archived: "archived";
|
|
7
8
|
unread: "unread";
|
|
8
9
|
read: "read";
|
|
9
10
|
deleted: "deleted";
|
|
10
11
|
}>;
|
|
11
|
-
userId: import("@sinclair/typebox").TString;
|
|
12
12
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
13
13
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
14
14
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -191,13 +191,13 @@ export declare const notificationListResponseSchema: import("@sinclair/typebox")
|
|
|
191
191
|
createdAt: import("@sinclair/typebox").TDate;
|
|
192
192
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
193
193
|
id: import("@sinclair/typebox").TString;
|
|
194
|
+
userId: import("@sinclair/typebox").TString;
|
|
194
195
|
status: import("@sinclair/typebox").TEnum<{
|
|
195
196
|
archived: "archived";
|
|
196
197
|
unread: "unread";
|
|
197
198
|
read: "read";
|
|
198
199
|
deleted: "deleted";
|
|
199
200
|
}>;
|
|
200
|
-
userId: import("@sinclair/typebox").TString;
|
|
201
201
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
202
202
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
203
203
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -41,7 +41,7 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -602,11 +602,11 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
602
602
|
emailVerified: boolean;
|
|
603
603
|
name: string;
|
|
604
604
|
image?: string | null | undefined | undefined;
|
|
605
|
-
phoneNumber?: string | null | undefined;
|
|
606
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
607
605
|
twoFactorEnabled: boolean | null | undefined;
|
|
608
606
|
username?: string | null | undefined;
|
|
609
607
|
displayUsername?: string | null | undefined;
|
|
608
|
+
phoneNumber?: string | null | undefined;
|
|
609
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
610
610
|
banned: boolean | null | undefined;
|
|
611
611
|
role?: string | null | undefined;
|
|
612
612
|
banReason?: string | null | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./service";
|