@secrecy/trpc-api-types 1.33.0-feat-remove-me-domain.10 → 1.33.0-feat-unencrypted-data.2

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 +188 -166
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1759,7 +1759,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1759
1759
  } & {
1760
1760
  sizes: {
1761
1761
  size: bigint;
1762
- sizeBefore: bigint;
1762
+ sizeEncrypted: bigint;
1763
1763
  };
1764
1764
  } & {
1765
1765
  current: {
@@ -1768,13 +1768,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1768
1768
  size: bigint;
1769
1769
  md5: string;
1770
1770
  storageType: "s3" | "lite";
1771
- sizeBefore: bigint;
1772
- md5Encrypted: string;
1771
+ sizeEncrypted: bigint | null;
1772
+ md5Encrypted: string | null;
1773
1773
  userAppUserId: string;
1774
1774
  userAppAppId: string;
1775
1775
  validatedAt: Date | null;
1776
1776
  access: {
1777
- key: string;
1777
+ key: string | null;
1778
1778
  sharedByPubKey: string;
1779
1779
  };
1780
1780
  } | null;
@@ -1784,13 +1784,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1784
1784
  size: bigint;
1785
1785
  md5: string;
1786
1786
  storageType: "s3" | "lite";
1787
- sizeBefore: bigint;
1788
- md5Encrypted: string;
1787
+ sizeEncrypted: bigint | null;
1788
+ md5Encrypted: string | null;
1789
1789
  userAppUserId: string;
1790
1790
  userAppAppId: string;
1791
1791
  validatedAt: Date | null;
1792
1792
  access: {
1793
- key: string;
1793
+ key: string | null;
1794
1794
  sharedByPubKey: string;
1795
1795
  };
1796
1796
  }[];
@@ -1860,7 +1860,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1860
1860
  } & {
1861
1861
  sizes: {
1862
1862
  size: bigint;
1863
- sizeBefore: bigint;
1863
+ sizeEncrypted: bigint;
1864
1864
  };
1865
1865
  })[];
1866
1866
  breadcrumb: {
@@ -1904,7 +1904,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1904
1904
  } & {
1905
1905
  sizes: {
1906
1906
  size: bigint;
1907
- sizeBefore: bigint;
1907
+ sizeEncrypted: bigint;
1908
1908
  };
1909
1909
  } & {
1910
1910
  current: {
@@ -1913,13 +1913,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1913
1913
  size: bigint;
1914
1914
  md5: string;
1915
1915
  storageType: "s3" | "lite";
1916
- sizeBefore: bigint;
1917
- md5Encrypted: string;
1916
+ sizeEncrypted: bigint | null;
1917
+ md5Encrypted: string | null;
1918
1918
  userAppUserId: string;
1919
1919
  userAppAppId: string;
1920
1920
  validatedAt: Date | null;
1921
1921
  access: {
1922
- key: string;
1922
+ key: string | null;
1923
1923
  sharedByPubKey: string;
1924
1924
  };
1925
1925
  } | null;
@@ -1929,13 +1929,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1929
1929
  size: bigint;
1930
1930
  md5: string;
1931
1931
  storageType: "s3" | "lite";
1932
- sizeBefore: bigint;
1933
- md5Encrypted: string;
1932
+ sizeEncrypted: bigint | null;
1933
+ md5Encrypted: string | null;
1934
1934
  userAppUserId: string;
1935
1935
  userAppAppId: string;
1936
1936
  validatedAt: Date | null;
1937
1937
  access: {
1938
- key: string;
1938
+ key: string | null;
1939
1939
  sharedByPubKey: string;
1940
1940
  };
1941
1941
  }[];
@@ -2005,7 +2005,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2005
2005
  } & {
2006
2006
  sizes: {
2007
2007
  size: bigint;
2008
- sizeBefore: bigint;
2008
+ sizeEncrypted: bigint;
2009
2009
  };
2010
2010
  })[];
2011
2011
  breadcrumb: {
@@ -2093,13 +2093,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2093
2093
  size: bigint;
2094
2094
  md5: string;
2095
2095
  storageType: "s3" | "lite";
2096
- sizeBefore: bigint;
2097
- md5Encrypted: string;
2096
+ sizeEncrypted: bigint | null;
2097
+ md5Encrypted: string | null;
2098
2098
  userAppUserId: string;
2099
2099
  userAppAppId: string;
2100
2100
  validatedAt: Date | null;
2101
2101
  access: {
2102
- key: string;
2102
+ key: string | null;
2103
2103
  sharedByPubKey: string;
2104
2104
  };
2105
2105
  };
@@ -2109,13 +2109,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2109
2109
  size: bigint;
2110
2110
  md5: string;
2111
2111
  storageType: "s3" | "lite";
2112
- sizeBefore: bigint;
2113
- md5Encrypted: string;
2112
+ sizeEncrypted: bigint | null;
2113
+ md5Encrypted: string | null;
2114
2114
  userAppUserId: string;
