@secrecy/trpc-api-types 1.19.0-dev.4 → 1.19.0-dev.6
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 +126 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -485,22 +485,62 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
485
485
|
_ctx_out: {};
|
|
486
486
|
_input_in: {} | undefined;
|
|
487
487
|
_input_out: {} | undefined;
|
|
488
|
-
_output_in: {
|
|
488
|
+
_output_in: ({
|
|
489
489
|
codes: string[];
|
|
490
490
|
id: string;
|
|
491
491
|
kind: string;
|
|
492
492
|
price: _prisma_client_runtime_library.Decimal;
|
|
493
493
|
relatedTo: "secrecy_tech";
|
|
494
494
|
descriptorId: string;
|
|
495
|
-
}
|
|
496
|
-
|
|
495
|
+
} & {
|
|
496
|
+
descriptor: {
|
|
497
|
+
id: string;
|
|
498
|
+
devsBase: bigint | null;
|
|
499
|
+
devsUnit: bigint | null;
|
|
500
|
+
devsPrice: _prisma_client_runtime_library.Decimal | null;
|
|
501
|
+
usersBase: bigint | null;
|
|
502
|
+
usersUnit: bigint | null;
|
|
503
|
+
usersPrice: _prisma_client_runtime_library.Decimal | null;
|
|
504
|
+
perFileSizeBase: bigint | null;
|
|
505
|
+
perFileSizeUnit: bigint | null;
|
|
506
|
+
perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
|
|
507
|
+
bandwidthBase: bigint | null;
|
|
508
|
+
bandwidthUnit: bigint | null;
|
|
509
|
+
bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
|
|
510
|
+
devsMax: bigint | null;
|
|
511
|
+
usersMax: bigint | null;
|
|
512
|
+
perFileSizeMax: bigint | null;
|
|
513
|
+
bandwidthMax: bigint | null;
|
|
514
|
+
};
|
|
515
|
+
})[];
|
|
516
|
+
_output_out: ({
|
|
497
517
|
codes: string[];
|
|
498
518
|
id: string;
|
|
499
519
|
kind: string;
|
|
500
520
|
price: _prisma_client_runtime_library.Decimal;
|
|
501
521
|
relatedTo: "secrecy_tech";
|
|
502
522
|
descriptorId: string;
|
|
503
|
-
}
|
|
523
|
+
} & {
|
|
524
|
+
descriptor: {
|
|
525
|
+
id: string;
|
|
526
|
+
devsBase: bigint | null;
|
|
527
|
+
devsUnit: bigint | null;
|
|
528
|
+
devsPrice: _prisma_client_runtime_library.Decimal | null;
|
|
529
|
+
usersBase: bigint | null;
|
|
530
|
+
usersUnit: bigint | null;
|
|
531
|
+
usersPrice: _prisma_client_runtime_library.Decimal | null;
|
|
532
|
+
perFileSizeBase: bigint | null;
|
|
533
|
+
perFileSizeUnit: bigint | null;
|
|
534
|
+
perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
|
|
535
|
+
bandwidthBase: bigint | null;
|
|
536
|
+
bandwidthUnit: bigint | null;
|
|
537
|
+
bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
|
|
538
|
+
devsMax: bigint | null;
|
|
539
|
+
usersMax: bigint | null;
|
|
540
|
+
perFileSizeMax: bigint | null;
|
|
541
|
+
bandwidthMax: bigint | null;
|
|
542
|
+
};
|
|
543
|
+
})[];
|
|
504
544
|
}, unknown>;
|
|
505
545
|
settings: _trpc_server.BuildProcedure<"query", {
|
|
506
546
|
_config: _trpc_server.RootConfig<{
|
|
@@ -12789,6 +12829,88 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
12789
12829
|
role: "developer" | "admin";
|
|
12790
12830
|
}[];
|
|
12791
12831
|
}, unknown>;
|
|
12832
|
+
plans: _trpc_server.BuildProcedure<"query", {
|
|
12833
|
+
_config: _trpc_server.RootConfig<{
|
|
12834
|
+
ctx: {};
|
|
12835
|
+
meta: object;
|
|
12836
|
+
errorShape: {
|
|
12837
|
+
message: string;
|
|
12838
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
12839
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
12840
|
+
} | {
|
|
12841
|
+
data: {
|
|
12842
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
12843
|
+
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";
|
|
12844
|
+
httpStatus: number;
|
|
12845
|
+
path?: string | undefined;
|
|
12846
|
+
stack?: string | undefined;
|
|
12847
|
+
};
|
|
12848
|
+
message: string;
|
|
12849
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
12850
|
+
};
|
|
12851
|
+
transformer: typeof superjson.default;
|
|
12852
|
+
}>;
|
|
12853
|
+
_meta: object;
|
|
12854
|
+
_ctx_out: {};
|
|
12855
|
+
_input_in: {} | undefined;
|
|
12856
|
+
_input_out: {} | undefined;
|
|
12857
|
+
_output_in: ({
|
|
12858
|
+
codes: string[];
|
|
12859
|
+
id: string;
|
|
12860
|
+
kind: string;
|
|
12861
|
+
price: _prisma_client_runtime_library.Decimal;
|
|
12862
|
+
relatedTo: "secrecy_tech";
|
|
12863
|
+
descriptorId: string;
|
|
12864
|
+
} & {
|
|
12865
|
+
descriptor: {
|
|
12866
|
+
id: string;
|
|
12867
|
+
devsBase: bigint | null;
|
|
12868
|
+
devsUnit: bigint | null;
|
|
12869
|
+
devsPrice: _prisma_client_runtime_library.Decimal | null;
|
|
12870
|
+
usersBase: bigint | null;
|
|
12871
|
+
usersUnit: bigint | null;
|
|
12872
|
+
usersPrice: _prisma_client_runtime_library.Decimal | null;
|
|
12873
|
+
perFileSizeBase: bigint | null;
|
|
12874
|
+
perFileSizeUnit: bigint | null;
|
|
12875
|
+
perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
|
|
12876
|
+
bandwidthBase: bigint | null;
|
|
12877
|
+
bandwidthUnit: bigint | null;
|
|
12878
|
+
bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
|
|
12879
|
+
devsMax: bigint | null;
|
|
12880
|
+
usersMax: bigint | null;
|
|
12881
|
+
perFileSizeMax: bigint | null;
|
|
12882
|
+
bandwidthMax: bigint | null;
|
|
12883
|
+
};
|
|
12884
|
+
})[];
|
|
12885
|
+
_output_out: ({
|
|
12886
|
+
codes: string[];
|
|
12887
|
+
id: string;
|
|
12888
|
+
kind: string;
|
|
12889
|
+
price: _prisma_client_runtime_library.Decimal;
|
|
12890
|
+
relatedTo: "secrecy_tech";
|
|
12891
|
+
descriptorId: string;
|
|
12892
|
+
} & {
|
|
12893
|
+
descriptor: {
|
|
12894
|
+
id: string;
|
|
12895
|
+
devsBase: bigint | null;
|
|
12896
|
+
devsUnit: bigint | null;
|
|
12897
|
+
devsPrice: _prisma_client_runtime_library.Decimal | null;
|
|
12898
|
+
usersBase: bigint | null;
|
|
12899
|
+
usersUnit: bigint | null;
|
|
12900
|
+
usersPrice: _prisma_client_runtime_library.Decimal | null;
|
|
12901
|
+
perFileSizeBase: bigint | null;
|
|
12902
|
+
perFileSizeUnit: bigint | null;
|
|
12903
|
+
perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
|
|
12904
|
+
bandwidthBase: bigint | null;
|
|
12905
|
+
bandwidthUnit: bigint | null;
|
|
12906
|
+
bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
|
|
12907
|
+
devsMax: bigint | null;
|
|
12908
|
+
usersMax: bigint | null;
|
|
12909
|
+
perFileSizeMax: bigint | null;
|
|
12910
|
+
bandwidthMax: bigint | null;
|
|
12911
|
+
};
|
|
12912
|
+
})[];
|
|
12913
|
+
}, unknown>;
|
|
12792
12914
|
setOrigins: _trpc_server.BuildProcedure<"mutation", {
|
|
12793
12915
|
_config: _trpc_server.RootConfig<{
|
|
12794
12916
|
ctx: {};
|