@secrecy/trpc-api-types 1.9.3 → 1.9.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 +120 -120
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1558,12 +1558,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1558
1558
  appId: string;
1559
1559
  userId: string;
1560
1560
  };
1561
- access: {
1561
+ access?: {
1562
1562
  rights: "admin" | "write" | "read";
1563
1563
  nameKey: string | null;
1564
1564
  isRoot: boolean;
1565
1565
  sharedByPubKey: string;
1566
- };
1566
+ } | undefined;
1567
1567
  } & {
1568
1568
  sizes: {
1569
1569
  size: bigint;
@@ -1579,10 +1579,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1579
1579
  storageType: "scaleway" | "mongo";
1580
1580
  sizeBefore: bigint;
1581
1581
  md5Encrypted: string;
1582
- access: {
1582
+ access?: {
1583
1583
  key: string;
1584
1584
  sharedByPubKey: string;
1585
- };
1585
+ } | undefined;
1586
1586
  } | null;
1587
1587
  history: {
1588
1588
  id: string;
@@ -1593,10 +1593,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1593
1593
  storageType: "scaleway" | "mongo";
1594
1594
  sizeBefore: bigint;
1595
1595
  md5Encrypted: string;
1596
- access: {
1596
+ access?: {
1597
1597
  key: string;
1598
1598
  sharedByPubKey: string;
1599
- };
1599
+ } | undefined;
1600
1600
  }[];
1601
1601
  parent: ({
1602
1602
  type: "FILE" | "FOLDER";
@@ -1617,12 +1617,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1617
1617
  appId: string;
1618
1618
  userId: string;
1619
1619
  };
1620
- access: {
1620
+ access?: {
1621
1621
  rights: "admin" | "write" | "read";
1622
1622
  nameKey: string | null;
1623
1623
  isRoot: boolean;
1624
1624
  sharedByPubKey: string;
1625
- };
1625
+ } | undefined;
1626
1626
  }) | null;
1627
1627
  children: ({
1628
1628
  type: "FILE" | "FOLDER";
@@ -1643,12 +1643,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1643
1643
  appId: string;
1644
1644
  userId: string;
1645
1645
  };
1646
- access: {
1646
+ access?: {
1647
1647
  rights: "admin" | "write" | "read";
1648
1648
  nameKey: string | null;
1649
1649
  isRoot: boolean;
1650
1650
  sharedByPubKey: string;
1651
- };
1651
+ } | undefined;
1652
1652
  })[];
1653
1653
  };
1654
1654
  _output_out: {
@@ -1670,12 +1670,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1670
1670
  appId: string;
1671
1671
  userId: string;
1672
1672
  };
1673
- access: {
1673
+ access?: {
1674
1674
  rights: "admin" | "write" | "read";
1675
1675
  nameKey: string | null;
1676
1676
  isRoot: boolean;
1677
1677
  sharedByPubKey: string;
1678
- };
1678
+ } | undefined;
1679
1679
  } & {
1680
1680
  sizes: {
1681
1681
  size: bigint;
@@ -1691,10 +1691,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1691
1691
  storageType: "scaleway" | "mongo";
1692
1692
  sizeBefore: bigint;
1693
1693
  md5Encrypted: string;
1694
- access: {
1694
+ access?: {
1695
1695
  key: string;
1696
1696
  sharedByPubKey: string;
1697
- };
1697
+ } | undefined;
1698
1698
  } | null;
1699
1699
  history: {
1700
1700
  id: string;
@@ -1705,10 +1705,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1705
1705
  storageType: "scaleway" | "mongo";
1706
1706
  sizeBefore: bigint;
1707
1707
  md5Encrypted: string;
1708
- access: {
1708
+ access?: {
1709
1709
  key: string;
1710
1710
  sharedByPubKey: string;
1711
- };
1711
+ } | undefined;
1712
1712
  }[];
1713
1713
  parent: ({
1714
1714
  type: "FILE" | "FOLDER";
@@ -1729,12 +1729,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1729
1729
  appId: string;
1730
1730
  userId: string;
1731
1731
  };
1732
- access: {
1732
+ access?: {
1733
1733
  rights: "admin" | "write" | "read";
1734
1734
  nameKey: string | null;
1735
1735
  isRoot: boolean;
1736
1736
  sharedByPubKey: string;
1737
- };
1737
+ } | undefined;
1738
1738
  }) | null;
