@secrecy/trpc-api-types 1.6.0-integration-trpc-types.1 → 1.6.0-integration-trpc-types.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +37 -1
  2. 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
- find: _trpc_server.BuildProcedure<"query", {
5291
+ findFirst: _trpc_server.BuildProcedure<"query", {
5256
5292
  _config: _trpc_server.RootConfig<{
5257
5293
  ctx: {};
5258
5294
  meta: object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.6.0-integration-trpc-types.1",
3
+ "version": "1.6.0-integration-trpc-types.2",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"