@secrecy/trpc-api-types 1.6.0-integration-trpc-types.1 → 1.6.0-integration-trpc-types.3
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.ts +45 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4453,6 +4453,42 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4453
4453
|
isDeleted: boolean;
|
|
4454
4454
|
};
|
|
4455
4455
|
}, unknown>;
|
|
4456
|
+
environments: _trpc_server.BuildProcedure<"query", {
|
|
4457
|
+
_config: _trpc_server.RootConfig<{
|
|
4458
|
+
ctx: {};
|
|
4459
|
+
meta: object;
|
|
4460
|
+
errorShape: {
|
|
4461
|
+
message: string;
|
|
4462
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4463
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4464
|
+
} | {
|
|
4465
|
+
data: {
|
|
4466
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4467
|
+
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";
|
|
4468
|
+
httpStatus: number;
|
|
4469
|
+
path?: string | undefined;
|
|
4470
|
+
stack?: string | undefined;
|
|
4471
|
+
};
|
|
4472
|
+
message: string;
|
|
4473
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4474
|
+
};
|
|
4475
|
+
transformer: typeof superjson.default;
|
|
4476
|
+
}>;
|
|
4477
|
+
_meta: object;
|
|
4478
|
+
_ctx_out: {};
|
|
4479
|
+
_input_in: {
|
|
4480
|
+
appId: string;
|
|
4481
|
+
};
|
|
4482
|
+
_input_out: {
|
|
4483
|
+
appId: string;
|
|
4484
|
+
};
|
|
4485
|
+
_output_in: {
|
|
4486
|
+
environments: string[];
|
|
4487
|
+
};
|
|
4488
|
+
_output_out: {
|
|
4489
|
+
environments: string[];
|
|
4490
|
+
};
|
|
4491
|
+
}, unknown>;
|
|
4456
4492
|
migrate: _trpc_server.BuildProcedure<"mutation", {
|
|
4457
4493
|
_config: _trpc_server.RootConfig<{
|
|
4458
4494
|
ctx: {};
|
|
@@ -5252,7 +5288,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5252
5288
|
count: number;
|
|
5253
5289
|
};
|
|
5254
5290
|
}, unknown>;
|
|
5255
|
-
|
|
5291
|
+
findFirst: _trpc_server.BuildProcedure<"query", {
|
|
5256
5292
|
_config: _trpc_server.RootConfig<{
|
|
5257
5293
|
ctx: {};
|
|
5258
5294
|
meta: object;
|
|
@@ -5281,7 +5317,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5281
5317
|
appId?: string | undefined;
|
|
5282
5318
|
} & {
|
|
5283
5319
|
where: Record<string, unknown>;
|
|
5284
|
-
select?: Record<string, boolean> | undefined;
|
|
5320
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5285
5321
|
};
|
|
5286
5322
|
_input_out: {
|
|
5287
5323
|
appEnv: string;
|
|
@@ -5289,7 +5325,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5289
5325
|
appId?: string | undefined;
|
|
5290
5326
|
} & {
|
|
5291
5327
|
where: Record<string, unknown>;
|
|
5292
|
-
select?: Record<string, boolean> | undefined;
|
|
5328
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5293
5329
|
};
|
|
5294
5330
|
_output_in: Record<string, unknown> | null;
|
|
5295
5331
|
_output_out: Record<string, unknown> | null;
|
|
@@ -5322,7 +5358,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5322
5358
|
appTable: string;
|
|
5323
5359
|
appId?: string | undefined;
|
|
5324
5360
|
} & {
|
|
5325
|
-
select?: Record<string, boolean> | undefined;
|
|
5361
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5326
5362
|
where?: Record<string, unknown> | undefined;
|
|
5327
5363
|
take?: number | undefined;
|
|
5328
5364
|
skip?: number | undefined;
|
|
@@ -5333,7 +5369,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5333
5369
|
appTable: string;
|
|
5334
5370
|
appId?: string | undefined;
|
|
5335
5371
|
} & {
|
|
5336
|
-
select?: Record<string, boolean> | undefined;
|
|
5372
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5337
5373
|
where?: Record<string, unknown> | undefined;
|
|
5338
5374
|
take?: number | undefined;
|
|
5339
5375
|
skip?: number | undefined;
|
|
@@ -5372,7 +5408,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5372
5408
|
} & {
|
|
5373
5409
|
where: Record<string, unknown>;
|
|
5374
5410
|
data: Record<string, unknown>;
|
|
5375
|
-
select?: Record<string, boolean> | undefined;
|
|
5411
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5376
5412
|
};
|
|
5377
5413
|
_input_out: {
|
|
5378
5414
|
appEnv: string;
|
|
@@ -5381,7 +5417,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5381
5417
|
} & {
|
|
5382
5418
|
where: Record<string, unknown>;
|
|
5383
5419
|
data: Record<string, unknown>;
|
|
5384
|
-
select?: Record<string, boolean> | undefined;
|
|
5420
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5385
5421
|
};
|
|
5386
5422
|
_output_in: Record<string, unknown>;
|
|
5387
5423
|
_output_out: Record<string, unknown>;
|
|
@@ -5415,7 +5451,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5415
5451
|
appId?: string | undefined;
|
|
5416
5452
|
} & {
|
|
5417
5453
|
data: Record<string, unknown>;
|
|
5418
|
-
select?: Record<string, boolean> | undefined;
|
|
5454
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5419
5455
|
where?: Record<string, unknown> | undefined;
|
|
5420
5456
|
take?: number | undefined;
|
|
5421
5457
|
skip?: number | undefined;
|
|
@@ -5427,7 +5463,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5427
5463
|
appId?: string | undefined;
|
|
5428
5464
|
} & {
|
|
5429
5465
|
data: Record<string, unknown>;
|
|
5430
|
-
select?: Record<string, boolean> | undefined;
|
|
5466
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
5431
5467
|
where?: Record<string, unknown> | undefined;
|
|
5432
5468
|
take?: number | undefined;
|
|
5433
5469
|
skip?: number | undefined;
|