2115
2115
  userAppAppId: string;
2116
2116
  validatedAt: Date | null;
2117
2117
  access: {
2118
- key: string;
2118
+ key: string | null;
2119
2119
  sharedByPubKey: string;
2120
2120
  };
2121
2121
  };
@@ -2151,10 +2151,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2151
2151
  };
2152
2152
  _output_in: {
2153
2153
  id: string;
2154
- key: string;
2154
+ key: string | null;
2155
2155
  type: "received_mail";
2156
2156
  md5: string;
2157
- md5Encrypted: string;
2157
+ md5Encrypted: string | null;
2158
2158
  totalSize: bigint;
2159
2159
  senderPublicKey: string;
2160
2160
  maybeParts: {
@@ -2165,10 +2165,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2165
2165
  maybeContent: Buffer | null;
2166
2166
  } | {
2167
2167
  id: string;
2168
- key: string;
2168
+ key: string | null;
2169
2169
  type: "sent_mail";
2170
2170
  md5: string;
2171
- md5Encrypted: string;
2171
+ md5Encrypted: string | null;
2172
2172
  totalSize: bigint;
2173
2173
  maybeParts: {
2174
2174
  md5: string;
@@ -2178,7 +2178,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2178
2178
  maybeContent: Buffer | null;
2179
2179
  } | {
2180
2180
  id: string;
2181
- key: string;
2181
+ key: string | null;
2182
2182
  type: "cloud";
2183
2183
  md5: string;
2184
2184
  parts: {
@@ -2186,25 +2186,25 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2186
2186
  order: number;
2187
2187
  contentUrl: string;
2188
2188
  }[];
2189
- md5Encrypted: string;
2190
- publicKey: string;
2189
+ md5Encrypted: string | null;
2191
2190
  totalSize: bigint;
2191
+ publicKey: string;
2192
2192
  } | {
2193
2193
  id: string;
2194
- key: string;
2194
+ key: string | null;
2195
2195
  type: "lite";
2196
2196
  md5: string;
2197
2197
  content: Buffer;
2198
- md5Encrypted: string;
2199
- publicKey: string;
2198
+ md5Encrypted: string | null;
2200
2199
  totalSize: bigint;
2200
+ publicKey: string;
2201
2201
  };
2202
2202
  _output_out: {
2203
2203
  id: string;
2204
- key: string;
2204
+ key: string | null;
2205
2205
  type: "received_mail";
2206
2206
  md5: string;
2207
- md5Encrypted: string;
2207
+ md5Encrypted: string | null;
2208
2208
  totalSize: bigint;
2209
2209
  senderPublicKey: string;
2210
2210
  maybeParts: {
@@ -2215,10 +2215,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2215
2215
  maybeContent: Buffer | null;
2216
2216
  } | {
2217
2217
  id: string;
2218
- key: string;
2218
+ key: string | null;
2219
2219
  type: "sent_mail";
2220
2220
  md5: string;
2221
- md5Encrypted: string;
2221
+ md5Encrypted: string | null;
2222
2222
  totalSize: bigint;
2223
2223
  maybeParts: {
2224
2224
  md5: string;
@@ -2228,7 +2228,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2228
2228
  maybeContent: Buffer | null;
2229
2229
  } | {
2230
2230
  id: string;
2231
- key: string;
2231
+ key: string | null;
2232
2232
  type: "cloud";
2233
2233
  md5: string;
2234
2234
  parts: {
@@ -2236,18 +2236,18 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2236
2236
  order: number;
2237
2237
  contentUrl: string;
2238
2238
  }[];
2239
- md5Encrypted: string;
2240
- publicKey: string;
2239
+ md5Encrypted: string | null;
2241
2240
  totalSize: bigint;
2241
+ publicKey: string;
2242
2242
  } | {
2243
2243
  id: string;
2244
- key: string;
2244
+ key: string | null;
2245
2245
  type: "lite";
2246
2246
  md5: string;
2247
2247
  content: Buffer;
2248
- md5Encrypted: string;
2249
- publicKey: string;
2248
+ md5Encrypted: string | null;
2250
2249
  totalSize: bigint;
2250
+ publicKey: string;
2251
2251
  };
2252
2252
  }, unknown>;
2253
2253
  dataContentByIds: _trpc_server.BuildProcedure<"query", {
@@ -2281,10 +2281,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2281
2281
  };
2282
2282
  _output_in: ({
2283
2283
  id: string;
2284
- key: string;
2284
+ key: string | null;
2285
2285
  type: "received_mail";
2286
2286
  md5: string;
2287
- md5Encrypted: string;
2287
+ md5Encrypted: string | null;
2288
2288
  totalSize: bigint;
2289
2289
  senderPublicKey: string;
2290
2290
  maybeParts: {
@@ -2295,10 +2295,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2295
2295
  maybeContent: Buffer | null;
2296
2296
  } | {
2297
2297
  id: string;
2298
- key: string;
2298
+ key: string | null;
2299
2299
  type: "sent_mail";
2300
2300
  md5: string;
2301
- md5Encrypted: string;
2301
+ md5Encrypted: string | null;
2302
2302
  totalSize: bigint;
2303
2303
  maybeParts: {
2304
2304
  md5: string;
@@ -2308,7 +2308,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2308
2308
  maybeContent: Buffer | null;
2309
2309
  } | {
2310
2310
  id: string;
2311
- key: string;
2311
+ key: string | null;
2312
2312
  type: "cloud";
2313
2313
  md5: string;
2314
2314
  parts: {
@@ -2316,25 +2316,25 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2316
2316
  order: number;
2317
2317
  contentUrl: string;
2318
2318
  }[];
2319
- md5Encrypted: string;
2320
- publicKey: string;
2319
+ md5Encrypted: string | null;
2321
2320
  totalSize: bigint;
2321
+ publicKey: string;
2322
2322
  } | {
2323
2323
  id: string;
2324
- key: string;
2324
+ key: string | null;
2325
2325
  type: "lite";
2326
2326
  md5: string;
2327
2327
  content: Buffer;
2328
- md5Encrypted: string;
2329
- publicKey: string;
2328
+ md5Encrypted: string | null;
2330
2329
  totalSize: bigint;
2330
+ publicKey: string;
2331
2331
  })[];
2332
2332
  _output_out: ({
2333
2333
  id: string;
2334
- key: string;
2334
+ key: string | null;
2335
2335
  type: "received_mail";
2336
2336
  md5: string;
2337
- md5Encrypted: string;
2337
+ md5Encrypted: string | null;
2338
2338
  totalSize: bigint;
2339
2339
  senderPublicKey: string;
2340
2340
  maybeParts: {
@@ -2345,10 +2345,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2345
2345
  maybeContent: Buffer | null;
2346
2346
  } | {
2347
2347
  id: string;
2348
- key: string;
2348
+ key: string | null;
2349
2349
  type: "sent_mail";
2350
2350
  md5: string;
2351
- md5Encrypted: string;
2351
+ md5Encrypted: string | null;
2352
2352
  totalSize: bigint;
2353
2353
  maybeParts: {
2354
2354
  md5: string;
@@ -2358,7 +2358,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2358
2358
  maybeContent: Buffer | null;
2359
2359
  } | {
2360
2360
  id: string;
2361
- key: string;
2361
+ key: string | null;
2362
2362
  type: "cloud";
2363
2363
  md5: string;
2364
2364
  parts: {
@@ -2366,18 +2366,18 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2366
2366
  order: number;
2367
2367
  contentUrl: string;
2368
2368
  }[];
2369
- md5Encrypted: string;
2370
- publicKey: string;
2369
+ md5Encrypted: string | null;
2371
2370
  totalSize: bigint;
2371
+ publicKey: string;
2372
2372
  } | {
2373
2373
  id: string;
2374
- key: string;
2374
+ key: string | null;
2375
2375
  type: "lite";
2376
2376
  md5: string;
2377
2377
  content: Buffer;
2378
- md5Encrypted: string;
2379
- publicKey: string;
2378
+ md5Encrypted: string | null;
2380
2379
  totalSize: bigint;
2380
+ publicKey: string;
2381
2381
  })[];
2382
2382
  }, unknown>;
2383
2383
  dataSharedWithMe: _trpc_server.BuildProcedure<"query", {
@@ -2436,14 +2436,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2436
2436
  _meta: object;
2437
2437
  _ctx_out: {};
2438
2438
  _input_in: {
2439
- key: string;
2439
+ key: string | null;
2440
2440
  dataId: string;
2441
2441
  nameKey: string;
2442
2442
  nodeId: string | null;
2443
2443
  fileName: string;
2444
2444
  };
2445
2445
  _input_out: {
2446
- key: string;
2446
+ key: string | null;
2447
2447
  dataId: string;
2448
2448
  nameKey: string;
2449
2449
  nodeId: string | null;
@@ -2483,7 +2483,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2483
2483
  } & {
2484
2484
  sizes: {
2485
2485
  size: bigint;
2486
- sizeBefore: bigint;
2486
+ sizeEncrypted: bigint;
2487
2487
  };
2488
2488
  } & {
2489
2489
  current: {
@@ -2492,13 +2492,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2492
2492
  size: bigint;
2493
2493
  md5: string;
2494
2494
  storageType: "s3" | "lite";
2495
- sizeBefore: bigint;
2496
- md5Encrypted: string;
2495
+ sizeEncrypted: bigint | null;
2496
+ md5Encrypted: string | null;
2497
2497
  userAppUserId: string;
2498
2498
  userAppAppId: string;
2499
2499
  validatedAt: Date | null;
2500
2500
  access: {
2501
- key: string;
2501
+ key: string | null;
2502
2502
  sharedByPubKey: string;
2503
2503
  };
2504
2504
  } | null;
@@ -2508,13 +2508,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2508
2508
  size: bigint;
2509
2509
  md5: string;
2510
2510
  storageType: "s3" | "lite";
2511
- sizeBefore: bigint;
2512
- md5Encrypted: string;
2511
+ sizeEncrypted: bigint | null;
2512
+ md5Encrypted: string | null;
2513
2513
  userAppUserId: string;
2514
2514
  userAppAppId: string;
2515
2515
  validatedAt: Date | null;
2516
2516
  access: {
2517
- key: string;
2517
+ key: string | null;
2518
2518
  sharedByPubKey: string;
2519
2519
  };
2520
2520
  }[];
@@ -2584,7 +2584,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2584
2584
  } & {
2585
2585
  sizes: {
2586
2586
  size: bigint;
2587
- sizeBefore: bigint;
2587
+ sizeEncrypted: bigint;
2588
2588
  };
2589
2589
  })[];
2590
2590
  breadcrumb: {
@@ -2628,7 +2628,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2628
2628
  } & {
2629
2629
  sizes: {
2630
2630
  size: bigint;
2631
- sizeBefore: bigint;
2631
+ sizeEncrypted: bigint;
2632
2632
  };
2633
2633
  } & {
2634
2634
  current: {
@@ -2637,13 +2637,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2637
2637
  size: bigint;
2638
2638
  md5: string;
2639
2639
  storageType: "s3" | "lite";
2640
- sizeBefore: bigint;
2641
- md5Encrypted: string;
2640
+ sizeEncrypted: bigint | null;
2641
+ md5Encrypted: string | null;
2642
2642
  userAppUserId: string;
2643
2643
  userAppAppId: string;
2644
2644
  validatedAt: Date | null;
2645
2645
  access: {
2646
- key: string;
2646
+ key: string | null;
2647
2647
  sharedByPubKey: string;
2648
2648
  };
2649
2649
  } | null;
@@ -2653,13 +2653,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2653
2653
  size: bigint;
2654
2654
  md5: string;
2655
2655
  storageType: "s3" | "lite";
2656
- sizeBefore: bigint;
2657
- md5Encrypted: string;
2656
+ sizeEncrypted: bigint | null;
2657
+ md5Encrypted: string | null;
2658
2658
  userAppUserId: string;
2659
2659
  userAppAppId: string;
2660
2660
  validatedAt: Date | null;
2661
2661
  access: {
2662
- key: string;
2662
+ key: string | null;
2663
2663
  sharedByPubKey: string;
2664
2664
  };
2665
2665
  }[];
@@ -2729,7 +2729,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2729
2729
  } & {
2730
2730
  sizes: {
2731
2731
  size: bigint;
2732
- sizeBefore: bigint;
2732
+ sizeEncrypted: bigint;
2733
2733
  };
2734
2734
  })[];
2735
2735
  breadcrumb: {
@@ -3046,18 +3046,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3046
3046
  _meta: object;
3047
3047
  _ctx_out: {};
3048
3048
  _input_in: {
3049
- dataSize: bigint;
3049
+ key: string;
3050
+ type: "encrypted";
3051
+ size: bigint;
3050
3052
  md5: string;
3053
+ sizeEncrypted: bigint;
3051
3054
  md5Encrypted: string;
3052
- dataSizeBefore: bigint;
3053
- dataKey: string;
3055
+ } | {
3056
+ type: "unencrypted";
3057
+ size: bigint;
3058
+ md5: string;
3054
3059
  };
3055
3060
  _input_out: {
3056
- dataSize: bigint;
3061
+ key: string;
3062
+ type: "encrypted";
3063
+ size: bigint;
3057
3064
  md5: string;
3065
+ sizeEncrypted: bigint;
3058
3066
  md5Encrypted: string;
3059
- dataSizeBefore: bigint;
3060
- dataKey: string;
3067
+ } | {
3068
+ type: "unencrypted";
3069
+ size: bigint;
3070
+ md5: string;
3061
3071
  };
3062
3072
  _output_in: {
3063
3073
  id: string;
@@ -3065,7 +3075,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3065
3075
  pub: string;
3066
3076
  encPriv: string;
3067
3077
  };
3068
- key: string;
3078
+ key: string | null;
3069
3079
  partSize: bigint;
3070
3080
  parts: {
3071
3081
  fields: Record<string, string>;
@@ -3079,7 +3089,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3079
3089
  pub: string;
3080
3090
  encPriv: string;
3081
3091
  };
3082
- key: string;
3092
+ key: string | null;
3083
3093
  partSize: bigint;
3084
3094
  parts: {
3085
3095
  fields: Record<string, string>;
@@ -3112,20 +3122,32 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3112
3122
  _meta: object;
3113
3123
  _ctx_out: {};
3114
3124
  _input_in: {
3115
- dataSize: bigint;
3125
+ key: string;
3126
+ type: "encrypted";
3127
+ size: bigint;
3116
3128
  md5: string;
3117
3129
  content: Buffer;
3130
+ sizeEncrypted: bigint;
3118
3131
  md5Encrypted: string;
3119
- dataSizeBefore: bigint;
3120
- dataKey: string;
3132
+ } | {
3133
+ type: "unencrypted";
3134
+ size: bigint;
3135
+ md5: string;
3136
+ content: Buffer;
3121
3137
  };
3122
3138
  _input_out: {
3123
- dataSize: bigint;
3139
+ key: string;
3140
+ type: "encrypted";
3141
+ size: bigint;
3124
3142
  md5: string;
3125
3143
  content: Buffer;
3144
+ sizeEncrypted: bigint;
3126
3145
  md5Encrypted: string;
3127
- dataSizeBefore: bigint;
3128
- dataKey: string;
3146
+ } | {
3147
+ type: "unencrypted";
3148
+ size: bigint;
3149
+ md5: string;
3150
+ content: Buffer;
3129
3151
  };
3130
3152
  _output_in: {
3131
3153
  id: string;
@@ -3133,7 +3155,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3133
3155
  pub: string;
3134
3156
  encPriv: string;
3135
3157
  };
3136
- key: string;
3158
+ key: string | null;
3137
3159
  };
3138
3160
  _output_out: {
3139
3161
  id: string;
@@ -3141,7 +3163,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3141
3163
  pub: string;
3142
3164
  encPriv: string;
3143
3165
  };
3144
- key: string;
3166
+ key: string | null;
3145
3167
  };
3146
3168
  }, unknown>;
3147
3169
  createFolder: _trpc_server.BuildProcedure<"mutation", {
@@ -3211,7 +3233,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3211
3233
  } & {
3212
3234
  sizes: {
3213
3235
  size: bigint;
3214
- sizeBefore: bigint;
3236
+ sizeEncrypted: bigint;
3215
3237
  };
3216
3238
  } & {
3217
3239
  current: {
@@ -3220,13 +3242,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3220
3242
  size: bigint;
3221
3243
  md5: string;
3222
3244
  storageType: "s3" | "lite";
3223
- sizeBefore: bigint;
3224
- md5Encrypted: string;
3245
+ sizeEncrypted: bigint | null;
3246
+ md5Encrypted: string | null;
3225
3247
  userAppUserId: string;
3226
3248
  userAppAppId: string;
3227
3249
  validatedAt: Date | null;
3228
3250
  access: {
3229
- key: string;
3251
+ key: string | null;
3230
3252
  sharedByPubKey: string;
3231
3253
  };
3232
3254
  } | null;
@@ -3236,13 +3258,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3236
3258
  size: bigint;
3237
3259
  md5: string;
3238
3260
  storageType: "s3" | "lite";
3239
- sizeBefore: bigint;
3240
- md5Encrypted: string;
3261
+ sizeEncrypted: bigint | null;
3262
+ md5Encrypted: string | null;
3241
3263
  userAppUserId: string;
3242
3264
  userAppAppId: string;
3243
3265
  validatedAt: Date | null;
3244
3266
  access: {
3245
- key: string;
3267
+ key: string | null;
3246
3268
  sharedByPubKey: string;
3247
3269
  };
3248
3270
  }[];
@@ -3312,7 +3334,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3312
3334
  } & {
3313
3335
  sizes: {
3314
3336
  size: bigint;
3315
- sizeBefore: bigint;
3337
+ sizeEncrypted: bigint;
3316
3338
  };
3317
3339
  })[];
