@secrecy/trpc-api-types 1.24.0 → 1.25.0-dev.1
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/README.md +1 -1
- package/dist/index.d.cts +596 -316
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type * as _neondatabase_api_client from '@neondatabase/api-client';
|
|
2
|
-
import type * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
3
2
|
import type * as _prisma_client from '@prisma/client';
|
|
4
3
|
import type * as _trpc_server from '@trpc/server';
|
|
5
4
|
import type * as superjson from 'superjson';
|
|
@@ -469,21 +468,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
469
468
|
devs: bigint | null;
|
|
470
469
|
devsBase: bigint | null;
|
|
471
470
|
devsUnit: bigint | null;
|
|
472
|
-
devsPrice:
|
|
471
|
+
devsPrice: number | null;
|
|
473
472
|
usersBase: bigint | null;
|
|
474
473
|
usersUnit: bigint | null;
|
|
475
|
-
usersPrice:
|
|
474
|
+
usersPrice: number | null;
|
|
476
475
|
perFileSize: bigint | null;
|
|
477
476
|
perFileSizeBase: bigint | null;
|
|
478
477
|
perFileSizeUnit: bigint | null;
|
|
479
|
-
perFileSizePrice:
|
|
478
|
+
perFileSizePrice: number | null;
|
|
480
479
|
bandwidth: bigint | null;
|
|
481
480
|
bandwidthBase: bigint | null;
|
|
482
481
|
bandwidthUnit: bigint | null;
|
|
483
|
-
bandwidthPrice:
|
|
482
|
+
bandwidthPrice: number | null;
|
|
484
483
|
totalStorageSizeBase: bigint | null;
|
|
485
484
|
totalStorageSizeUnit: bigint | null;
|
|
486
|
-
totalStorageSizePrice:
|
|
485
|
+
totalStorageSizePrice: number | null;
|
|
487
486
|
};
|
|
488
487
|
_output_out: {
|
|
489
488
|
id: string;
|
|
@@ -492,21 +491,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
492
491
|
devs: bigint | null;
|
|
493
492
|
devsBase: bigint | null;
|
|
494
493
|
devsUnit: bigint | null;
|
|
495
|
-
devsPrice:
|
|
494
|
+
devsPrice: number | null;
|
|
496
495
|
usersBase: bigint | null;
|
|
497
496
|
usersUnit: bigint | null;
|
|
498
|
-
usersPrice:
|
|
497
|
+
usersPrice: number | null;
|
|
499
498
|
perFileSize: bigint | null;
|
|
500
499
|
perFileSizeBase: bigint | null;
|
|
501
500
|
perFileSizeUnit: bigint | null;
|
|
502
|
-
perFileSizePrice:
|
|
501
|
+
perFileSizePrice: number | null;
|
|
503
502
|
bandwidth: bigint | null;
|
|
504
503
|
bandwidthBase: bigint | null;
|
|
505
504
|
bandwidthUnit: bigint | null;
|
|
506
|
-
bandwidthPrice:
|
|
505
|
+
bandwidthPrice: number | null;
|
|
507
506
|
totalStorageSizeBase: bigint | null;
|
|
508
507
|
totalStorageSizeUnit: bigint | null;
|
|
509
|
-
totalStorageSizePrice:
|
|
508
|
+
totalStorageSizePrice: number | null;
|
|
510
509
|
};
|
|
511
510
|
}, unknown>;
|
|
512
511
|
notification: _trpc_server.BuildProcedure<"query", {
|
|
@@ -667,7 +666,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
667
666
|
}>;
|
|
668
667
|
_meta: object;
|
|
669
668
|
_ctx_out: {
|
|
670
|
-
session:
|
|
669
|
+
session: SecrecySession | null;
|
|
671
670
|
req: {
|
|
672
671
|
headers: Headers;
|
|
673
672
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -690,19 +689,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
690
689
|
descriptor: {
|
|
691
690
|
devsBase: bigint | null;
|
|
692
691
|
devsUnit: bigint | null;
|
|
693
|
-
devsPrice:
|
|
692
|
+
devsPrice: number | null;
|
|
694
693
|
usersBase: bigint | null;
|
|
695
694
|
usersUnit: bigint | null;
|
|
696
|
-
usersPrice:
|
|
695
|
+
usersPrice: number | null;
|
|
697
696
|
perFileSizeBase: bigint | null;
|
|
698
697
|
perFileSizeUnit: bigint | null;
|
|
699
|
-
perFileSizePrice:
|
|
698
|
+
perFileSizePrice: number | null;
|
|
700
699
|
bandwidthBase: bigint | null;
|
|
701
700
|
bandwidthUnit: bigint | null;
|
|
702
|
-
bandwidthPrice:
|
|
701
|
+
bandwidthPrice: number | null;
|
|
703
702
|
totalStorageSizeBase: bigint | null;
|
|
704
703
|
totalStorageSizeUnit: bigint | null;
|
|
705
|
-
totalStorageSizePrice:
|
|
704
|
+
totalStorageSizePrice: number | null;
|
|
706
705
|
devsMax: bigint | null;
|
|
707
706
|
usersMax: bigint | null;
|
|
708
707
|
perFileSizeMax: bigint | null;
|
|
@@ -710,10 +709,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
710
709
|
totalStorageSizeMax: bigint | null;
|
|
711
710
|
};
|
|
712
711
|
} & {
|
|
713
|
-
price:
|
|
714
|
-
monthly: number;
|
|
715
|
-
yearly: number;
|
|
716
|
-
};
|
|
712
|
+
price: number;
|
|
717
713
|
})[];
|
|
718
714
|
_output_out: ({
|
|
719
715
|
codes: string[];
|
|
@@ -725,19 +721,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
725
721
|
descriptor: {
|
|
726
722
|
devsBase: bigint | null;
|
|
727
723
|
devsUnit: bigint | null;
|
|
728
|
-
devsPrice:
|
|
724
|
+
devsPrice: number | null;
|
|
729
725
|
usersBase: bigint | null;
|
|
730
726
|
usersUnit: bigint | null;
|
|
731
|
-
usersPrice:
|
|
727
|
+
usersPrice: number | null;
|
|
732
728
|
perFileSizeBase: bigint | null;
|
|
733
729
|
perFileSizeUnit: bigint | null;
|
|
734
|
-
perFileSizePrice:
|
|
730
|
+
perFileSizePrice: number | null;
|
|
735
731
|
bandwidthBase: bigint | null;
|
|
736
732
|
bandwidthUnit: bigint | null;
|
|
737
|
-
bandwidthPrice:
|
|
733
|
+
bandwidthPrice: number | null;
|
|
738
734
|
totalStorageSizeBase: bigint | null;
|
|
739
735
|
totalStorageSizeUnit: bigint | null;
|
|
740
|
-
totalStorageSizePrice:
|
|
736
|
+
totalStorageSizePrice: number | null;
|
|
741
737
|
devsMax: bigint | null;
|
|
742
738
|
usersMax: bigint | null;
|
|
743
739
|
perFileSizeMax: bigint | null;
|
|
@@ -745,10 +741,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
745
741
|
totalStorageSizeMax: bigint | null;
|
|
746
742
|
};
|
|
747
743
|
} & {
|
|
748
|
-
price:
|
|
749
|
-
monthly: number;
|
|
750
|
-
yearly: number;
|
|
751
|
-
};
|
|
744
|
+
price: number;
|
|
752
745
|
})[];
|
|
753
746
|
}, unknown>;
|
|
754
747
|
settings: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2464,19 +2457,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2464
2457
|
}>;
|
|
2465
2458
|
_meta: object;
|
|
2466
2459
|
_ctx_out: {
|
|
2467
|
-
session:
|
|
2468
|
-
appId: string;
|
|
2469
|
-
appPlanId: string;
|
|
2470
|
-
appFakeUserId: string | undefined;
|
|
2471
|
-
sessionId: string;
|
|
2472
|
-
accountId: string;
|
|
2473
|
-
accountInfosId: string;
|
|
2474
|
-
accountRole: _prisma_client.$Enums.AccountRole;
|
|
2475
|
-
userId: string;
|
|
2476
|
-
userRole: _prisma_client.$Enums.UserRole;
|
|
2477
|
-
userPlan: _prisma_client.$Enums.PlanKind;
|
|
2478
|
-
isCare?: boolean | undefined;
|
|
2479
|
-
};
|
|
2460
|
+
session: SecrecySession;
|
|
2480
2461
|
req: {
|
|
2481
2462
|
headers: Headers;
|
|
2482
2463
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2510,9 +2491,78 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2510
2491
|
ssNumber: string;
|
|
2511
2492
|
};
|
|
2512
2493
|
_output_in: {
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2494
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2495
|
+
job: string;
|
|
2496
|
+
specialties: string[];
|
|
2497
|
+
} & {
|
|
2498
|
+
user: {
|
|
2499
|
+
id: string;
|
|
2500
|
+
lastname: string;
|
|
2501
|
+
firstname: string;
|
|
2502
|
+
avatar: string | null;
|
|
2503
|
+
isSearchable: boolean;
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2506
|
+
_output_out: {
|
|
2507
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2508
|
+
job: string;
|
|
2509
|
+
specialties: string[];
|
|
2510
|
+
} & {
|
|
2511
|
+
user: {
|
|
2512
|
+
id: string;
|
|
2513
|
+
lastname: string;
|
|
2514
|
+
firstname: string;
|
|
2515
|
+
avatar: string | null;
|
|
2516
|
+
isSearchable: boolean;
|
|
2517
|
+
};
|
|
2518
|
+
};
|
|
2519
|
+
}, unknown>;
|
|
2520
|
+
update: _trpc_server.BuildProcedure<"mutation", {
|
|
2521
|
+
_config: _trpc_server.RootConfig<{
|
|
2522
|
+
ctx: {
|
|
2523
|
+
req: {
|
|
2524
|
+
headers: Headers;
|
|
2525
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2526
|
+
};
|
|
2527
|
+
res: {
|
|
2528
|
+
headers: Headers;
|
|
2529
|
+
};
|
|
2530
|
+
session: SecrecySession | null;
|
|
2531
|
+
locale: Locales;
|
|
2532
|
+
ls: TranslationFunctions;
|
|
2533
|
+
};
|
|
2534
|
+
meta: object;
|
|
2535
|
+
errorShape: {
|
|
2536
|
+
message: string;
|
|
2537
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2538
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2539
|
+
} | {
|
|
2540
|
+
data: {
|
|
2541
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2542
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2543
|
+
httpStatus: number;
|
|
2544
|
+
path?: string | undefined;
|
|
2545
|
+
stack?: string | undefined;
|
|
2546
|
+
};
|
|
2547
|
+
message: string;
|
|
2548
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2549
|
+
};
|
|
2550
|
+
transformer: typeof superjson.default;
|
|
2551
|
+
}>;
|
|
2552
|
+
_meta: object;
|
|
2553
|
+
_ctx_out: {
|
|
2554
|
+
session: SecrecySession;
|
|
2555
|
+
req: {
|
|
2556
|
+
headers: Headers;
|
|
2557
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2558
|
+
};
|
|
2559
|
+
res: {
|
|
2560
|
+
headers: Headers;
|
|
2561
|
+
};
|
|
2562
|
+
locale: Locales;
|
|
2563
|
+
ls: TranslationFunctions;
|
|
2564
|
+
};
|
|
2565
|
+
_input_in: {
|
|
2516
2566
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2517
2567
|
job: string;
|
|
2518
2568
|
specialties: string[];
|
|
@@ -2523,10 +2573,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2523
2573
|
adeliNumber: string;
|
|
2524
2574
|
ssNumber: string;
|
|
2525
2575
|
};
|
|
2526
|
-
|
|
2527
|
-
userId: string;
|
|
2528
|
-
id: string;
|
|
2529
|
-
validated: boolean;
|
|
2576
|
+
_input_out: {
|
|
2530
2577
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2531
2578
|
job: string;
|
|
2532
2579
|
specialties: string[];
|
|
@@ -2537,8 +2584,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2537
2584
|
adeliNumber: string;
|
|
2538
2585
|
ssNumber: string;
|
|
2539
2586
|
};
|
|
2587
|
+
_output_in: {
|
|
2588
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2589
|
+
job: string;
|
|
2590
|
+
specialties: string[];
|
|
2591
|
+
} & {
|
|
2592
|
+
user: {
|
|
2593
|
+
id: string;
|
|
2594
|
+
lastname: string;
|
|
2595
|
+
firstname: string;
|
|
2596
|
+
avatar: string | null;
|
|
2597
|
+
isSearchable: boolean;
|
|
2598
|
+
};
|
|
2599
|
+
};
|
|
2600
|
+
_output_out: {
|
|
2601
|
+
status: "active" | "inactive" | "retired" | "suspended";
|
|
2602
|
+
job: string;
|
|
2603
|
+
specialties: string[];
|
|
2604
|
+
} & {
|
|
2605
|
+
user: {
|
|
2606
|
+
id: string;
|
|
2607
|
+
lastname: string;
|
|
2608
|
+
firstname: string;
|
|
2609
|
+
avatar: string | null;
|
|
2610
|
+
isSearchable: boolean;
|
|
2611
|
+
};
|
|
2612
|
+
};
|
|
2540
2613
|
}, unknown>;
|
|
2541
|
-
|
|
2614
|
+
delete: _trpc_server.BuildProcedure<"mutation", {
|
|
2542
2615
|
_config: _trpc_server.RootConfig<{
|
|
2543
2616
|
ctx: {
|
|
2544
2617
|
req: {
|
|
@@ -2572,19 +2645,61 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2572
2645
|
}>;
|
|
2573
2646
|
_meta: object;
|
|
2574
2647
|
_ctx_out: {
|
|
2575
|
-
session:
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
accountRole: _prisma_client.$Enums.AccountRole;
|
|
2583
|
-
userId: string;
|
|
2584
|
-
userRole: _prisma_client.$Enums.UserRole;
|
|
2585
|
-
userPlan: _prisma_client.$Enums.PlanKind;
|
|
2586
|
-
isCare?: boolean | undefined;
|
|
2648
|
+
session: SecrecySession;
|
|
2649
|
+
req: {
|
|
2650
|
+
headers: Headers;
|
|
2651
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2652
|
+
};
|
|
2653
|
+
res: {
|
|
2654
|
+
headers: Headers;
|
|
2587
2655
|
};
|
|
2656
|
+
locale: Locales;
|
|
2657
|
+
ls: TranslationFunctions;
|
|
2658
|
+
};
|
|
2659
|
+
_input_in: {};
|
|
2660
|
+
_input_out: {};
|
|
2661
|
+
_output_in: {
|
|
2662
|
+
success: boolean;
|
|
2663
|
+
};
|
|
2664
|
+
_output_out: {
|
|
2665
|
+
success: boolean;
|
|
2666
|
+
};
|
|
2667
|
+
}, unknown>;
|
|
2668
|
+
get: _trpc_server.BuildProcedure<"query", {
|
|
2669
|
+
_config: _trpc_server.RootConfig<{
|
|
2670
|
+
ctx: {
|
|
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: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2691
|
+
httpStatus: number;
|
|
2692
|
+
path?: string | undefined;
|
|
2693
|
+
stack?: string | undefined;
|
|
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;
|
|
2588
2703
|
req: {
|
|
2589
2704
|
headers: Headers;
|
|
2590
2705
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2602,32 +2717,30 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2602
2717
|
id: string;
|
|
2603
2718
|
};
|
|
2604
2719
|
_output_in: {
|
|
2605
|
-
userId: string;
|
|
2606
|
-
id: string;
|
|
2607
|
-
validated: boolean;
|
|
2608
2720
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2609
2721
|
job: string;
|
|
2610
2722
|
specialties: string[];
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2723
|
+
} & {
|
|
2724
|
+
user: {
|
|
2725
|
+
id: string;
|
|
2726
|
+
lastname: string;
|
|
2727
|
+
firstname: string;
|
|
2728
|
+
avatar: string | null;
|
|
2729
|
+
isSearchable: boolean;
|
|
2730
|
+
};
|
|
2617
2731
|
};
|
|
2618
2732
|
_output_out: {
|
|
2619
|
-
userId: string;
|
|
2620
|
-
id: string;
|
|
2621
|
-
validated: boolean;
|
|
2622
2733
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2623
2734
|
job: string;
|
|
2624
2735
|
specialties: string[];
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2736
|
+
} & {
|
|
2737
|
+
user: {
|
|
2738
|
+
id: string;
|
|
2739
|
+
lastname: string;
|
|
2740
|
+
firstname: string;
|
|
2741
|
+
avatar: string | null;
|
|
2742
|
+
isSearchable: boolean;
|
|
2743
|
+
};
|
|
2631
2744
|
};
|
|
2632
2745
|
}, unknown>;
|
|
2633
2746
|
list: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2664,19 +2777,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2664
2777
|
}>;
|
|
2665
2778
|
_meta: object;
|
|
2666
2779
|
_ctx_out: {
|
|
2667
|
-
session:
|
|
2668
|
-
appId: string;
|
|
2669
|
-
appPlanId: string;
|
|
2670
|
-
appFakeUserId: string | undefined;
|
|
2671
|
-
sessionId: string;
|
|
2672
|
-
accountId: string;
|
|
2673
|
-
accountInfosId: string;
|
|
2674
|
-
accountRole: _prisma_client.$Enums.AccountRole;
|
|
2675
|
-
userId: string;
|
|
2676
|
-
userRole: _prisma_client.$Enums.UserRole;
|
|
2677
|
-
userPlan: _prisma_client.$Enums.PlanKind;
|
|
2678
|
-
isCare?: boolean | undefined;
|
|
2679
|
-
};
|
|
2780
|
+
session: SecrecySession;
|
|
2680
2781
|
req: {
|
|
2681
2782
|
headers: Headers;
|
|
2682
2783
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -2689,34 +2790,32 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2689
2790
|
};
|
|
2690
2791
|
_input_in: {};
|
|
2691
2792
|
_input_out: {};
|
|
2692
|
-
_output_in: {
|
|
2693
|
-
userId: string;
|
|
2694
|
-
id: string;
|
|
2695
|
-
validated: boolean;
|
|
2793
|
+
_output_in: ({
|
|
2696
2794
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2697
2795
|
job: string;
|
|
2698
2796
|
specialties: string[];
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
validated: boolean;
|
|
2797
|
+
} & {
|
|
2798
|
+
user: {
|
|
2799
|
+
id: string;
|
|
2800
|
+
lastname: string;
|
|
2801
|
+
firstname: string;
|
|
2802
|
+
avatar: string | null;
|
|
2803
|
+
isSearchable: boolean;
|
|
2804
|
+
};
|
|
2805
|
+
})[];
|
|
2806
|
+
_output_out: ({
|
|
2710
2807
|
status: "active" | "inactive" | "retired" | "suspended";
|
|
2711
2808
|
job: string;
|
|
2712
2809
|
specialties: string[];
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2810
|
+
} & {
|
|
2811
|
+
user: {
|
|
2812
|
+
id: string;
|
|
2813
|
+
lastname: string;
|
|
2814
|
+
firstname: string;
|
|
2815
|
+
avatar: string | null;
|
|
2816
|
+
isSearchable: boolean;
|
|
2817
|
+
};
|
|
2818
|
+
})[];
|
|
2720
2819
|
}, unknown>;
|
|
2721
2820
|
}>;
|
|
2722
2821
|
}>;
|
|
@@ -2847,7 +2946,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2847
2946
|
deletedAt: Date | null;
|
|
2848
2947
|
size: bigint;
|
|
2849
2948
|
md5: string;
|
|
2850
|
-
storageType: "
|
|
2949
|
+
storageType: "s3" | "lite";
|
|
2851
2950
|
sizeBefore: bigint;
|
|
2852
2951
|
md5Encrypted: string;
|
|
2853
2952
|
access: {
|
|
@@ -2861,7 +2960,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2861
2960
|
deletedAt: Date | null;
|
|
2862
2961
|
size: bigint;
|
|
2863
2962
|
md5: string;
|
|
2864
|
-
storageType: "
|
|
2963
|
+
storageType: "s3" | "lite";
|
|
2865
2964
|
sizeBefore: bigint;
|
|
2866
2965
|
md5Encrypted: string;
|
|
2867
2966
|
access: {
|
|
@@ -2988,7 +3087,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2988
3087
|
deletedAt: Date | null;
|
|
2989
3088
|
size: bigint;
|
|
2990
3089
|
md5: string;
|
|
2991
|
-
storageType: "
|
|
3090
|
+
storageType: "s3" | "lite";
|
|
2992
3091
|
sizeBefore: bigint;
|
|
2993
3092
|
md5Encrypted: string;
|
|
2994
3093
|
access: {
|
|
@@ -3002,7 +3101,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3002
3101
|
deletedAt: Date | null;
|
|
3003
3102
|
size: bigint;
|
|
3004
3103
|
md5: string;
|
|
3005
|
-
storageType: "
|
|
3104
|
+
storageType: "s3" | "lite";
|
|
3006
3105
|
sizeBefore: bigint;
|
|
3007
3106
|
md5Encrypted: string;
|
|
3008
3107
|
access: {
|
|
@@ -3204,7 +3303,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3204
3303
|
deletedAt: Date | null;
|
|
3205
3304
|
size: bigint;
|
|
3206
3305
|
md5: string;
|
|
3207
|
-
storageType: "
|
|
3306
|
+
storageType: "s3" | "lite";
|
|
3208
3307
|
sizeBefore: bigint;
|
|
3209
3308
|
md5Encrypted: string;
|
|
3210
3309
|
access: {
|
|
@@ -3218,7 +3317,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3218
3317
|
deletedAt: Date | null;
|
|
3219
3318
|
size: bigint;
|
|
3220
3319
|
md5: string;
|
|
3221
|
-
storageType: "
|
|
3320
|
+
storageType: "s3" | "lite";
|
|
3222
3321
|
sizeBefore: bigint;
|
|
3223
3322
|
md5Encrypted: string;
|
|
3224
3323
|
access: {
|
|
@@ -3310,20 +3409,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3310
3409
|
key: string;
|
|
3311
3410
|
type: "cloud";
|
|
3312
3411
|
md5: string;
|
|
3313
|
-
md5Encrypted: string;
|
|
3314
3412
|
parts: {
|
|
3315
3413
|
md5: string;
|
|
3316
3414
|
order: number;
|
|
3317
3415
|
contentUrl: string;
|
|
3318
3416
|
}[];
|
|
3417
|
+
md5Encrypted: string;
|
|
3319
3418
|
publicKey: string;
|
|
3320
3419
|
totalSize: bigint;
|
|
3321
3420
|
} | {
|
|
3322
3421
|
id: string;
|
|
3323
3422
|
key: string;
|
|
3324
3423
|
type: "lite";
|
|
3325
|
-
content: Buffer;
|
|
3326
3424
|
md5: string;
|
|
3425
|
+
content: Buffer;
|
|
3327
3426
|
md5Encrypted: string;
|
|
3328
3427
|
publicKey: string;
|
|
3329
3428
|
totalSize: bigint;
|
|
@@ -3360,20 +3459,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3360
3459
|
key: string;
|
|
3361
3460
|
type: "cloud";
|
|
3362
3461
|
md5: string;
|
|
3363
|
-
md5Encrypted: string;
|
|
3364
3462
|
parts: {
|
|
3365
3463
|
md5: string;
|
|
3366
3464
|
order: number;
|
|
3367
3465
|
contentUrl: string;
|
|
3368
3466
|
}[];
|
|
3467
|
+
md5Encrypted: string;
|
|
3369
3468
|
publicKey: string;
|
|
3370
3469
|
totalSize: bigint;
|
|
3371
3470
|
} | {
|
|
3372
3471
|
id: string;
|
|
3373
3472
|
key: string;
|
|
3374
3473
|
type: "lite";
|
|
3375
|
-
content: Buffer;
|
|
3376
3474
|
md5: string;
|
|
3475
|
+
content: Buffer;
|
|
3377
3476
|
md5Encrypted: string;
|
|
3378
3477
|
publicKey: string;
|
|
3379
3478
|
totalSize: bigint;
|
|
@@ -3462,20 +3561,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3462
3561
|
key: string;
|
|
3463
3562
|
type: "cloud";
|
|
3464
3563
|
md5: string;
|
|
3465
|
-
md5Encrypted: string;
|
|
3466
3564
|
parts: {
|
|
3467
3565
|
md5: string;
|
|
3468
3566
|
order: number;
|
|
3469
3567
|
contentUrl: string;
|
|
3470
3568
|
}[];
|
|
3569
|
+
md5Encrypted: string;
|
|
3471
3570
|
publicKey: string;
|
|
3472
3571
|
totalSize: bigint;
|
|
3473
3572
|
} | {
|
|
3474
3573
|
id: string;
|
|
3475
3574
|
key: string;
|
|
3476
3575
|
type: "lite";
|
|
3477
|
-
content: Buffer;
|
|
3478
3576
|
md5: string;
|
|
3577
|
+
content: Buffer;
|
|
3479
3578
|
md5Encrypted: string;
|
|
3480
3579
|
publicKey: string;
|
|
3481
3580
|
totalSize: bigint;
|
|
@@ -3512,20 +3611,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3512
3611
|
key: string;
|
|
3513
3612
|
type: "cloud";
|
|
3514
3613
|
md5: string;
|
|
3515
|
-
md5Encrypted: string;
|
|
3516
3614
|
parts: {
|
|
3517
3615
|
md5: string;
|
|
3518
3616
|
order: number;
|
|
3519
3617
|
contentUrl: string;
|
|
3520
3618
|
}[];
|
|
3619
|
+
md5Encrypted: string;
|
|
3521
3620
|
publicKey: string;
|
|
3522
3621
|
totalSize: bigint;
|
|
3523
3622
|
} | {
|
|
3524
3623
|
id: string;
|
|
3525
3624
|
key: string;
|
|
3526
3625
|
type: "lite";
|
|
3527
|
-
content: Buffer;
|
|
3528
3626
|
md5: string;
|
|
3627
|
+
content: Buffer;
|
|
3529
3628
|
md5Encrypted: string;
|
|
3530
3629
|
publicKey: string;
|
|
3531
3630
|
totalSize: bigint;
|
|
@@ -3687,7 +3786,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3687
3786
|
deletedAt: Date | null;
|
|
3688
3787
|
size: bigint;
|
|
3689
3788
|
md5: string;
|
|
3690
|
-
storageType: "
|
|
3789
|
+
storageType: "s3" | "lite";
|
|
3691
3790
|
sizeBefore: bigint;
|
|
3692
3791
|
md5Encrypted: string;
|
|
3693
3792
|
access: {
|
|
@@ -3701,7 +3800,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3701
3800
|
deletedAt: Date | null;
|
|
3702
3801
|
size: bigint;
|
|
3703
3802
|
md5: string;
|
|
3704
|
-
storageType: "
|
|
3803
|
+
storageType: "s3" | "lite";
|
|
3705
3804
|
sizeBefore: bigint;
|
|
3706
3805
|
md5Encrypted: string;
|
|
3707
3806
|
access: {
|
|
@@ -3828,7 +3927,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3828
3927
|
deletedAt: Date | null;
|
|
3829
3928
|
size: bigint;
|
|
3830
3929
|
md5: string;
|
|
3831
|
-
storageType: "
|
|
3930
|
+
storageType: "s3" | "lite";
|
|
3832
3931
|
sizeBefore: bigint;
|
|
3833
3932
|
md5Encrypted: string;
|
|
3834
3933
|
access: {
|
|
@@ -3842,7 +3941,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3842
3941
|
deletedAt: Date | null;
|
|
3843
3942
|
size: bigint;
|
|
3844
3943
|
md5: string;
|
|
3845
|
-
storageType: "
|
|
3944
|
+
storageType: "s3" | "lite";
|
|
3846
3945
|
sizeBefore: bigint;
|
|
3847
3946
|
md5Encrypted: string;
|
|
3848
3947
|
access: {
|
|
@@ -3888,42 +3987,184 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3888
3987
|
deletedAt: Date | null;
|
|
3889
3988
|
name: string;
|
|
3890
3989
|
updatedAt: Date;
|
|
3891
|
-
type: "FILE" | "FOLDER";
|
|
3892
|
-
parentId: string | null;
|
|
3893
|
-
isFavorite: boolean;
|
|
3894
|
-
currentFileId: string | null;
|
|
3895
|
-
} & {
|
|
3896
|
-
users: [{
|
|
3897
|
-
id: string;
|
|
3898
|
-
lastname: string;
|
|
3899
|
-
firstname: string;
|
|
3900
|
-
avatar: string | null;
|
|
3901
|
-
isSearchable: boolean;
|
|
3902
|
-
}, "admin" | "write" | "read"][];
|
|
3903
|
-
createdBy: {
|
|
3904
|
-
id: string;
|
|
3905
|
-
lastname: string;
|
|
3906
|
-
firstname: string;
|
|
3907
|
-
avatar: string | null;
|
|
3908
|
-
isSearchable: boolean;
|
|
3909
|
-
};
|
|
3990
|
+
type: "FILE" | "FOLDER";
|
|
3991
|
+
parentId: string | null;
|
|
3992
|
+
isFavorite: boolean;
|
|
3993
|
+
currentFileId: string | null;
|
|
3994
|
+
} & {
|
|
3995
|
+
users: [{
|
|
3996
|
+
id: string;
|
|
3997
|
+
lastname: string;
|
|
3998
|
+
firstname: string;
|
|
3999
|
+
avatar: string | null;
|
|
4000
|
+
isSearchable: boolean;
|
|
4001
|
+
}, "admin" | "write" | "read"][];
|
|
4002
|
+
createdBy: {
|
|
4003
|
+
id: string;
|
|
4004
|
+
lastname: string;
|
|
4005
|
+
firstname: string;
|
|
4006
|
+
avatar: string | null;
|
|
4007
|
+
isSearchable: boolean;
|
|
4008
|
+
};
|
|
4009
|
+
access: {
|
|
4010
|
+
rights: "admin" | "write" | "read";
|
|
4011
|
+
nameKey: string | null;
|
|
4012
|
+
isRoot: boolean;
|
|
4013
|
+
sharedByPubKey: string;
|
|
4014
|
+
};
|
|
4015
|
+
} & {
|
|
4016
|
+
sizes: {
|
|
4017
|
+
size: bigint;
|
|
4018
|
+
sizeBefore: bigint;
|
|
4019
|
+
};
|
|
4020
|
+
})[];
|
|
4021
|
+
breadcrumb: {
|
|
4022
|
+
id: string;
|
|
4023
|
+
name: string;
|
|
4024
|
+
nameKey: string | null;
|
|
4025
|
+
pubKey: string;
|
|
4026
|
+
}[];
|
|
4027
|
+
};
|
|
4028
|
+
}, unknown>;
|
|
4029
|
+
searchData: _trpc_server.BuildProcedure<"query", {
|
|
4030
|
+
_config: _trpc_server.RootConfig<{
|
|
4031
|
+
ctx: {
|
|
4032
|
+
req: {
|
|
4033
|
+
headers: Headers;
|
|
4034
|
+
body: ReadableStream<Uint8Array> | null;
|
|
4035
|
+
};
|
|
4036
|
+
res: {
|
|
4037
|
+
headers: Headers;
|
|
4038
|
+
};
|
|
4039
|
+
session: SecrecySession | null;
|
|
4040
|
+
locale: Locales;
|
|
4041
|
+
ls: TranslationFunctions;
|
|
4042
|
+
};
|
|
4043
|
+
meta: object;
|
|
4044
|
+
errorShape: {
|
|
4045
|
+
message: string;
|
|
4046
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4047
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4048
|
+
} | {
|
|
4049
|
+
data: {
|
|
4050
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4051
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
4052
|
+
httpStatus: number;
|
|
4053
|
+
path?: string | undefined;
|
|
4054
|
+
stack?: string | undefined;
|
|
4055
|
+
};
|
|
4056
|
+
message: string;
|
|
4057
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4058
|
+
};
|
|
4059
|
+
transformer: typeof superjson.default;
|
|
4060
|
+
}>;
|
|
4061
|
+
_meta: object;
|
|
4062
|
+
_ctx_out: {
|
|
4063
|
+
session: SecrecySession;
|
|
4064
|
+
req: {
|
|
4065
|
+
headers: Headers;
|
|
4066
|
+
body: ReadableStream<Uint8Array> | null;
|
|
4067
|
+
};
|
|
4068
|
+
res: {
|
|
4069
|
+
headers: Headers;
|
|
4070
|
+
};
|
|
4071
|
+
locale: Locales;
|
|
4072
|
+
ls: TranslationFunctions;
|
|
4073
|
+
};
|
|
4074
|
+
_input_in: {
|
|
4075
|
+
page?: number | undefined;
|
|
4076
|
+
pageItems?: number | undefined;
|
|
4077
|
+
filters?: {
|
|
4078
|
+
orderBy?: {
|
|
4079
|
+
type: "createdAt" | "updatedAt" | "size" | "sharedCount";
|
|
4080
|
+
order: "desc" | "asc";
|
|
4081
|
+
} | undefined;
|
|
4082
|
+
createdAt?: {
|
|
4083
|
+
max?: Date | undefined;
|
|
4084
|
+
min?: Date | undefined;
|
|
4085
|
+
} | undefined;
|
|
4086
|
+
updatedAt?: {
|
|
4087
|
+
max?: Date | undefined;
|
|
4088
|
+
min?: Date | undefined;
|
|
4089
|
+
} | undefined;
|
|
4090
|
+
size?: {
|
|
4091
|
+
max?: bigint | undefined;
|
|
4092
|
+
min?: bigint | undefined;
|
|
4093
|
+
} | undefined;
|
|
4094
|
+
appIds?: string[] | undefined;
|
|
4095
|
+
sharedCount?: {
|
|
4096
|
+
max?: number | undefined;
|
|
4097
|
+
min?: number | undefined;
|
|
4098
|
+
} | undefined;
|
|
4099
|
+
} | undefined;
|
|
4100
|
+
};
|
|
4101
|
+
_input_out: {
|
|
4102
|
+
page?: number | undefined;
|
|
4103
|
+
pageItems?: number | undefined;
|
|
4104
|
+
filters?: {
|
|
4105
|
+
orderBy?: {
|
|
4106
|
+
type: "createdAt" | "updatedAt" | "size" | "sharedCount";
|
|
4107
|
+
order: "desc" | "asc";
|
|
4108
|
+
} | undefined;
|
|
4109
|
+
createdAt?: {
|
|
4110
|
+
max?: Date | undefined;
|
|
4111
|
+
min?: Date | undefined;
|
|
4112
|
+
} | undefined;
|
|
4113
|
+
updatedAt?: {
|
|
4114
|
+
max?: Date | undefined;
|
|
4115
|
+
min?: Date | undefined;
|
|
4116
|
+
} | undefined;
|
|
4117
|
+
size?: {
|
|
4118
|
+
max?: bigint | undefined;
|
|
4119
|
+
min?: bigint | undefined;
|
|
4120
|
+
} | undefined;
|
|
4121
|
+
appIds?: string[] | undefined;
|
|
4122
|
+
sharedCount?: {
|
|
4123
|
+
max?: number | undefined;
|
|
4124
|
+
min?: number | undefined;
|
|
4125
|
+
} | undefined;
|
|
4126
|
+
} | undefined;
|
|
4127
|
+
};
|
|
4128
|
+
_output_in: {
|
|
4129
|
+
nodes: {
|
|
4130
|
+
id: string;
|
|
4131
|
+
createdAt: Date;
|
|
4132
|
+
deletedAt: Date | null;
|
|
4133
|
+
name: string;
|
|
4134
|
+
updatedAt: Date;
|
|
4135
|
+
size: bigint;
|
|
4136
|
+
storageType: "s3" | "lite";
|
|
3910
4137
|
access: {
|
|
3911
|
-
|
|
3912
|
-
nameKey: string
|
|
3913
|
-
isRoot: boolean;
|
|
3914
|
-
sharedByPubKey: string;
|
|
3915
|
-
};
|
|
3916
|
-
} & {
|
|
3917
|
-
sizes: {
|
|
3918
|
-
size: bigint;
|
|
3919
|
-
sizeBefore: bigint;
|
|
4138
|
+
appId: string;
|
|
4139
|
+
nameKey: string;
|
|
3920
4140
|
};
|
|
3921
|
-
|
|
3922
|
-
|
|
4141
|
+
sharedCount: number;
|
|
4142
|
+
}[];
|
|
4143
|
+
keyPairs: {
|
|
4144
|
+
appId: string;
|
|
4145
|
+
pub: string;
|
|
4146
|
+
encPriv: string;
|
|
4147
|
+
}[];
|
|
4148
|
+
};
|
|
4149
|
+
_output_out: {
|
|
4150
|
+
nodes: {
|
|
3923
4151
|
id: string;
|
|
4152
|
+
createdAt: Date;
|
|
4153
|
+
deletedAt: Date | null;
|
|
3924
4154
|
name: string;
|
|
3925
|
-
|
|
3926
|
-
|
|
4155
|
+
updatedAt: Date;
|
|
4156
|
+
size: bigint;
|
|
4157
|
+
storageType: "s3" | "lite";
|
|
4158
|
+
access: {
|
|
4159
|
+
appId: string;
|
|
4160
|
+
nameKey: string;
|
|
4161
|
+
};
|
|
4162
|
+
sharedCount: number;
|
|
4163
|
+
}[];
|
|
4164
|
+
keyPairs: {
|
|
4165
|
+
appId: string;
|
|
4166
|
+
pub: string;
|
|
4167
|
+
encPriv: string;
|
|
3927
4168
|
}[];
|
|
3928
4169
|
};
|
|
3929
4170
|
}, unknown>;
|
|
@@ -4240,16 +4481,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4240
4481
|
};
|
|
4241
4482
|
_input_in: {
|
|
4242
4483
|
fileSize: bigint;
|
|
4243
|
-
content: Buffer;
|
|
4244
4484
|
md5: string;
|
|
4485
|
+
content: Buffer;
|
|
4245
4486
|
md5Encrypted: string;
|
|
4246
4487
|
fileKey: string;
|
|
4247
4488
|
fileSizeBefore: bigint;
|
|
4248
4489
|
};
|
|
4249
4490
|
_input_out: {
|
|
4250
4491
|
fileSize: bigint;
|
|
4251
|
-
content: Buffer;
|
|
4252
4492
|
md5: string;
|
|
4493
|
+
content: Buffer;
|
|
4253
4494
|
md5Encrypted: string;
|
|
4254
4495
|
fileKey: string;
|
|
4255
4496
|
fileSizeBefore: bigint;
|
|
@@ -4359,7 +4600,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4359
4600
|
deletedAt: Date | null;
|
|
4360
4601
|
size: bigint;
|
|
4361
4602
|
md5: string;
|
|
4362
|
-
storageType: "
|
|
4603
|
+
storageType: "s3" | "lite";
|
|
4363
4604
|
sizeBefore: bigint;
|
|
4364
4605
|
md5Encrypted: string;
|
|
4365
4606
|
access: {
|
|
@@ -4373,7 +4614,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4373
4614
|
deletedAt: Date | null;
|
|
4374
4615
|
size: bigint;
|
|
4375
4616
|
md5: string;
|
|
4376
|
-
storageType: "
|
|
4617
|
+
storageType: "s3" | "lite";
|
|
4377
4618
|
sizeBefore: bigint;
|
|
4378
4619
|
md5Encrypted: string;
|
|
4379
4620
|
access: {
|
|
@@ -4500,7 +4741,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4500
4741
|
deletedAt: Date | null;
|
|
4501
4742
|
size: bigint;
|
|
4502
4743
|
md5: string;
|
|
4503
|
-
storageType: "
|
|
4744
|
+
storageType: "s3" | "lite";
|
|
4504
4745
|
sizeBefore: bigint;
|
|
4505
4746
|
md5Encrypted: string;
|
|
4506
4747
|
access: {
|
|
@@ -4514,7 +4755,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4514
4755
|
deletedAt: Date | null;
|
|
4515
4756
|
size: bigint;
|
|
4516
4757
|
md5: string;
|
|
4517
|
-
storageType: "
|
|
4758
|
+
storageType: "s3" | "lite";
|
|
4518
4759
|
sizeBefore: bigint;
|
|
4519
4760
|
md5Encrypted: string;
|
|
4520
4761
|
access: {
|
|
@@ -5311,7 +5552,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5311
5552
|
deletedAt: Date | null;
|
|
5312
5553
|
size: bigint;
|
|
5313
5554
|
md5: string;
|
|
5314
|
-
storageType: "
|
|
5555
|
+
storageType: "s3" | "lite";
|
|
5315
5556
|
sizeBefore: bigint;
|
|
5316
5557
|
md5Encrypted: string;
|
|
5317
5558
|
access: {
|
|
@@ -5325,7 +5566,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5325
5566
|
deletedAt: Date | null;
|
|
5326
5567
|
size: bigint;
|
|
5327
5568
|
md5: string;
|
|
5328
|
-
storageType: "
|
|
5569
|
+
storageType: "s3" | "lite";
|
|
5329
5570
|
sizeBefore: bigint;
|
|
5330
5571
|
md5Encrypted: string;
|
|
5331
5572
|
access: {
|
|
@@ -5452,7 +5693,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5452
5693
|
deletedAt: Date | null;
|
|
5453
5694
|
size: bigint;
|
|
5454
5695
|
md5: string;
|
|
5455
|
-
storageType: "
|
|
5696
|
+
storageType: "s3" | "lite";
|
|
5456
5697
|
sizeBefore: bigint;
|
|
5457
5698
|
md5Encrypted: string;
|
|
5458
5699
|
access: {
|
|
@@ -5466,7 +5707,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5466
5707
|
deletedAt: Date | null;
|
|
5467
5708
|
size: bigint;
|
|
5468
5709
|
md5: string;
|
|
5469
|
-
storageType: "
|
|
5710
|
+
storageType: "s3" | "lite";
|
|
5470
5711
|
sizeBefore: bigint;
|
|
5471
5712
|
md5Encrypted: string;
|
|
5472
5713
|
access: {
|
|
@@ -6058,11 +6299,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6058
6299
|
userId: string;
|
|
6059
6300
|
nodes: {
|
|
6060
6301
|
id: string;
|
|
6302
|
+
nameKey: string | null;
|
|
6061
6303
|
files: {
|
|
6062
6304
|
id: string;
|
|
6063
6305
|
key: string;
|
|
6064
6306
|
}[];
|
|
6065
|
-
nameKey: string | null;
|
|
6066
6307
|
}[];
|
|
6067
6308
|
rights: "admin" | "write" | "read";
|
|
6068
6309
|
};
|
|
@@ -6070,11 +6311,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6070
6311
|
userId: string;
|
|
6071
6312
|
nodes: {
|
|
6072
6313
|
id: string;
|
|
6314
|
+
nameKey: string | null;
|
|
6073
6315
|
files: {
|
|
6074
6316
|
id: string;
|
|
6075
6317
|
key: string;
|
|
6076
6318
|
}[];
|
|
6077
|
-
nameKey: string | null;
|
|
6078
6319
|
}[];
|
|
6079
6320
|
rights: "admin" | "write" | "read";
|
|
6080
6321
|
};
|
|
@@ -6245,7 +6486,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6245
6486
|
deletedAt: Date | null;
|
|
6246
6487
|
size: bigint;
|
|
6247
6488
|
md5: string;
|
|
6248
|
-
storageType: "
|
|
6489
|
+
storageType: "s3" | "lite";
|
|
6249
6490
|
sizeBefore: bigint;
|
|
6250
6491
|
md5Encrypted: string;
|
|
6251
6492
|
access: {
|
|
@@ -6259,7 +6500,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6259
6500
|
deletedAt: Date | null;
|
|
6260
6501
|
size: bigint;
|
|
6261
6502
|
md5: string;
|
|
6262
|
-
storageType: "
|
|
6503
|
+
storageType: "s3" | "lite";
|
|
6263
6504
|
sizeBefore: bigint;
|
|
6264
6505
|
md5Encrypted: string;
|
|
6265
6506
|
access: {
|
|
@@ -6386,7 +6627,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6386
6627
|
deletedAt: Date | null;
|
|
6387
6628
|
size: bigint;
|
|
6388
6629
|
md5: string;
|
|
6389
|
-
storageType: "
|
|
6630
|
+
storageType: "s3" | "lite";
|
|
6390
6631
|
sizeBefore: bigint;
|
|
6391
6632
|
md5Encrypted: string;
|
|
6392
6633
|
access: {
|
|
@@ -6400,7 +6641,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6400
6641
|
deletedAt: Date | null;
|
|
6401
6642
|
size: bigint;
|
|
6402
6643
|
md5: string;
|
|
6403
|
-
storageType: "
|
|
6644
|
+
storageType: "s3" | "lite";
|
|
6404
6645
|
sizeBefore: bigint;
|
|
6405
6646
|
md5Encrypted: string;
|
|
6406
6647
|
access: {
|
|
@@ -7951,13 +8192,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7951
8192
|
_input_in: {
|
|
7952
8193
|
appId?: string | undefined;
|
|
7953
8194
|
} & {
|
|
7954
|
-
pgVersion?:
|
|
8195
|
+
pgVersion?: 15 | 16 | 14 | undefined;
|
|
7955
8196
|
regionId?: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2" | undefined;
|
|
7956
8197
|
};
|
|
7957
8198
|
_input_out: {
|
|
7958
8199
|
appId?: string | undefined;
|
|
7959
8200
|
} & {
|
|
7960
|
-
pgVersion:
|
|
8201
|
+
pgVersion: 15 | 16 | 14;
|
|
7961
8202
|
regionId: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2";
|
|
7962
8203
|
};
|
|
7963
8204
|
_output_in: {
|
|
@@ -8261,14 +8502,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
8261
8502
|
_input_in: {
|
|
8262
8503
|
appId?: string | undefined;
|
|
8263
8504
|
} & {
|
|
8264
|
-
limit?: number | undefined;
|
|
8265
8505
|
cursor?: string | undefined;
|
|
8506
|
+
limit?: number | undefined;
|
|
8266
8507
|
};
|
|
8267
8508
|
_input_out: {
|
|
8268
8509
|
appId?: string | undefined;
|
|
8269
8510
|
} & {
|
|
8270
|
-
limit?: number | undefined;
|
|
8271
8511
|
cursor?: string | undefined;
|
|
8512
|
+
limit?: number | undefined;
|
|
8272
8513
|
};
|
|
8273
8514
|
_output_in: {
|
|
8274
8515
|
operations: {
|
|
@@ -11158,13 +11399,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
11158
11399
|
lang: "fr" | "en";
|
|
11159
11400
|
};
|
|
11160
11401
|
_output_in: {
|
|
11161
|
-
order: number;
|
|
11162
11402
|
question: string;
|
|
11403
|
+
order: number;
|
|
11163
11404
|
answer: string;
|
|
11164
11405
|
}[];
|
|
11165
11406
|
_output_out: {
|
|
11166
|
-
order: number;
|
|
11167
11407
|
question: string;
|
|
11408
|
+
order: number;
|
|
11168
11409
|
answer: string;
|
|
11169
11410
|
}[];
|
|
11170
11411
|
}, unknown>;
|
|
@@ -14924,10 +15165,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
14924
15165
|
}>;
|
|
14925
15166
|
_meta: object;
|
|
14926
15167
|
_ctx_out: {
|
|
14927
|
-
session:
|
|
14928
|
-
appId?: null | undefined;
|
|
14929
|
-
appPlanId?: null | undefined;
|
|
14930
|
-
};
|
|
15168
|
+
session: SecrecySession;
|
|
14931
15169
|
req: {
|
|
14932
15170
|
headers: Headers;
|
|
14933
15171
|
body: ReadableStream<Uint8Array> | null;
|
|
@@ -16069,33 +16307,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16069
16307
|
};
|
|
16070
16308
|
_output_in: {
|
|
16071
16309
|
plan: {
|
|
16310
|
+
codes: string[];
|
|
16072
16311
|
id: string;
|
|
16073
16312
|
kind: string;
|
|
16074
|
-
|
|
16313
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16314
|
+
descriptorId: string;
|
|
16315
|
+
} & {
|
|
16075
16316
|
descriptor: {
|
|
16076
|
-
id: string;
|
|
16077
16317
|
devsBase: bigint | null;
|
|
16078
16318
|
devsUnit: bigint | null;
|
|
16079
|
-
devsPrice:
|
|
16319
|
+
devsPrice: number | null;
|
|
16080
16320
|
usersBase: bigint | null;
|
|
16081
16321
|
usersUnit: bigint | null;
|
|
16082
|
-
usersPrice:
|
|
16322
|
+
usersPrice: number | null;
|
|
16083
16323
|
perFileSizeBase: bigint | null;
|
|
16084
16324
|
perFileSizeUnit: bigint | null;
|
|
16085
|
-
perFileSizePrice:
|
|
16325
|
+
perFileSizePrice: number | null;
|
|
16086
16326
|
bandwidthBase: bigint | null;
|
|
16087
16327
|
bandwidthUnit: bigint | null;
|
|
16088
|
-
bandwidthPrice:
|
|
16328
|
+
bandwidthPrice: number | null;
|
|
16089
16329
|
totalStorageSizeBase: bigint | null;
|
|
16090
16330
|
totalStorageSizeUnit: bigint | null;
|
|
16091
|
-
totalStorageSizePrice:
|
|
16331
|
+
totalStorageSizePrice: number | null;
|
|
16092
16332
|
devsMax: bigint | null;
|
|
16093
16333
|
usersMax: bigint | null;
|
|
16094
16334
|
perFileSizeMax: bigint | null;
|
|
16095
16335
|
bandwidthMax: bigint | null;
|
|
16096
16336
|
totalStorageSizeMax: bigint | null;
|
|
16097
16337
|
};
|
|
16098
|
-
}
|
|
16338
|
+
};
|
|
16099
16339
|
id: string;
|
|
16100
16340
|
createdAt: Date;
|
|
16101
16341
|
users: {
|
|
@@ -16117,63 +16357,67 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16117
16357
|
} | null;
|
|
16118
16358
|
};
|
|
16119
16359
|
plans: ({
|
|
16360
|
+
codes: string[];
|
|
16120
16361
|
id: string;
|
|
16121
16362
|
kind: string;
|
|
16122
|
-
|
|
16363
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16364
|
+
descriptorId: string;
|
|
16365
|
+
} & {
|
|
16123
16366
|
descriptor: {
|
|
16124
|
-
id: string;
|
|
16125
16367
|
devsBase: bigint | null;
|
|
16126
16368
|
devsUnit: bigint | null;
|
|
16127
|
-
devsPrice:
|
|
16369
|
+
devsPrice: number | null;
|
|
16128
16370
|
usersBase: bigint | null;
|
|
16129
16371
|
usersUnit: bigint | null;
|
|
16130
|
-
usersPrice:
|
|
16372
|
+
usersPrice: number | null;
|
|
16131
16373
|
perFileSizeBase: bigint | null;
|
|
16132
16374
|
perFileSizeUnit: bigint | null;
|
|
16133
|
-
perFileSizePrice:
|
|
16375
|
+
perFileSizePrice: number | null;
|
|
16134
16376
|
bandwidthBase: bigint | null;
|
|
16135
16377
|
bandwidthUnit: bigint | null;
|
|
16136
|
-
bandwidthPrice:
|
|
16378
|
+
bandwidthPrice: number | null;
|
|
16137
16379
|
totalStorageSizeBase: bigint | null;
|
|
16138
16380
|
totalStorageSizeUnit: bigint | null;
|
|
16139
|
-
totalStorageSizePrice:
|
|
16381
|
+
totalStorageSizePrice: number | null;
|
|
16140
16382
|
devsMax: bigint | null;
|
|
16141
16383
|
usersMax: bigint | null;
|
|
16142
16384
|
perFileSizeMax: bigint | null;
|
|
16143
16385
|
bandwidthMax: bigint | null;
|
|
16144
16386
|
totalStorageSizeMax: bigint | null;
|
|
16145
16387
|
};
|
|
16146
|
-
}
|
|
16388
|
+
})[];
|
|
16147
16389
|
};
|
|
16148
16390
|
_output_out: {
|
|
16149
16391
|
plan: {
|
|
16392
|
+
codes: string[];
|
|
16150
16393
|
id: string;
|
|
16151
16394
|
kind: string;
|
|
16152
|
-
|
|
16395
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16396
|
+
descriptorId: string;
|
|
16397
|
+
} & {
|
|
16153
16398
|
descriptor: {
|
|
16154
|
-
id: string;
|
|
16155
16399
|
devsBase: bigint | null;
|
|
16156
16400
|
devsUnit: bigint | null;
|
|
16157
|
-
devsPrice:
|
|
16401
|
+
devsPrice: number | null;
|
|
16158
16402
|
usersBase: bigint | null;
|
|
16159
16403
|
usersUnit: bigint | null;
|
|
16160
|
-
usersPrice:
|
|
16404
|
+
usersPrice: number | null;
|
|
16161
16405
|
perFileSizeBase: bigint | null;
|
|
16162
16406
|
perFileSizeUnit: bigint | null;
|
|
16163
|
-
perFileSizePrice:
|
|
16407
|
+
perFileSizePrice: number | null;
|
|
16164
16408
|
bandwidthBase: bigint | null;
|
|
16165
16409
|
bandwidthUnit: bigint | null;
|
|
16166
|
-
bandwidthPrice:
|
|
16410
|
+
bandwidthPrice: number | null;
|
|
16167
16411
|
totalStorageSizeBase: bigint | null;
|
|
16168
16412
|
totalStorageSizeUnit: bigint | null;
|
|
16169
|
-
totalStorageSizePrice:
|
|
16413
|
+
totalStorageSizePrice: number | null;
|
|
16170
16414
|
devsMax: bigint | null;
|
|
16171
16415
|
usersMax: bigint | null;
|
|
16172
16416
|
perFileSizeMax: bigint | null;
|
|
16173
16417
|
bandwidthMax: bigint | null;
|
|
16174
16418
|
totalStorageSizeMax: bigint | null;
|
|
16175
16419
|
};
|
|
16176
|
-
}
|
|
16420
|
+
};
|
|
16177
16421
|
id: string;
|
|
16178
16422
|
createdAt: Date;
|
|
16179
16423
|
users: {
|
|
@@ -16195,33 +16439,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16195
16439
|
} | null;
|
|
16196
16440
|
};
|
|
16197
16441
|
plans: ({
|
|
16442
|
+
codes: string[];
|
|
16198
16443
|
id: string;
|
|
16199
16444
|
kind: string;
|
|
16200
|
-
|
|
16445
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16446
|
+
descriptorId: string;
|
|
16447
|
+
} & {
|
|
16201
16448
|
descriptor: {
|
|
16202
|
-
id: string;
|
|
16203
16449
|
devsBase: bigint | null;
|
|
16204
16450
|
devsUnit: bigint | null;
|
|
16205
|
-
devsPrice:
|
|
16451
|
+
devsPrice: number | null;
|
|
16206
16452
|
usersBase: bigint | null;
|
|
16207
16453
|
usersUnit: bigint | null;
|
|
16208
|
-
usersPrice:
|
|
16454
|
+
usersPrice: number | null;
|
|
16209
16455
|
perFileSizeBase: bigint | null;
|
|
16210
16456
|
perFileSizeUnit: bigint | null;
|
|
16211
|
-
perFileSizePrice:
|
|
16457
|
+
perFileSizePrice: number | null;
|
|
16212
16458
|
bandwidthBase: bigint | null;
|
|
16213
16459
|
bandwidthUnit: bigint | null;
|
|
16214
|
-
bandwidthPrice:
|
|
16460
|
+
bandwidthPrice: number | null;
|
|
16215
16461
|
totalStorageSizeBase: bigint | null;
|
|
16216
16462
|
totalStorageSizeUnit: bigint | null;
|
|
16217
|
-
totalStorageSizePrice:
|
|
16463
|
+
totalStorageSizePrice: number | null;
|
|
16218
16464
|
devsMax: bigint | null;
|
|
16219
16465
|
usersMax: bigint | null;
|
|
16220
16466
|
perFileSizeMax: bigint | null;
|
|
16221
16467
|
bandwidthMax: bigint | null;
|
|
16222
16468
|
totalStorageSizeMax: bigint | null;
|
|
16223
16469
|
};
|
|
16224
|
-
}
|
|
16470
|
+
})[];
|
|
16225
16471
|
};
|
|
16226
16472
|
}, unknown>;
|
|
16227
16473
|
applications: _trpc_server.BuildProcedure<"query", {
|
|
@@ -16277,33 +16523,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16277
16523
|
};
|
|
16278
16524
|
_output_in: {
|
|
16279
16525
|
plan: {
|
|
16526
|
+
codes: string[];
|
|
16280
16527
|
id: string;
|
|
16281
16528
|
kind: string;
|
|
16282
|
-
|
|
16529
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16530
|
+
descriptorId: string;
|
|
16531
|
+
} & {
|
|
16283
16532
|
descriptor: {
|
|
16284
|
-
id: string;
|
|
16285
16533
|
devsBase: bigint | null;
|
|
16286
16534
|
devsUnit: bigint | null;
|
|
16287
|
-
devsPrice:
|
|
16535
|
+
devsPrice: number | null;
|
|
16288
16536
|
usersBase: bigint | null;
|
|
16289
16537
|
usersUnit: bigint | null;
|
|
16290
|
-
usersPrice:
|
|
16538
|
+
usersPrice: number | null;
|
|
16291
16539
|
perFileSizeBase: bigint | null;
|
|
16292
16540
|
perFileSizeUnit: bigint | null;
|
|
16293
|
-
perFileSizePrice:
|
|
16541
|
+
perFileSizePrice: number | null;
|
|
16294
16542
|
bandwidthBase: bigint | null;
|
|
16295
16543
|
bandwidthUnit: bigint | null;
|
|
16296
|
-
bandwidthPrice:
|
|
16544
|
+
bandwidthPrice: number | null;
|
|
16297
16545
|
totalStorageSizeBase: bigint | null;
|
|
16298
16546
|
totalStorageSizeUnit: bigint | null;
|
|
16299
|
-
totalStorageSizePrice:
|
|
16547
|
+
totalStorageSizePrice: number | null;
|
|
16300
16548
|
devsMax: bigint | null;
|
|
16301
16549
|
usersMax: bigint | null;
|
|
16302
16550
|
perFileSizeMax: bigint | null;
|
|
16303
16551
|
bandwidthMax: bigint | null;
|
|
16304
16552
|
totalStorageSizeMax: bigint | null;
|
|
16305
16553
|
};
|
|
16306
|
-
}
|
|
16554
|
+
};
|
|
16307
16555
|
id: string;
|
|
16308
16556
|
createdAt: Date;
|
|
16309
16557
|
users: {
|
|
@@ -16325,63 +16573,67 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16325
16573
|
} | null;
|
|
16326
16574
|
};
|
|
16327
16575
|
plans: ({
|
|
16576
|
+
codes: string[];
|
|
16328
16577
|
id: string;
|
|
16329
16578
|
kind: string;
|
|
16330
|
-
|
|
16579
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16580
|
+
descriptorId: string;
|
|
16581
|
+
} & {
|
|
16331
16582
|
descriptor: {
|
|
16332
|
-
id: string;
|
|
16333
16583
|
devsBase: bigint | null;
|
|
16334
16584
|
devsUnit: bigint | null;
|
|
16335
|
-
devsPrice:
|
|
16585
|
+
devsPrice: number | null;
|
|
16336
16586
|
usersBase: bigint | null;
|
|
16337
16587
|
usersUnit: bigint | null;
|
|
16338
|
-
usersPrice:
|
|
16588
|
+
usersPrice: number | null;
|
|
16339
16589
|
perFileSizeBase: bigint | null;
|
|
16340
16590
|
perFileSizeUnit: bigint | null;
|
|
16341
|
-
perFileSizePrice:
|
|
16591
|
+
perFileSizePrice: number | null;
|
|
16342
16592
|
bandwidthBase: bigint | null;
|
|
16343
16593
|
bandwidthUnit: bigint | null;
|
|
16344
|
-
bandwidthPrice:
|
|
16594
|
+
bandwidthPrice: number | null;
|
|
16345
16595
|
totalStorageSizeBase: bigint | null;
|
|
16346
16596
|
totalStorageSizeUnit: bigint | null;
|
|
16347
|
-
totalStorageSizePrice:
|
|
16597
|
+
totalStorageSizePrice: number | null;
|
|
16348
16598
|
devsMax: bigint | null;
|
|
16349
16599
|
usersMax: bigint | null;
|
|
16350
16600
|
perFileSizeMax: bigint | null;
|
|
16351
16601
|
bandwidthMax: bigint | null;
|
|
16352
16602
|
totalStorageSizeMax: bigint | null;
|
|
16353
16603
|
};
|
|
16354
|
-
}
|
|
16604
|
+
})[];
|
|
16355
16605
|
}[];
|
|
16356
16606
|
_output_out: {
|
|
16357
16607
|
plan: {
|
|
16608
|
+
codes: string[];
|
|
16358
16609
|
id: string;
|
|
16359
16610
|
kind: string;
|
|
16360
|
-
|
|
16611
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16612
|
+
descriptorId: string;
|
|
16613
|
+
} & {
|
|
16361
16614
|
descriptor: {
|
|
16362
|
-
id: string;
|
|
16363
16615
|
devsBase: bigint | null;
|
|
16364
16616
|
devsUnit: bigint | null;
|
|
16365
|
-
devsPrice:
|
|
16617
|
+
devsPrice: number | null;
|
|
16366
16618
|
usersBase: bigint | null;
|
|
16367
16619
|
usersUnit: bigint | null;
|
|
16368
|
-
usersPrice:
|
|
16620
|
+
usersPrice: number | null;
|
|
16369
16621
|
perFileSizeBase: bigint | null;
|
|
16370
16622
|
perFileSizeUnit: bigint | null;
|
|
16371
|
-
perFileSizePrice:
|
|
16623
|
+
perFileSizePrice: number | null;
|
|
16372
16624
|
bandwidthBase: bigint | null;
|
|
16373
16625
|
bandwidthUnit: bigint | null;
|
|
16374
|
-
bandwidthPrice:
|
|
16626
|
+
bandwidthPrice: number | null;
|
|
16375
16627
|
totalStorageSizeBase: bigint | null;
|
|
16376
16628
|
totalStorageSizeUnit: bigint | null;
|
|
16377
|
-
totalStorageSizePrice:
|
|
16629
|
+
totalStorageSizePrice: number | null;
|
|
16378
16630
|
devsMax: bigint | null;
|
|
16379
16631
|
usersMax: bigint | null;
|
|
16380
16632
|
perFileSizeMax: bigint | null;
|
|
16381
16633
|
bandwidthMax: bigint | null;
|
|
16382
16634
|
totalStorageSizeMax: bigint | null;
|
|
16383
16635
|
};
|
|
16384
|
-
}
|
|
16636
|
+
};
|
|
16385
16637
|
id: string;
|
|
16386
16638
|
createdAt: Date;
|
|
16387
16639
|
users: {
|
|
@@ -16403,35 +16655,109 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16403
16655
|
} | null;
|
|
16404
16656
|
};
|
|
16405
16657
|
plans: ({
|
|
16658
|
+
codes: string[];
|
|
16406
16659
|
id: string;
|
|
16407
16660
|
kind: string;
|
|
16408
|
-
|
|
16661
|
+
relatedTo: "secrecy" | "secrecy_tech";
|
|
16662
|
+
descriptorId: string;
|
|
16663
|
+
} & {
|
|
16409
16664
|
descriptor: {
|
|
16410
|
-
id: string;
|
|
16411
16665
|
devsBase: bigint | null;
|
|
16412
16666
|
devsUnit: bigint | null;
|
|
16413
|
-
devsPrice:
|
|
16667
|
+
devsPrice: number | null;
|
|
16414
16668
|
usersBase: bigint | null;
|
|
16415
16669
|
usersUnit: bigint | null;
|
|
16416
|
-
usersPrice:
|
|
16670
|
+
usersPrice: number | null;
|
|
16417
16671
|
perFileSizeBase: bigint | null;
|
|
16418
16672
|
perFileSizeUnit: bigint | null;
|
|
16419
|
-
perFileSizePrice:
|
|
16673
|
+
perFileSizePrice: number | null;
|
|
16420
16674
|
bandwidthBase: bigint | null;
|
|
16421
16675
|
bandwidthUnit: bigint | null;
|
|
16422
|
-
bandwidthPrice:
|
|
16676
|
+
bandwidthPrice: number | null;
|
|
16423
16677
|
totalStorageSizeBase: bigint | null;
|
|
16424
16678
|
totalStorageSizeUnit: bigint | null;
|
|
16425
|
-
totalStorageSizePrice:
|
|
16679
|
+
totalStorageSizePrice: number | null;
|
|
16426
16680
|
devsMax: bigint | null;
|
|
16427
16681
|
usersMax: bigint | null;
|
|
16428
16682
|
perFileSizeMax: bigint | null;
|
|
16429
16683
|
bandwidthMax: bigint | null;
|
|
16430
16684
|
totalStorageSizeMax: bigint | null;
|
|
16431
16685
|
};
|
|
16432
|
-
}
|
|
16686
|
+
})[];
|
|
16433
16687
|
}[];
|
|
16434
16688
|
}, unknown>;
|
|
16689
|
+
cancelSubscription: _trpc_server.BuildProcedure<"mutation", {
|
|
16690
|
+
_config: _trpc_server.RootConfig<{
|
|
16691
|
+
ctx: {
|
|
16692
|
+
req: {
|
|
16693
|
+
headers: Headers;
|
|
16694
|
+
body: ReadableStream<Uint8Array> | null;
|
|
16695
|
+
};
|
|
16696
|
+
res: {
|
|
16697
|
+
headers: Headers;
|
|
16698
|
+
};
|
|
16699
|
+
session: SecrecySession | null;
|
|
16700
|
+
locale: Locales;
|
|
16701
|
+
ls: TranslationFunctions;
|
|
16702
|
+
};
|
|
16703
|
+
meta: object;
|
|
16704
|
+
errorShape: {
|
|
16705
|
+
message: string;
|
|
16706
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16707
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
16708
|
+
} | {
|
|
16709
|
+
data: {
|
|
16710
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
16711
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
16712
|
+
httpStatus: number;
|
|
16713
|
+
path?: string | undefined;
|
|
16714
|
+
stack?: string | undefined;
|
|
16715
|
+
};
|
|
16716
|
+
message: string;
|
|
16717
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
16718
|
+
};
|
|
16719
|
+
transformer: typeof superjson.default;
|
|
16720
|
+
}>;
|
|
16721
|
+
_meta: object;
|
|
16722
|
+
_ctx_out: {
|
|
16723
|
+
session: {
|
|
16724
|
+
appId: string;
|
|
16725
|
+
appPlanId: string;
|
|
16726
|
+
appFakeUserId: string | undefined;
|
|
16727
|
+
sessionId: string;
|
|
16728
|
+
accountId: string;
|
|
16729
|
+
accountInfosId: string;
|
|
16730
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
16731
|
+
userId: string;
|
|
16732
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
16733
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
16734
|
+
isCare?: boolean | undefined;
|
|
16735
|
+
};
|
|
16736
|
+
req: {
|
|
16737
|
+
headers: Headers;
|
|
16738
|
+
body: ReadableStream<Uint8Array> | null;
|
|
16739
|
+
};
|
|
16740
|
+
res: {
|
|
16741
|
+
headers: Headers;
|
|
16742
|
+
};
|
|
16743
|
+
locale: Locales;
|
|
16744
|
+
ls: TranslationFunctions;
|
|
16745
|
+
};
|
|
16746
|
+
_input_in: {
|
|
16747
|
+
appId: string;
|
|
16748
|
+
prorate: boolean;
|
|
16749
|
+
};
|
|
16750
|
+
_input_out: {
|
|
16751
|
+
appId: string;
|
|
16752
|
+
prorate: boolean;
|
|
16753
|
+
};
|
|
16754
|
+
_output_in: {
|
|
16755
|
+
isCancelled: boolean;
|
|
16756
|
+
};
|
|
16757
|
+
_output_out: {
|
|
16758
|
+
isCancelled: boolean;
|
|
16759
|
+
};
|
|
16760
|
+
}, unknown>;
|
|
16435
16761
|
createApplication: _trpc_server.BuildProcedure<"mutation", {
|
|
16436
16762
|
_config: _trpc_server.RootConfig<{
|
|
16437
16763
|
ctx: {
|
|
@@ -16563,11 +16889,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
16563
16889
|
};
|
|
16564
16890
|
_input_in: {
|
|
16565
16891
|
appId: string;
|
|
16566
|
-
planCode: "tech_solo_month" | "
|
|
16892
|
+
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16567
16893
|
};
|
|
16568
16894
|
_input_out: {
|
|
16569
16895
|
appId: string;
|
|
16570
|
-
planCode: "tech_solo_month" | "
|
|
16896
|
+
planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
|
|
16571
16897
|
};
|
|
16572
16898
|
_output_in: {
|
|
16573
16899
|
url: string | null;
|
|
@@ -17289,11 +17615,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17289
17615
|
};
|
|
17290
17616
|
_input_in: {
|
|
17291
17617
|
appId: string;
|
|
17292
|
-
|
|
17618
|
+
userId: string;
|
|
17293
17619
|
};
|
|
17294
17620
|
_input_out: {
|
|
17295
17621
|
appId: string;
|
|
17296
|
-
|
|
17622
|
+
userId: string;
|
|
17297
17623
|
};
|
|
17298
17624
|
_output_in: {
|
|
17299
17625
|
isUpdated: boolean;
|
|
@@ -17511,62 +17837,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17511
17837
|
locale: Locales;
|
|
17512
17838
|
ls: TranslationFunctions;
|
|
17513
17839
|
};
|
|
17514
|
-
_input_in: {
|
|
17515
|
-
|
|
17516
|
-
_output_in: {
|
|
17517
|
-
isDeleted: boolean;
|
|
17518
|
-
};
|
|
17519
|
-
_output_out: {
|
|
17520
|
-
isDeleted: boolean;
|
|
17840
|
+
_input_in: {
|
|
17841
|
+
isTemporary: boolean;
|
|
17521
17842
|
};
|
|
17522
|
-
|
|
17523
|
-
|
|
17524
|
-
_config: _trpc_server.RootConfig<{
|
|
17525
|
-
ctx: {
|
|
17526
|
-
req: {
|
|
17527
|
-
headers: Headers;
|
|
17528
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17529
|
-
};
|
|
17530
|
-
res: {
|
|
17531
|
-
headers: Headers;
|
|
17532
|
-
};
|
|
17533
|
-
session: SecrecySession | null;
|
|
17534
|
-
locale: Locales;
|
|
17535
|
-
ls: TranslationFunctions;
|
|
17536
|
-
};
|
|
17537
|
-
meta: object;
|
|
17538
|
-
errorShape: {
|
|
17539
|
-
message: string;
|
|
17540
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17541
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
17542
|
-
} | {
|
|
17543
|
-
data: {
|
|
17544
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
17545
|
-
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
17546
|
-
httpStatus: number;
|
|
17547
|
-
path?: string | undefined;
|
|
17548
|
-
stack?: string | undefined;
|
|
17549
|
-
};
|
|
17550
|
-
message: string;
|
|
17551
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
17552
|
-
};
|
|
17553
|
-
transformer: typeof superjson.default;
|
|
17554
|
-
}>;
|
|
17555
|
-
_meta: object;
|
|
17556
|
-
_ctx_out: {
|
|
17557
|
-
session: SecrecySession;
|
|
17558
|
-
req: {
|
|
17559
|
-
headers: Headers;
|
|
17560
|
-
body: ReadableStream<Uint8Array> | null;
|
|
17561
|
-
};
|
|
17562
|
-
res: {
|
|
17563
|
-
headers: Headers;
|
|
17564
|
-
};
|
|
17565
|
-
locale: Locales;
|
|
17566
|
-
ls: TranslationFunctions;
|
|
17843
|
+
_input_out: {
|
|
17844
|
+
isTemporary: boolean;
|
|
17567
17845
|
};
|
|
17568
|
-
_input_in: {} | undefined;
|
|
17569
|
-
_input_out: {} | undefined;
|
|
17570
17846
|
_output_in: {
|
|
17571
17847
|
isDeleted: boolean;
|
|
17572
17848
|
};
|
|
@@ -17997,8 +18273,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
17997
18273
|
locale: Locales;
|
|
17998
18274
|
ls: TranslationFunctions;
|
|
17999
18275
|
};
|
|
18000
|
-
_input_in: {
|
|
18001
|
-
|
|
18276
|
+
_input_in: {
|
|
18277
|
+
prorate: boolean;
|
|
18278
|
+
};
|
|
18279
|
+
_input_out: {
|
|
18280
|
+
prorate: boolean;
|
|
18281
|
+
};
|
|
18002
18282
|
_output_in: {
|
|
18003
18283
|
isCancelled: boolean;
|
|
18004
18284
|
};
|