1739
1739
  children: ({
1740
1740
  type: "FILE" | "FOLDER";
@@ -1755,12 +1755,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1755
1755
  appId: string;
1756
1756
  userId: string;
1757
1757
  };
1758
- access: {
1758
+ access?: {
1759
1759
  rights: "admin" | "write" | "read";
1760
1760
  nameKey: string | null;
1761
1761
  isRoot: boolean;
1762
1762
  sharedByPubKey: string;
1763
- };
1763
+ } | undefined;
1764
1764
  })[];
1765
1765
  };
1766
1766
  }, unknown>;
@@ -1840,10 +1840,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1840
1840
  storageType: "scaleway" | "mongo";
1841
1841
  sizeBefore: bigint;
1842
1842
  md5Encrypted: string;
1843
- access: {
1843
+ access?: {
1844
1844
  key: string;
1845
1845
  sharedByPubKey: string;
1846
- };
1846
+ } | undefined;
1847
1847
  };
1848
1848
  _output_out: {
1849
1849
  id: string;
@@ -1854,10 +1854,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1854
1854
  storageType: "scaleway" | "mongo";
1855
1855
  sizeBefore: bigint;
1856
1856
  md5Encrypted: string;
1857
- access: {
1857
+ access?: {
1858
1858
  key: string;
1859
1859
  sharedByPubKey: string;
1860
- };
1860
+ } | undefined;
1861
1861
  };
1862
1862
  }, unknown>;
1863
1863
  fileContentById: _trpc_server.BuildProcedure<"query", {
@@ -2152,12 +2152,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2152
2152
  appId: string;
2153
2153
  userId: string;
2154
2154
  };
2155
- access: {
2155
+ access?: {
2156
2156
  rights: "admin" | "write" | "read";
2157
2157
  nameKey: string | null;
2158
2158
  isRoot: boolean;
2159
2159
  sharedByPubKey: string;
2160
- };
2160
+ } | undefined;
2161
2161
  } & {
2162
2162
  sizes: {
2163
2163
  size: bigint;
@@ -2173,10 +2173,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2173
2173
  storageType: "scaleway" | "mongo";
2174
2174
  sizeBefore: bigint;
2175
2175
  md5Encrypted: string;
2176
- access: {
2176
+ access?: {
2177
2177
  key: string;
2178
2178
  sharedByPubKey: string;
2179
- };
2179
+ } | undefined;
2180
2180
  } | null;
2181
2181
  history: {
2182
2182
  id: string;
@@ -2187,10 +2187,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2187
2187
  storageType: "scaleway" | "mongo";
2188
2188
  sizeBefore: bigint;
2189
2189
  md5Encrypted: string;
2190
- access: {
2190
+ access?: {
2191
2191
  key: string;
2192
2192
  sharedByPubKey: string;
2193
- };
2193
+ } | undefined;
2194
2194
  }[];
2195
2195
  parent: ({
2196
2196
  type: "FILE" | "FOLDER";
@@ -2211,12 +2211,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2211
2211
  appId: string;
2212
2212
  userId: string;
2213
2213
  };
2214
- access: {
2214
+ access?: {
2215
2215
  rights: "admin" | "write" | "read";
2216
2216
  nameKey: string | null;
2217
2217
  isRoot: boolean;
2218
2218
  sharedByPubKey: string;
2219
- };
2219
+ } | undefined;
2220
2220
  }) | null;
2221
2221
  children: ({
2222
2222
  type: "FILE" | "FOLDER";
@@ -2237,12 +2237,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2237
2237
  appId: string;
2238
2238
  userId: string;
2239
2239
  };
2240
- access: {
2240
+ access?: {
2241
2241
  rights: "admin" | "write" | "read";
2242
2242
  nameKey: string | null;
2243
2243
  isRoot: boolean;
2244
2244
  sharedByPubKey: string;
2245
- };
2245
+ } | undefined;
2246
2246
  })[];
2247
2247
  };
2248
2248
  _output_out: {
@@ -2264,12 +2264,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2264
2264
  appId: string;
2265
2265
  userId: string;
2266
2266
  };