3318
3340
  breadcrumb: {
@@ -3356,7 +3378,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3356
3378
  } & {
3357
3379
  sizes: {
3358
3380
  size: bigint;
3359
- sizeBefore: bigint;
3381
+ sizeEncrypted: bigint;
3360
3382
  };
3361
3383
  } & {
3362
3384
  current: {
@@ -3365,13 +3387,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3365
3387
  size: bigint;
3366
3388
  md5: string;
3367
3389
  storageType: "s3" | "lite";
3368
- sizeBefore: bigint;
3369
- md5Encrypted: string;
3390
+ sizeEncrypted: bigint | null;
3391
+ md5Encrypted: string | null;
3370
3392
  userAppUserId: string;
3371
3393
  userAppAppId: string;
3372
3394
  validatedAt: Date | null;
3373
3395
  access: {
3374
- key: string;
3396
+ key: string | null;
3375
3397
  sharedByPubKey: string;
3376
3398
  };
3377
3399
  } | null;
@@ -3381,13 +3403,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3381
3403
  size: bigint;
3382
3404
  md5: string;
3383
3405
  storageType: "s3" | "lite";
3384
- sizeBefore: bigint;
3385
- md5Encrypted: string;
3406
+ sizeEncrypted: bigint | null;
3407
+ md5Encrypted: string | null;
3386
3408
  userAppUserId: string;
3387
3409
  userAppAppId: string;
3388
3410
  validatedAt: Date | null;
3389
3411
  access: {
3390
- key: string;
3412
+ key: string | null;
3391
3413
  sharedByPubKey: string;
3392
3414
  };
3393
3415
  }[];
