@secrecy/trpc-api-types 1.33.0-feat-report-data-content.4 → 1.33.0-feat-report-data-content.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.
Files changed (2) hide show
  1. package/dist/index.d.cts +34 -2
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -3575,12 +3575,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3575
3575
  _input_in: {
3576
3576
  id: string;
3577
3577
  reasons: "data_leak"[];
3578
- encryptedDataKey: string;
3578
+ encryptedDataKey: string | null;
3579
3579
  };
3580
3580
  _input_out: {
3581
3581
  id: string;
3582
3582
  reasons: "data_leak"[];
3583
- encryptedDataKey: string;
3583
+ encryptedDataKey: string | null;
3584
3584
  };
3585
3585
  _output_in: {
3586
3586
  isReported: boolean;
@@ -11438,6 +11438,38 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11438
11438
  coveredAt: Date | null;
11439
11439
  };
11440
11440
  }, unknown>;
11441
+ publicKey: _trpc_server.BuildProcedure<"query", {
11442
+ _config: _trpc_server.RootConfig<{
11443
+ ctx: {};
11444
+ meta: object;
11445
+ errorShape: {
11446
+ message: string;
11447
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
11448
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
11449
+ } | {
11450
+ data: {
11451
+ zodError: zod.typeToFlattenedError<any, string> | null;
11452
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
11453
+ httpStatus: number;
11454
+ path?: string;
11455
+ stack?: string;
11456
+ };
11457
+ message: string;
11458
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
11459
+ };
11460
+ transformer: typeof superjson.default;
11461
+ }>;
11462
+ _meta: object;
11463
+ _ctx_out: {};
11464
+ _input_in: {} | undefined;
11465
+ _input_out: {} | undefined;
11466
+ _output_in: {
11467
+ publicKey: string;
11468
+ };
11469
+ _output_out: {
11470
+ publicKey: string;
11471
+ };
11472
+ }, unknown>;
11441
11473
  }>;
11442
11474
  plan: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
11443
11475
  ctx: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-report-data-content.4",
3
+ "version": "1.33.0-feat-report-data-content.6",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"