2267
- access: {
2267
+ access?: {
2268
2268
  rights: "admin" | "write" | "read";
2269
2269
  nameKey: string | null;
2270
2270
  isRoot: boolean;
2271
2271
  sharedByPubKey: string;
2272
- };
2272
+ } | undefined;
2273
2273
  } & {
2274
2274
  sizes: {
2275
2275
  size: bigint;
@@ -2285,10 +2285,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2285
2285
  storageType: "scaleway" | "mongo";
2286
2286
  sizeBefore: bigint;
2287
2287
  md5Encrypted: string;
2288
- access: {
2288
+ access?: {
2289
2289
  key: string;
2290
2290
  sharedByPubKey: string;
2291
- };
2291
+ } | undefined;
2292
2292
  } | null;
2293
2293
  history: {
2294
2294
  id: string;
@@ -2299,10 +2299,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2299
2299
  storageType: "scaleway" | "mongo";
2300
2300
  sizeBefore: bigint;
2301
2301
  md5Encrypted: string;
2302
- access: {
2302
+ access?: {
2303
2303
  key: string;
2304
2304
  sharedByPubKey: string;
2305
- };
2305
+ } | undefined;
2306
2306
  }[];
2307
2307
  parent: ({
2308
2308
  type: "FILE" | "FOLDER";
@@ -2323,12 +2323,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2323
2323
  appId: string;
2324
2324
  userId: string;
2325
2325
  };
2326
- access: {
2326
+ access?: {
2327
2327
  rights: "admin" | "write" | "read";
2328
2328
  nameKey: string | null;
2329
2329
  isRoot: boolean;
2330
2330
  sharedByPubKey: string;
2331
- };
2331
+ } | undefined;
2332
2332
  }) | null;
2333
2333
  children: ({
2334
2334
  type: "FILE" | "FOLDER";
@@ -2349,12 +2349,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2349
2349
  appId: string;
2350
2350
  userId: string;
2351
2351
  };
2352
- access: {
2352
+ access?: {
2353
2353
  rights: "admin" | "write" | "read";
2354
2354
  nameKey: string | null;
2355
2355
  isRoot: boolean;
2356
2356
  sharedByPubKey: string;
2357
- };
2357
+ } | undefined;
2358
2358
  })[];
2359
2359
  };
2360
2360
  }, unknown>;
@@ -2634,12 +2634,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2634
2634
  appId: string;
2635
2635
  userId: string;
2636
2636
  };
2637
- access: {
2637
+ access?: {
2638
2638
  rights: "admin" | "write" | "read";
2639
2639
  nameKey: string | null;
2640
2640
  isRoot: boolean;
2641
2641
  sharedByPubKey: string;
2642
- };
2642
+ } | undefined;
2643
2643
  } & {
2644
2644
  sizes: {
2645
2645
  size: bigint;
@@ -2655,10 +2655,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2655
2655
  storageType: "scaleway" | "mongo";
2656
2656
  sizeBefore: bigint;
2657
2657
  md5Encrypted: string;
2658
- access: {
2658
+ access?: {
2659
2659
  key: string;
2660
2660
  sharedByPubKey: string;
2661
- };
2661
+ } | undefined;
2662
2662
  } | null;
2663
2663
  history: {
2664
2664
  id: string;
@@ -2669,10 +2669,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2669
2669
  storageType: "scaleway" | "mongo";
2670
2670
  sizeBefore: bigint;
2671
2671
  md5Encrypted: string;
2672
- access: {
2672
+ access?: {
2673
2673
  key: string;
2674
2674
  sharedByPubKey: string;
2675
- };
2675
+ } | undefined;
2676
2676
  }[];
2677
2677
  parent: ({
2678
2678
  type: "FILE" | "FOLDER";
@@ -2693,12 +2693,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2693
2693
  appId: string;
2694
2694
  userId: string;
2695
2695
  };
2696
- access: {
2696
+ access?: {
2697
2697
  rights: "admin" | "write" | "read";
2698
2698
  nameKey: string | null;
2699
2699
  isRoot: boolean;
2700
2700
  sharedByPubKey: string;
2701
- };
2701
+ } | undefined;
2702
2702
  }) | null;