@@ -3457,7 +3479,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3457
3479
  } & {
3458
3480
  sizes: {
3459
3481
  size: bigint;
3460
- sizeBefore: bigint;
3482
+ sizeEncrypted: bigint;
3461
3483
  };
3462
3484
  })[];
3463
3485
  breadcrumb: {
@@ -3853,7 +3875,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3853
3875
  } & {
3854
3876
  sizes: {
3855
3877
  size: bigint;
3856
- sizeBefore: bigint;
3878
+ sizeEncrypted: bigint;
3857
3879
  };
3858
3880
  };
3859
3881
  _output_out: {
@@ -3890,7 +3912,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3890
3912
  } & {
3891
3913
  sizes: {
3892
3914
  size: bigint;
3893
- sizeBefore: bigint;
3915
+ sizeEncrypted: bigint;
3894
3916
  };
3895
3917
  };
3896
3918
  }, unknown>;
@@ -3959,7 +3981,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3959
3981
  } & {
3960
3982
  sizes: {
3961
3983
  size: bigint;
3962
- sizeBefore: bigint;
3984
+ sizeEncrypted: bigint;
3963
3985
  };
3964
3986
  } & {
3965
3987
  current: {
@@ -3968,13 +3990,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3968
3990
  size: bigint;
3969
3991
  md5: string;
3970
3992
  storageType: "s3" | "lite";
3971
- sizeBefore: bigint;
3972
- md5Encrypted: string;
3993
+ sizeEncrypted: bigint | null;
3994
+ md5Encrypted: string | null;
3973
3995
  userAppUserId: string;
3974
3996
  userAppAppId: string;
3975
3997
  validatedAt: Date | null;
3976
3998
  access: {
3977
- key: string;
3999
+ key: string | null;
3978
4000
  sharedByPubKey: string;
3979
4001
  };
3980
4002
  } | null;
@@ -3984,13 +4006,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3984
4006
  size: bigint;
3985
4007
  md5: string;
3986
4008
  storageType: "s3" | "lite";
3987
- sizeBefore: bigint;
3988
- md5Encrypted: string;
4009
+ sizeEncrypted: bigint | null;
4010
+ md5Encrypted: string | null;
3989
4011
  userAppUserId: string;
3990
4012
  userAppAppId: string;
3991
4013
  validatedAt: Date | null;
3992
4014
  access: {
3993
- key: string;
4015
+ key: string | null;
3994
4016
  sharedByPubKey: string;
3995
4017
  };
3996
4018
  }[];
