@secrecy/trpc-api-types 1.32.0 → 1.33.0-dev.10
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/index.d.cts +361 -995
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -357,8 +357,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
357
357
|
uploadCount: bigint;
|
|
358
358
|
downloadCount: bigint;
|
|
359
359
|
size: bigint;
|
|
360
|
-
uploadBandwidth: bigint;
|
|
361
360
|
downloadBandwidth: bigint;
|
|
361
|
+
uploadBandwidth: bigint;
|
|
362
362
|
maxCount: bigint | null;
|
|
363
363
|
maxSize: bigint | null;
|
|
364
364
|
maxDownloadBandwidth: bigint | null;
|
|
@@ -391,8 +391,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
391
391
|
uploadCount: bigint;
|
|
392
392
|
downloadCount: bigint;
|
|
393
393
|
size: bigint;
|
|
394
|
-
uploadBandwidth: bigint;
|
|
395
394
|
downloadBandwidth: bigint;
|
|
395
|
+
uploadBandwidth: bigint;
|
|
396
396
|
maxCount: bigint | null;
|
|
397
397
|
maxSize: bigint | null;
|
|
398
398
|
maxDownloadBandwidth: bigint | null;
|
|
@@ -466,20 +466,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
466
466
|
appId?: string | undefined;
|
|
467
467
|
} | undefined;
|
|
468
468
|
_output_in: {
|
|
469
|
-
id: string;
|
|
470
469
|
users: number;
|
|
471
470
|
developers: number;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
471
|
+
hasDatabase: boolean;
|
|
472
|
+
storageUsage: number;
|
|
473
|
+
downloadBandwidthUsage: number;
|
|
474
|
+
uploadBandwidthUsage: number;
|
|
475
475
|
};
|
|
476
476
|
_output_out: {
|
|
477
|
-
id: string;
|
|
478
477
|
users: number;
|
|
479
478
|
developers: number;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
479
|
+
hasDatabase: boolean;
|
|
480
|
+
storageUsage: number;
|
|
481
|
+
downloadBandwidthUsage: number;
|
|
482
|
+
uploadBandwidthUsage: number;
|
|
483
483
|
};
|
|
484
484
|
}, unknown>;
|
|
485
485
|
quotas: _trpc_server.BuildProcedure<"query", {
|
|
@@ -702,18 +702,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
702
702
|
_input_in: {} | undefined;
|
|
703
703
|
_input_out: {} | undefined;
|
|
704
704
|
_output_in: {
|
|
705
|
-
codes: string[];
|
|
706
705
|
id: string;
|
|
707
|
-
|
|
708
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
706
|
+
name: string;
|
|
709
707
|
descriptorId: string;
|
|
708
|
+
stripePricesId: string | null;
|
|
709
|
+
isCustomPlan?: boolean | undefined;
|
|
710
|
+
canHaveDatabase?: boolean | undefined;
|
|
710
711
|
};
|
|
711
712
|
_output_out: {
|
|
712
|
-
codes: string[];
|
|
713
713
|
id: string;
|
|
714
|
-
|
|
715
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
714
|
+
name: string;
|
|
716
715
|
descriptorId: string;
|
|
716
|
+
isCustomPlan: boolean;
|
|
717
|
+
canHaveDatabase: boolean;
|
|
718
|
+
stripePricesId: string | null;
|
|
717
719
|
};
|
|
718
720
|
}, unknown>;
|
|
719
721
|
plans: _trpc_server.BuildProcedure<"query", {
|
|
@@ -750,7 +752,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
750
752
|
}>;
|
|
751
753
|
_meta: object;
|
|
752
754
|
_ctx_out: {
|
|
753
|
-
session:
|
|
755
|
+
session: {
|
|
756
|
+
appId: string;
|
|
757
|
+
appPlanId: string;
|
|
758
|
+
appFakeUserId: string | undefined;
|
|
759
|
+
sessionId: string;
|
|
760
|
+
accountId: string;
|
|
761
|
+
accountInfosId: string;
|
|
762
|
+
accountRole: _prisma_client.AccountRole;
|
|
763
|
+
userId: string;
|
|
764
|
+
userRole: _prisma_client.UserRole;
|
|
765
|
+
userPlan: _prisma_client.PlanKind;
|
|
766
|
+
isCare?: boolean;
|
|
767
|
+
};
|
|
754
768
|
req: {
|
|
755
769
|
headers: Headers;
|
|
756
770
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -761,14 +775,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
761
775
|
locale: Locales;
|
|
762
776
|
ls: TranslationFunctions;
|
|
763
777
|
};
|
|
764
|
-
_input_in: {
|
|
765
|
-
|
|
778
|
+
_input_in: {
|
|
779
|
+
appId?: string | undefined;
|
|
780
|
+
};
|
|
781
|
+
_input_out: {
|
|
782
|
+
appId?: string | undefined;
|
|
783
|
+
};
|
|
766
784
|
_output_in: ({
|
|
767
|
-
codes: string[];
|
|
768
785
|
id: string;
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
786
|
+
name: string;
|
|
787
|
+
isCustomPlan?: boolean | undefined;
|
|
788
|
+
canHaveDatabase?: boolean | undefined;
|
|
772
789
|
} & {
|
|
773
790
|
descriptor: {
|
|
774
791
|
devsBase: bigint | null;
|
|
@@ -794,13 +811,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
794
811
|
};
|
|
795
812
|
} & {
|
|
796
813
|
price: number;
|
|
814
|
+
} & {
|
|
815
|
+
isCurrent: boolean;
|
|
797
816
|
})[];
|
|
798
817
|
_output_out: ({
|
|
799
|
-
codes: string[];
|
|
800
818
|
id: string;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
819
|
+
name: string;
|
|
820
|
+
isCustomPlan: boolean;
|
|
821
|
+
canHaveDatabase: boolean;
|
|
804
822
|
} & {
|
|
805
823
|
descriptor: {
|
|
806
824
|
devsBase: bigint | null;
|
|
@@ -826,6 +844,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
826
844
|
};
|
|
827
845
|
} & {
|
|
828
846
|
price: number;
|
|
847
|
+
} & {
|
|
848
|
+
isCurrent: boolean;
|
|
829
849
|
})[];
|
|
830
850
|
}, unknown>;
|
|
831
851
|
settings: _trpc_server.BuildProcedure<"query", {
|
|
@@ -1684,13 +1704,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1684
1704
|
email: string;
|
|
1685
1705
|
};
|
|
1686
1706
|
_output_in: {
|
|
1687
|
-
srpSalt: string;
|
|
1688
1707
|
pub: string;
|
|
1708
|
+
srpSalt: string;
|
|
1689
1709
|
loginId: string;
|
|
1690
1710
|
};
|
|
1691
1711
|
_output_out: {
|
|
1692
|
-
srpSalt: string;
|
|
1693
1712
|
pub: string;
|
|
1713
|
+
srpSalt: string;
|
|
1694
1714
|
loginId: string;
|
|
1695
1715
|
};
|
|
1696
1716
|
}, unknown>;
|
|
@@ -2509,7 +2529,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2509
2529
|
})[];
|
|
2510
2530
|
}, unknown>;
|
|
2511
2531
|
}>;
|
|
2512
|
-
|
|
2532
|
+
cloud: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
2513
2533
|
ctx: {
|
|
2514
2534
|
req: {
|
|
2515
2535
|
headers: Headers;
|
|
@@ -2540,8 +2560,41 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2540
2560
|
};
|
|
2541
2561
|
transformer: typeof superjson.default;
|
|
2542
2562
|
}>, {
|
|
2543
|
-
|
|
2544
|
-
|
|
2563
|
+
addDataToHistory: _trpc_server.BuildProcedure<"mutation", {
|
|
2564
|
+
_config: _trpc_server.RootConfig<{
|
|
2565
|
+
ctx: {
|
|
2566
|
+
req: {
|
|
2567
|
+
headers: Headers;
|
|
2568
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2569
|
+
};
|
|
2570
|
+
res: {
|
|
2571
|
+
headers: Headers;
|
|
2572
|
+
};
|
|
2573
|
+
session: SecrecySession | null;
|
|
2574
|
+
locale: Locales;
|
|
2575
|
+
ls: TranslationFunctions;
|
|
2576
|
+
};
|
|
2577
|
+
meta: object;
|
|
2578
|
+
errorShape: {
|
|
2579
|
+
message: string;
|
|
2580
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2581
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2582
|
+
} | {
|
|
2583
|
+
data: {
|
|
2584
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2585
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2586
|
+
httpStatus: number;
|
|
2587
|
+
path?: string;
|
|
2588
|
+
stack?: string;
|
|
2589
|
+
};
|
|
2590
|
+
message: string;
|
|
2591
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2592
|
+
};
|
|
2593
|
+
transformer: typeof superjson.default;
|
|
2594
|
+
}>;
|
|
2595
|
+
_meta: object;
|
|
2596
|
+
_ctx_out: {
|
|
2597
|
+
session: SecrecySessionWithApp;
|
|
2545
2598
|
req: {
|
|
2546
2599
|
headers: Headers;
|
|
2547
2600
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2549,607 +2602,116 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2549
2602
|
res: {
|
|
2550
2603
|
headers: Headers;
|
|
2551
2604
|
};
|
|
2552
|
-
session: SecrecySession | null;
|
|
2553
2605
|
locale: Locales;
|
|
2554
2606
|
ls: TranslationFunctions;
|
|
2555
2607
|
};
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2560
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2561
|
-
} | {
|
|
2562
|
-
data: {
|
|
2563
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2564
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2565
|
-
httpStatus: number;
|
|
2566
|
-
path?: string;
|
|
2567
|
-
stack?: string;
|
|
2568
|
-
};
|
|
2569
|
-
message: string;
|
|
2570
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2608
|
+
_input_in: {
|
|
2609
|
+
dataId: string;
|
|
2610
|
+
nodeId: string;
|
|
2571
2611
|
};
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
};
|
|
2601
|
-
message: string;
|
|
2602
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2603
|
-
};
|
|
2604
|
-
transformer: typeof superjson.default;
|
|
2605
|
-
}>;
|
|
2606
|
-
_meta: object;
|
|
2607
|
-
_ctx_out: {
|
|
2608
|
-
session: SecrecySession;
|
|
2609
|
-
req: {
|
|
2610
|
-
headers: Headers;
|
|
2611
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2612
|
-
};
|
|
2613
|
-
res: {
|
|
2614
|
-
headers: Headers;
|
|
2615
|
-
};
|
|
2616
|
-
locale: Locales;
|
|
2617
|
-
ls: TranslationFunctions;
|
|
2612
|
+
_input_out: {
|
|
2613
|
+
dataId: string;
|
|
2614
|
+
nodeId: string;
|
|
2615
|
+
};
|
|
2616
|
+
_output_in: {
|
|
2617
|
+
id: string;
|
|
2618
|
+
createdAt: Date;
|
|
2619
|
+
deletedAt: Date | null;
|
|
2620
|
+
name: string;
|
|
2621
|
+
updatedAt: Date;
|
|
2622
|
+
type: "FILE" | "FOLDER";
|
|
2623
|
+
isFavorite: boolean;
|
|
2624
|
+
parentId: string | null;
|
|
2625
|
+
currentDataId: string | null;
|
|
2626
|
+
} & {
|
|
2627
|
+
users: [{
|
|
2628
|
+
id: string;
|
|
2629
|
+
lastname: string;
|
|
2630
|
+
firstname: string;
|
|
2631
|
+
avatar: string | null;
|
|
2632
|
+
isSearchable: boolean;
|
|
2633
|
+
}, "admin" | "write" | "read"][];
|
|
2634
|
+
createdBy: {
|
|
2635
|
+
id: string;
|
|
2636
|
+
lastname: string;
|
|
2637
|
+
firstname: string;
|
|
2638
|
+
avatar: string | null;
|
|
2639
|
+
isSearchable: boolean;
|
|
2618
2640
|
};
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
internationalPrescriberNumber: string | null;
|
|
2625
|
-
institution: string | null;
|
|
2626
|
-
rppsNumber: string;
|
|
2627
|
-
adeliNumber: string;
|
|
2628
|
-
ssNumber: string;
|
|
2641
|
+
access: {
|
|
2642
|
+
rights: "admin" | "write" | "read";
|
|
2643
|
+
nameKey: string | null;
|
|
2644
|
+
isRoot: boolean;
|
|
2645
|
+
sharedByPubKey: string;
|
|
2629
2646
|
};
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
activePrescriber: boolean;
|
|
2635
|
-
internationalPrescriberNumber: string | null;
|
|
2636
|
-
institution: string | null;
|
|
2637
|
-
rppsNumber: string;
|
|
2638
|
-
adeliNumber: string;
|
|
2639
|
-
ssNumber: string;
|
|
2647
|
+
} & {
|
|
2648
|
+
sizes: {
|
|
2649
|
+
size: bigint;
|
|
2650
|
+
sizeBefore: bigint;
|
|
2640
2651
|
};
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2652
|
+
} & {
|
|
2653
|
+
current: {
|
|
2654
|
+
id: string;
|
|
2655
|
+
createdAt: Date;
|
|
2656
|
+
size: bigint;
|
|
2657
|
+
md5: string;
|
|
2658
|
+
storageType: "s3" | "lite";
|
|
2659
|
+
sizeBefore: bigint;
|
|
2660
|
+
md5Encrypted: string;
|
|
2661
|
+
userAppUserId: string;
|
|
2662
|
+
userAppAppId: string;
|
|
2663
|
+
validatedAt: Date | null;
|
|
2664
|
+
access: {
|
|
2665
|
+
key: string;
|
|
2666
|
+
sharedByPubKey: string;
|
|
2667
|
+
};
|
|
2668
|
+
} | null;
|
|
2669
|
+
history: {
|
|
2670
|
+
id: string;
|
|
2671
|
+
createdAt: Date;
|
|
2672
|
+
size: bigint;
|
|
2673
|
+
md5: string;
|
|
2674
|
+
storageType: "s3" | "lite";
|
|
2675
|
+
sizeBefore: bigint;
|
|
2676
|
+
md5Encrypted: string;
|
|
2677
|
+
userAppUserId: string;
|
|
2678
|
+
userAppAppId: string;
|
|
2679
|
+
validatedAt: Date | null;
|
|
2680
|
+
access: {
|
|
2681
|
+
key: string;
|
|
2682
|
+
sharedByPubKey: string;
|
|
2683
|
+
};
|
|
2684
|
+
}[];
|
|
2685
|
+
parent: ({
|
|
2686
|
+
id: string;
|
|
2687
|
+
createdAt: Date;
|
|
2688
|
+
deletedAt: Date | null;
|
|
2689
|
+
name: string;
|
|
2690
|
+
updatedAt: Date;
|
|
2691
|
+
type: "FILE" | "FOLDER";
|
|
2692
|
+
isFavorite: boolean;
|
|
2693
|
+
parentId: string | null;
|
|
2694
|
+
currentDataId: string | null;
|
|
2645
2695
|
} & {
|
|
2646
|
-
|
|
2696
|
+
users: [{
|
|
2647
2697
|
id: string;
|
|
2648
2698
|
lastname: string;
|
|
2649
2699
|
firstname: string;
|
|
2650
2700
|
avatar: string | null;
|
|
2651
2701
|
isSearchable: boolean;
|
|
2652
|
-
};
|
|
2653
|
-
|
|
2654
|
-
_output_out: {
|
|
2655
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2656
|
-
job: string;
|
|
2657
|
-
specialties: string[];
|
|
2658
|
-
} & {
|
|
2659
|
-
user: {
|
|
2702
|
+
}, "admin" | "write" | "read"][];
|
|
2703
|
+
createdBy: {
|
|
2660
2704
|
id: string;
|
|
2661
2705
|
lastname: string;
|
|
2662
2706
|
firstname: string;
|
|
2663
2707
|
avatar: string | null;
|
|
2664
2708
|
isSearchable: boolean;
|
|
2665
2709
|
};
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
req: {
|
|
2672
|
-
headers: Headers;
|
|
2673
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2674
|
-
};
|
|
2675
|
-
res: {
|
|
2676
|
-
headers: Headers;
|
|
2677
|
-
};
|
|
2678
|
-
session: SecrecySession | null;
|
|
2679
|
-
locale: Locales;
|
|
2680
|
-
ls: TranslationFunctions;
|
|
2681
|
-
};
|
|
2682
|
-
meta: object;
|
|
2683
|
-
errorShape: {
|
|
2684
|
-
message: string;
|
|
2685
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2686
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2687
|
-
} | {
|
|
2688
|
-
data: {
|
|
2689
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2690
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2691
|
-
httpStatus: number;
|
|
2692
|
-
path?: string;
|
|
2693
|
-
stack?: string;
|
|
2694
|
-
};
|
|
2695
|
-
message: string;
|
|
2696
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2697
|
-
};
|
|
2698
|
-
transformer: typeof superjson.default;
|
|
2699
|
-
}>;
|
|
2700
|
-
_meta: object;
|
|
2701
|
-
_ctx_out: {
|
|
2702
|
-
session: SecrecySession;
|
|
2703
|
-
req: {
|
|
2704
|
-
headers: Headers;
|
|
2705
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2706
|
-
};
|
|
2707
|
-
res: {
|
|
2708
|
-
headers: Headers;
|
|
2709
|
-
};
|
|
2710
|
-
locale: Locales;
|
|
2711
|
-
ls: TranslationFunctions;
|
|
2712
|
-
};
|
|
2713
|
-
_input_in: {
|
|
2714
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2715
|
-
job: string;
|
|
2716
|
-
specialties: string[];
|
|
2717
|
-
activePrescriber: boolean;
|
|
2718
|
-
internationalPrescriberNumber: string | null;
|
|
2719
|
-
institution: string | null;
|
|
2720
|
-
rppsNumber: string;
|
|
2721
|
-
adeliNumber: string;
|
|
2722
|
-
ssNumber: string;
|
|
2723
|
-
};
|
|
2724
|
-
_input_out: {
|
|
2725
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2726
|
-
job: string;
|
|
2727
|
-
specialties: string[];
|
|
2728
|
-
activePrescriber: boolean;
|
|
2729
|
-
internationalPrescriberNumber: string | null;
|
|
2730
|
-
institution: string | null;
|
|
2731
|
-
rppsNumber: string;
|
|
2732
|
-
adeliNumber: string;
|
|
2733
|
-
ssNumber: string;
|
|
2734
|
-
};
|
|
2735
|
-
_output_in: {
|
|
2736
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2737
|
-
job: string;
|
|
2738
|
-
specialties: string[];
|
|
2739
|
-
} & {
|
|
2740
|
-
user: {
|
|
2741
|
-
id: string;
|
|
2742
|
-
lastname: string;
|
|
2743
|
-
firstname: string;
|
|
2744
|
-
avatar: string | null;
|
|
2745
|
-
isSearchable: boolean;
|
|
2746
|
-
};
|
|
2747
|
-
};
|
|
2748
|
-
_output_out: {
|
|
2749
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2750
|
-
job: string;
|
|
2751
|
-
specialties: string[];
|
|
2752
|
-
} & {
|
|
2753
|
-
user: {
|
|
2754
|
-
id: string;
|
|
2755
|
-
lastname: string;
|
|
2756
|
-
firstname: string;
|
|
2757
|
-
avatar: string | null;
|
|
2758
|
-
isSearchable: boolean;
|
|
2759
|
-
};
|
|
2760
|
-
};
|
|
2761
|
-
}, unknown>;
|
|
2762
|
-
delete: _trpc_server.BuildProcedure<"mutation", {
|
|
2763
|
-
_config: _trpc_server.RootConfig<{
|
|
2764
|
-
ctx: {
|
|
2765
|
-
req: {
|
|
2766
|
-
headers: Headers;
|
|
2767
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2768
|
-
};
|
|
2769
|
-
res: {
|
|
2770
|
-
headers: Headers;
|
|
2771
|
-
};
|
|
2772
|
-
session: SecrecySession | null;
|
|
2773
|
-
locale: Locales;
|
|
2774
|
-
ls: TranslationFunctions;
|
|
2775
|
-
};
|
|
2776
|
-
meta: object;
|
|
2777
|
-
errorShape: {
|
|
2778
|
-
message: string;
|
|
2779
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2780
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2781
|
-
} | {
|
|
2782
|
-
data: {
|
|
2783
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2784
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2785
|
-
httpStatus: number;
|
|
2786
|
-
path?: string;
|
|
2787
|
-
stack?: string;
|
|
2788
|
-
};
|
|
2789
|
-
message: string;
|
|
2790
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2791
|
-
};
|
|
2792
|
-
transformer: typeof superjson.default;
|
|
2793
|
-
}>;
|
|
2794
|
-
_meta: object;
|
|
2795
|
-
_ctx_out: {
|
|
2796
|
-
session: SecrecySession;
|
|
2797
|
-
req: {
|
|
2798
|
-
headers: Headers;
|
|
2799
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2800
|
-
};
|
|
2801
|
-
res: {
|
|
2802
|
-
headers: Headers;
|
|
2803
|
-
};
|
|
2804
|
-
locale: Locales;
|
|
2805
|
-
ls: TranslationFunctions;
|
|
2806
|
-
};
|
|
2807
|
-
_input_in: {};
|
|
2808
|
-
_input_out: {};
|
|
2809
|
-
_output_in: {
|
|
2810
|
-
success: boolean;
|
|
2811
|
-
};
|
|
2812
|
-
_output_out: {
|
|
2813
|
-
success: boolean;
|
|
2814
|
-
};
|
|
2815
|
-
}, unknown>;
|
|
2816
|
-
get: _trpc_server.BuildProcedure<"query", {
|
|
2817
|
-
_config: _trpc_server.RootConfig<{
|
|
2818
|
-
ctx: {
|
|
2819
|
-
req: {
|
|
2820
|
-
headers: Headers;
|
|
2821
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2822
|
-
};
|
|
2823
|
-
res: {
|
|
2824
|
-
headers: Headers;
|
|
2825
|
-
};
|
|
2826
|
-
session: SecrecySession | null;
|
|
2827
|
-
locale: Locales;
|
|
2828
|
-
ls: TranslationFunctions;
|
|
2829
|
-
};
|
|
2830
|
-
meta: object;
|
|
2831
|
-
errorShape: {
|
|
2832
|
-
message: string;
|
|
2833
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2834
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2835
|
-
} | {
|
|
2836
|
-
data: {
|
|
2837
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2838
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2839
|
-
httpStatus: number;
|
|
2840
|
-
path?: string;
|
|
2841
|
-
stack?: string;
|
|
2842
|
-
};
|
|
2843
|
-
message: string;
|
|
2844
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2845
|
-
};
|
|
2846
|
-
transformer: typeof superjson.default;
|
|
2847
|
-
}>;
|
|
2848
|
-
_meta: object;
|
|
2849
|
-
_ctx_out: {
|
|
2850
|
-
session: SecrecySession;
|
|
2851
|
-
req: {
|
|
2852
|
-
headers: Headers;
|
|
2853
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2854
|
-
};
|
|
2855
|
-
res: {
|
|
2856
|
-
headers: Headers;
|
|
2857
|
-
};
|
|
2858
|
-
locale: Locales;
|
|
2859
|
-
ls: TranslationFunctions;
|
|
2860
|
-
};
|
|
2861
|
-
_input_in: {
|
|
2862
|
-
id: string;
|
|
2863
|
-
};
|
|
2864
|
-
_input_out: {
|
|
2865
|
-
id: string;
|
|
2866
|
-
};
|
|
2867
|
-
_output_in: {
|
|
2868
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2869
|
-
job: string;
|
|
2870
|
-
specialties: string[];
|
|
2871
|
-
} & {
|
|
2872
|
-
user: {
|
|
2873
|
-
id: string;
|
|
2874
|
-
lastname: string;
|
|
2875
|
-
firstname: string;
|
|
2876
|
-
avatar: string | null;
|
|
2877
|
-
isSearchable: boolean;
|
|
2878
|
-
};
|
|
2879
|
-
};
|
|
2880
|
-
_output_out: {
|
|
2881
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2882
|
-
job: string;
|
|
2883
|
-
specialties: string[];
|
|
2884
|
-
} & {
|
|
2885
|
-
user: {
|
|
2886
|
-
id: string;
|
|
2887
|
-
lastname: string;
|
|
2888
|
-
firstname: string;
|
|
2889
|
-
avatar: string | null;
|
|
2890
|
-
isSearchable: boolean;
|
|
2891
|
-
};
|
|
2892
|
-
};
|
|
2893
|
-
}, unknown>;
|
|
2894
|
-
list: _trpc_server.BuildProcedure<"query", {
|
|
2895
|
-
_config: _trpc_server.RootConfig<{
|
|
2896
|
-
ctx: {
|
|
2897
|
-
req: {
|
|
2898
|
-
headers: Headers;
|
|
2899
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2900
|
-
};
|
|
2901
|
-
res: {
|
|
2902
|
-
headers: Headers;
|
|
2903
|
-
};
|
|
2904
|
-
session: SecrecySession | null;
|
|
2905
|
-
locale: Locales;
|
|
2906
|
-
ls: TranslationFunctions;
|
|
2907
|
-
};
|
|
2908
|
-
meta: object;
|
|
2909
|
-
errorShape: {
|
|
2910
|
-
message: string;
|
|
2911
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2912
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2913
|
-
} | {
|
|
2914
|
-
data: {
|
|
2915
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2916
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2917
|
-
httpStatus: number;
|
|
2918
|
-
path?: string;
|
|
2919
|
-
stack?: string;
|
|
2920
|
-
};
|
|
2921
|
-
message: string;
|
|
2922
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2923
|
-
};
|
|
2924
|
-
transformer: typeof superjson.default;
|
|
2925
|
-
}>;
|
|
2926
|
-
_meta: object;
|
|
2927
|
-
_ctx_out: {
|
|
2928
|
-
session: SecrecySession;
|
|
2929
|
-
req: {
|
|
2930
|
-
headers: Headers;
|
|
2931
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2932
|
-
};
|
|
2933
|
-
res: {
|
|
2934
|
-
headers: Headers;
|
|
2935
|
-
};
|
|
2936
|
-
locale: Locales;
|
|
2937
|
-
ls: TranslationFunctions;
|
|
2938
|
-
};
|
|
2939
|
-
_input_in: {};
|
|
2940
|
-
_input_out: {};
|
|
2941
|
-
_output_in: ({
|
|
2942
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2943
|
-
job: string;
|
|
2944
|
-
specialties: string[];
|
|
2945
|
-
} & {
|
|
2946
|
-
user: {
|
|
2947
|
-
id: string;
|
|
2948
|
-
lastname: string;
|
|
2949
|
-
firstname: string;
|
|
2950
|
-
avatar: string | null;
|
|
2951
|
-
isSearchable: boolean;
|
|
2952
|
-
};
|
|
2953
|
-
})[];
|
|
2954
|
-
_output_out: ({
|
|
2955
|
-
status: "active" | "inactive" | "retired" | "suspended";
|
|
2956
|
-
job: string;
|
|
2957
|
-
specialties: string[];
|
|
2958
|
-
} & {
|
|
2959
|
-
user: {
|
|
2960
|
-
id: string;
|
|
2961
|
-
lastname: string;
|
|
2962
|
-
firstname: string;
|
|
2963
|
-
avatar: string | null;
|
|
2964
|
-
isSearchable: boolean;
|
|
2965
|
-
};
|
|
2966
|
-
})[];
|
|
2967
|
-
}, unknown>;
|
|
2968
|
-
}>;
|
|
2969
|
-
}>;
|
|
2970
|
-
cloud: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
2971
|
-
ctx: {
|
|
2972
|
-
req: {
|
|
2973
|
-
headers: Headers;
|
|
2974
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2975
|
-
};
|
|
2976
|
-
res: {
|
|
2977
|
-
headers: Headers;
|
|
2978
|
-
};
|
|
2979
|
-
session: SecrecySession | null;
|
|
2980
|
-
locale: Locales;
|
|
2981
|
-
ls: TranslationFunctions;
|
|
2982
|
-
};
|
|
2983
|
-
meta: object;
|
|
2984
|
-
errorShape: {
|
|
2985
|
-
message: string;
|
|
2986
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2987
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2988
|
-
} | {
|
|
2989
|
-
data: {
|
|
2990
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2991
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2992
|
-
httpStatus: number;
|
|
2993
|
-
path?: string;
|
|
2994
|
-
stack?: string;
|
|
2995
|
-
};
|
|
2996
|
-
message: string;
|
|
2997
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2998
|
-
};
|
|
2999
|
-
transformer: typeof superjson.default;
|
|
3000
|
-
}>, {
|
|
3001
|
-
addDataToHistory: _trpc_server.BuildProcedure<"mutation", {
|
|
3002
|
-
_config: _trpc_server.RootConfig<{
|
|
3003
|
-
ctx: {
|
|
3004
|
-
req: {
|
|
3005
|
-
headers: Headers;
|
|
3006
|
-
body: ReadableStream<Uint8Array> | null;
|
|
3007
|
-
};
|
|
3008
|
-
res: {
|
|
3009
|
-
headers: Headers;
|
|
3010
|
-
};
|
|
3011
|
-
session: SecrecySession | null;
|
|
3012
|
-
locale: Locales;
|
|
3013
|
-
ls: TranslationFunctions;
|
|
3014
|
-
};
|
|
3015
|
-
meta: object;
|
|
3016
|
-
errorShape: {
|
|
3017
|
-
message: string;
|
|
3018
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
3019
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3020
|
-
} | {
|
|
3021
|
-
data: {
|
|
3022
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
3023
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
3024
|
-
httpStatus: number;
|
|
3025
|
-
path?: string;
|
|
3026
|
-
stack?: string;
|
|
3027
|
-
};
|
|
3028
|
-
message: string;
|
|
3029
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
3030
|
-
};
|
|
3031
|
-
transformer: typeof superjson.default;
|
|
3032
|
-
}>;
|
|
3033
|
-
_meta: object;
|
|
3034
|
-
_ctx_out: {
|
|
3035
|
-
session: SecrecySessionWithApp;
|
|
3036
|
-
req: {
|
|
3037
|
-
headers: Headers;
|
|
3038
|
-
body: ReadableStream<Uint8Array> | null;
|
|
3039
|
-
};
|
|
3040
|
-
res: {
|
|
3041
|
-
headers: Headers;
|
|
3042
|
-
};
|
|
3043
|
-
locale: Locales;
|
|
3044
|
-
ls: TranslationFunctions;
|
|
3045
|
-
};
|
|
3046
|
-
_input_in: {
|
|
3047
|
-
dataId: string;
|
|
3048
|
-
nodeId: string;
|
|
3049
|
-
};
|
|
3050
|
-
_input_out: {
|
|
3051
|
-
dataId: string;
|
|
3052
|
-
nodeId: string;
|
|
3053
|
-
};
|
|
3054
|
-
_output_in: {
|
|
3055
|
-
id: string;
|
|
3056
|
-
createdAt: Date;
|
|
3057
|
-
deletedAt: Date | null;
|
|
3058
|
-
name: string;
|
|
3059
|
-
updatedAt: Date;
|
|
3060
|
-
type: "FILE" | "FOLDER";
|
|
3061
|
-
parentId: string | null;
|
|
3062
|
-
isFavorite: boolean;
|
|
3063
|
-
currentDataId: string | null;
|
|
3064
|
-
} & {
|
|
3065
|
-
users: [{
|
|
3066
|
-
id: string;
|
|
3067
|
-
lastname: string;
|
|
3068
|
-
firstname: string;
|
|
3069
|
-
avatar: string | null;
|
|
3070
|
-
isSearchable: boolean;
|
|
3071
|
-
}, "admin" | "write" | "read"][];
|
|
3072
|
-
createdBy: {
|
|
3073
|
-
id: string;
|
|
3074
|
-
lastname: string;
|
|
3075
|
-
firstname: string;
|
|
3076
|
-
avatar: string | null;
|
|
3077
|
-
isSearchable: boolean;
|
|
3078
|
-
};
|
|
3079
|
-
access: {
|
|
3080
|
-
rights: "admin" | "write" | "read";
|
|
3081
|
-
nameKey: string | null;
|
|
3082
|
-
isRoot: boolean;
|
|
3083
|
-
sharedByPubKey: string;
|
|
3084
|
-
};
|
|
3085
|
-
} & {
|
|
3086
|
-
sizes: {
|
|
3087
|
-
size: bigint;
|
|
3088
|
-
sizeBefore: bigint;
|
|
3089
|
-
};
|
|
3090
|
-
} & {
|
|
3091
|
-
current: {
|
|
3092
|
-
id: string;
|
|
3093
|
-
createdAt: Date;
|
|
3094
|
-
size: bigint;
|
|
3095
|
-
md5: string;
|
|
3096
|
-
storageType: "s3" | "lite";
|
|
3097
|
-
sizeBefore: bigint;
|
|
3098
|
-
md5Encrypted: string;
|
|
3099
|
-
userAppUserId: string;
|
|
3100
|
-
userAppAppId: string;
|
|
3101
|
-
validatedAt: Date | null;
|
|
3102
|
-
access: {
|
|
3103
|
-
key: string;
|
|
3104
|
-
sharedByPubKey: string;
|
|
3105
|
-
};
|
|
3106
|
-
} | null;
|
|
3107
|
-
history: {
|
|
3108
|
-
id: string;
|
|
3109
|
-
createdAt: Date;
|
|
3110
|
-
size: bigint;
|
|
3111
|
-
md5: string;
|
|
3112
|
-
storageType: "s3" | "lite";
|
|
3113
|
-
sizeBefore: bigint;
|
|
3114
|
-
md5Encrypted: string;
|
|
3115
|
-
userAppUserId: string;
|
|
3116
|
-
userAppAppId: string;
|
|
3117
|
-
validatedAt: Date | null;
|
|
3118
|
-
access: {
|
|
3119
|
-
key: string;
|
|
3120
|
-
sharedByPubKey: string;
|
|
3121
|
-
};
|
|
3122
|
-
}[];
|
|
3123
|
-
parent: ({
|
|
3124
|
-
id: string;
|
|
3125
|
-
createdAt: Date;
|
|
3126
|
-
deletedAt: Date | null;
|
|
3127
|
-
name: string;
|
|
3128
|
-
updatedAt: Date;
|
|
3129
|
-
type: "FILE" | "FOLDER";
|
|
3130
|
-
parentId: string | null;
|
|
3131
|
-
isFavorite: boolean;
|
|
3132
|
-
currentDataId: string | null;
|
|
3133
|
-
} & {
|
|
3134
|
-
users: [{
|
|
3135
|
-
id: string;
|
|
3136
|
-
lastname: string;
|
|
3137
|
-
firstname: string;
|
|
3138
|
-
avatar: string | null;
|
|
3139
|
-
isSearchable: boolean;
|
|
3140
|
-
}, "admin" | "write" | "read"][];
|
|
3141
|
-
createdBy: {
|
|
3142
|
-
id: string;
|
|
3143
|
-
lastname: string;
|
|
3144
|
-
firstname: string;
|
|
3145
|
-
avatar: string | null;
|
|
3146
|
-
isSearchable: boolean;
|
|
3147
|
-
};
|
|
3148
|
-
access: {
|
|
3149
|
-
rights: "admin" | "write" | "read";
|
|
3150
|
-
nameKey: string | null;
|
|
3151
|
-
isRoot: boolean;
|
|
3152
|
-
sharedByPubKey: string;
|
|
2710
|
+
access: {
|
|
2711
|
+
rights: "admin" | "write" | "read";
|
|
2712
|
+
nameKey: string | null;
|
|
2713
|
+
isRoot: boolean;
|
|
2714
|
+
sharedByPubKey: string;
|
|
3153
2715
|
};
|
|
3154
2716
|
}) | null;
|
|
3155
2717
|
children: ({
|
|
@@ -3159,8 +2721,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3159
2721
|
name: string;
|
|
3160
2722
|
updatedAt: Date;
|
|
3161
2723
|
type: "FILE" | "FOLDER";
|
|
3162
|
-
parentId: string | null;
|
|
3163
2724
|
isFavorite: boolean;
|
|
2725
|
+
parentId: string | null;
|
|
3164
2726
|
currentDataId: string | null;
|
|
3165
2727
|
} & {
|
|
3166
2728
|
users: [{
|
|
@@ -3203,8 +2765,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3203
2765
|
name: string;
|
|
3204
2766
|
updatedAt: Date;
|
|
3205
2767
|
type: "FILE" | "FOLDER";
|
|
3206
|
-
parentId: string | null;
|
|
3207
2768
|
isFavorite: boolean;
|
|
2769
|
+
parentId: string | null;
|
|
3208
2770
|
currentDataId: string | null;
|
|
3209
2771
|
} & {
|
|
3210
2772
|
users: [{
|
|
@@ -3272,8 +2834,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3272
2834
|
name: string;
|
|
3273
2835
|
updatedAt: Date;
|
|
3274
2836
|
type: "FILE" | "FOLDER";
|
|
3275
|
-
parentId: string | null;
|
|
3276
2837
|
isFavorite: boolean;
|
|
2838
|
+
parentId: string | null;
|
|
3277
2839
|
currentDataId: string | null;
|
|
3278
2840
|
} & {
|
|
3279
2841
|
users: [{
|
|
@@ -3304,8 +2866,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3304
2866
|
name: string;
|
|
3305
2867
|
updatedAt: Date;
|
|
3306
2868
|
type: "FILE" | "FOLDER";
|
|
3307
|
-
parentId: string | null;
|
|
3308
2869
|
isFavorite: boolean;
|
|
2870
|
+
parentId: string | null;
|
|
3309
2871
|
currentDataId: string | null;
|
|
3310
2872
|
} & {
|
|
3311
2873
|
users: [{
|
|
@@ -3896,15 +3458,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3896
3458
|
_input_in: {
|
|
3897
3459
|
key: string;
|
|
3898
3460
|
dataId: string;
|
|
3899
|
-
nodeId: string | null;
|
|
3900
3461
|
nameKey: string;
|
|
3462
|
+
nodeId: string | null;
|
|
3901
3463
|
fileName: string;
|
|
3902
3464
|
};
|
|
3903
3465
|
_input_out: {
|
|
3904
3466
|
key: string;
|
|
3905
3467
|
dataId: string;
|
|
3906
|
-
nodeId: string | null;
|
|
3907
3468
|
nameKey: string;
|
|
3469
|
+
nodeId: string | null;
|
|
3908
3470
|
fileName: string;
|
|
3909
3471
|
};
|
|
3910
3472
|
_output_in: {
|
|
@@ -3914,8 +3476,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3914
3476
|
name: string;
|
|
3915
3477
|
updatedAt: Date;
|
|
3916
3478
|
type: "FILE" | "FOLDER";
|
|
3917
|
-
parentId: string | null;
|
|
3918
3479
|
isFavorite: boolean;
|
|
3480
|
+
parentId: string | null;
|
|
3919
3481
|
currentDataId: string | null;
|
|
3920
3482
|
} & {
|
|
3921
3483
|
users: [{
|
|
@@ -3983,8 +3545,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3983
3545
|
name: string;
|
|
3984
3546
|
updatedAt: Date;
|
|
3985
3547
|
type: "FILE" | "FOLDER";
|
|
3986
|
-
parentId: string | null;
|
|
3987
3548
|
isFavorite: boolean;
|
|
3549
|
+
parentId: string | null;
|
|
3988
3550
|
currentDataId: string | null;
|
|
3989
3551
|
} & {
|
|
3990
3552
|
users: [{
|
|
@@ -4015,8 +3577,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4015
3577
|
name: string;
|
|
4016
3578
|
updatedAt: Date;
|
|
4017
3579
|
type: "FILE" | "FOLDER";
|
|
4018
|
-
parentId: string | null;
|
|
4019
3580
|
isFavorite: boolean;
|
|
3581
|
+
parentId: string | null;
|
|
4020
3582
|
currentDataId: string | null;
|
|
4021
3583
|
} & {
|
|
4022
3584
|
users: [{
|
|
@@ -4059,8 +3621,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4059
3621
|
name: string;
|
|
4060
3622
|
updatedAt: Date;
|
|
4061
3623
|
type: "FILE" | "FOLDER";
|
|
4062
|
-
parentId: string | null;
|
|
4063
3624
|
isFavorite: boolean;
|
|
3625
|
+
parentId: string | null;
|
|
4064
3626
|
currentDataId: string | null;
|
|
4065
3627
|
} & {
|
|
4066
3628
|
users: [{
|
|
@@ -4128,8 +3690,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4128
3690
|
name: string;
|
|
4129
3691
|
updatedAt: Date;
|
|
4130
3692
|
type: "FILE" | "FOLDER";
|
|
4131
|
-
parentId: string | null;
|
|
4132
3693
|
isFavorite: boolean;
|
|
3694
|
+
parentId: string | null;
|
|
4133
3695
|
currentDataId: string | null;
|
|
4134
3696
|
} & {
|
|
4135
3697
|
users: [{
|
|
@@ -4160,8 +3722,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4160
3722
|
name: string;
|
|
4161
3723
|
updatedAt: Date;
|
|
4162
3724
|
type: "FILE" | "FOLDER";
|
|
4163
|
-
parentId: string | null;
|
|
4164
3725
|
isFavorite: boolean;
|
|
3726
|
+
parentId: string | null;
|
|
4165
3727
|
currentDataId: string | null;
|
|
4166
3728
|
} & {
|
|
4167
3729
|
users: [{
|
|
@@ -4781,13 +4343,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4781
4343
|
};
|
|
4782
4344
|
_input_in: {
|
|
4783
4345
|
name: string;
|
|
4784
|
-
parentId: string | null;
|
|
4785
4346
|
nameKey: string | null;
|
|
4347
|
+
parentId: string | null;
|
|
4786
4348
|
};
|
|
4787
4349
|
_input_out: {
|
|
4788
4350
|
name: string;
|
|
4789
|
-
parentId: string | null;
|
|
4790
4351
|
nameKey: string | null;
|
|
4352
|
+
parentId: string | null;
|
|
4791
4353
|
};
|
|
4792
4354
|
_output_in: {
|
|
4793
4355
|
id: string;
|
|
@@ -4796,8 +4358,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4796
4358
|
name: string;
|
|
4797
4359
|
updatedAt: Date;
|
|
4798
4360
|
type: "FILE" | "FOLDER";
|
|
4799
|
-
parentId: string | null;
|
|
4800
4361
|
isFavorite: boolean;
|
|
4362
|
+
parentId: string | null;
|
|
4801
4363
|
currentDataId: string | null;
|
|
4802
4364
|
} & {
|
|
4803
4365
|
users: [{
|
|
@@ -4865,8 +4427,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4865
4427
|
name: string;
|
|
4866
4428
|
updatedAt: Date;
|
|
4867
4429
|
type: "FILE" | "FOLDER";
|
|
4868
|
-
parentId: string | null;
|
|
4869
4430
|
isFavorite: boolean;
|
|
4431
|
+
parentId: string | null;
|
|
4870
4432
|
currentDataId: string | null;
|
|
4871
4433
|
} & {
|
|
4872
4434
|
users: [{
|
|
@@ -4897,8 +4459,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4897
4459
|
name: string;
|
|
4898
4460
|
updatedAt: Date;
|
|
4899
4461
|
type: "FILE" | "FOLDER";
|
|
4900
|
-
parentId: string | null;
|
|
4901
4462
|
isFavorite: boolean;
|
|
4463
|
+
parentId: string | null;
|
|
4902
4464
|
currentDataId: string | null;
|
|
4903
4465
|
} & {
|
|
4904
4466
|
users: [{
|
|
@@ -4941,8 +4503,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4941
4503
|
name: string;
|
|
4942
4504
|
updatedAt: Date;
|
|
4943
4505
|
type: "FILE" | "FOLDER";
|
|
4944
|
-
parentId: string | null;
|
|
4945
4506
|
isFavorite: boolean;
|
|
4507
|
+
parentId: string | null;
|
|
4946
4508
|
currentDataId: string | null;
|
|
4947
4509
|
} & {
|
|
4948
4510
|
users: [{
|
|
@@ -5010,8 +4572,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5010
4572
|
name: string;
|
|
5011
4573
|
updatedAt: Date;
|
|
5012
4574
|
type: "FILE" | "FOLDER";
|
|
5013
|
-
parentId: string | null;
|
|
5014
4575
|
isFavorite: boolean;
|
|
4576
|
+
parentId: string | null;
|
|
5015
4577
|
currentDataId: string | null;
|
|
5016
4578
|
} & {
|
|
5017
4579
|
users: [{
|
|
@@ -5042,8 +4604,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5042
4604
|
name: string;
|
|
5043
4605
|
updatedAt: Date;
|
|
5044
4606
|
type: "FILE" | "FOLDER";
|
|
5045
|
-
parentId: string | null;
|
|
5046
4607
|
isFavorite: boolean;
|
|
4608
|
+
parentId: string | null;
|
|
5047
4609
|
currentDataId: string | null;
|
|
5048
4610
|
} & {
|
|
5049
4611
|
users: [{
|
|
@@ -5492,24 +5054,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5492
5054
|
id: string;
|
|
5493
5055
|
};
|
|
5494
5056
|
_output_in: {
|
|
5495
|
-
userAppUserId: string;
|
|
5496
|
-
userAppAppId: string;
|
|
5497
|
-
sharedByUserId: string;
|
|
5498
|
-
sharedByAppId: string;
|
|
5499
|
-
nodeId: string;
|
|
5500
5057
|
rights: "admin" | "write" | "read";
|
|
5501
5058
|
nameKey: string | null;
|
|
5502
5059
|
isRoot: boolean;
|
|
5503
|
-
};
|
|
5504
|
-
_output_out: {
|
|
5505
|
-
userAppUserId: string;
|
|
5506
|
-
userAppAppId: string;
|
|
5507
5060
|
sharedByUserId: string;
|
|
5508
5061
|
sharedByAppId: string;
|
|
5509
5062
|
nodeId: string;
|
|
5063
|
+
userAppUserId: string;
|
|
5064
|
+
userAppAppId: string;
|
|
5065
|
+
};
|
|
5066
|
+
_output_out: {
|
|
5510
5067
|
rights: "admin" | "write" | "read";
|
|
5511
5068
|
nameKey: string | null;
|
|
5512
5069
|
isRoot: boolean;
|
|
5070
|
+
sharedByUserId: string;
|
|
5071
|
+
sharedByAppId: string;
|
|
5072
|
+
nodeId: string;
|
|
5073
|
+
userAppUserId: string;
|
|
5074
|
+
userAppAppId: string;
|
|
5513
5075
|
};
|
|
5514
5076
|
}, unknown>;
|
|
5515
5077
|
nodeBreadcrumbById: _trpc_server.BuildProcedure<"query", {
|
|
@@ -5636,8 +5198,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5636
5198
|
name: string;
|
|
5637
5199
|
updatedAt: Date;
|
|
5638
5200
|
type: "FILE" | "FOLDER";
|
|
5639
|
-
parentId: string | null;
|
|
5640
5201
|
isFavorite: boolean;
|
|
5202
|
+
parentId: string | null;
|
|
5641
5203
|
currentDataId: string | null;
|
|
5642
5204
|
} & {
|
|
5643
5205
|
users: [{
|
|
@@ -5673,8 +5235,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5673
5235
|
name: string;
|
|
5674
5236
|
updatedAt: Date;
|
|
5675
5237
|
type: "FILE" | "FOLDER";
|
|
5676
|
-
parentId: string | null;
|
|
5677
5238
|
isFavorite: boolean;
|
|
5239
|
+
parentId: string | null;
|
|
5678
5240
|
currentDataId: string | null;
|
|
5679
5241
|
} & {
|
|
5680
5242
|
users: [{
|
|
@@ -5764,8 +5326,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5764
5326
|
name: string;
|
|
5765
5327
|
updatedAt: Date;
|
|
5766
5328
|
type: "FILE" | "FOLDER";
|
|
5767
|
-
parentId: string | null;
|
|
5768
5329
|
isFavorite: boolean;
|
|
5330
|
+
parentId: string | null;
|
|
5769
5331
|
currentDataId: string | null;
|
|
5770
5332
|
} & {
|
|
5771
5333
|
users: [{
|
|
@@ -5833,8 +5395,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5833
5395
|
name: string;
|
|
5834
5396
|
updatedAt: Date;
|
|
5835
5397
|
type: "FILE" | "FOLDER";
|
|
5836
|
-
parentId: string | null;
|
|
5837
5398
|
isFavorite: boolean;
|
|
5399
|
+
parentId: string | null;
|
|
5838
5400
|
currentDataId: string | null;
|
|
5839
5401
|
} & {
|
|
5840
5402
|
users: [{
|
|
@@ -5865,8 +5427,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5865
5427
|
name: string;
|
|
5866
5428
|
updatedAt: Date;
|
|
5867
5429
|
type: "FILE" | "FOLDER";
|
|
5868
|
-
parentId: string | null;
|
|
5869
5430
|
isFavorite: boolean;
|
|
5431
|
+
parentId: string | null;
|
|
5870
5432
|
currentDataId: string | null;
|
|
5871
5433
|
} & {
|
|
5872
5434
|
users: [{
|
|
@@ -5909,8 +5471,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5909
5471
|
name: string;
|
|
5910
5472
|
updatedAt: Date;
|
|
5911
5473
|
type: "FILE" | "FOLDER";
|
|
5912
|
-
parentId: string | null;
|
|
5913
5474
|
isFavorite: boolean;
|
|
5475
|
+
parentId: string | null;
|
|
5914
5476
|
currentDataId: string | null;
|
|
5915
5477
|
} & {
|
|
5916
5478
|
users: [{
|
|
@@ -5978,8 +5540,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5978
5540
|
name: string;
|
|
5979
5541
|
updatedAt: Date;
|
|
5980
5542
|
type: "FILE" | "FOLDER";
|
|
5981
|
-
parentId: string | null;
|
|
5982
5543
|
isFavorite: boolean;
|
|
5544
|
+
parentId: string | null;
|
|
5983
5545
|
currentDataId: string | null;
|
|
5984
5546
|
} & {
|
|
5985
5547
|
users: [{
|
|
@@ -6010,8 +5572,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6010
5572
|
name: string;
|
|
6011
5573
|
updatedAt: Date;
|
|
6012
5574
|
type: "FILE" | "FOLDER";
|
|
6013
|
-
parentId: string | null;
|
|
6014
5575
|
isFavorite: boolean;
|
|
5576
|
+
parentId: string | null;
|
|
6015
5577
|
currentDataId: string | null;
|
|
6016
5578
|
} & {
|
|
6017
5579
|
users: [{
|
|
@@ -6162,8 +5724,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6162
5724
|
name: string;
|
|
6163
5725
|
updatedAt: Date;
|
|
6164
5726
|
type: "FILE" | "FOLDER";
|
|
6165
|
-
parentId: string | null;
|
|
6166
5727
|
isFavorite: boolean;
|
|
5728
|
+
parentId: string | null;
|
|
6167
5729
|
currentDataId: string | null;
|
|
6168
5730
|
} & {
|
|
6169
5731
|
users: [{
|
|
@@ -6194,8 +5756,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6194
5756
|
name: string;
|
|
6195
5757
|
updatedAt: Date;
|
|
6196
5758
|
type: "FILE" | "FOLDER";
|
|
6197
|
-
parentId: string | null;
|
|
6198
5759
|
isFavorite: boolean;
|
|
5760
|
+
parentId: string | null;
|
|
6199
5761
|
currentDataId: string | null;
|
|
6200
5762
|
} & {
|
|
6201
5763
|
users: [{
|
|
@@ -6278,8 +5840,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6278
5840
|
name: string;
|
|
6279
5841
|
updatedAt: Date;
|
|
6280
5842
|
type: "FILE" | "FOLDER";
|
|
6281
|
-
parentId: string | null;
|
|
6282
5843
|
isFavorite: boolean;
|
|
5844
|
+
parentId: string | null;
|
|
6283
5845
|
currentDataId: string | null;
|
|
6284
5846
|
} & {
|
|
6285
5847
|
users: [{
|
|
@@ -6310,8 +5872,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6310
5872
|
name: string;
|
|
6311
5873
|
updatedAt: Date;
|
|
6312
5874
|
type: "FILE" | "FOLDER";
|
|
6313
|
-
parentId: string | null;
|
|
6314
5875
|
isFavorite: boolean;
|
|
5876
|
+
parentId: string | null;
|
|
6315
5877
|
currentDataId: string | null;
|
|
6316
5878
|
} & {
|
|
6317
5879
|
users: [{
|
|
@@ -6390,8 +5952,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6390
5952
|
name: string;
|
|
6391
5953
|
updatedAt: Date;
|
|
6392
5954
|
type: "FILE" | "FOLDER";
|
|
6393
|
-
parentId: string | null;
|
|
6394
5955
|
isFavorite: boolean;
|
|
5956
|
+
parentId: string | null;
|
|
6395
5957
|
currentDataId: string | null;
|
|
6396
5958
|
} & {
|
|
6397
5959
|
users: [{
|
|
@@ -6422,8 +5984,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6422
5984
|
name: string;
|
|
6423
5985
|
updatedAt: Date;
|
|
6424
5986
|
type: "FILE" | "FOLDER";
|
|
6425
|
-
parentId: string | null;
|
|
6426
5987
|
isFavorite: boolean;
|
|
5988
|
+
parentId: string | null;
|
|
6427
5989
|
currentDataId: string | null;
|
|
6428
5990
|
} & {
|
|
6429
5991
|
users: [{
|
|
@@ -6553,6 +6115,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6553
6115
|
};
|
|
6554
6116
|
_input_in: {
|
|
6555
6117
|
userId: string;
|
|
6118
|
+
rights: "admin" | "write" | "read";
|
|
6556
6119
|
nodes: {
|
|
6557
6120
|
data: {
|
|
6558
6121
|
id: string;
|
|
@@ -6561,10 +6124,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6561
6124
|
id: string;
|
|
6562
6125
|
nameKey: string | null;
|
|
6563
6126
|
}[];
|
|
6564
|
-
rights: "admin" | "write" | "read";
|
|
6565
6127
|
};
|
|
6566
6128
|
_input_out: {
|
|
6567
6129
|
userId: string;
|
|
6130
|
+
rights: "admin" | "write" | "read";
|
|
6568
6131
|
nodes: {
|
|
6569
6132
|
data: {
|
|
6570
6133
|
id: string;
|
|
@@ -6573,7 +6136,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6573
6136
|
id: string;
|
|
6574
6137
|
nameKey: string | null;
|
|
6575
6138
|
}[];
|
|
6576
|
-
rights: "admin" | "write" | "read";
|
|
6577
6139
|
};
|
|
6578
6140
|
_output_in: {
|
|
6579
6141
|
isFinished: boolean;
|
|
@@ -6706,8 +6268,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6706
6268
|
name: string;
|
|
6707
6269
|
updatedAt: Date;
|
|
6708
6270
|
type: "FILE" | "FOLDER";
|
|
6709
|
-
parentId: string | null;
|
|
6710
6271
|
isFavorite: boolean;
|
|
6272
|
+
parentId: string | null;
|
|
6711
6273
|
currentDataId: string | null;
|
|
6712
6274
|
} & {
|
|
6713
6275
|
users: [{
|
|
@@ -6775,8 +6337,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6775
6337
|
name: string;
|
|
6776
6338
|
updatedAt: Date;
|
|
6777
6339
|
type: "FILE" | "FOLDER";
|
|
6778
|
-
parentId: string | null;
|
|
6779
6340
|
isFavorite: boolean;
|
|
6341
|
+
parentId: string | null;
|
|
6780
6342
|
currentDataId: string | null;
|
|
6781
6343
|
} & {
|
|
6782
6344
|
users: [{
|
|
@@ -6807,8 +6369,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6807
6369
|
name: string;
|
|
6808
6370
|
updatedAt: Date;
|
|
6809
6371
|
type: "FILE" | "FOLDER";
|
|
6810
|
-
parentId: string | null;
|
|
6811
6372
|
isFavorite: boolean;
|
|
6373
|
+
parentId: string | null;
|
|
6812
6374
|
currentDataId: string | null;
|
|
6813
6375
|
} & {
|
|
6814
6376
|
users: [{
|
|
@@ -6851,8 +6413,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6851
6413
|
name: string;
|
|
6852
6414
|
updatedAt: Date;
|
|
6853
6415
|
type: "FILE" | "FOLDER";
|
|
6854
|
-
parentId: string | null;
|
|
6855
6416
|
isFavorite: boolean;
|
|
6417
|
+
parentId: string | null;
|
|
6856
6418
|
currentDataId: string | null;
|
|
6857
6419
|
} & {
|
|
6858
6420
|
users: [{
|
|
@@ -6920,8 +6482,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6920
6482
|
name: string;
|
|
6921
6483
|
updatedAt: Date;
|
|
6922
6484
|
type: "FILE" | "FOLDER";
|
|
6923
|
-
parentId: string | null;
|
|
6924
6485
|
isFavorite: boolean;
|
|
6486
|
+
parentId: string | null;
|
|
6925
6487
|
currentDataId: string | null;
|
|
6926
6488
|
} & {
|
|
6927
6489
|
users: [{
|
|
@@ -6952,8 +6514,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6952
6514
|
name: string;
|
|
6953
6515
|
updatedAt: Date;
|
|
6954
6516
|
type: "FILE" | "FOLDER";
|
|
6955
|
-
parentId: string | null;
|
|
6956
6517
|
isFavorite: boolean;
|
|
6518
|
+
parentId: string | null;
|
|
6957
6519
|
currentDataId: string | null;
|
|
6958
6520
|
} & {
|
|
6959
6521
|
users: [{
|
|
@@ -14082,8 +13644,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
14082
13644
|
totalDataCount: bigint | null;
|
|
14083
13645
|
totalStorageSize: bigint | null;
|
|
14084
13646
|
perDataSize: bigint | null;
|
|
14085
|
-
uploadBandwidth: bigint | null;
|
|
14086
13647
|
downloadBandwidth: bigint | null;
|
|
13648
|
+
uploadBandwidth: bigint | null;
|
|
14087
13649
|
} & {
|
|
14088
13650
|
sentMails: {
|
|
14089
13651
|
count: bigint | null;
|
|
@@ -14122,8 +13684,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
14122
13684
|
totalDataCount: bigint | null;
|
|
14123
13685
|
totalStorageSize: bigint | null;
|
|
14124
13686
|
perDataSize: bigint | null;
|
|
14125
|
-
uploadBandwidth: bigint | null;
|
|
14126
13687
|
downloadBandwidth: bigint | null;
|
|
13688
|
+
uploadBandwidth: bigint | null;
|
|
14127
13689
|
} & {
|
|
14128
13690
|
sentMails: {
|
|
14129
13691
|
count: bigint | null;
|
|
@@ -16571,11 +16133,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16571
16133
|
};
|
|
16572
16134
|
_output_in: {
|
|
16573
16135
|
plan: {
|
|
16574
|
-
codes: string[];
|
|
16575
16136
|
id: string;
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16137
|
+
name: string;
|
|
16138
|
+
isCustomPlan?: boolean | undefined;
|
|
16139
|
+
canHaveDatabase?: boolean | undefined;
|
|
16579
16140
|
} & {
|
|
16580
16141
|
descriptor: {
|
|
16581
16142
|
devsBase: bigint | null;
|
|
@@ -16613,51 +16174,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16613
16174
|
updatedAt: Date;
|
|
16614
16175
|
origin: string[];
|
|
16615
16176
|
planId: string | null;
|
|
16177
|
+
lastMetricsReset: Date;
|
|
16616
16178
|
quotasId: string;
|
|
16617
|
-
metricsId: string;
|
|
16618
16179
|
owner: {
|
|
16619
16180
|
user: {
|
|
16620
16181
|
id: string;
|
|
16621
16182
|
} | null;
|
|
16622
16183
|
};
|
|
16623
|
-
plans: ({
|
|
16624
|
-
codes: string[];
|
|
16625
|
-
id: string;
|
|
16626
|
-
kind: string;
|
|
16627
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16628
|
-
descriptorId: string;
|
|
16629
|
-
} & {
|
|
16630
|
-
descriptor: {
|
|
16631
|
-
devsBase: bigint | null;
|
|
16632
|
-
devsUnit: bigint | null;
|
|
16633
|
-
devsPrice: number | null;
|
|
16634
|
-
usersBase: bigint | null;
|
|
16635
|
-
usersUnit: bigint | null;
|
|
16636
|
-
usersPrice: number | null;
|
|
16637
|
-
perDataSizeBase: bigint | null;
|
|
16638
|
-
perDataSizeUnit: bigint | null;
|
|
16639
|
-
perDataSizePrice: number | null;
|
|
16640
|
-
bandwidthBase: bigint | null;
|
|
16641
|
-
bandwidthUnit: bigint | null;
|
|
16642
|
-
bandwidthPrice: number | null;
|
|
16643
|
-
totalStorageSizeBase: bigint | null;
|
|
16644
|
-
totalStorageSizeUnit: bigint | null;
|
|
16645
|
-
totalStorageSizePrice: number | null;
|
|
16646
|
-
devsMax: bigint | null;
|
|
16647
|
-
usersMax: bigint | null;
|
|
16648
|
-
perDataSizeMax: bigint | null;
|
|
16649
|
-
bandwidthMax: bigint | null;
|
|
16650
|
-
totalStorageSizeMax: bigint | null;
|
|
16651
|
-
};
|
|
16652
|
-
})[];
|
|
16653
16184
|
};
|
|
16654
16185
|
_output_out: {
|
|
16655
16186
|
plan: {
|
|
16656
|
-
codes: string[];
|
|
16657
16187
|
id: string;
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16188
|
+
name: string;
|
|
16189
|
+
isCustomPlan: boolean;
|
|
16190
|
+
canHaveDatabase: boolean;
|
|
16661
16191
|
} & {
|
|
16662
16192
|
descriptor: {
|
|
16663
16193
|
devsBase: bigint | null;
|
|
@@ -16695,43 +16225,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16695
16225
|
updatedAt: Date;
|
|
16696
16226
|
origin: string[];
|
|
16697
16227
|
planId: string | null;
|
|
16228
|
+
lastMetricsReset: Date;
|
|
16698
16229
|
quotasId: string;
|
|
16699
|
-
metricsId: string;
|
|
16700
16230
|
owner: {
|
|
16701
16231
|
user: {
|
|
16702
16232
|
id: string;
|
|
16703
16233
|
} | null;
|
|
16704
16234
|
};
|
|
16705
|
-
plans: ({
|
|
16706
|
-
codes: string[];
|
|
16707
|
-
id: string;
|
|
16708
|
-
kind: string;
|
|
16709
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16710
|
-
descriptorId: string;
|
|
16711
|
-
} & {
|
|
16712
|
-
descriptor: {
|
|
16713
|
-
devsBase: bigint | null;
|
|
16714
|
-
devsUnit: bigint | null;
|
|
16715
|
-
devsPrice: number | null;
|
|
16716
|
-
usersBase: bigint | null;
|
|
16717
|
-
usersUnit: bigint | null;
|
|
16718
|
-
usersPrice: number | null;
|
|
16719
|
-
perDataSizeBase: bigint | null;
|
|
16720
|
-
perDataSizeUnit: bigint | null;
|
|
16721
|
-
perDataSizePrice: number | null;
|
|
16722
|
-
bandwidthBase: bigint | null;
|
|
16723
|
-
bandwidthUnit: bigint | null;
|
|
16724
|
-
bandwidthPrice: number | null;
|
|
16725
|
-
totalStorageSizeBase: bigint | null;
|
|
16726
|
-
totalStorageSizeUnit: bigint | null;
|
|
16727
|
-
totalStorageSizePrice: number | null;
|
|
16728
|
-
devsMax: bigint | null;
|
|
16729
|
-
usersMax: bigint | null;
|
|
16730
|
-
perDataSizeMax: bigint | null;
|
|
16731
|
-
bandwidthMax: bigint | null;
|
|
16732
|
-
totalStorageSizeMax: bigint | null;
|
|
16733
|
-
};
|
|
16734
|
-
})[];
|
|
16735
16235
|
};
|
|
16736
16236
|
}, unknown>;
|
|
16737
16237
|
applications: _trpc_server.BuildProcedure<"query", {
|
|
@@ -16763,117 +16263,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16763
16263
|
};
|
|
16764
16264
|
message: string;
|
|
16765
16265
|
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16766
|
-
};
|
|
16767
|
-
transformer: typeof superjson.default;
|
|
16768
|
-
}>;
|
|
16769
|
-
_meta: object;
|
|
16770
|
-
_ctx_out: {
|
|
16771
|
-
session: SecrecySession;
|
|
16772
|
-
req: {
|
|
16773
|
-
headers: Headers;
|
|
16774
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16775
|
-
};
|
|
16776
|
-
res: {
|
|
16777
|
-
headers: Headers;
|
|
16778
|
-
};
|
|
16779
|
-
locale: Locales;
|
|
16780
|
-
ls: TranslationFunctions;
|
|
16781
|
-
};
|
|
16782
|
-
_input_in: {
|
|
16783
|
-
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
16784
|
-
};
|
|
16785
|
-
_input_out: {
|
|
16786
|
-
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
16787
|
-
};
|
|
16788
|
-
_output_in: {
|
|
16789
|
-
plan: {
|
|
16790
|
-
codes: string[];
|
|
16791
|
-
id: string;
|
|
16792
|
-
kind: string;
|
|
16793
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16794
|
-
descriptorId: string;
|
|
16795
|
-
} & {
|
|
16796
|
-
descriptor: {
|
|
16797
|
-
devsBase: bigint | null;
|
|
16798
|
-
devsUnit: bigint | null;
|
|
16799
|
-
devsPrice: number | null;
|
|
16800
|
-
usersBase: bigint | null;
|
|
16801
|
-
usersUnit: bigint | null;
|
|
16802
|
-
usersPrice: number | null;
|
|
16803
|
-
perDataSizeBase: bigint | null;
|
|
16804
|
-
perDataSizeUnit: bigint | null;
|
|
16805
|
-
perDataSizePrice: number | null;
|
|
16806
|
-
bandwidthBase: bigint | null;
|
|
16807
|
-
bandwidthUnit: bigint | null;
|
|
16808
|
-
bandwidthPrice: number | null;
|
|
16809
|
-
totalStorageSizeBase: bigint | null;
|
|
16810
|
-
totalStorageSizeUnit: bigint | null;
|
|
16811
|
-
totalStorageSizePrice: number | null;
|
|
16812
|
-
devsMax: bigint | null;
|
|
16813
|
-
usersMax: bigint | null;
|
|
16814
|
-
perDataSizeMax: bigint | null;
|
|
16815
|
-
bandwidthMax: bigint | null;
|
|
16816
|
-
totalStorageSizeMax: bigint | null;
|
|
16817
|
-
};
|
|
16818
|
-
};
|
|
16819
|
-
id: string;
|
|
16820
|
-
createdAt: Date;
|
|
16821
|
-
users: {
|
|
16822
|
-
userId: string;
|
|
16823
|
-
}[];
|
|
16824
|
-
ownerId: string;
|
|
16825
|
-
blocked: boolean;
|
|
16826
|
-
name: string;
|
|
16827
|
-
color: string | null;
|
|
16828
|
-
logo: string | null;
|
|
16829
|
-
updatedAt: Date;
|
|
16830
|
-
origin: string[];
|
|
16831
|
-
planId: string | null;
|
|
16832
|
-
quotasId: string;
|
|
16833
|
-
metricsId: string;
|
|
16834
|
-
owner: {
|
|
16835
|
-
user: {
|
|
16836
|
-
id: string;
|
|
16837
|
-
} | null;
|
|
16838
|
-
};
|
|
16839
|
-
plans: ({
|
|
16840
|
-
codes: string[];
|
|
16841
|
-
id: string;
|
|
16842
|
-
kind: string;
|
|
16843
|
-
relatedTo: "secrecy" | "secrecy_tech";
|
|
16844
|
-
descriptorId: string;
|
|
16845
|
-
} & {
|
|
16846
|
-
descriptor: {
|
|
16847
|
-
devsBase: bigint | null;
|
|
16848
|
-
devsUnit: bigint | null;
|
|
16849
|
-
devsPrice: number | null;
|
|
16850
|
-
usersBase: bigint | null;
|
|
16851
|
-
usersUnit: bigint | null;
|
|
16852
|
-
usersPrice: number | null;
|
|
16853
|
-
perDataSizeBase: bigint | null;
|
|
16854
|
-
perDataSizeUnit: bigint | null;
|
|
16855
|
-
perDataSizePrice: number | null;
|
|
16856
|
-
bandwidthBase: bigint | null;
|
|
16857
|
-
bandwidthUnit: bigint | null;
|
|
16858
|
-
bandwidthPrice: number | null;
|
|
16859
|
-
totalStorageSizeBase: bigint | null;
|
|
16860
|
-
totalStorageSizeUnit: bigint | null;
|
|
16861
|
-
totalStorageSizePrice: number | null;
|
|
16862
|
-
devsMax: bigint | null;
|
|
16863
|
-
usersMax: bigint | null;
|
|
16864
|
-
perDataSizeMax: bigint | null;
|
|
16865
|
-
bandwidthMax: bigint | null;
|
|
16866
|
-
totalStorageSizeMax: bigint | null;
|
|
16867
|
-
};
|
|
16868
|
-
})[];
|
|
16869
|
-
}[];
|
|
16870
|
-
_output_out: {
|
|
16266
|
+
};
|
|
16267
|
+
transformer: typeof superjson.default;
|
|
16268
|
+
}>;
|
|
16269
|
+
_meta: object;
|
|
16270
|
+
_ctx_out: {
|
|
16271
|
+
session: SecrecySession;
|
|
16272
|
+
req: {
|
|
16273
|
+
headers: Headers;
|
|
16274
|
+
body: ReadableStream<Uint8Array> | null;
|
|
16275
|
+
};
|
|
16276
|
+
res: {
|
|
16277
|
+
headers: Headers;
|
|
16278
|
+
};
|
|
16279
|
+
locale: Locales;
|
|
16280
|
+
ls: TranslationFunctions;
|
|
16281
|
+
};
|
|
16282
|
+
_input_in: {
|
|
16283
|
+
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
16284
|
+
};
|
|
16285
|
+
_input_out: {
|
|
16286
|
+
sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
|
|
16287
|
+
};
|
|
16288
|
+
_output_in: {
|
|
16871
16289
|
plan: {
|
|
16872
|
-
codes: string[];
|
|
16873
16290
|
id: string;
|
|
16874
|
-
|
|
16875
|
-
|
|
16876
|
-
|
|
16291
|
+
name: string;
|
|
16292
|
+
isCustomPlan?: boolean | undefined;
|
|
16293
|
+
canHaveDatabase?: boolean | undefined;
|
|
16877
16294
|
} & {
|
|
16878
16295
|
descriptor: {
|
|
16879
16296
|
devsBase: bigint | null;
|
|
@@ -16911,19 +16328,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16911
16328
|
updatedAt: Date;
|
|
16912
16329
|
origin: string[];
|
|
16913
16330
|
planId: string | null;
|
|
16331
|
+
lastMetricsReset: Date;
|
|
16914
16332
|
quotasId: string;
|
|
16915
|
-
metricsId: string;
|
|
16916
16333
|
owner: {
|
|
16917
16334
|
user: {
|
|
16918
16335
|
id: string;
|
|
16919
16336
|
} | null;
|
|
16920
16337
|
};
|
|
16921
|
-
|
|
16922
|
-
|
|
16338
|
+
}[];
|
|
16339
|
+
_output_out: {
|
|
16340
|
+
plan: {
|
|
16923
16341
|
id: string;
|
|
16924
|
-
|
|
16925
|
-
|
|
16926
|
-
|
|
16342
|
+
name: string;
|
|
16343
|
+
isCustomPlan: boolean;
|
|
16344
|
+
canHaveDatabase: boolean;
|
|
16927
16345
|
} & {
|
|
16928
16346
|
descriptor: {
|
|
16929
16347
|
devsBase: bigint | null;
|
|
@@ -16947,80 +16365,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16947
16365
|
bandwidthMax: bigint | null;
|
|
16948
16366
|
totalStorageSizeMax: bigint | null;
|
|
16949
16367
|
};
|
|
16950
|
-
})[];
|
|
16951
|
-
}[];
|
|
16952
|
-
}, unknown>;
|
|
16953
|
-
cancelSubscription: _trpc_server.BuildProcedure<"mutation", {
|
|
16954
|
-
_config: _trpc_server.RootConfig<{
|
|
16955
|
-
ctx: {
|
|
16956
|
-
req: {
|
|
16957
|
-
headers: Headers;
|
|
16958
|
-
body: ReadableStream<Uint8Array> | null;
|
|
16959
|
-
};
|
|
16960
|
-
res: {
|
|
16961
|
-
headers: Headers;
|
|
16962
|
-
};
|
|
16963
|
-
session: SecrecySession | null;
|
|
16964
|
-
locale: Locales;
|
|
16965
|
-
ls: TranslationFunctions;
|
|
16966
|
-
};
|
|
16967
|
-
meta: object;
|
|
16968
|
-
errorShape: {
|
|
16969
|
-
message: string;
|
|
16970
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16971
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16972
|
-
} | {
|
|
16973
|
-
data: {
|
|
16974
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
16975
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
16976
|
-
httpStatus: number;
|
|
16977
|
-
path?: string;
|
|
16978
|
-
stack?: string;
|
|
16979
|
-
};
|
|
16980
|
-
message: string;
|
|
16981
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16982
16368
|
};
|
|
16983
|
-
|
|
16984
|
-
|
|
16985
|
-
|
|
16986
|
-
_ctx_out: {
|
|
16987
|
-
session: {
|
|
16988
|
-
appId: string;
|
|
16989
|
-
appPlanId: string;
|
|
16990
|
-
appFakeUserId: string | undefined;
|
|
16991
|
-
sessionId: string;
|
|
16992
|
-
accountId: string;
|
|
16993
|
-
accountInfosId: string;
|
|
16994
|
-
accountRole: _prisma_client.AccountRole;
|
|
16369
|
+
id: string;
|
|
16370
|
+
createdAt: Date;
|
|
16371
|
+
users: {
|
|
16995
16372
|
userId: string;
|
|
16996
|
-
|
|
16997
|
-
|
|
16998
|
-
|
|
16999
|
-
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
16373
|
+
}[];
|
|
16374
|
+
ownerId: string;
|
|
16375
|
+
blocked: boolean;
|
|
16376
|
+
name: string;
|
|
16377
|
+
color: string | null;
|
|
16378
|
+
logo: string | null;
|
|
16379
|
+
updatedAt: Date;
|
|
16380
|
+
origin: string[];
|
|
16381
|
+
planId: string | null;
|
|
16382
|
+
lastMetricsReset: Date;
|
|
16383
|
+
quotasId: string;
|
|
16384
|
+
owner: {
|
|
16385
|
+
user: {
|
|
16386
|
+
id: string;
|
|
16387
|
+
} | null;
|
|
17006
16388
|
};
|
|
17007
|
-
|
|
17008
|
-
ls: TranslationFunctions;
|
|
17009
|
-
};
|
|
17010
|
-
_input_in: {
|
|
17011
|
-
appId: string;
|
|
17012
|
-
prorate: boolean;
|
|
17013
|
-
};
|
|
17014
|
-
_input_out: {
|
|
17015
|
-
appId: string;
|
|
17016
|
-
prorate: boolean;
|
|
17017
|
-
};
|
|
17018
|
-
_output_in: {
|
|
17019
|
-
isCancelled: boolean;
|
|
17020
|
-
};
|
|
17021
|
-
_output_out: {
|
|
17022
|
-
isCancelled: boolean;
|
|
17023
|
-
};
|
|
16389
|
+
}[];
|
|
17024
16390
|
}, unknown>;
|
|
17025
16391
|
createApplication: _trpc_server.BuildProcedure<"mutation", {
|
|
17026
16392
|
_config: _trpc_server.RootConfig<{
|
|
@@ -17094,78 +16460,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17094
16460
|
id: string;
|
|
17095
16461
|
};
|
|
17096
16462
|
}, unknown>;
|
|
17097
|
-
createSubscription: _trpc_server.BuildProcedure<"mutation", {
|
|
17098
|
-
_config: _trpc_server.RootConfig<{
|
|
17099
|
-
ctx: {
|
|
17100
|
-
req: {
|
|
17101
|
-
headers: Headers;
|
|
17102
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17103
|
-
};
|
|
17104
|
-
res: {
|
|
17105
|
-
headers: Headers;
|
|
17106
|
-
};
|
|
17107
|
-
session: SecrecySession | null;
|
|
17108
|
-
locale: Locales;
|
|
17109
|
-
ls: TranslationFunctions;
|
|
17110
|
-
};
|
|
17111
|
-
meta: object;
|
|
17112
|
-
errorShape: {
|
|
17113
|
-
message: string;
|
|
17114
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17115
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
17116
|
-
} | {
|
|
17117
|
-
data: {
|
|
17118
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
17119
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
17120
|
-
httpStatus: number;
|
|
17121
|
-
path?: string;
|
|
17122
|
-
stack?: string;
|
|
17123
|
-
};
|
|
17124
|
-
message: string;
|
|
17125
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17126
|
-
};
|
|
17127
|
-
transformer: typeof superjson.default;
|
|
17128
|
-
}>;
|
|
17129
|
-
_meta: object;
|
|
17130
|
-
_ctx_out: {
|
|
17131
|
-
session: {
|
|
17132
|
-
appId: string;
|
|
17133
|
-
appPlanId: string;
|
|
17134
|
-
appFakeUserId: string | undefined;
|
|
17135
|
-
sessionId: string;
|
|
17136
|
-
accountId: string;
|
|
17137
|
-
accountInfosId: string;
|
|
17138
|
-
accountRole: _prisma_client.AccountRole;
|
|
17139
|
-
userId: string;
|
|
17140
|
-
userRole: _prisma_client.UserRole;
|
|
17141
|
-
userPlan: _prisma_client.PlanKind;
|
|
17142
|
-
isCare?: boolean;
|
|
17143
|
-
};
|
|
17144
|
-
req: {
|
|
17145
|
-
headers: Headers;
|
|
17146
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17147
|
-
};
|
|
17148
|
-
res: {
|
|
17149
|
-
headers: Headers;
|
|
17150
|
-
};
|
|
17151
|
-
locale: Locales;
|
|
17152
|
-
ls: TranslationFunctions;
|
|
17153
|
-
};
|
|
17154
|
-
_input_in: {
|
|
17155
|
-
appId: string;
|
|
17156
|
-
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
17157
|
-
};
|
|
17158
|
-
_input_out: {
|
|
17159
|
-
appId: string;
|
|
17160
|
-
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
17161
|
-
};
|
|
17162
|
-
_output_in: {
|
|
17163
|
-
url: string | null;
|
|
17164
|
-
};
|
|
17165
|
-
_output_out: {
|
|
17166
|
-
url: string | null;
|
|
17167
|
-
};
|
|
17168
|
-
}, unknown>;
|
|
17169
16463
|
deleteApplication: _trpc_server.BuildProcedure<"mutation", {
|
|
17170
16464
|
_config: _trpc_server.RootConfig<{
|
|
17171
16465
|
ctx: {
|
|
@@ -17892,6 +17186,78 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17892
17186
|
isUpdated: boolean;
|
|
17893
17187
|
};
|
|
17894
17188
|
}, unknown>;
|
|
17189
|
+
switchPlan: _trpc_server.BuildProcedure<"mutation", {
|
|
17190
|
+
_config: _trpc_server.RootConfig<{
|
|
17191
|
+
ctx: {
|
|
17192
|
+
req: {
|
|
17193
|
+
headers: Headers;
|
|
17194
|
+
body: ReadableStream<Uint8Array> | null;
|
|
17195
|
+
};
|
|
17196
|
+
res: {
|
|
17197
|
+
headers: Headers;
|
|
17198
|
+
};
|
|
17199
|
+
session: SecrecySession | null;
|
|
17200
|
+
locale: Locales;
|
|
17201
|
+
ls: TranslationFunctions;
|
|
17202
|
+
};
|
|
17203
|
+
meta: object;
|
|
17204
|
+
errorShape: {
|
|
17205
|
+
message: string;
|
|
17206
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17207
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
17208
|
+
} | {
|
|
17209
|
+
data: {
|
|
17210
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
17211
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
17212
|
+
httpStatus: number;
|
|
17213
|
+
path?: string;
|
|
17214
|
+
stack?: string;
|
|
17215
|
+
};
|
|
17216
|
+
message: string;
|
|
17217
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17218
|
+
};
|
|
17219
|
+
transformer: typeof superjson.default;
|
|
17220
|
+
}>;
|
|
17221
|
+
_meta: object;
|
|
17222
|
+
_ctx_out: {
|
|
17223
|
+
session: {
|
|
17224
|
+
appId: string;
|
|
17225
|
+
appPlanId: string;
|
|
17226
|
+
appFakeUserId: string | undefined;
|
|
17227
|
+
sessionId: string;
|
|
17228
|
+
accountId: string;
|
|
17229
|
+
accountInfosId: string;
|
|
17230
|
+
accountRole: _prisma_client.AccountRole;
|
|
17231
|
+
userId: string;
|
|
17232
|
+
userRole: _prisma_client.UserRole;
|
|
17233
|
+
userPlan: _prisma_client.PlanKind;
|
|
17234
|
+
isCare?: boolean;
|
|
17235
|
+
};
|
|
17236
|
+
req: {
|
|
17237
|
+
headers: Headers;
|
|
17238
|
+
body: ReadableStream<Uint8Array> | null;
|
|
17239
|
+
};
|
|
17240
|
+
res: {
|
|
17241
|
+
headers: Headers;
|
|
17242
|
+
};
|
|
17243
|
+
locale: Locales;
|
|
17244
|
+
ls: TranslationFunctions;
|
|
17245
|
+
};
|
|
17246
|
+
_input_in: {
|
|
17247
|
+
appId: string;
|
|
17248
|
+
planName: string;
|
|
17249
|
+
};
|
|
17250
|
+
_input_out: {
|
|
17251
|
+
appId: string;
|
|
17252
|
+
planName: string;
|
|
17253
|
+
};
|
|
17254
|
+
_output_in: {
|
|
17255
|
+
url: string | null;
|
|
17256
|
+
};
|
|
17257
|
+
_output_out: {
|
|
17258
|
+
url: string | null;
|
|
17259
|
+
};
|
|
17260
|
+
}, unknown>;
|
|
17895
17261
|
}>;
|
|
17896
17262
|
user: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
17897
17263
|
ctx: {
|