2703
2703
  children: ({
2704
2704
  type: "FILE" | "FOLDER";
@@ -2719,12 +2719,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2719
2719
  appId: string;
2720
2720
  userId: string;
2721
2721
  };
2722
- access: {
2722
+ access?: {
2723
2723
  rights: "admin" | "write" | "read";
2724
2724
  nameKey: string | null;
2725
2725
  isRoot: boolean;
2726
2726
  sharedByPubKey: string;
2727
- };
2727
+ } | undefined;
2728
2728
  })[];
2729
2729
  };
2730
2730
  _output_out: {
@@ -2746,12 +2746,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2746
2746
  appId: string;
2747
2747
  userId: string;
2748
2748
  };
2749
- access: {
2749
+ access?: {
2750
2750
  rights: "admin" | "write" | "read";
2751
2751
  nameKey: string | null;
2752
2752
  isRoot: boolean;
2753
2753
  sharedByPubKey: string;
2754
- };
2754
+ } | undefined;
2755
2755
  } & {
2756
2756
  sizes: {
2757
2757
  size: bigint;
@@ -2767,10 +2767,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2767
2767
  storageType: "scaleway" | "mongo";
2768
2768
  sizeBefore: bigint;
2769
2769
  md5Encrypted: string;
2770
- access: {
2770
+ access?: {
2771
2771
  key: string;
2772
2772
  sharedByPubKey: string;
2773
- };
2773
+ } | undefined;
2774
2774
  } | null;
2775
2775
  history: {
2776
2776
  id: string;
@@ -2781,10 +2781,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2781
2781
  storageType: "scaleway" | "mongo";
2782
2782
  sizeBefore: bigint;
2783
2783
  md5Encrypted: string;
2784
- access: {
2784
+ access?: {
2785
2785
  key: string;
2786
2786
  sharedByPubKey: string;
2787
- };
2787
+ } | undefined;
2788
2788
  }[];
2789
2789
  parent: ({
2790
2790
  type: "FILE" | "FOLDER";
@@ -2805,12 +2805,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2805
2805
  appId: string;
2806
2806
  userId: string;
2807
2807
  };
2808
- access: {
2808
+ access?: {
2809
2809
  rights: "admin" | "write" | "read";
2810
2810
  nameKey: string | null;
2811
2811
  isRoot: boolean;
2812
2812
  sharedByPubKey: string;
2813
- };
2813
+ } | undefined;
2814
2814
  }) | null;
2815
2815
  children: ({
2816
2816
  type: "FILE" | "FOLDER";
@@ -2831,12 +2831,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2831
2831
  appId: string;
2832
2832
  userId: string;
2833
2833
  };
2834
- access: {
2834
+ access?: {
2835
2835
  rights: "admin" | "write" | "read";
2836
2836
  nameKey: string | null;
2837
2837
  isRoot: boolean;
2838
2838
  sharedByPubKey: string;
2839
- };
2839
+ } | undefined;
2840
2840
  })[];
2841
2841
  };
2842
2842
  }, unknown>;
@@ -3202,12 +3202,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3202
3202
  appId: string;
3203
3203
  userId: string;
3204
3204
  };
3205
- access: {
3205
+ access?: {
3206
3206
  rights: "admin" | "write" | "read";
3207
3207
  nameKey: string | null;
3208
3208
  isRoot: boolean;
3209
3209
  sharedByPubKey: string;
3210
- };
3210
+ } | undefined;
3211
3211
  };
3212
3212
  _output_out: {
3213
3213
  type: "FILE" | "FOLDER";
@@ -3228,12 +3228,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3228
3228
  appId: string;
3229
3229
  userId: string;
3230
3230
  };
3231
- access: {
3231
+ access?: {
3232
3232
  rights: "admin" | "write" | "read";
3233
3233
  nameKey: string | null;
3234
3234
  isRoot: boolean;
3235
3235
  sharedByPubKey: string;
3236
- };
3236
+ } | undefined;
3237
3237
  };
3238
3238
  }, unknown>;
3239
3239
  nodeFullById: _trpc_server.BuildProcedure<"query", {
@@ -3286,12 +3286,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3286
3286
  appId: string;
3287
3287
  userId: string;
3288
3288
  };