@@ -4060,7 +4082,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4060
4082
  } & {
4061
4083
  sizes: {
4062
4084
  size: bigint;
4063
- sizeBefore: bigint;
4085
+ sizeEncrypted: bigint;
4064
4086
  };
4065
4087
  })[];
4066
4088
  breadcrumb: {
@@ -4104,7 +4126,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4104
4126
  } & {
4105
4127
  sizes: {
4106
4128
  size: bigint;
4107
- sizeBefore: bigint;
4129
+ sizeEncrypted: bigint;
4108
4130
  };
4109
4131
  } & {
4110
4132
  current: {
@@ -4113,13 +4135,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4113
4135
  size: bigint;
4114
4136
  md5: string;
4115
4137
  storageType: "s3" | "lite";
4116
- sizeBefore: bigint;
4117
- md5Encrypted: string;
4138
+ sizeEncrypted: bigint | null;
4139
+ md5Encrypted: string | null;
4118
4140
  userAppUserId: string;
4119
4141
  userAppAppId: string;
4120
4142
  validatedAt: Date | null;
4121
4143
  access: {
4122
- key: string;
4144
+ key: string | null;
4123
4145
  sharedByPubKey: string;
4124
4146
  };
4125
4147
  } | null;
@@ -4129,13 +4151,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4129
4151
  size: bigint;
4130
4152
  md5: string;
4131
4153
  storageType: "s3" | "lite";
4132
- sizeBefore: bigint;
4133
- md5Encrypted: string;
4154
+ sizeEncrypted: bigint | null;
4155
+ md5Encrypted: string | null;
4134
4156
  userAppUserId: string;
4135
4157
  userAppAppId: string;
4136
4158
  validatedAt: Date | null;
4137
4159
  access: {
4138
- key: string;
4160
+ key: string | null;
4139
4161
  sharedByPubKey: string;
4140
4162
  };
4141
4163
  }[];
