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

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 +61 -14
  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
  };
@@ -2519,13 +2537,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2519
2537
  access: {
2520
2538
  nameKey: string;
2521
2539
  sharedByPublicKey: string;
2522
- };
2540
+ identityPubKey: string;
2541
+ } | null;
2523
2542
  history: {
2524
2543
  id: string;
2525
2544
  access: {
2526
2545
  key: string;
2527
2546
  sharedByPublicKey: string;
2528
- };
2547
+ identityPubKey: string;
2548
+ } | null;
2529
2549
  }[];
2530
2550
  }[];
2531
2551
  meta: any;
@@ -2571,6 +2591,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2571
2591
  delAccess: "delete" | "read" | "write" | null;
2572
2592
  sharingDelAccess: "delete" | "read" | "write" | null;
2573
2593
  sharedByPubKey: string;
2594
+ identityPubKey: string;
2574
2595
  }[];
2575
2596
  permissions: {
2576
2597
  rights: "delete" | "read" | "write";
@@ -2621,6 +2642,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2621
2642
  delAccess: "delete" | "read" | "write" | null;
2622
2643
  sharingDelAccess: "delete" | "read" | "write" | null;
2623
2644
  sharedByPubKey: string;
2645
+ identityPubKey: string;
2624
2646
  }[];
2625
2647
  permissions: {
2626
2648
  rights: "delete" | "read" | "write";
@@ -2670,6 +2692,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2670
2692
  delAccess: "delete" | "read" | "write" | null;
2671
2693
  sharingDelAccess: "delete" | "read" | "write" | null;
2672
2694
  sharedByPubKey: string;
2695
+ identityPubKey: string;
2673
2696
  }[];
2674
2697
  permissions: {
2675
2698
  rights: "delete" | "read" | "write";
@@ -2847,6 +2870,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2847
2870
  delAccess: "delete" | "read" | "write" | null;
2848
2871
  sharingDelAccess: "delete" | "read" | "write" | null;
2849
2872
  sharedByPubKey: string;
2873
+ identityPubKey: string;
2850
2874
  }[];
2851
2875
  permissions: {
2852
2876
  rights: "delete" | "read" | "write";
@@ -2895,6 +2919,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2895
2919
  delAccess: "delete" | "read" | "write" | null;
2896
2920
  sharingDelAccess: "delete" | "read" | "write" | null;
2897
2921
  sharedByPubKey: string;
2922
+ identityPubKey: string;
2898
2923
  }[];
2899
2924
  permissions: {
2900
2925
  rights: "delete" | "read" | "write";
@@ -2938,6 +2963,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2938
2963
  delAccess: "delete" | "read" | "write" | null;
2939
2964
  sharingDelAccess: "delete" | "read" | "write" | null;
2940
2965
  sharedByPubKey: string;
2966
+ identityPubKey: string;
2941
2967
  }[];
2942
2968
  permissions: {
2943
2969
  rights: "delete" | "read" | "write";
@@ -3006,7 +3032,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3006
3032
  breadcrumb: {
3007
3033
  id: string;
3008
3034
  name: string;
3009
- pubKey: string;
3035
+ identityPubKey: string;
3036
+ sharedByPubKey: string;
3010
3037
  nameKey: string | null;
3011
3038
  }[];
3012
3039
  };
@@ -5355,10 +5382,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5355
5382
  output: {
5356
5383
  uaSession: string;
5357
5384
  jwt: string;
5358
- keyPair: {
5359
- pub: string;
5385
+ identities: ({
5386
+ kind: "USER_APP";
5387
+ identityPubKey: string;
5388
+ userId: string;
5389
+ appId: string;
5360
5390
  encPriv: string;
5361
- };
5391
+ } | {
5392
+ kind: "GROUP";
5393
+ identityPubKey: string;
5394
+ groupId: string;
5395
+ encPriv: string;
5396
+ sharedByPubKey: string;
5397
+ groupOwnerPubKey: string;
5398
+ })[];
5362
5399
  };
5363
5400
  meta: any;
5364
5401
  }>;
@@ -5375,10 +5412,20 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5375
5412
  output: {
5376
5413
  uaSession: string;
5377
5414
  jwt: string;
5378
- keyPair?: {
5379
- pub: string;
5415
+ identities: ({
5416
+ kind: "USER_APP";
5417
+ identityPubKey: string;
5418
+ userId: string;
5419
+ appId: string;
5380
5420
  encPriv: string;
5381
- } | undefined;
5421
+ } | {
5422
+ kind: "GROUP";
5423
+ identityPubKey: string;
5424
+ groupId: string;
5425
+ encPriv: string;
5426
+ sharedByPubKey: string;
5427
+ groupOwnerPubKey: string;
5428
+ })[] | null;
5382
5429
  };
5383
5430
  meta: any;
5384
5431
  }>;
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.5",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"