3289
- access: {
3289
+ access?: {
3290
3290
  rights: "admin" | "write" | "read";
3291
3291
  nameKey: string | null;
3292
3292
  isRoot: boolean;
3293
3293
  sharedByPubKey: string;
3294
- };
3294
+ } | undefined;
3295
3295
  } & {
3296
3296
  sizes: {
3297
3297
  size: bigint;
@@ -3307,10 +3307,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3307
3307
  storageType: "scaleway" | "mongo";
3308
3308
  sizeBefore: bigint;
3309
3309
  md5Encrypted: string;
3310
- access: {
3310
+ access?: {
3311
3311
  key: string;
3312
3312
  sharedByPubKey: string;
3313
- };
3313
+ } | undefined;
3314
3314
  } | null;
3315
3315
  history: {
3316
3316
  id: string;
@@ -3321,10 +3321,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3321
3321
  storageType: "scaleway" | "mongo";
3322
3322
  sizeBefore: bigint;
3323
3323
  md5Encrypted: string;
3324
- access: {
3324
+ access?: {
3325
3325
  key: string;
3326
3326
  sharedByPubKey: string;
3327
- };
3327
+ } | undefined;
3328
3328
  }[];
3329
3329
  parent: ({
3330
3330
  type: "FILE" | "FOLDER";
@@ -3345,12 +3345,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3345
3345
  appId: string;
3346
3346
  userId: string;
3347
3347
  };
3348
- access: {
3348
+ access?: {
3349
3349
  rights: "admin" | "write" | "read";
3350
3350
  nameKey: string | null;
3351
3351
  isRoot: boolean;
3352
3352
  sharedByPubKey: string;
3353
- };
3353
+ } | undefined;
3354
3354
  }) | null;
3355
3355
  children: ({
3356
3356
  type: "FILE" | "FOLDER";
@@ -3371,12 +3371,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3371
3371
  appId: string;
3372
3372
  userId: string;
3373
3373
  };
3374
- access: {
3374
+ access?: {
3375
3375
  rights: "admin" | "write" | "read";
3376
3376
  nameKey: string | null;
3377
3377
  isRoot: boolean;
3378
3378
  sharedByPubKey: string;
3379
- };
3379
+ } | undefined;
3380
3380
  })[];
3381
3381
  };
3382
3382
  _output_out: {
@@ -3398,12 +3398,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3398
3398
  appId: string;
3399
3399
  userId: string;
3400
3400
  };
3401
- access: {
3401
+ access?: {
3402
3402
  rights: "admin" | "write" | "read";
3403
3403
  nameKey: string | null;
3404
3404
  isRoot: boolean;
3405
3405
  sharedByPubKey: string;
3406
- };
3406
+ } | undefined;
3407
3407
  } & {
3408
3408
  sizes: {
3409
3409
  size: bigint;
@@ -3419,10 +3419,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3419
3419
  storageType: "scaleway" | "mongo";
3420
3420
  sizeBefore: bigint;
3421
3421
  md5Encrypted: string;
3422
- access: {
3422
+ access?: {
3423
3423
  key: string;
3424
3424
  sharedByPubKey: string;
3425
- };
3425
+ } | undefined;
3426
3426
  } | null;
3427
3427
  history: {
3428
3428
  id: string;
@@ -3433,10 +3433,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3433
3433
  storageType: "scaleway" | "mongo";
3434
3434
  sizeBefore: bigint;
3435
3435
  md5Encrypted: string;
3436
- access: {
3436
+ access?: {
3437
3437
  key: string;
3438
3438
  sharedByPubKey: string;
3439
- };
3439
+ } | undefined;
3440
3440
  }[];
3441
3441
  parent: ({
3442
3442
  type: "FILE" | "FOLDER";
@@ -3457,12 +3457,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3457
3457
  appId: string;
3458
3458
  userId: string;
3459
3459
  };
3460
- access: {
3460
+ access?: {
3461
3461
  rights: "admin" | "write" | "read";
3462
3462
  nameKey: string | null;
3463
3463
  isRoot: boolean;
3464
3464
  sharedByPubKey: string;
3465
- };
3465
+ } | undefined;
3466
3466
  }) | null;
