@secrecy/trpc-api-types 1.33.0-feat-groups-identity.3 → 1.33.0-feat-groups-identity.4

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 +57 -12
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1000,6 +1000,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1000
1000
  delAccess: "delete" | "read" | "write" | null;
1001
1001
  sharingDelAccess: "delete" | "read" | "write" | null;
1002
1002
  sharedByPubKey: string;
1003
+ identityPubKey: string;
1003
1004
  }[];
1004
1005
  permissions: {
1005
1006
  rights: "delete" | "read" | "write";
@@ -1048,6 +1049,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1048
1049
  delAccess: "delete" | "read" | "write" | null;
1049
1050
  sharingDelAccess: "delete" | "read" | "write" | null;
1050
1051
  sharedByPubKey: string;
1052
+ identityPubKey: string;
1051
1053
  }[];
1052
1054
  permissions: {
1053
1055
  rights: "delete" | "read" | "write";
@@ -1091,6 +1093,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1091
1093
  delAccess: "delete" | "read" | "write" | null;
1092
1094
  sharingDelAccess: "delete" | "read" | "write" | null;
1093
1095
  sharedByPubKey: string;
1096
+ identityPubKey: string;
1094
1097
  }[];
1095
1098
  permissions: {
1096
1099
  rights: "delete" | "read" | "write";
@@ -1159,7 +1162,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1159
1162
  breadcrumb: {
1160
1163
  id: string;
1161
1164
  name: string;
1162
- pubKey: string;
1165
+ identityPubKey: string;
1166
+ sharedByPubKey: string;
1163
1167
  nameKey: string | null;
1164
1168
  }[];
1165
1169
  };
@@ -1401,6 +1405,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1401
1405
  delAccess: "delete" | "read" | "write" | null;
1402
1406
  sharingDelAccess: "delete" | "read" | "write" | null;
1403
1407
  sharedByPubKey: string;
1408
+ identityPubKey: string;
1404
1409
  }[];
1405
1410
  permissions: {
1406
1411
  rights: "delete" | "read" | "write";
@@ -1449,6 +1454,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1449
1454
  delAccess: "delete" | "read" | "write" | null;
1450
1455
  sharingDelAccess: "delete" | "read" | "write" | null;
1451
1456
  sharedByPubKey: string;
1457
+ identityPubKey: string;
1452
1458
  }[];
1453
1459
  permissions: {
1454
1460
  rights: "delete" | "read" | "write";
@@ -1492,6 +1498,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1492
1498
  delAccess: "delete" | "read" | "write" | null;
1493
1499
  sharingDelAccess: "delete" | "read" | "write" | null;
1494
1500
  sharedByPubKey: string;
1501
+ identityPubKey: string;
1495
1502
  }[];
1496
1503
  permissions: {
1497
1504
  rights: "delete" | "read" | "write";
@@ -1560,7 +1567,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1560
1567
  breadcrumb: {
1561
1568
  id: string;
1562
1569
  name: string;
1563
- pubKey: string;
1570
+ identityPubKey: string;
1571
+ sharedByPubKey: string;
1564
1572
  nameKey: string | null;
1565
1573
  }[];
1566
1574
  };
@@ -1977,6 +1985,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1977
1985
  delAccess: "delete" | "read" | "write" | null;
1978
1986
  sharingDelAccess: "delete" | "read" | "write" | null;
1979
1987
  sharedByPubKey: string;
1988
+ identityPubKey: string;
1980
1989
  }[];
1981
1990
  permissions: {
1982
1991
  rights: "delete" | "read" | "write";
@@ -2025,6 +2034,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2025
2034
  delAccess: "delete" | "read" | "write" | null;
2026
2035
  sharingDelAccess: "delete" | "read" | "write" | null;
2027
2036
  sharedByPubKey: string;
2037
+ identityPubKey: string;
2028
2038
  }[];
2029
2039
  permissions: {
2030
2040
  rights: "delete" | "read" | "write";
@@ -2068,6 +2078,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2068
2078
  delAccess: "delete" | "read" | "write" | null;
2069
2079
  sharingDelAccess: "delete" | "read" | "write" | null;
2070
2080
  sharedByPubKey: string;
2081
+ identityPubKey: string;
2071
2082
  }[];
2072
2083
  permissions: {
2073
2084
  rights: "delete" | "read" | "write";
@@ -2136,7 +2147,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2136
2147
  breadcrumb: {
2137
2148
  id: string;
2138
2149
  name: string;
2139
- pubKey: string;
2150
+ identityPubKey: string;
2151
+ sharedByPubKey: string;
2140
2152
  nameKey: string | null;
2141
2153
  }[];
2142
2154
  };
@@ -2250,7 +2262,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2250
2262
  output: {
2251
2263
  id: string;
2252
2264
  name: string;
2253
- pubKey: string;
2265
+ identityPubKey: string;
2266
+ sharedByPubKey: string;
2254
2267
  nameKey: string | null;
2255
2268
  }[];
2256
2269
  meta: any;
@@ -2286,6 +2299,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2286
2299
  delAccess: "delete" | "read" | "write" | null;
2287
2300
  sharingDelAccess: "delete" | "read" | "write" | null;
2288
2301
  sharedByPubKey: string;
2302
+ identityPubKey: string;
2289
2303
  }[];
2290
2304
  permissions: {
2291
2305
  rights: "delete" | "read" | "write";
@@ -2342,6 +2356,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2342
2356
  delAccess: "delete" | "read" | "write" | null;
2343
2357
  sharingDelAccess: "delete" | "read" | "write" | null;
2344
2358
  sharedByPubKey: string;
2359
+ identityPubKey: string;
2345
2360
  }[];
