@secrecy/trpc-api-types 1.33.0-feat-share-node-enhanced.2 → 1.33.0-feat-share-node-enhanced.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.
Files changed (2) hide show
  1. package/dist/index.d.cts +40 -2
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -14368,10 +14368,48 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
14368
14368
  }[];
14369
14369
  }[];
14370
14370
  _output_in: {
14371
- isFinished: boolean;
14371
+ isFinished: true;
14372
+ } | {
14373
+ isFinished: false;
14374
+ details: {
14375
+ missingNodeAccesses: {
14376
+ userId: string;
14377
+ nodeId: string;
14378
+ }[];
14379
+ missingDataAccesses: {
14380
+ userId: string;
14381
+ dataId: string;
14382
+ nodeId: string;
14383
+ }[];
14384
+ invalidRightAccesses: {
14385
+ userId: string;
14386
+ current: "admin" | "write" | "read";
14387
+ nodeId: string;
14388
+ expect: "admin" | "write" | "read";
14389
+ }[];
14390
+ };
14372
14391
  };
14373
14392
  _output_out: {
14374
- isFinished: boolean;
14393
+ isFinished: true;
14394
+ } | {
14395
+ isFinished: false;
14396
+ details: {
14397
+ missingNodeAccesses: {
14398
+ userId: string;
14399
+ nodeId: string;
14400
+ }[];
14401
+ missingDataAccesses: {
14402
+ userId: string;
14403
+ dataId: string;
14404
+ nodeId: string;
14405
+ }[];
14406
+ invalidRightAccesses: {
14407
+ userId: string;
14408
+ current: "admin" | "write" | "read";
14409
+ nodeId: string;
14410
+ expect: "admin" | "write" | "read";
14411
+ }[];
14412
+ };
14375
14413
  };
14376
14414
  }, unknown>;
14377
14415
  shareNode: _trpc_server.BuildProcedure<"mutation", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-share-node-enhanced.2",
3
+ "version": "1.33.0-feat-share-node-enhanced.3",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"