3467
3467
  children: ({
3468
3468
  type: "FILE" | "FOLDER";
@@ -3483,12 +3483,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3483
3483
  appId: string;
3484
3484
  userId: string;
3485
3485
  };
3486
- access: {
3486
+ access?: {
3487
3487
  rights: "admin" | "write" | "read";
3488
3488
  nameKey: string | null;
3489
3489
  isRoot: boolean;
3490
3490
  sharedByPubKey: string;
3491
- };
3491
+ } | undefined;
3492
3492
  })[];
3493
3493
  };
3494
3494
  }, unknown>;
@@ -3574,12 +3574,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3574
3574
  appId: string;
3575
3575
  userId: string;
3576
3576
  };
3577
- access: {
3577
+ access?: {
3578
3578
  rights: "admin" | "write" | "read";
3579
3579
  nameKey: string | null;
3580
3580
  isRoot: boolean;
3581
3581
  sharedByPubKey: string;
3582
- };
3582
+ } | undefined;
3583
3583
  })[];
3584
3584
  _output_out: ({
3585
3585
  type: "FILE" | "FOLDER";
@@ -3600,12 +3600,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3600
3600
  appId: string;
3601
3601
  userId: string;
3602
3602
  };
3603
- access: {
3603
+ access?: {
3604
3604
  rights: "admin" | "write" | "read";
3605
3605
  nameKey: string | null;
3606
3606
  isRoot: boolean;
3607
3607
  sharedByPubKey: string;
3608
- };
3608
+ } | undefined;
3609
3609
  })[];
3610
3610
  }, unknown>;
3611
3611
  nodesSharedWithMe: _trpc_server.BuildProcedure<"query", {
@@ -3656,12 +3656,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3656
3656
  appId: string;
3657
3657
  userId: string;
3658
3658
  };
3659
- access: {
3659
+ access?: {
3660
3660
  rights: "admin" | "write" | "read";
3661
3661
  nameKey: string | null;
3662
3662
  isRoot: boolean;
3663
3663
  sharedByPubKey: string;
3664
- };
3664
+ } | undefined;
3665
3665
  })[];
3666
3666
  _output_out: ({
3667
3667
  type: "FILE" | "FOLDER";
@@ -3682,12 +3682,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3682
3682
  appId: string;
3683
3683
  userId: string;
3684
3684
  };
3685
- access: {
3685
+ access?: {
3686
3686
  rights: "admin" | "write" | "read";
3687
3687
  nameKey: string | null;
3688
3688
  isRoot: boolean;
3689
3689
  sharedByPubKey: string;
3690
- };
3690
+ } | undefined;
3691
3691
  })[];
3692
3692
  }, unknown>;
3693
3693
  nodesShared: _trpc_server.BuildProcedure<"query", {
@@ -3734,12 +3734,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3734
3734
  appId: string;
3735
3735
  userId: string;
3736
3736
  };
3737
- access: {
3737
+ access?: {
3738
3738
  rights: "admin" | "write" | "read";
3739
3739
  nameKey: string | null;
3740
3740
  isRoot: boolean;
3741
3741
  sharedByPubKey: string;
3742
- };
3742
+ } | undefined;
3743
3743
  })[];
3744
3744
  _output_out: ({
3745
3745
  type: "FILE" | "FOLDER";
@@ -3760,12 +3760,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3760
3760
  appId: string;
3761
3761
  userId: string;
3762
3762
  };
3763
- access: {
3763
+ access?: {
3764
3764
  rights: "admin" | "write" | "read";
3765
3765
  nameKey: string | null;
3766
3766
  isRoot: boolean;
3767
3767
  sharedByPubKey: string;
3768
- };
3768
+ } | undefined;
3769
3769
  })[];
3770
3770
  }, unknown>;
3771
3771
  recoverNode: _trpc_server.BuildProcedure<"mutation", {
@@ -3950,12 +3950,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3950
3950
  appId: string;
3951
3951
  userId: string;
3952
3952
  };
