@secrecy/trpc-api-types 1.21.0 → 1.22.0-dev.2
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 +183 -14
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6406,8 +6406,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6406
6406
|
dataStorageBytesHour: number;
|
|
6407
6407
|
branchLogicalSizeLimit: number;
|
|
6408
6408
|
branchLogicalSizeLimitBytes: number;
|
|
6409
|
-
|
|
6410
|
-
|
|
6409
|
+
consumptionPeriodStart: string;
|
|
6410
|
+
consumptionPeriodEnd: string;
|
|
6411
6411
|
creationSource: string;
|
|
6412
6412
|
historyRetentionSeconds: number;
|
|
6413
6413
|
pgVersion: number;
|
|
@@ -6418,8 +6418,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6418
6418
|
storePasswords: boolean;
|
|
6419
6419
|
settings?: {
|
|
6420
6420
|
allowedIps?: {
|
|
6421
|
-
primarBranchOnly: boolean;
|
|
6422
6421
|
ips?: string[] | undefined;
|
|
6422
|
+
primaryBranchOnly?: boolean | undefined;
|
|
6423
6423
|
} | undefined;
|
|
6424
6424
|
quota?: {
|
|
6425
6425
|
activeTimeSeconds?: number | undefined;
|
|
@@ -6460,8 +6460,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6460
6460
|
dataStorageBytesHour: number;
|
|
6461
6461
|
branchLogicalSizeLimit: number;
|
|
6462
6462
|
branchLogicalSizeLimitBytes: number;
|
|
6463
|
-
|
|
6464
|
-
|
|
6463
|
+
consumptionPeriodStart: string;
|
|
6464
|
+
consumptionPeriodEnd: string;
|
|
6465
6465
|
creationSource: string;
|
|
6466
6466
|
historyRetentionSeconds: number;
|
|
6467
6467
|
pgVersion: number;
|
|
@@ -6472,8 +6472,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6472
6472
|
storePasswords: boolean;
|
|
6473
6473
|
settings?: {
|
|
6474
6474
|
allowedIps?: {
|
|
6475
|
-
primarBranchOnly: boolean;
|
|
6476
6475
|
ips?: string[] | undefined;
|
|
6476
|
+
primaryBranchOnly?: boolean | undefined;
|
|
6477
6477
|
} | undefined;
|
|
6478
6478
|
quota?: {
|
|
6479
6479
|
activeTimeSeconds?: number | undefined;
|
|
@@ -6617,8 +6617,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6617
6617
|
} & {
|
|
6618
6618
|
settings: {
|
|
6619
6619
|
allowedIps: {
|
|
6620
|
-
primarBranchOnly: boolean;
|
|
6621
6620
|
ips?: string[] | undefined;
|
|
6621
|
+
primaryBranchOnly?: boolean | undefined;
|
|
6622
6622
|
};
|
|
6623
6623
|
quota: {
|
|
6624
6624
|
activeTimeSeconds?: number | undefined;
|
|
@@ -6643,8 +6643,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6643
6643
|
} & {
|
|
6644
6644
|
settings: {
|
|
6645
6645
|
allowedIps: {
|
|
6646
|
-
primarBranchOnly: boolean;
|
|
6647
6646
|
ips?: string[] | undefined;
|
|
6647
|
+
primaryBranchOnly?: boolean | undefined;
|
|
6648
6648
|
};
|
|
6649
6649
|
quota: {
|
|
6650
6650
|
activeTimeSeconds?: number | undefined;
|
|
@@ -6678,8 +6678,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6678
6678
|
dataStorageBytesHour: number;
|
|
6679
6679
|
branchLogicalSizeLimit: number;
|
|
6680
6680
|
branchLogicalSizeLimitBytes: number;
|
|
6681
|
-
|
|
6682
|
-
|
|
6681
|
+
consumptionPeriodStart: string;
|
|
6682
|
+
consumptionPeriodEnd: string;
|
|
6683
6683
|
creationSource: string;
|
|
6684
6684
|
historyRetentionSeconds: number;
|
|
6685
6685
|
pgVersion: number;
|
|
@@ -6690,8 +6690,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6690
6690
|
storePasswords: boolean;
|
|
6691
6691
|
settings?: {
|
|
6692
6692
|
allowedIps?: {
|
|
6693
|
-
primarBranchOnly: boolean;
|
|
6694
6693
|
ips?: string[] | undefined;
|
|
6694
|
+
primaryBranchOnly?: boolean | undefined;
|
|
6695
6695
|
} | undefined;
|
|
6696
6696
|
quota?: {
|
|
6697
6697
|
activeTimeSeconds?: number | undefined;
|
|
@@ -6732,8 +6732,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6732
6732
|
dataStorageBytesHour: number;
|
|
6733
6733
|
branchLogicalSizeLimit: number;
|
|
6734
6734
|
branchLogicalSizeLimitBytes: number;
|
|
6735
|
-
|
|
6736
|
-
|
|
6735
|
+
consumptionPeriodStart: string;
|
|
6736
|
+
consumptionPeriodEnd: string;
|
|
6737
6737
|
creationSource: string;
|
|
6738
6738
|
historyRetentionSeconds: number;
|
|
6739
6739
|
pgVersion: number;
|
|
@@ -6744,8 +6744,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6744
6744
|
storePasswords: boolean;
|
|
6745
6745
|
settings?: {
|
|
6746
6746
|
allowedIps?: {
|
|
6747
|
-
primarBranchOnly: boolean;
|
|
6748
6747
|
ips?: string[] | undefined;
|
|
6748
|
+
primaryBranchOnly?: boolean | undefined;
|
|
6749
6749
|
} | undefined;
|
|
6750
6750
|
quota?: {
|
|
6751
6751
|
activeTimeSeconds?: number | undefined;
|
|
@@ -10666,6 +10666,133 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
10666
10666
|
})[];
|
|
10667
10667
|
}, unknown>;
|
|
10668
10668
|
}>;
|
|
10669
|
+
pseudonym: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
10670
|
+
ctx: {};
|
|
10671
|
+
meta: object;
|
|
10672
|
+
errorShape: {
|
|
10673
|
+
message: string;
|
|
10674
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10675
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
10676
|
+
} | {
|
|
10677
|
+
data: {
|
|
10678
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
10679
|
+
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";
|
|
10680
|
+
httpStatus: number;
|
|
10681
|
+
path?: string | undefined;
|
|
10682
|
+
stack?: string | undefined;
|
|
10683
|
+
};
|
|
10684
|
+
message: string;
|
|
10685
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10686
|
+
};
|
|
10687
|
+
transformer: typeof superjson.default;
|
|
10688
|
+
}>, {
|
|
10689
|
+
askForUser: _trpc_server.BuildProcedure<"query", {
|
|
10690
|
+
_config: _trpc_server.RootConfig<{
|
|
10691
|
+
ctx: {};
|
|
10692
|
+
meta: object;
|
|
10693
|
+
errorShape: {
|
|
10694
|
+
message: string;
|
|
10695
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10696
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
10697
|
+
} | {
|
|
10698
|
+
data: {
|
|
10699
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
10700
|
+
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";
|
|
10701
|
+
httpStatus: number;
|
|
10702
|
+
path?: string | undefined;
|
|
10703
|
+
stack?: string | undefined;
|
|
10704
|
+
};
|
|
10705
|
+
message: string;
|
|
10706
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10707
|
+
};
|
|
10708
|
+
transformer: typeof superjson.default;
|
|
10709
|
+
}>;
|
|
10710
|
+
_meta: object;
|
|
10711
|
+
_ctx_out: {};
|
|
10712
|
+
_input_in: {
|
|
10713
|
+
forUserId: string;
|
|
10714
|
+
validUntil?: Date | undefined;
|
|
10715
|
+
};
|
|
10716
|
+
_input_out: {
|
|
10717
|
+
forUserId: string;
|
|
10718
|
+
validUntil?: Date | undefined;
|
|
10719
|
+
};
|
|
10720
|
+
_output_in: string;
|
|
10721
|
+
_output_out: string;
|
|
10722
|
+
}, unknown>;
|
|
10723
|
+
askForLabel: _trpc_server.BuildProcedure<"query", {
|
|
10724
|
+
_config: _trpc_server.RootConfig<{
|
|
10725
|
+
ctx: {};
|
|
10726
|
+
meta: object;
|
|
10727
|
+
errorShape: {
|
|
10728
|
+
message: string;
|
|
10729
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10730
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
10731
|
+
} | {
|
|
10732
|
+
data: {
|
|
10733
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
10734
|
+
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";
|
|
10735
|
+
httpStatus: number;
|
|
10736
|
+
path?: string | undefined;
|
|
10737
|
+
stack?: string | undefined;
|
|
10738
|
+
};
|
|
10739
|
+
message: string;
|
|
10740
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10741
|
+
};
|
|
10742
|
+
transformer: typeof superjson.default;
|
|
10743
|
+
}>;
|
|
10744
|
+
_meta: object;
|
|
10745
|
+
_ctx_out: {};
|
|
10746
|
+
_input_in: {
|
|
10747
|
+
forLabel: string;
|
|
10748
|
+
validUntil?: Date | undefined;
|
|
10749
|
+
};
|
|
10750
|
+
_input_out: {
|
|
10751
|
+
forLabel: string;
|
|
10752
|
+
validUntil?: Date | undefined;
|
|
10753
|
+
};
|
|
10754
|
+
_output_in: string;
|
|
10755
|
+
_output_out: string;
|
|
10756
|
+
}, unknown>;
|
|
10757
|
+
cross: _trpc_server.BuildProcedure<"query", {
|
|
10758
|
+
_config: _trpc_server.RootConfig<{
|
|
10759
|
+
ctx: {};
|
|
10760
|
+
meta: object;
|
|
10761
|
+
errorShape: {
|
|
10762
|
+
message: string;
|
|
10763
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10764
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
10765
|
+
} | {
|
|
10766
|
+
data: {
|
|
10767
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
10768
|
+
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";
|
|
10769
|
+
httpStatus: number;
|
|
10770
|
+
path?: string | undefined;
|
|
10771
|
+
stack?: string | undefined;
|
|
10772
|
+
};
|
|
10773
|
+
message: string;
|
|
10774
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
10775
|
+
};
|
|
10776
|
+
transformer: typeof superjson.default;
|
|
10777
|
+
}>;
|
|
10778
|
+
_meta: object;
|
|
10779
|
+
_ctx_out: {};
|
|
10780
|
+
_input_in: {
|
|
10781
|
+
lists: Record<string, string[]>;
|
|
10782
|
+
};
|
|
10783
|
+
_input_out: {
|
|
10784
|
+
lists: Record<string, string[]>;
|
|
10785
|
+
};
|
|
10786
|
+
_output_in: {
|
|
10787
|
+
output: Record<string, Record<string, string[]>>;
|
|
10788
|
+
unknownIds: string[];
|
|
10789
|
+
};
|
|
10790
|
+
_output_out: {
|
|
10791
|
+
output: Record<string, Record<string, string[]>>;
|
|
10792
|
+
unknownIds: string[];
|
|
10793
|
+
};
|
|
10794
|
+
}, unknown>;
|
|
10795
|
+
}>;
|
|
10669
10796
|
report: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
10670
10797
|
ctx: {};
|
|
10671
10798
|
meta: object;
|
|
@@ -12965,6 +13092,48 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
12965
13092
|
};
|
|
12966
13093
|
})[];
|
|
12967
13094
|
}, unknown>;
|
|
13095
|
+
publicApplicationBrand: _trpc_server.BuildProcedure<"query", {
|
|
13096
|
+
_config: _trpc_server.RootConfig<{
|
|
13097
|
+
ctx: {};
|
|
13098
|
+
meta: object;
|
|
13099
|
+
errorShape: {
|
|
13100
|
+
message: string;
|
|
13101
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
13102
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
13103
|
+
} | {
|
|
13104
|
+
data: {
|
|
13105
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
13106
|
+
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";
|
|
13107
|
+
httpStatus: number;
|
|
13108
|
+
path?: string | undefined;
|
|
13109
|
+
stack?: string | undefined;
|
|
13110
|
+
};
|
|
13111
|
+
message: string;
|
|
13112
|
+
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
13113
|
+
};
|
|
13114
|
+
transformer: typeof superjson.default;
|
|
13115
|
+
}>;
|
|
13116
|
+
_meta: object;
|
|
13117
|
+
_ctx_out: {};
|
|
13118
|
+
_input_in: {
|
|
13119
|
+
appId: string;
|
|
13120
|
+
};
|
|
13121
|
+
_input_out: {
|
|
13122
|
+
appId: string;
|
|
13123
|
+
};
|
|
13124
|
+
_output_in: {
|
|
13125
|
+
id: string;
|
|
13126
|
+
name: string;
|
|
13127
|
+
color: string | null;
|
|
13128
|
+
logo: string | null;
|
|
13129
|
+
};
|
|
13130
|
+
_output_out: {
|
|
13131
|
+
id: string;
|
|
13132
|
+
name: string;
|
|
13133
|
+
color: string | null;
|
|
13134
|
+
logo: string | null;
|
|
13135
|
+
};
|
|
13136
|
+
}, unknown>;
|
|
12968
13137
|
setOrigins: _trpc_server.BuildProcedure<"mutation", {
|
|
12969
13138
|
_config: _trpc_server.RootConfig<{
|
|
12970
13139
|
ctx: {};
|