@@ -4205,7 +4227,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4205
4227
  } & {
4206
4228
  sizes: {
4207
4229
  size: bigint;
4208
- sizeBefore: bigint;
4230
+ sizeEncrypted: bigint;
4209
4231
  };
4210
4232
  })[];
4211
4233
  breadcrumb: {
@@ -4247,11 +4269,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4247
4269
  };
4248
4270
  _output_in: {
4249
4271
  size: bigint;
4250
- sizeBefore: bigint;
4272
+ sizeEncrypted: bigint;
4251
4273
  };
4252
4274
  _output_out: {
4253
4275
  size: bigint;
4254
- sizeBefore: bigint;
4276
+ sizeEncrypted: bigint;
4255
4277
  };
4256
4278
  }, unknown>;
4257
4279
  nodesDeleted: _trpc_server.BuildProcedure<"query", {
@@ -4725,7 +4747,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4725
4747
  } & {
4726
4748
  sizes: {
4727
4749
  size: bigint;
4728
- sizeBefore: bigint;
4750
+ sizeEncrypted: bigint;
4729
4751
  };
4730
4752
  } & {
4731
4753
  current: {
@@ -4734,13 +4756,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4734
4756
  size: bigint;
4735
4757
  md5: string;
4736
4758
  storageType: "s3" | "lite";
4737
- sizeBefore: bigint;
4738
- md5Encrypted: string;
4759
+ sizeEncrypted: bigint | null;
4760
+ md5Encrypted: string | null;
4739
4761
  userAppUserId: string;
4740
4762
  userAppAppId: string;
4741
4763
  validatedAt: Date | null;
4742
4764
  access: {
4743
- key: string;
4765
+ key: string | null;
4744
4766
  sharedByPubKey: string;
4745
4767
  };
4746
4768
  } | null;
@@ -4750,13 +4772,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4750
4772
  size: bigint;
4751
4773
  md5: string;
4752
4774
  storageType: "s3" | "lite";
4753
- sizeBefore: bigint;
4754
- md5Encrypted: string;
4775
+ sizeEncrypted: bigint | null;
4776
+ md5Encrypted: string | null;
4755
4777
  userAppUserId: string;
4756
4778
  userAppAppId: string;
4757
4779
  validatedAt: Date | null;
4758
4780
  access: {
4759
- key: string;
4781
+ key: string | null;
4760
4782
  sharedByPubKey: string;
4761
4783
  };
4762
4784
  }[];