3953
- access: {
3953
+ access?: {
3954
3954
  rights: "admin" | "write" | "read";
3955
3955
  nameKey: string | null;
3956
3956
  isRoot: boolean;
3957
3957
  sharedByPubKey: string;
3958
- };
3958
+ } | undefined;
3959
3959
  } & {
3960
3960
  sizes: {
3961
3961
  size: bigint;
@@ -3971,10 +3971,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3971
3971
  storageType: "scaleway" | "mongo";
3972
3972
  sizeBefore: bigint;
3973
3973
  md5Encrypted: string;
3974
- access: {
3974
+ access?: {
3975
3975
  key: string;
3976
3976
  sharedByPubKey: string;
3977
- };
3977
+ } | undefined;
3978
3978
  } | null;
3979
3979
  history: {
3980
3980
  id: string;
@@ -3985,10 +3985,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3985
3985
  storageType: "scaleway" | "mongo";
3986
3986
  sizeBefore: bigint;
3987
3987
  md5Encrypted: string;
3988
- access: {
3988
+ access?: {
3989
3989
  key: string;
3990
3990
  sharedByPubKey: string;
3991
- };
3991
+ } | undefined;
3992
3992
  }[];
3993
3993
  parent: ({
3994
3994
  type: "FILE" | "FOLDER";
@@ -4009,12 +4009,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4009
4009
  appId: string;
4010
4010
  userId: string;
4011
4011
  };
4012
- access: {
4012
+ access?: {
4013
4013
  rights: "admin" | "write" | "read";
4014
4014
  nameKey: string | null;
4015
4015
  isRoot: boolean;
4016
4016
  sharedByPubKey: string;
4017
- };
4017
+ } | undefined;
4018
4018
  }) | null;
4019
4019
  children: ({
4020
4020
  type: "FILE" | "FOLDER";
@@ -4035,12 +4035,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4035
4035
  appId: string;
4036
4036
  userId: string;
4037
4037
  };
4038
- access: {
4038
+ access?: {
4039
4039
  rights: "admin" | "write" | "read";
4040
4040
  nameKey: string | null;
4041
4041
  isRoot: boolean;
4042
4042
  sharedByPubKey: string;
4043
- };
4043
+ } | undefined;
4044
4044
  })[];
4045
4045
  };
4046
4046
  _output_out: {
@@ -4062,12 +4062,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4062
4062
  appId: string;
4063
4063
  userId: string;
4064
4064
  };
4065
- access: {
4065
+ access?: {
4066
4066
  rights: "admin" | "write" | "read";
4067
4067
  nameKey: string | null;
4068
4068
  isRoot: boolean;
4069
4069
  sharedByPubKey: string;
4070
- };
4070
+ } | undefined;
4071
4071
  } & {
4072
4072
  sizes: {
4073
4073
  size: bigint;
@@ -4083,10 +4083,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4083
4083
  storageType: "scaleway" | "mongo";
4084
4084
  sizeBefore: bigint;
4085
4085
  md5Encrypted: string;
4086
- access: {
4086
+ access?: {
4087
4087
  key: string;
4088
4088
  sharedByPubKey: string;
4089
- };
4089
+ } | undefined;
4090
4090
  } | null;
4091
4091
  history: {
4092
4092
  id: string;
@@ -4097,10 +4097,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4097
4097
  storageType: "scaleway" | "mongo";
4098
4098
  sizeBefore: bigint;
4099
4099
  md5Encrypted: string;
4100
- access: {
4100
+ access?: {
4101
4101
  key: string;
4102
4102
  sharedByPubKey: string;
4103
- };
4103
+ } | undefined;
4104
4104
  }[];
4105
4105
  parent: ({
4106
4106
  type: "FILE" | "FOLDER";
@@ -4121,12 +4121,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4121
4121
  appId: string;
4122
4122
  userId: string;
4123
4123
  };
4124
- access: {
4124
+ access?: {
4125
4125
  rights: "admin" | "write" | "read";
4126
4126
  nameKey: string | null;
4127
4127
  isRoot: boolean;
4128
4128
  sharedByPubKey: string;
4129
- };
4129
+ } | undefined;
4130
4130
  }) | null;
4131
4131
  children: ({
4132
4132
  type: "FILE" | "FOLDER";
@@ -4147,12 +4147,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4147
4147
  appId: string;
4148
4148
  userId: string;
4149
4149
  };
4150
- access: {
4150
+ access?: {
4151
4151
  rights: "admin" | "write" | "read";
4152
4152
  nameKey: string | null;
4153
4153
  isRoot: boolean;
4154
4154
  sharedByPubKey: string;
4155
- };
4155
+ } | undefined;
4156
4156
  })[];
4157
4157
  };
4158
4158
  }, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"