@r2wa-org/eden 0.0.91 → 0.0.93
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/index.d.ts +447 -0
- package/dist/asset/admin/router.d.ts +13 -1
- package/dist/asset-price/admin/router.d.ts +1 -13
- package/dist/auth/better-auth.d.ts +1 -1
- package/dist/check-in/admin/router.d.ts +13 -1
- package/dist/db/schemas.d.ts +1 -0
- package/dist/file-storage/share/router.d.ts +1 -13
- package/dist/index.d.ts +556 -3
- package/dist/ledger-account-import/admin/router.d.ts +1 -13
- package/dist/lock-activity/admin/dto.schemas.d.ts +145 -0
- package/dist/lock-activity/admin/router.d.ts +900 -0
- package/dist/lock-activity/admin/service.d.ts +392 -0
- package/dist/lock-activity/db.schemas.d.ts +482 -0
- package/dist/lock-activity/errors/index.d.ts +21 -0
- package/dist/lock-activity/errors/locales/zh.d.ts +20 -0
- package/dist/lock-activity/index.d.ts +7 -0
- package/dist/lock-activity/internal/service.d.ts +25 -0
- package/dist/lock-activity/permissions.d.ts +4 -0
- package/dist/lock-activity/schema.d.ts +255 -0
- package/dist/lock-activity/user/dto.schemas.d.ts +92 -0
- package/dist/lock-activity/user/router.d.ts +528 -0
- package/dist/lock-activity/user/service.d.ts +50 -0
- package/dist/trade-market/admin/service.d.ts +1 -0
- package/dist/trade-market/errors/index.d.ts +1 -0
- package/dist/trade-market/errors/locales/zh.d.ts +1 -0
- package/dist/user-security/admin/router.d.ts +13 -1
- package/package.json +2 -2
package/dist/admin/index.d.ts
CHANGED
|
@@ -9407,6 +9407,453 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9407
9407
|
};
|
|
9408
9408
|
};
|
|
9409
9409
|
};
|
|
9410
|
+
} & {
|
|
9411
|
+
admin: {
|
|
9412
|
+
lock_activity: {};
|
|
9413
|
+
} & {
|
|
9414
|
+
lock_activity: {
|
|
9415
|
+
activities: {
|
|
9416
|
+
post: {
|
|
9417
|
+
body: {
|
|
9418
|
+
coverImageFileId: string;
|
|
9419
|
+
description?: string | null | undefined;
|
|
9420
|
+
endAt: Date;
|
|
9421
|
+
isVisibleOnFrontend?: boolean | undefined;
|
|
9422
|
+
rewardAssetId: string;
|
|
9423
|
+
rewardCnyEquivalent: string;
|
|
9424
|
+
sortOrder?: number | undefined;
|
|
9425
|
+
startAt: Date;
|
|
9426
|
+
status?: "active" | "cancelled" | "draft" | "ended" | undefined;
|
|
9427
|
+
title: string;
|
|
9428
|
+
};
|
|
9429
|
+
params: {};
|
|
9430
|
+
query: {};
|
|
9431
|
+
headers: {};
|
|
9432
|
+
response: {
|
|
9433
|
+
200: {
|
|
9434
|
+
coverImageUrl: string;
|
|
9435
|
+
createdAt: Date;
|
|
9436
|
+
description: string | null;
|
|
9437
|
+
endAt: Date;
|
|
9438
|
+
id: string;
|
|
9439
|
+
isVisibleOnFrontend: boolean;
|
|
9440
|
+
receiveAccountType: {
|
|
9441
|
+
id: string;
|
|
9442
|
+
key: string;
|
|
9443
|
+
name: string;
|
|
9444
|
+
isActive: boolean;
|
|
9445
|
+
};
|
|
9446
|
+
rewardAsset: {
|
|
9447
|
+
id: string;
|
|
9448
|
+
code: string;
|
|
9449
|
+
name: string;
|
|
9450
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
9451
|
+
symbol: string | null;
|
|
9452
|
+
precision: number;
|
|
9453
|
+
isActive: boolean;
|
|
9454
|
+
};
|
|
9455
|
+
rewardAssetId: string;
|
|
9456
|
+
rewardCnyEquivalent: string;
|
|
9457
|
+
sortOrder: number;
|
|
9458
|
+
startAt: Date;
|
|
9459
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
9460
|
+
title: string;
|
|
9461
|
+
updatedAt: Date;
|
|
9462
|
+
};
|
|
9463
|
+
401: "Unauthorized";
|
|
9464
|
+
403: "Forbidden: Admins only";
|
|
9465
|
+
422: {
|
|
9466
|
+
type: 'validation';
|
|
9467
|
+
on: string;
|
|
9468
|
+
summary?: string;
|
|
9469
|
+
message?: string;
|
|
9470
|
+
found?: unknown;
|
|
9471
|
+
property?: string;
|
|
9472
|
+
expected?: string;
|
|
9473
|
+
};
|
|
9474
|
+
};
|
|
9475
|
+
};
|
|
9476
|
+
};
|
|
9477
|
+
};
|
|
9478
|
+
} & {
|
|
9479
|
+
lock_activity: {
|
|
9480
|
+
activities: {
|
|
9481
|
+
":id": {
|
|
9482
|
+
patch: {
|
|
9483
|
+
body: {
|
|
9484
|
+
coverImageFileId?: string | undefined;
|
|
9485
|
+
description?: string | null | undefined;
|
|
9486
|
+
endAt?: Date | undefined;
|
|
9487
|
+
isVisibleOnFrontend?: boolean | undefined;
|
|
9488
|
+
rewardAssetId?: string | undefined;
|
|
9489
|
+
rewardCnyEquivalent?: string | undefined;
|
|
9490
|
+
sortOrder?: number | undefined;
|
|
9491
|
+
startAt?: Date | undefined;
|
|
9492
|
+
status?: "active" | "cancelled" | "draft" | "ended" | undefined;
|
|
9493
|
+
title?: string | undefined;
|
|
9494
|
+
};
|
|
9495
|
+
params: {
|
|
9496
|
+
id: string;
|
|
9497
|
+
};
|
|
9498
|
+
query: {};
|
|
9499
|
+
headers: {};
|
|
9500
|
+
response: {
|
|
9501
|
+
200: {
|
|
9502
|
+
coverImageUrl: string;
|
|
9503
|
+
createdAt: Date;
|
|
9504
|
+
description: string | null;
|
|
9505
|
+
endAt: Date;
|
|
9506
|
+
id: string;
|
|
9507
|
+
isVisibleOnFrontend: boolean;
|
|
9508
|
+
receiveAccountType: {
|
|
9509
|
+
id: string;
|
|
9510
|
+
key: string;
|
|
9511
|
+
name: string;
|
|
9512
|
+
isActive: boolean;
|
|
9513
|
+
};
|
|
9514
|
+
rewardAsset: {
|
|
9515
|
+
id: string;
|
|
9516
|
+
code: string;
|
|
9517
|
+
name: string;
|
|
9518
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
9519
|
+
symbol: string | null;
|
|
9520
|
+
precision: number;
|
|
9521
|
+
isActive: boolean;
|
|
9522
|
+
};
|
|
9523
|
+
rewardAssetId: string;
|
|
9524
|
+
rewardCnyEquivalent: string;
|
|
9525
|
+
sortOrder: number;
|
|
9526
|
+
startAt: Date;
|
|
9527
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
9528
|
+
title: string;
|
|
9529
|
+
updatedAt: Date;
|
|
9530
|
+
};
|
|
9531
|
+
401: "Unauthorized";
|
|
9532
|
+
403: "Forbidden: Admins only";
|
|
9533
|
+
422: {
|
|
9534
|
+
type: 'validation';
|
|
9535
|
+
on: string;
|
|
9536
|
+
summary?: string;
|
|
9537
|
+
message?: string;
|
|
9538
|
+
found?: unknown;
|
|
9539
|
+
property?: string;
|
|
9540
|
+
expected?: string;
|
|
9541
|
+
};
|
|
9542
|
+
};
|
|
9543
|
+
};
|
|
9544
|
+
};
|
|
9545
|
+
};
|
|
9546
|
+
};
|
|
9547
|
+
} & {
|
|
9548
|
+
lock_activity: {
|
|
9549
|
+
activities: {
|
|
9550
|
+
":id": {
|
|
9551
|
+
get: {
|
|
9552
|
+
body: {};
|
|
9553
|
+
params: {
|
|
9554
|
+
id: string;
|
|
9555
|
+
};
|
|
9556
|
+
query: {};
|
|
9557
|
+
headers: {};
|
|
9558
|
+
response: {
|
|
9559
|
+
200: {
|
|
9560
|
+
coverImageUrl: string;
|
|
9561
|
+
createdAt: Date;
|
|
9562
|
+
description: string | null;
|
|
9563
|
+
endAt: Date;
|
|
9564
|
+
id: string;
|
|
9565
|
+
isVisibleOnFrontend: boolean;
|
|
9566
|
+
receiveAccountType: {
|
|
9567
|
+
id: string;
|
|
9568
|
+
key: string;
|
|
9569
|
+
name: string;
|
|
9570
|
+
isActive: boolean;
|
|
9571
|
+
};
|
|
9572
|
+
rewardAsset: {
|
|
9573
|
+
id: string;
|
|
9574
|
+
code: string;
|
|
9575
|
+
name: string;
|
|
9576
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
9577
|
+
symbol: string | null;
|
|
9578
|
+
precision: number;
|
|
9579
|
+
isActive: boolean;
|
|
9580
|
+
};
|
|
9581
|
+
rewardAssetId: string;
|
|
9582
|
+
rewardCnyEquivalent: string;
|
|
9583
|
+
sortOrder: number;
|
|
9584
|
+
startAt: Date;
|
|
9585
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
9586
|
+
title: string;
|
|
9587
|
+
updatedAt: Date;
|
|
9588
|
+
};
|
|
9589
|
+
401: "Unauthorized";
|
|
9590
|
+
403: "Forbidden: Admins only";
|
|
9591
|
+
422: {
|
|
9592
|
+
type: 'validation';
|
|
9593
|
+
on: string;
|
|
9594
|
+
summary?: string;
|
|
9595
|
+
message?: string;
|
|
9596
|
+
found?: unknown;
|
|
9597
|
+
property?: string;
|
|
9598
|
+
expected?: string;
|
|
9599
|
+
};
|
|
9600
|
+
};
|
|
9601
|
+
};
|
|
9602
|
+
};
|
|
9603
|
+
};
|
|
9604
|
+
};
|
|
9605
|
+
} & {
|
|
9606
|
+
lock_activity: {
|
|
9607
|
+
activities: {
|
|
9608
|
+
get: {
|
|
9609
|
+
body: {};
|
|
9610
|
+
params: {};
|
|
9611
|
+
query: {
|
|
9612
|
+
isVisibleOnFrontend?: boolean | undefined;
|
|
9613
|
+
keyword?: string | undefined;
|
|
9614
|
+
limit?: number | undefined;
|
|
9615
|
+
offset?: number | undefined;
|
|
9616
|
+
pageIndex?: number | undefined;
|
|
9617
|
+
pageSize?: number | undefined;
|
|
9618
|
+
status?: "active" | "cancelled" | "draft" | "ended" | undefined;
|
|
9619
|
+
};
|
|
9620
|
+
headers: {};
|
|
9621
|
+
response: {
|
|
9622
|
+
200: {
|
|
9623
|
+
data: {
|
|
9624
|
+
coverImageUrl: string;
|
|
9625
|
+
createdAt: Date;
|
|
9626
|
+
description: string | null;
|
|
9627
|
+
endAt: Date;
|
|
9628
|
+
id: string;
|
|
9629
|
+
isVisibleOnFrontend: boolean;
|
|
9630
|
+
receiveAccountType: {
|
|
9631
|
+
id: string;
|
|
9632
|
+
key: string;
|
|
9633
|
+
name: string;
|
|
9634
|
+
isActive: boolean;
|
|
9635
|
+
};
|
|
9636
|
+
rewardAsset: {
|
|
9637
|
+
id: string;
|
|
9638
|
+
code: string;
|
|
9639
|
+
name: string;
|
|
9640
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
9641
|
+
symbol: string | null;
|
|
9642
|
+
precision: number;
|
|
9643
|
+
isActive: boolean;
|
|
9644
|
+
};
|
|
9645
|
+
rewardAssetId: string;
|
|
9646
|
+
rewardCnyEquivalent: string;
|
|
9647
|
+
sortOrder: number;
|
|
9648
|
+
startAt: Date;
|
|
9649
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
9650
|
+
title: string;
|
|
9651
|
+
updatedAt: Date;
|
|
9652
|
+
}[];
|
|
9653
|
+
pagination: {
|
|
9654
|
+
pageSize: number;
|
|
9655
|
+
pageIndex: number;
|
|
9656
|
+
total: number;
|
|
9657
|
+
totalPages: number;
|
|
9658
|
+
hasNextPage: boolean;
|
|
9659
|
+
};
|
|
9660
|
+
};
|
|
9661
|
+
401: "Unauthorized";
|
|
9662
|
+
403: "Forbidden: Admins only";
|
|
9663
|
+
422: {
|
|
9664
|
+
type: 'validation';
|
|
9665
|
+
on: string;
|
|
9666
|
+
summary?: string;
|
|
9667
|
+
message?: string;
|
|
9668
|
+
found?: unknown;
|
|
9669
|
+
property?: string;
|
|
9670
|
+
expected?: string;
|
|
9671
|
+
};
|
|
9672
|
+
};
|
|
9673
|
+
};
|
|
9674
|
+
};
|
|
9675
|
+
};
|
|
9676
|
+
} & {
|
|
9677
|
+
lock_activity: {
|
|
9678
|
+
activities: {
|
|
9679
|
+
":id": {
|
|
9680
|
+
activate: {
|
|
9681
|
+
post: {
|
|
9682
|
+
body: {};
|
|
9683
|
+
params: {
|
|
9684
|
+
id: string;
|
|
9685
|
+
};
|
|
9686
|
+
query: {};
|
|
9687
|
+
headers: {};
|
|
9688
|
+
response: {
|
|
9689
|
+
200: {
|
|
9690
|
+
coverImageUrl: string;
|
|
9691
|
+
createdAt: Date;
|
|
9692
|
+
description: string | null;
|
|
9693
|
+
endAt: Date;
|
|
9694
|
+
id: string;
|
|
9695
|
+
isVisibleOnFrontend: boolean;
|
|
9696
|
+
receiveAccountType: {
|
|
9697
|
+
id: string;
|
|
9698
|
+
key: string;
|
|
9699
|
+
name: string;
|
|
9700
|
+
isActive: boolean;
|
|
9701
|
+
};
|
|
9702
|
+
rewardAsset: {
|
|
9703
|
+
id: string;
|
|
9704
|
+
code: string;
|
|
9705
|
+
name: string;
|
|
9706
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
9707
|
+
symbol: string | null;
|
|
9708
|
+
precision: number;
|
|
9709
|
+
isActive: boolean;
|
|
9710
|
+
};
|
|
9711
|
+
rewardAssetId: string;
|
|
9712
|
+
rewardCnyEquivalent: string;
|
|
9713
|
+
sortOrder: number;
|
|
9714
|
+
startAt: Date;
|
|
9715
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
9716
|
+
title: string;
|
|
9717
|
+
updatedAt: Date;
|
|
9718
|
+
};
|
|
9719
|
+
401: "Unauthorized";
|
|
9720
|
+
403: "Forbidden: Admins only";
|
|
9721
|
+
422: {
|
|
9722
|
+
type: 'validation';
|
|
9723
|
+
on: string;
|
|
9724
|
+
summary?: string;
|
|
9725
|
+
message?: string;
|
|
9726
|
+
found?: unknown;
|
|
9727
|
+
property?: string;
|
|
9728
|
+
expected?: string;
|
|
9729
|
+
};
|
|
9730
|
+
};
|
|
9731
|
+
};
|
|
9732
|
+
};
|
|
9733
|
+
};
|
|
9734
|
+
};
|
|
9735
|
+
};
|
|
9736
|
+
} & {
|
|
9737
|
+
lock_activity: {
|
|
9738
|
+
activities: {
|
|
9739
|
+
":id": {
|
|
9740
|
+
end: {
|
|
9741
|
+
post: {
|
|
9742
|
+
body: {};
|
|
9743
|
+
params: {
|
|
9744
|
+
id: string;
|
|
9745
|
+
};
|
|
9746
|
+
query: {};
|
|
9747
|
+
headers: {};
|
|
9748
|
+
response: {
|
|
9749
|
+
200: {
|
|
9750
|
+
coverImageUrl: string;
|
|
9751
|
+
createdAt: Date;
|
|
9752
|
+
description: string | null;
|
|
9753
|
+
endAt: Date;
|
|
9754
|
+
id: string;
|
|
9755
|
+
isVisibleOnFrontend: boolean;
|
|
9756
|
+
receiveAccountType: {
|
|
9757
|
+
id: string;
|
|
9758
|
+
key: string;
|
|
9759
|
+
name: string;
|
|
9760
|
+
isActive: boolean;
|
|
9761
|
+
};
|
|
9762
|
+
rewardAsset: {
|
|
9763
|
+
id: string;
|
|
9764
|
+
code: string;
|
|
9765
|
+
name: string;
|
|
9766
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
9767
|
+
symbol: string | null;
|
|
9768
|
+
precision: number;
|
|
9769
|
+
isActive: boolean;
|
|
9770
|
+
};
|
|
9771
|
+
rewardAssetId: string;
|
|
9772
|
+
rewardCnyEquivalent: string;
|
|
9773
|
+
sortOrder: number;
|
|
9774
|
+
startAt: Date;
|
|
9775
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
9776
|
+
title: string;
|
|
9777
|
+
updatedAt: Date;
|
|
9778
|
+
};
|
|
9779
|
+
401: "Unauthorized";
|
|
9780
|
+
403: "Forbidden: Admins only";
|
|
9781
|
+
422: {
|
|
9782
|
+
type: 'validation';
|
|
9783
|
+
on: string;
|
|
9784
|
+
summary?: string;
|
|
9785
|
+
message?: string;
|
|
9786
|
+
found?: unknown;
|
|
9787
|
+
property?: string;
|
|
9788
|
+
expected?: string;
|
|
9789
|
+
};
|
|
9790
|
+
};
|
|
9791
|
+
};
|
|
9792
|
+
};
|
|
9793
|
+
};
|
|
9794
|
+
};
|
|
9795
|
+
};
|
|
9796
|
+
} & {
|
|
9797
|
+
lock_activity: {
|
|
9798
|
+
activities: {
|
|
9799
|
+
":id": {
|
|
9800
|
+
cancel: {
|
|
9801
|
+
post: {
|
|
9802
|
+
body: {};
|
|
9803
|
+
params: {
|
|
9804
|
+
id: string;
|
|
9805
|
+
};
|
|
9806
|
+
query: {};
|
|
9807
|
+
headers: {};
|
|
9808
|
+
response: {
|
|
9809
|
+
200: {
|
|
9810
|
+
coverImageUrl: string;
|
|
9811
|
+
createdAt: Date;
|
|
9812
|
+
description: string | null;
|
|
9813
|
+
endAt: Date;
|
|
9814
|
+
id: string;
|
|
9815
|
+
isVisibleOnFrontend: boolean;
|
|
9816
|
+
receiveAccountType: {
|
|
9817
|
+
id: string;
|
|
9818
|
+
key: string;
|
|
9819
|
+
name: string;
|
|
9820
|
+
isActive: boolean;
|
|
9821
|
+
};
|
|
9822
|
+
rewardAsset: {
|
|
9823
|
+
id: string;
|
|
9824
|
+
code: string;
|
|
9825
|
+
name: string;
|
|
9826
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
9827
|
+
symbol: string | null;
|
|
9828
|
+
precision: number;
|
|
9829
|
+
isActive: boolean;
|
|
9830
|
+
};
|
|
9831
|
+
rewardAssetId: string;
|
|
9832
|
+
rewardCnyEquivalent: string;
|
|
9833
|
+
sortOrder: number;
|
|
9834
|
+
startAt: Date;
|
|
9835
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
9836
|
+
title: string;
|
|
9837
|
+
updatedAt: Date;
|
|
9838
|
+
};
|
|
9839
|
+
401: "Unauthorized";
|
|
9840
|
+
403: "Forbidden: Admins only";
|
|
9841
|
+
422: {
|
|
9842
|
+
type: 'validation';
|
|
9843
|
+
on: string;
|
|
9844
|
+
summary?: string;
|
|
9845
|
+
message?: string;
|
|
9846
|
+
found?: unknown;
|
|
9847
|
+
property?: string;
|
|
9848
|
+
expected?: string;
|
|
9849
|
+
};
|
|
9850
|
+
};
|
|
9851
|
+
};
|
|
9852
|
+
};
|
|
9853
|
+
};
|
|
9854
|
+
};
|
|
9855
|
+
};
|
|
9856
|
+
};
|
|
9410
9857
|
} & {
|
|
9411
9858
|
admin: {
|
|
9412
9859
|
kyc: {};
|
|
@@ -35,7 +35,19 @@ export declare const assetAdminRouter: Elysia<"/assets", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
38
|
+
cookie?: Record<string, {
|
|
39
|
+
domain?: string | undefined;
|
|
40
|
+
expires?: Date | undefined;
|
|
41
|
+
httpOnly?: boolean | undefined;
|
|
42
|
+
maxAge?: number | undefined;
|
|
43
|
+
path?: string | undefined;
|
|
44
|
+
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
+
partitioned?: boolean | undefined;
|
|
46
|
+
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
+
secure?: boolean | undefined;
|
|
48
|
+
secrets?: string | null | (string | null)[];
|
|
49
|
+
value?: unknown;
|
|
50
|
+
}>;
|
|
39
51
|
};
|
|
40
52
|
path: string;
|
|
41
53
|
route: string;
|
|
@@ -35,19 +35,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|
|
@@ -59,7 +59,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
59
59
|
token: string;
|
|
60
60
|
}, request: Request | undefined) => Promise<void>;
|
|
61
61
|
};
|
|
62
|
-
readonly trustedOrigins: string[];
|
|
62
|
+
readonly trustedOrigins: (request: Request | undefined) => (string | null | undefined)[];
|
|
63
63
|
readonly advanced: {
|
|
64
64
|
readonly cookiePrefix: 'r2wa';
|
|
65
65
|
readonly crossSubDomainCookies: {
|
|
@@ -35,7 +35,19 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
38
|
+
cookie?: Record<string, {
|
|
39
|
+
domain?: string | undefined;
|
|
40
|
+
expires?: Date | undefined;
|
|
41
|
+
httpOnly?: boolean | undefined;
|
|
42
|
+
maxAge?: number | undefined;
|
|
43
|
+
path?: string | undefined;
|
|
44
|
+
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
+
partitioned?: boolean | undefined;
|
|
46
|
+
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
+
secure?: boolean | undefined;
|
|
48
|
+
secrets?: string | null | (string | null)[];
|
|
49
|
+
value?: unknown;
|
|
50
|
+
}>;
|
|
39
51
|
};
|
|
40
52
|
path: string;
|
|
41
53
|
route: string;
|
package/dist/db/schemas.d.ts
CHANGED
|
@@ -35,19 +35,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|