@@ -4826,7 +4848,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4826
4848
  } & {
4827
4849
  sizes: {
4828
4850
  size: bigint;
4829
- sizeBefore: bigint;
4851
+ sizeEncrypted: bigint;
4830
4852
  };
4831
4853
  })[];
4832
4854
  breadcrumb: {
@@ -4870,7 +4892,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4870
4892
  } & {
4871
4893
  sizes: {
4872
4894
  size: bigint;
4873
- sizeBefore: bigint;
4895
+ sizeEncrypted: bigint;
4874
4896
  };
4875
4897
  } & {
4876
4898
  current: {
@@ -4879,13 +4901,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4879
4901
  size: bigint;
4880
4902
  md5: string;
4881
4903
  storageType: "s3" | "lite";
4882
- sizeBefore: bigint;
4883
- md5Encrypted: string;
4904
+ sizeEncrypted: bigint | null;
4905
+ md5Encrypted: string | null;
4884
4906
  userAppUserId: string;
4885
4907
  userAppAppId: string;
4886
4908
  validatedAt: Date | null;
4887
4909
  access: {
4888
- key: string;
4910
+ key: string | null;
4889
4911
  sharedByPubKey: string;
4890
4912
  };
4891
4913
  } | null;
@@ -4895,13 +4917,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4895
4917
  size: bigint;
4896
4918
  md5: string;
4897
4919
  storageType: "s3" | "lite";
4898
- sizeBefore: bigint;
4899
- md5Encrypted: string;
4920
+ sizeEncrypted: bigint | null;
4921
+ md5Encrypted: string | null;
4900
4922
  userAppUserId: string;
4901
4923
  userAppAppId: string;
4902
4924
  validatedAt: Date | null;
4903
4925
  access: {
4904
- key: string;
4926
+ key: string | null;
4905
4927
  sharedByPubKey: string;
4906
4928
  };
4907
4929
  }[];
@@ -4971,7 +4993,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4971
4993
  } & {
4972
4994
  sizes: {
4973
4995
  size: bigint;
4974
- sizeBefore: bigint;
4996
+ sizeEncrypted: bigint;
4975
4997
  };
4976
4998
  })[];