2346
2361
  permissions: {
2347
2362
  rights: "delete" | "read" | "write";
@@ -2390,6 +2405,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2390
2405
  delAccess: "delete" | "read" | "write" | null;
2391
2406
  sharingDelAccess: "delete" | "read" | "write" | null;
2392
2407
  sharedByPubKey: string;
2408
+ identityPubKey: string;
2393
2409
  }[];
2394
2410
  permissions: {
2395
2411
  rights: "delete" | "read" | "write";
@@ -2433,6 +2449,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2433
2449
  delAccess: "delete" | "read" | "write" | null;
2434
2450
  sharingDelAccess: "delete" | "read" | "write" | null;
2435
2451
  sharedByPubKey: string;
2452
+ identityPubKey: string;
2436
2453
  }[];
2437
2454
  permissions: {
2438
2455
  rights: "delete" | "read" | "write";
@@ -2501,7 +2518,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2501
2518
  breadcrumb: {
2502
2519
  id: string;
2503
2520
  name: string;
2504
- pubKey: string;
2521
+ identityPubKey: string;
2522
+ sharedByPubKey: string;
2505
2523
  nameKey: string | null;
2506
2524
  }[];
2507
2525
  };
@@ -2571,6 +2589,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2571
2589
  delAccess: "delete" | "read" | "write" | null;
2572
2590
  sharingDelAccess: "delete" | "read" | "write" | null;
2573
2591
  sharedByPubKey: string;
2592
+ identityPubKey: string;
2574
2593
  }[];
2575
2594
  permissions: {
2576
2595
  rights: "delete" | "read" | "write";
@@ -2621,6 +2640,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2621
2640
  delAccess: "delete" | "read" | "write" | null;
2622
2641
  sharingDelAccess: "delete" | "read" | "write" | null;
2623
2642
  sharedByPubKey: string;
2643
+ identityPubKey: string;
2624
2644
  }[];
2625
2645
  permissions: {
2626
2646
  rights: "delete" | "read" | "write";
@@ -2670,6 +2690,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2670
2690
  delAccess: "delete" | "read" | "write" | null;
2671
2691
  sharingDelAccess: "delete" | "read" | "write" | null;
2672
2692
  sharedByPubKey: string;
2693
+ identityPubKey: string;
2673
2694
  }[];
2674
2695
  permissions: {
2675
2696
  rights: "delete" | "read" | "write";
@@ -2847,6 +2868,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2847
2868
  delAccess: "delete" | "read" | "write" | null;
2848
2869
  sharingDelAccess: "delete" | "read" | "write" | null;
2849
2870
  sharedByPubKey: string;
2871
+ identityPubKey: string;
2850
2872
  }[];
2851
2873
  permissions: {
2852
2874
  rights: "delete" | "read" | "write";
@@ -2895,6 +2917,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2895
2917
  delAccess: "delete" | "read" | "write" | null;
2896
2918
  sharingDelAccess: "delete" | "read" | "write" | null;
2897
2919
  sharedByPubKey: string;
2920
+ identityPubKey: string;
2898
2921
  }[];
2899
2922
  permissions: {
2900
2923
  rights: "delete" | "read" | "write";
@@ -2938,6 +2961,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2938
2961
  delAccess: "delete" | "read" | "write" | null;
2939
2962
  sharingDelAccess: "delete" | "read" | "write" | null;
2940
2963
  sharedByPubKey: string;
2964
+ identityPubKey: string;
2941
2965
  }[];
2942
2966
  permissions: {
2943
2967
  rights: "delete" | "read" | "write";
@@ -3006,7 +3030,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3006
3030
  breadcrumb: {
3007
3031
  id: string;
3008
3032
  name: string;
3009
- pubKey: string;
3033
+ identityPubKey: string;
3034
+ sharedByPubKey: string;
3010
3035
  nameKey: string | null;
3011
3036
  }[];
3012
3037
  };
@@ -5355,10 +5380,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5355
5380
  output: {
5356
5381
  uaSession: string;
5357
5382
  jwt: string;
5358
- keyPair: {
5359
- pub: string;
5383
+ identities: ({
5384
+ kind: "USER_APP";
5385
+ identityPubKey: string;
5386
+ userId: string;
5387
+ appId: string;
5360
5388
  encPriv: string;
5361
- };
5389
+ } | {
5390
+ kind: "GROUP";
5391
+ identityPubKey: string;
5392
+ groupId: string;
5393
+ encPriv: string;
5394
+ sharedByPubKey: string;
5395
+ groupOwnerPubKey: string;
5396
+ })[];
5362
5397
  };
5363
5398
  meta: any;
5364
5399
  }>;
@@ -5375,10 +5410,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5375
5410
  output: {
5376
5411
  uaSession: string;
5377
5412
  jwt: string;
5378
- keyPair?: {
5379
- pub: string;
5413
+ identities: ({
5414
+ kind: "USER_APP";
5415
+ identityPubKey: string;
5416
+ userId: string;
5417
+ appId: string;
5380
5418
  encPriv: string;
5381
- } | undefined;
5419
+ } | {
5420
+ kind: "GROUP";
5421
+ identityPubKey: string;
5422
+ groupId: string;
5423
+ encPriv: string;
5424
+ sharedByPubKey: string;
5425
+ groupOwnerPubKey: string;
5426
+ })[] | null;
5382
5427
  };
5383
5428
  meta: any;
5384
5429
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-groups-identity.3",
3
+ "version": "1.33.0-feat-groups-identity.4",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"