4977
4999
  breadcrumb: {
@@ -5872,13 +5894,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5872
5894
  _input_in: {
5873
5895
  appId?: string | undefined;
5874
5896
  } & {
5875
- pgVersion?: 15 | 16 | 14 | undefined;
5897
+ pgVersion?: 15 | 14 | 16 | undefined;
5876
5898
  regionId?: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2" | undefined;
5877
5899
  };
5878
5900
  _input_out: {
5879
5901
  appId?: string | undefined;
5880
5902
  } & {
5881
- pgVersion: 15 | 16 | 14;
5903
+ pgVersion: 15 | 14 | 16;
5882
5904
  regionId: "aws-us-east-1" | "aws-us-east-2" | "aws-us-west-2" | "aws-eu-central-1" | "aws-ap-southeast-1" | "aws-ap-southeast-2";
5883
5905
  };
5884
5906
  _output_in: {
@@ -8073,7 +8095,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8073
8095
  };
8074
8096
  attachments: {
8075
8097
  name: string;
8076
- key: string;
8098
+ key: string | null;
8077
8099
  dataId: string;
8078
8100
  }[];
8079
8101
  };
@@ -8131,7 +8153,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8131
8153
  };
8132
8154
  attachments: {
8133
8155
  name: string;
8134
- key: string;
8156
+ key: string | null;
8135
8157
  dataId: string;
8136
8158
  }[];
8137
8159
  };
@@ -8241,7 +8263,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8241
8263
  };
8242
8264
  attachments: {
8243
8265
  name: string;
8244
- key: string;
8266
+ key: string | null;
8245
8267
  dataId: string;
8246
8268
  }[];
8247
8269
  };
@@ -8299,7 +8321,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8299
8321
  };
8300
8322
  attachments: {
8301
8323
  name: string;
8302
- key: string;
8324
+ key: string | null;
8303
8325
  dataId: string;
8304
8326
  }[];
8305
8327
  };
@@ -8495,7 +8517,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8495
8517
  };
8496
8518
  attachments: {
8497
8519
  name: string;
8498
- key: string;
8520
+ key: string | null;
8499
8521
  dataId: string;
8500
8522
  }[];
8501
8523
  })[];
@@ -8553,7 +8575,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8553
8575
  };
8554
8576
  attachments: {
8555
8577
  name: string;
8556
- key: string;
8578
+ key: string | null;
8557
8579
  dataId: string;
8558
8580
  }[];
8559
8581
  })[];
@@ -8637,7 +8659,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8637
8659
  };
8638
8660
  attachments: {
8639
8661
  name: string;
8640
- key: string;
8662
+ key: string | null;
8641
8663
  dataId: string;
8642
8664
  }[];
8643
8665
  })[];
@@ -8695,7 +8717,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8695
8717
  };
8696
8718
  attachments: {
8697
8719
  name: string;
8698
- key: string;
8720
+ key: string | null;
8699
8721
  dataId: string;
8700
8722
  }[];
8701
8723
  })[];
@@ -8847,7 +8869,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8847
8869
  };
8848
8870
  attachments: {
8849
8871
  name: string;
8850
- key: string;
8872
+ key: string | null;
8851
8873
  dataId: string;
8852
8874
  }[];
8853
8875
  })[];
@@ -8905,7 +8927,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8905
8927
  };
8906
8928
  attachments: {
8907
8929
  name: string;
8908
- key: string;
8930
+ key: string | null;
8909
8931
  dataId: string;
8910
8932
  }[];
8911
8933
  })[];
@@ -9081,7 +9103,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9081
9103
  attachments: {
9082
9104
  id: string;
9083
9105
  name: string;
9084
- key: string;
9106
+ key: string | null;
9085
9107
  }[];
9086
9108
  };
9087
9109
  };
@@ -9095,7 +9117,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9095
9117
  attachments: {
9096
9118
  id: string;
9097
9119
  name: string;
9098
- key: string;
9120
+ key: string | null;
9099
9121
  }[];
9100
9122
  };
9101
9123
  };
@@ -9185,7 +9207,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9185
9207
  };
9186
9208
  attachments: {
9187
9209
  name: string;
9188
- key: string;
9210
+ key: string | null;
9189
9211
  dataId: string;
9190
9212
  }[];
9191
9213
  })[];
@@ -9243,7 +9265,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9243
9265
  };
9244
9266
  attachments: {
9245
9267
  name: string;
9246
- key: string;
9268
+ key: string | null;
9247
9269
  dataId: string;
9248
9270
  }[];
9249
9271
  })[];
@@ -9417,7 +9439,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9417
9439
  };
9418
9440
  attachments: {
9419
9441
  name: string;
9420
- key: string;
9442
+ key: string | null;
9421
9443
  dataId: string;
9422
9444
  }[];
9423
9445
  };
@@ -9475,7 +9497,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9475
9497
  };
9476
9498
  attachments: {
9477
9499
  name: string;
9478
- key: string;
9500
+ key: string | null;
9479
9501
  dataId: string;
9480
9502
  }[];
9481
9503
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-remove-me-domain.10",
3
+ "version": "1.33.0-feat-unencrypted-data.2",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"