@secrecy/trpc-api-types 1.27.0-dev.1 → 1.27.0-dev.10

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 +523 -289
  2. package/package.json +3 -3
package/dist/index.d.cts CHANGED
@@ -186,6 +186,72 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
186
186
  isDeleted: boolean;
187
187
  };
188
188
  }, unknown>;
189
+ getUsers: _trpc_server.BuildProcedure<"query", {
190
+ _config: _trpc_server.RootConfig<{
191
+ ctx: {
192
+ req: {
193
+ headers: Headers;
194
+ body: ReadableStream<Uint8Array> | null;
195
+ };
196
+ res: {
197
+ headers: Headers;
198
+ };
199
+ session: SecrecySession | null;
200
+ locale: Locales;
201
+ ls: TranslationFunctions;
202
+ };
203
+ meta: object;
204
+ errorShape: {
205
+ message: string;
206
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
207
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
208
+ } | {
209
+ data: {
210
+ zodError: zod.typeToFlattenedError<any, string> | null;
211
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
212
+ httpStatus: number;
213
+ path?: string;
214
+ stack?: string;
215
+ };
216
+ message: string;
217
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
218
+ };
219
+ transformer: typeof superjson.default;
220
+ }>;
221
+ _meta: object;
222
+ _ctx_out: {
223
+ session: SecrecySession;
224
+ req: {
225
+ headers: Headers;
226
+ body: ReadableStream<Uint8Array> | null;
227
+ };
228
+ res: {
229
+ headers: Headers;
230
+ };
231
+ locale: Locales;
232
+ ls: TranslationFunctions;
233
+ };
234
+ _input_in: {};
235
+ _input_out: {};
236
+ _output_in: {
237
+ users: {
238
+ id: string;
239
+ lastname: string;
240
+ firstname: string;
241
+ avatar: string | null;
242
+ isSearchable: boolean;
243
+ }[];
244
+ };
245
+ _output_out: {
246
+ users: {
247
+ id: string;
248
+ lastname: string;
249
+ firstname: string;
250
+ avatar: string | null;
251
+ isSearchable: boolean;
252
+ }[];
253
+ };
254
+ }, unknown>;
189
255
  }>;
190
256
  application: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
191
257
  ctx: {
@@ -269,52 +335,68 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
269
335
  mail: {
270
336
  received: {
271
337
  count: bigint;
272
- fileSize: bigint;
273
- maxFileSize: bigint | null;
274
- fileCount: bigint;
338
+ dataSize: bigint;
339
+ maxDataSize: bigint | null;
340
+ dataCount: bigint;
275
341
  maxCount: bigint | null;
276
- maxFileCount: bigint | null;
342
+ maxDataCount: bigint | null;
277
343
  };
278
344
  sent: {
279
345
  count: bigint;
280
- fileSize: bigint;
281
- maxFileSize: bigint | null;
282
- fileCount: bigint;
346
+ dataSize: bigint;
347
+ maxDataSize: bigint | null;
348
+ dataCount: bigint;
283
349
  maxCount: bigint | null;
284
- maxFileCount: bigint | null;
350
+ maxDataCount: bigint | null;
285
351
  };
286
352
  };
287
353
  cloud: {
288
354
  count: bigint;
355
+ uploadCount: bigint;
356
+ downloadCount: bigint;
289
357
  size: bigint;
358
+ uploadBandwidth: bigint;
359
+ downloadBandwidth: bigint;
290
360
  maxCount: bigint | null;
291
361
  maxSize: bigint | null;
362
+ maxDownloadBandwidth: bigint | null;
363
+ maxUploadBandwidth: bigint | null;
364
+ maxDownloadCount: bigint | null;
365
+ maxUploadCount: bigint | null;
292
366
  };
293
367
  };
294
368
  _output_out: {
295
369
  mail: {
296
370
  received: {
297
371
  count: bigint;
298
- fileSize: bigint;
299
- maxFileSize: bigint | null;
300
- fileCount: bigint;
372
+ dataSize: bigint;
373
+ maxDataSize: bigint | null;
374
+ dataCount: bigint;
301
375
  maxCount: bigint | null;
302
- maxFileCount: bigint | null;
376
+ maxDataCount: bigint | null;
303
377
  };
304
378
  sent: {
305
379
  count: bigint;
306
- fileSize: bigint;
307
- maxFileSize: bigint | null;
308
- fileCount: bigint;
380
+ dataSize: bigint;
381
+ maxDataSize: bigint | null;
382
+ dataCount: bigint;
309
383
  maxCount: bigint | null;
310
- maxFileCount: bigint | null;
384
+ maxDataCount: bigint | null;
311
385
  };
312
386
  };
313
387
  cloud: {
314
388
  count: bigint;
389
+ uploadCount: bigint;
390
+ downloadCount: bigint;
315
391
  size: bigint;
392
+ uploadBandwidth: bigint;
393
+ downloadBandwidth: bigint;
316
394
  maxCount: bigint | null;
317
395
  maxSize: bigint | null;
396
+ maxDownloadBandwidth: bigint | null;
397
+ maxUploadBandwidth: bigint | null;
398
+ maxDownloadCount: bigint | null;
399
+ maxUploadCount: bigint | null;
318
400
  };
319
401
  };
320
402
  }, unknown>;
@@ -472,10 +554,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
472
554
  usersBase: bigint | null;
473
555
  usersUnit: bigint | null;
474
556
  usersPrice: number | null;
475
- perFileSize: bigint | null;
476
- perFileSizeBase: bigint | null;
477
- perFileSizeUnit: bigint | null;
478
- perFileSizePrice: number | null;
557
+ perDataSize: bigint | null;
558
+ perDataSizeBase: bigint | null;
559
+ perDataSizeUnit: bigint | null;
560
+ perDataSizePrice: number | null;
479
561
  bandwidth: bigint | null;
480
562
  bandwidthBase: bigint | null;
481
563
  bandwidthUnit: bigint | null;
@@ -495,10 +577,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
495
577
  usersBase: bigint | null;
496
578
  usersUnit: bigint | null;
497
579
  usersPrice: number | null;
498
- perFileSize: bigint | null;
499
- perFileSizeBase: bigint | null;
500
- perFileSizeUnit: bigint | null;
501
- perFileSizePrice: number | null;
580
+ perDataSize: bigint | null;
581
+ perDataSizeBase: bigint | null;
582
+ perDataSizeUnit: bigint | null;
583
+ perDataSizePrice: number | null;
502
584
  bandwidth: bigint | null;
503
585
  bandwidthBase: bigint | null;
504
586
  bandwidthUnit: bigint | null;
@@ -693,9 +775,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
693
775
  usersBase: bigint | null;
694
776
  usersUnit: bigint | null;
695
777
  usersPrice: number | null;
696
- perFileSizeBase: bigint | null;
697
- perFileSizeUnit: bigint | null;
698
- perFileSizePrice: number | null;
778
+ perDataSizeBase: bigint | null;
779
+ perDataSizeUnit: bigint | null;
780
+ perDataSizePrice: number | null;
699
781
  bandwidthBase: bigint | null;
700
782
  bandwidthUnit: bigint | null;
701
783
  bandwidthPrice: number | null;
@@ -704,7 +786,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
704
786
  totalStorageSizePrice: number | null;
705
787
  devsMax: bigint | null;
706
788
  usersMax: bigint | null;
707
- perFileSizeMax: bigint | null;
789
+ perDataSizeMax: bigint | null;
708
790
  bandwidthMax: bigint | null;
709
791
  totalStorageSizeMax: bigint | null;
710
792
  };
@@ -725,9 +807,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
725
807
  usersBase: bigint | null;
726
808
  usersUnit: bigint | null;
727
809
  usersPrice: number | null;
728
- perFileSizeBase: bigint | null;
729
- perFileSizeUnit: bigint | null;
730
- perFileSizePrice: number | null;
810
+ perDataSizeBase: bigint | null;
811
+ perDataSizeUnit: bigint | null;
812
+ perDataSizePrice: number | null;
731
813
  bandwidthBase: bigint | null;
732
814
  bandwidthUnit: bigint | null;
733
815
  bandwidthPrice: number | null;
@@ -736,7 +818,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
736
818
  totalStorageSizePrice: number | null;
737
819
  devsMax: bigint | null;
738
820
  usersMax: bigint | null;
739
- perFileSizeMax: bigint | null;
821
+ perDataSizeMax: bigint | null;
740
822
  bandwidthMax: bigint | null;
741
823
  totalStorageSizeMax: bigint | null;
742
824
  };
@@ -794,14 +876,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
794
876
  _output_in: {
795
877
  id: string;
796
878
  cloudNodeDaysForDelete: number;
797
- historyMaxFileCount: number;
798
- historyFileDaysForDelete: number | null;
879
+ historyDataMaxCount: number;
880
+ historyDataDaysForDelete: number | null;
799
881
  };
800
882
  _output_out: {
801
883
  id: string;
802
884
  cloudNodeDaysForDelete: number;
803
- historyMaxFileCount: number;
804
- historyFileDaysForDelete: number | null;
885
+ historyDataMaxCount: number;
886
+ historyDataDaysForDelete: number | null;
805
887
  };
806
888
  }, unknown>;
807
889
  updateNotification: _trpc_server.BuildProcedure<"mutation", {
@@ -923,25 +1005,25 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
923
1005
  };
924
1006
  _input_in: {
925
1007
  cloudNodeDaysForDelete?: number | null | undefined;
926
- historyMaxFileCount?: number | null | undefined;
927
- historyFileDaysForDelete?: number | null | undefined;
1008
+ historyDataMaxCount?: number | null | undefined;
1009
+ historyDataDaysForDelete?: number | null | undefined;
928
1010
  };
929
1011
  _input_out: {
930
1012
  cloudNodeDaysForDelete?: number | null | undefined;
931
- historyMaxFileCount?: number | null | undefined;
932
- historyFileDaysForDelete?: number | null | undefined;
1013
+ historyDataMaxCount?: number | null | undefined;
1014
+ historyDataDaysForDelete?: number | null | undefined;
933
1015
  };
934
1016
  _output_in: {
935
1017
  id: string;
936
1018
  cloudNodeDaysForDelete: number;
937
- historyMaxFileCount: number;
938
- historyFileDaysForDelete: number | null;
1019
+ historyDataMaxCount: number;
1020
+ historyDataDaysForDelete: number | null;
939
1021
  };
940
1022
  _output_out: {
941
1023
  id: string;
942
1024
  cloudNodeDaysForDelete: number;
943
- historyMaxFileCount: number;
944
- historyFileDaysForDelete: number | null;
1025
+ historyDataMaxCount: number;
1026
+ historyDataDaysForDelete: number | null;
945
1027
  };
946
1028
  }, unknown>;
947
1029
  userPublicKey: _trpc_server.BuildProcedure<"query", {
@@ -1600,13 +1682,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1600
1682
  email: string;
1601
1683
  };
1602
1684
  _output_in: {
1603
- pub: string;
1604
1685
  srpSalt: string;
1686
+ pub: string;
1605
1687
  loginId: string;
1606
1688
  };
1607
1689
  _output_out: {
1608
- pub: string;
1609
1690
  srpSalt: string;
1691
+ pub: string;
1610
1692
  loginId: string;
1611
1693
  };
1612
1694
  }, unknown>;
@@ -1668,6 +1750,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1668
1750
  id: string;
1669
1751
  lastname: string;
1670
1752
  firstname: string;
1753
+ avatar: string | null;
1754
+ isSearchable: boolean;
1671
1755
  }[];
1672
1756
  loginToken: string;
1673
1757
  };
@@ -1676,6 +1760,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1676
1760
  id: string;
1677
1761
  lastname: string;
1678
1762
  firstname: string;
1763
+ avatar: string | null;
1764
+ isSearchable: boolean;
1679
1765
  }[];
1680
1766
  loginToken: string;
1681
1767
  };
@@ -2246,6 +2332,64 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2246
2332
  _output_in: {};
2247
2333
  _output_out: {};
2248
2334
  }, {}>;
2335
+ changeUser: _trpc_server.BuildProcedure<"mutation", {
2336
+ _config: _trpc_server.RootConfig<{
2337
+ ctx: {
2338
+ req: {
2339
+ headers: Headers;
2340
+ body: ReadableStream<Uint8Array> | null;
2341
+ };
2342
+ res: {
2343
+ headers: Headers;
2344
+ };
2345
+ session: SecrecySession | null;
2346
+ locale: Locales;
2347
+ ls: TranslationFunctions;
2348
+ };
2349
+ meta: object;
2350
+ errorShape: {
2351
+ message: string;
2352
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2353
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
2354
+ } | {
2355
+ data: {
2356
+ zodError: zod.typeToFlattenedError<any, string> | null;
2357
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2358
+ httpStatus: number;
2359
+ path?: string;
2360
+ stack?: string;
2361
+ };
2362
+ message: string;
2363
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2364
+ };
2365
+ transformer: typeof superjson.default;
2366
+ }>;
2367
+ _meta: object;
2368
+ _ctx_out: {
2369
+ session: SecrecySession;
2370
+ req: {
2371
+ headers: Headers;
2372
+ body: ReadableStream<Uint8Array> | null;
2373
+ };
2374
+ res: {
2375
+ headers: Headers;
2376
+ };
2377
+ locale: Locales;
2378
+ ls: TranslationFunctions;
2379
+ };
2380
+ _input_in: {
2381
+ userId: string;
2382
+ };
2383
+ _input_out: {
2384
+ userId: string;
2385
+ };
2386
+ _output_in: {
2387
+ sessionId: string;
2388
+ };
2389
+ _output_out: {
2390
+ sessionId: string;
2391
+ };
2392
+ }, unknown>;
2249
2393
  }>;
2250
2394
  blog: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
2251
2395
  ctx: {
@@ -2850,7 +2994,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2850
2994
  };
2851
2995
  transformer: typeof superjson.default;
2852
2996
  }>, {
2853
- addFileToHistory: _trpc_server.BuildProcedure<"mutation", {
2997
+ addDataToHistory: _trpc_server.BuildProcedure<"mutation", {
2854
2998
  _config: _trpc_server.RootConfig<{
2855
2999
  ctx: {
2856
3000
  req: {
@@ -2896,11 +3040,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2896
3040
  ls: TranslationFunctions;
2897
3041
  };
2898
3042
  _input_in: {
2899
- fileId: string;
3043
+ dataId: string;
2900
3044
  nodeId: string;
2901
3045
  };
2902
3046
  _input_out: {
2903
- fileId: string;
3047
+ dataId: string;
2904
3048
  nodeId: string;
2905
3049
  };
2906
3050
  _output_in: {
@@ -2912,7 +3056,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2912
3056
  type: "FILE" | "FOLDER";
2913
3057
  parentId: string | null;
2914
3058
  isFavorite: boolean;
2915
- currentFileId: string | null;
3059
+ currentDataId: string | null;
2916
3060
  } & {
2917
3061
  users: [{
2918
3062
  id: string;
@@ -2943,12 +3087,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2943
3087
  current: {
2944
3088
  id: string;
2945
3089
  createdAt: Date;
2946
- deletedAt: Date | null;
2947
3090
  size: bigint;
2948
3091
  md5: string;
2949
3092
  storageType: "s3" | "lite";
2950
3093
  sizeBefore: bigint;
2951
3094
  md5Encrypted: string;
3095
+ userAppUserId: string;
3096
+ userAppAppId: string;
3097
+ validatedAt: Date | null;
2952
3098
  access: {
2953
3099
  key: string;
2954
3100
  sharedByPubKey: string;
@@ -2957,12 +3103,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2957
3103
  history: {
2958
3104
  id: string;
2959
3105
  createdAt: Date;
2960
- deletedAt: Date | null;
2961
3106
  size: bigint;
2962
3107
  md5: string;
2963
3108
  storageType: "s3" | "lite";
2964
3109
  sizeBefore: bigint;
2965
3110
  md5Encrypted: string;
3111
+ userAppUserId: string;
3112
+ userAppAppId: string;
3113
+ validatedAt: Date | null;
2966
3114
  access: {
2967
3115
  key: string;
2968
3116
  sharedByPubKey: string;
@@ -2977,7 +3125,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2977
3125
  type: "FILE" | "FOLDER";
2978
3126
  parentId: string | null;
2979
3127
  isFavorite: boolean;
2980
- currentFileId: string | null;
3128
+ currentDataId: string | null;
2981
3129
  } & {
2982
3130
  users: [{
2983
3131
  id: string;
@@ -3009,7 +3157,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3009
3157
  type: "FILE" | "FOLDER";
3010
3158
  parentId: string | null;
3011
3159
  isFavorite: boolean;
3012
- currentFileId: string | null;
3160
+ currentDataId: string | null;
3013
3161
  } & {
3014
3162
  users: [{
3015
3163
  id: string;
@@ -3053,7 +3201,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3053
3201
  type: "FILE" | "FOLDER";
3054
3202
  parentId: string | null;
3055
3203
  isFavorite: boolean;
3056
- currentFileId: string | null;
3204
+ currentDataId: string | null;
3057
3205
  } & {
3058
3206
  users: [{
3059
3207
  id: string;
@@ -3084,12 +3232,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3084
3232
  current: {
3085
3233
  id: string;
3086
3234
  createdAt: Date;
3087
- deletedAt: Date | null;
3088
3235
  size: bigint;
3089
3236
  md5: string;
3090
3237
  storageType: "s3" | "lite";
3091
3238
  sizeBefore: bigint;
3092
3239
  md5Encrypted: string;
3240
+ userAppUserId: string;
3241
+ userAppAppId: string;
3242
+ validatedAt: Date | null;
3093
3243
  access: {
3094
3244
  key: string;
3095
3245
  sharedByPubKey: string;
@@ -3098,12 +3248,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3098
3248
  history: {
3099
3249
  id: string;
3100
3250
  createdAt: Date;
3101
- deletedAt: Date | null;
3102
3251
  size: bigint;
3103
3252
  md5: string;
3104
3253
  storageType: "s3" | "lite";
3105
3254
  sizeBefore: bigint;
3106
3255
  md5Encrypted: string;
3256
+ userAppUserId: string;
3257
+ userAppAppId: string;
3258
+ validatedAt: Date | null;
3107
3259
  access: {
3108
3260
  key: string;
3109
3261
  sharedByPubKey: string;
@@ -3118,7 +3270,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3118
3270
  type: "FILE" | "FOLDER";
3119
3271
  parentId: string | null;
3120
3272
  isFavorite: boolean;
3121
- currentFileId: string | null;
3273
+ currentDataId: string | null;
3122
3274
  } & {
3123
3275
  users: [{
3124
3276
  id: string;
@@ -3150,7 +3302,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3150
3302
  type: "FILE" | "FOLDER";
3151
3303
  parentId: string | null;
3152
3304
  isFavorite: boolean;
3153
- currentFileId: string | null;
3305
+ currentDataId: string | null;
3154
3306
  } & {
3155
3307
  users: [{
3156
3308
  id: string;
@@ -3186,7 +3338,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3186
3338
  }[];
3187
3339
  };
3188
3340
  }, unknown>;
3189
- deleteFile: _trpc_server.BuildProcedure<"mutation", {
3341
+ deleteData: _trpc_server.BuildProcedure<"mutation", {
3190
3342
  _config: _trpc_server.RootConfig<{
3191
3343
  ctx: {
3192
3344
  req: {
@@ -3232,11 +3384,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3232
3384
  ls: TranslationFunctions;
3233
3385
  };
3234
3386
  _input_in: {
3235
- fileId: string;
3387
+ dataId: string;
3236
3388
  nodeId: string;
3237
3389
  };
3238
3390
  _input_out: {
3239
- fileId: string;
3391
+ dataId: string;
3240
3392
  nodeId: string;
3241
3393
  };
3242
3394
  _output_in: {
@@ -3246,7 +3398,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3246
3398
  isDeleted: boolean;
3247
3399
  };
3248
3400
  }, unknown>;
3249
- fileById: _trpc_server.BuildProcedure<"query", {
3401
+ dataById: _trpc_server.BuildProcedure<"query", {
3250
3402
  _config: _trpc_server.RootConfig<{
3251
3403
  ctx: {
3252
3404
  req: {
@@ -3300,12 +3452,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3300
3452
  _output_in: {
3301
3453
  id: string;
3302
3454
  createdAt: Date;
3303
- deletedAt: Date | null;
3304
3455
  size: bigint;
3305
3456
  md5: string;
3306
3457
  storageType: "s3" | "lite";
3307
3458
  sizeBefore: bigint;
3308
3459
  md5Encrypted: string;
3460
+ userAppUserId: string;
3461
+ userAppAppId: string;
3462
+ validatedAt: Date | null;
3309
3463
  access: {
3310
3464
  key: string;
3311
3465
  sharedByPubKey: string;
@@ -3314,19 +3468,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3314
3468
  _output_out: {
3315
3469
  id: string;
3316
3470
  createdAt: Date;
3317
- deletedAt: Date | null;
3318
3471
  size: bigint;
3319
3472
  md5: string;
3320
3473
  storageType: "s3" | "lite";
3321
3474
  sizeBefore: bigint;
3322
3475
  md5Encrypted: string;
3476
+ userAppUserId: string;
3477
+ userAppAppId: string;
3478
+ validatedAt: Date | null;
3323
3479
  access: {
3324
3480
  key: string;
3325
3481
  sharedByPubKey: string;
3326
3482
  };
3327
3483
  };
3328
3484
  }, unknown>;
3329
- fileContentById: _trpc_server.BuildProcedure<"query", {
3485
+ dataContentById: _trpc_server.BuildProcedure<"query", {
3330
3486
  _config: _trpc_server.RootConfig<{
3331
3487
  ctx: {
3332
3488
  req: {
@@ -3478,7 +3634,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3478
3634
  totalSize: bigint;
3479
3635
  };
3480
3636
  }, unknown>;
3481
- fileContentByIds: _trpc_server.BuildProcedure<"query", {
3637
+ dataContentByIds: _trpc_server.BuildProcedure<"query", {
3482
3638
  _config: _trpc_server.RootConfig<{
3483
3639
  ctx: {
3484
3640
  req: {
@@ -3731,17 +3887,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3731
3887
  };
3732
3888
  _input_in: {
3733
3889
  key: string;
3734
- fileId: string;
3735
- filename: string;
3890
+ dataId: string;
3736
3891
  nodeId: string | null;
3737
3892
  nameKey: string;
3893
+ fileName: string;
3738
3894
  };
3739
3895
  _input_out: {
3740
3896
  key: string;
3741
- fileId: string;
3742
- filename: string;
3897
+ dataId: string;
3743
3898
  nodeId: string | null;
3744
3899
  nameKey: string;
3900
+ fileName: string;
3745
3901
  };
3746
3902
  _output_in: {
3747
3903
  id: string;
@@ -3752,7 +3908,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3752
3908
  type: "FILE" | "FOLDER";
3753
3909
  parentId: string | null;
3754
3910
  isFavorite: boolean;
3755
- currentFileId: string | null;
3911
+ currentDataId: string | null;
3756
3912
  } & {
3757
3913
  users: [{
3758
3914
  id: string;
@@ -3783,12 +3939,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3783
3939
  current: {
3784
3940
  id: string;
3785
3941
  createdAt: Date;
3786
- deletedAt: Date | null;
3787
3942
  size: bigint;
3788
3943
  md5: string;
3789
3944
  storageType: "s3" | "lite";
3790
3945
  sizeBefore: bigint;
3791
3946
  md5Encrypted: string;
3947
+ userAppUserId: string;
3948
+ userAppAppId: string;
3949
+ validatedAt: Date | null;
3792
3950
  access: {
3793
3951
  key: string;
3794
3952
  sharedByPubKey: string;
@@ -3797,12 +3955,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3797
3955
  history: {
3798
3956
  id: string;
3799
3957
  createdAt: Date;
3800
- deletedAt: Date | null;
3801
3958
  size: bigint;
3802
3959
  md5: string;
3803
3960
  storageType: "s3" | "lite";
3804
3961
  sizeBefore: bigint;
3805
3962
  md5Encrypted: string;
3963
+ userAppUserId: string;
3964
+ userAppAppId: string;
3965
+ validatedAt: Date | null;
3806
3966
  access: {
3807
3967
  key: string;
3808
3968
  sharedByPubKey: string;
@@ -3817,7 +3977,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3817
3977
  type: "FILE" | "FOLDER";
3818
3978
  parentId: string | null;
3819
3979
  isFavorite: boolean;
3820
- currentFileId: string | null;
3980
+ currentDataId: string | null;
3821
3981
  } & {
3822
3982
  users: [{
3823
3983
  id: string;
@@ -3849,7 +4009,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3849
4009
  type: "FILE" | "FOLDER";
3850
4010
  parentId: string | null;
3851
4011
  isFavorite: boolean;
3852
- currentFileId: string | null;
4012
+ currentDataId: string | null;
3853
4013
  } & {
3854
4014
  users: [{
3855
4015
  id: string;
@@ -3893,7 +4053,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3893
4053
  type: "FILE" | "FOLDER";
3894
4054
  parentId: string | null;
3895
4055
  isFavorite: boolean;
3896
- currentFileId: string | null;
4056
+ currentDataId: string | null;
3897
4057
  } & {
3898
4058
  users: [{
3899
4059
  id: string;
@@ -3924,12 +4084,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3924
4084
  current: {
3925
4085
  id: string;
3926
4086
  createdAt: Date;
3927
- deletedAt: Date | null;
3928
4087
  size: bigint;
3929
4088
  md5: string;
3930
4089
  storageType: "s3" | "lite";
3931
4090
  sizeBefore: bigint;
3932
4091
  md5Encrypted: string;
4092
+ userAppUserId: string;
4093
+ userAppAppId: string;
4094
+ validatedAt: Date | null;
3933
4095
  access: {
3934
4096
  key: string;
3935
4097
  sharedByPubKey: string;
@@ -3938,12 +4100,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3938
4100
  history: {
3939
4101
  id: string;
3940
4102
  createdAt: Date;
3941
- deletedAt: Date | null;
3942
4103
  size: bigint;
3943
4104
  md5: string;
3944
4105
  storageType: "s3" | "lite";
3945
4106
  sizeBefore: bigint;
3946
4107
  md5Encrypted: string;
4108
+ userAppUserId: string;
4109
+ userAppAppId: string;
4110
+ validatedAt: Date | null;
3947
4111
  access: {
3948
4112
  key: string;
3949
4113
  sharedByPubKey: string;
@@ -3958,7 +4122,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3958
4122
  type: "FILE" | "FOLDER";
3959
4123
  parentId: string | null;
3960
4124
  isFavorite: boolean;
3961
- currentFileId: string | null;
4125
+ currentDataId: string | null;
3962
4126
  } & {
3963
4127
  users: [{
3964
4128
  id: string;
@@ -3990,7 +4154,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3990
4154
  type: "FILE" | "FOLDER";
3991
4155
  parentId: string | null;
3992
4156
  isFavorite: boolean;
3993
- currentFileId: string | null;
4157
+ currentDataId: string | null;
3994
4158
  } & {
3995
4159
  users: [{
3996
4160
  id: string;
@@ -4126,49 +4290,71 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4126
4290
  } | undefined;
4127
4291
  };
4128
4292
  _output_in: {
4293
+ keyPairs: {
4294
+ appId: string;
4295
+ pub: string;
4296
+ encPriv: string;
4297
+ }[];
4129
4298
  nodes: {
4130
4299
  id: string;
4131
4300
  createdAt: Date;
4132
4301
  deletedAt: Date | null;
4133
4302
  name: string;
4134
4303
  updatedAt: Date;
4135
- size: bigint;
4136
- storageType: "s3" | "lite";
4304
+ history: {
4305
+ createdAt: Date;
4306
+ dataId: string;
4307
+ size: bigint;
4308
+ storageType: "s3" | "lite";
4309
+ }[];
4137
4310
  access: {
4138
4311
  appId: string;
4139
4312
  nameKey: string;
4140
4313
  };
4314
+ totalSize: bigint;
4315
+ breadcrumb: {
4316
+ id: string;
4317
+ name: string;
4318
+ nameKey: string | null;
4319
+ pubKey: string;
4320
+ }[];
4141
4321
  sharedCount: number;
4142
4322
  }[];
4323
+ };
4324
+ _output_out: {
4143
4325
  keyPairs: {
4144
4326
  appId: string;
4145
4327
  pub: string;
4146
4328
  encPriv: string;
4147
4329
  }[];
4148
- };
4149
- _output_out: {
4150
4330
  nodes: {
4151
4331
  id: string;
4152
4332
  createdAt: Date;
4153
4333
  deletedAt: Date | null;
4154
4334
  name: string;
4155
4335
  updatedAt: Date;
4156
- size: bigint;
4157
- storageType: "s3" | "lite";
4336
+ history: {
4337
+ createdAt: Date;
4338
+ dataId: string;
4339
+ size: bigint;
4340
+ storageType: "s3" | "lite";
4341
+ }[];
4158
4342
  access: {
4159
4343
  appId: string;
4160
4344
  nameKey: string;
4161
4345
  };
4346
+ totalSize: bigint;
4347
+ breadcrumb: {
4348
+ id: string;
4349
+ name: string;
4350
+ nameKey: string | null;
4351
+ pubKey: string;
4352
+ }[];
4162
4353
  sharedCount: number;
4163
4354
  }[];
4164
- keyPairs: {
4165
- appId: string;
4166
- pub: string;
4167
- encPriv: string;
4168
- }[];
4169
4355
  };
4170
4356
  }, unknown>;
4171
- shareFileInHistory: _trpc_server.BuildProcedure<"mutation", {
4357
+ shareDataInHistory: _trpc_server.BuildProcedure<"mutation", {
4172
4358
  _config: _trpc_server.RootConfig<{
4173
4359
  ctx: {
4174
4360
  req: {
@@ -4218,7 +4404,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4218
4404
  id: string;
4219
4405
  key: string;
4220
4406
  }[];
4221
- fileId: string;
4407
+ dataId: string;
4222
4408
  nodeId: string;
4223
4409
  };
4224
4410
  _input_out: {
@@ -4226,7 +4412,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4226
4412
  id: string;
4227
4413
  key: string;
4228
4414
  }[];
4229
- fileId: string;
4415
+ dataId: string;
4230
4416
  nodeId: string;
4231
4417
  };
4232
4418
  _output_in: {
@@ -4236,7 +4422,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4236
4422
  isShared: boolean;
4237
4423
  };
4238
4424
  }, unknown>;
4239
- uploadFileEnd: _trpc_server.BuildProcedure<"mutation", {
4425
+ uploadDataEnd: _trpc_server.BuildProcedure<"mutation", {
4240
4426
  _config: _trpc_server.RootConfig<{
4241
4427
  ctx: {
4242
4428
  req: {
@@ -4282,10 +4468,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4282
4468
  ls: TranslationFunctions;
4283
4469
  };
4284
4470
  _input_in: {
4285
- fileId: string;
4471
+ dataId: string;
4286
4472
  };
4287
4473
  _input_out: {
4288
- fileId: string;
4474
+ dataId: string;
4289
4475
  };
4290
4476
  _output_in: {
4291
4477
  isUploadEnded: boolean;
@@ -4294,7 +4480,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4294
4480
  isUploadEnded: boolean;
4295
4481
  };
4296
4482
  }, unknown>;
4297
- uploadFilePartEnd: _trpc_server.BuildProcedure<"mutation", {
4483
+ uploadDataPartEnd: _trpc_server.BuildProcedure<"mutation", {
4298
4484
  _config: _trpc_server.RootConfig<{
4299
4485
  ctx: {
4300
4486
  req: {
@@ -4340,12 +4526,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4340
4526
  ls: TranslationFunctions;
4341
4527
  };
4342
4528
  _input_in: {
4343
- fileId: string;
4529
+ dataId: string;
4344
4530
  md5: string;
4345
4531
  order: number;
4346
4532
  };
4347
4533
  _input_out: {
4348
- fileId: string;
4534
+ dataId: string;
4349
4535
  md5: string;
4350
4536
  order: number;
4351
4537
  };
@@ -4356,7 +4542,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4356
4542
  isUploadPartEnded: boolean;
4357
4543
  };
4358
4544
  }, unknown>;
4359
- uploadFile: _trpc_server.BuildProcedure<"mutation", {
4545
+ uploadData: _trpc_server.BuildProcedure<"mutation", {
4360
4546
  _config: _trpc_server.RootConfig<{
4361
4547
  ctx: {
4362
4548
  req: {
@@ -4402,22 +4588,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4402
4588
  ls: TranslationFunctions;
4403
4589
  };
4404
4590
  _input_in: {
4405
- fileSize: bigint;
4591
+ dataSize: bigint;
4406
4592
  md5: string;
4407
4593
  md5Encrypted: string;
4408
- fileKey: string;
4409
- fileSizeBefore: bigint;
4594
+ dataSizeBefore: bigint;
4595
+ dataKey: string;
4410
4596
  };
4411
4597
  _input_out: {
4412
- fileSize: bigint;
4598
+ dataSize: bigint;
4413
4599
  md5: string;
4414
4600
  md5Encrypted: string;
4415
- fileKey: string;
4416
- fileSizeBefore: bigint;
4601
+ dataSizeBefore: bigint;
4602
+ dataKey: string;
4417
4603
  };
4418
4604
  _output_in: {
4419
- fileId: string;
4420
- filePartSize: bigint;
4605
+ id: string;
4606
+ keyPair: {
4607
+ pub: string;
4608
+ encPriv: string;
4609
+ };
4610
+ key: string;
4611
+ partSize: bigint;
4421
4612
  parts: {
4422
4613
  fields: Record<string, string>;
4423
4614
  url: string;
@@ -4425,8 +4616,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4425
4616
  }[];
4426
4617
  };
4427
4618
  _output_out: {
4428
- fileId: string;
4429
- filePartSize: bigint;
4619
+ id: string;
4620
+ keyPair: {
4621
+ pub: string;
4622
+ encPriv: string;
4623
+ };
4624
+ key: string;
4625
+ partSize: bigint;
4430
4626
  parts: {
4431
4627
  fields: Record<string, string>;
4432
4628
  url: string;
@@ -4434,7 +4630,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4434
4630
  }[];
4435
4631
  };
4436
4632
  }, unknown>;
4437
- uploadLiteFile: _trpc_server.BuildProcedure<"mutation", {
4633
+ uploadLiteData: _trpc_server.BuildProcedure<"mutation", {
4438
4634
  _config: _trpc_server.RootConfig<{
4439
4635
  ctx: {
4440
4636
  req: {
@@ -4480,26 +4676,36 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4480
4676
  ls: TranslationFunctions;
4481
4677
  };
4482
4678
  _input_in: {
4483
- fileSize: bigint;
4679
+ dataSize: bigint;
4484
4680
  md5: string;
4485
4681
  content: Buffer;
4486
4682
  md5Encrypted: string;
4487
- fileKey: string;
4488
- fileSizeBefore: bigint;
4683
+ dataSizeBefore: bigint;
4684
+ dataKey: string;
4489
4685
  };
4490
4686
  _input_out: {
4491
- fileSize: bigint;
4687
+ dataSize: bigint;
4492
4688
  md5: string;
4493
4689
  content: Buffer;
4494
4690
  md5Encrypted: string;
4495
- fileKey: string;
4496
- fileSizeBefore: bigint;
4691
+ dataSizeBefore: bigint;
4692
+ dataKey: string;
4497
4693
  };
4498
4694
  _output_in: {
4499
4695
  id: string;
4696
+ keyPair: {
4697
+ pub: string;
4698
+ encPriv: string;
4699
+ };
4700
+ key: string;
4500
4701
  };
4501
4702
  _output_out: {
4502
4703
  id: string;
4704
+ keyPair: {
4705
+ pub: string;
4706
+ encPriv: string;
4707
+ };
4708
+ key: string;
4503
4709
  };
4504
4710
  }, unknown>;
4505
4711
  createFolder: _trpc_server.BuildProcedure<"mutation", {
@@ -4566,7 +4772,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4566
4772
  type: "FILE" | "FOLDER";
4567
4773
  parentId: string | null;
4568
4774
  isFavorite: boolean;
4569
- currentFileId: string | null;
4775
+ currentDataId: string | null;
4570
4776
  } & {
4571
4777
  users: [{
4572
4778
  id: string;
@@ -4597,12 +4803,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4597
4803
  current: {
4598
4804
  id: string;
4599
4805
  createdAt: Date;
4600
- deletedAt: Date | null;
4601
4806
  size: bigint;
4602
4807
  md5: string;
4603
4808
  storageType: "s3" | "lite";
4604
4809
  sizeBefore: bigint;
4605
4810
  md5Encrypted: string;
4811
+ userAppUserId: string;
4812
+ userAppAppId: string;
4813
+ validatedAt: Date | null;
4606
4814
  access: {
4607
4815
  key: string;
4608
4816
  sharedByPubKey: string;
@@ -4611,12 +4819,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4611
4819
  history: {
4612
4820
  id: string;
4613
4821
  createdAt: Date;
4614
- deletedAt: Date | null;
4615
4822
  size: bigint;
4616
4823
  md5: string;
4617
4824
  storageType: "s3" | "lite";
4618
4825
  sizeBefore: bigint;
4619
4826
  md5Encrypted: string;
4827
+ userAppUserId: string;
4828
+ userAppAppId: string;
4829
+ validatedAt: Date | null;
4620
4830
  access: {
4621
4831
  key: string;
4622
4832
  sharedByPubKey: string;
@@ -4631,7 +4841,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4631
4841
  type: "FILE" | "FOLDER";
4632
4842
  parentId: string | null;
4633
4843
  isFavorite: boolean;
4634
- currentFileId: string | null;
4844
+ currentDataId: string | null;
4635
4845
  } & {
4636
4846
  users: [{
4637
4847
  id: string;
@@ -4663,7 +4873,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4663
4873
  type: "FILE" | "FOLDER";
4664
4874
  parentId: string | null;
4665
4875
  isFavorite: boolean;
4666
- currentFileId: string | null;
4876
+ currentDataId: string | null;
4667
4877
  } & {
4668
4878
  users: [{
4669
4879
  id: string;
@@ -4707,7 +4917,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4707
4917
  type: "FILE" | "FOLDER";
4708
4918
  parentId: string | null;
4709
4919
  isFavorite: boolean;
4710
- currentFileId: string | null;
4920
+ currentDataId: string | null;
4711
4921
  } & {
4712
4922
  users: [{
4713
4923
  id: string;
@@ -4738,12 +4948,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4738
4948
  current: {
4739
4949
  id: string;
4740
4950
  createdAt: Date;
4741
- deletedAt: Date | null;
4742
4951
  size: bigint;
4743
4952
  md5: string;
4744
4953
  storageType: "s3" | "lite";
4745
4954
  sizeBefore: bigint;
4746
4955
  md5Encrypted: string;
4956
+ userAppUserId: string;
4957
+ userAppAppId: string;
4958
+ validatedAt: Date | null;
4747
4959
  access: {
4748
4960
  key: string;
4749
4961
  sharedByPubKey: string;
@@ -4752,12 +4964,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4752
4964
  history: {
4753
4965
  id: string;
4754
4966
  createdAt: Date;
4755
- deletedAt: Date | null;
4756
4967
  size: bigint;
4757
4968
  md5: string;
4758
4969
  storageType: "s3" | "lite";
4759
4970
  sizeBefore: bigint;
4760
4971
  md5Encrypted: string;
4972
+ userAppUserId: string;
4973
+ userAppAppId: string;
4974
+ validatedAt: Date | null;
4761
4975
  access: {
4762
4976
  key: string;
4763
4977
  sharedByPubKey: string;
@@ -4772,7 +4986,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4772
4986
  type: "FILE" | "FOLDER";
4773
4987
  parentId: string | null;
4774
4988
  isFavorite: boolean;
4775
- currentFileId: string | null;
4989
+ currentDataId: string | null;
4776
4990
  } & {
4777
4991
  users: [{
4778
4992
  id: string;
@@ -4804,7 +5018,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4804
5018
  type: "FILE" | "FOLDER";
4805
5019
  parentId: string | null;
4806
5020
  isFavorite: boolean;
4807
- currentFileId: string | null;
5021
+ currentDataId: string | null;
4808
5022
  } & {
4809
5023
  users: [{
4810
5024
  id: string;
@@ -5390,7 +5604,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5390
5604
  type: "FILE" | "FOLDER";
5391
5605
  parentId: string | null;
5392
5606
  isFavorite: boolean;
5393
- currentFileId: string | null;
5607
+ currentDataId: string | null;
5394
5608
  } & {
5395
5609
  users: [{
5396
5610
  id: string;
@@ -5427,7 +5641,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5427
5641
  type: "FILE" | "FOLDER";
5428
5642
  parentId: string | null;
5429
5643
  isFavorite: boolean;
5430
- currentFileId: string | null;
5644
+ currentDataId: string | null;
5431
5645
  } & {
5432
5646
  users: [{
5433
5647
  id: string;
@@ -5518,7 +5732,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5518
5732
  type: "FILE" | "FOLDER";
5519
5733
  parentId: string | null;
5520
5734
  isFavorite: boolean;
5521
- currentFileId: string | null;
5735
+ currentDataId: string | null;
5522
5736
  } & {
5523
5737
  users: [{
5524
5738
  id: string;
@@ -5549,12 +5763,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5549
5763
  current: {
5550
5764
  id: string;
5551
5765
  createdAt: Date;
5552
- deletedAt: Date | null;
5553
5766
  size: bigint;
5554
5767
  md5: string;
5555
5768
  storageType: "s3" | "lite";
5556
5769
  sizeBefore: bigint;
5557
5770
  md5Encrypted: string;
5771
+ userAppUserId: string;
5772
+ userAppAppId: string;
5773
+ validatedAt: Date | null;
5558
5774
  access: {
5559
5775
  key: string;
5560
5776
  sharedByPubKey: string;
@@ -5563,12 +5779,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5563
5779
  history: {
5564
5780
  id: string;
5565
5781
  createdAt: Date;
5566
- deletedAt: Date | null;
5567
5782
  size: bigint;
5568
5783
  md5: string;
5569
5784
  storageType: "s3" | "lite";
5570
5785
  sizeBefore: bigint;
5571
5786
  md5Encrypted: string;
5787
+ userAppUserId: string;
5788
+ userAppAppId: string;
5789
+ validatedAt: Date | null;
5572
5790
  access: {
5573
5791
  key: string;
5574
5792
  sharedByPubKey: string;
@@ -5583,7 +5801,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5583
5801
  type: "FILE" | "FOLDER";
5584
5802
  parentId: string | null;
5585
5803
  isFavorite: boolean;
5586
- currentFileId: string | null;
5804
+ currentDataId: string | null;
5587
5805
  } & {
5588
5806
  users: [{
5589
5807
  id: string;
@@ -5615,7 +5833,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5615
5833
  type: "FILE" | "FOLDER";
5616
5834
  parentId: string | null;
5617
5835
  isFavorite: boolean;
5618
- currentFileId: string | null;
5836
+ currentDataId: string | null;
5619
5837
  } & {
5620
5838
  users: [{
5621
5839
  id: string;
@@ -5659,7 +5877,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5659
5877
  type: "FILE" | "FOLDER";
5660
5878
  parentId: string | null;
5661
5879
  isFavorite: boolean;
5662
- currentFileId: string | null;
5880
+ currentDataId: string | null;
5663
5881
  } & {
5664
5882
  users: [{
5665
5883
  id: string;
@@ -5690,12 +5908,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5690
5908
  current: {
5691
5909
  id: string;
5692
5910
  createdAt: Date;
5693
- deletedAt: Date | null;
5694
5911
  size: bigint;
5695
5912
  md5: string;
5696
5913
  storageType: "s3" | "lite";
5697
5914
  sizeBefore: bigint;
5698
5915
  md5Encrypted: string;
5916
+ userAppUserId: string;
5917
+ userAppAppId: string;
5918
+ validatedAt: Date | null;
5699
5919
  access: {
5700
5920
  key: string;
5701
5921
  sharedByPubKey: string;
@@ -5704,12 +5924,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5704
5924
  history: {
5705
5925
  id: string;
5706
5926
  createdAt: Date;
5707
- deletedAt: Date | null;
5708
5927
  size: bigint;
5709
5928
  md5: string;
5710
5929
  storageType: "s3" | "lite";
5711
5930
  sizeBefore: bigint;
5712
5931
  md5Encrypted: string;
5932
+ userAppUserId: string;
5933
+ userAppAppId: string;
5934
+ validatedAt: Date | null;
5713
5935
  access: {
5714
5936
  key: string;
5715
5937
  sharedByPubKey: string;
@@ -5724,7 +5946,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5724
5946
  type: "FILE" | "FOLDER";
5725
5947
  parentId: string | null;
5726
5948
  isFavorite: boolean;
5727
- currentFileId: string | null;
5949
+ currentDataId: string | null;
5728
5950
  } & {
5729
5951
  users: [{
5730
5952
  id: string;
@@ -5756,7 +5978,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5756
5978
  type: "FILE" | "FOLDER";
5757
5979
  parentId: string | null;
5758
5980
  isFavorite: boolean;
5759
- currentFileId: string | null;
5981
+ currentDataId: string | null;
5760
5982
  } & {
5761
5983
  users: [{
5762
5984
  id: string;
@@ -5908,7 +6130,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5908
6130
  type: "FILE" | "FOLDER";
5909
6131
  parentId: string | null;
5910
6132
  isFavorite: boolean;
5911
- currentFileId: string | null;
6133
+ currentDataId: string | null;
5912
6134
  } & {
5913
6135
  users: [{
5914
6136
  id: string;
@@ -5940,7 +6162,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5940
6162
  type: "FILE" | "FOLDER";
5941
6163
  parentId: string | null;
5942
6164
  isFavorite: boolean;
5943
- currentFileId: string | null;
6165
+ currentDataId: string | null;
5944
6166
  } & {
5945
6167
  users: [{
5946
6168
  id: string;
@@ -6024,7 +6246,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6024
6246
  type: "FILE" | "FOLDER";
6025
6247
  parentId: string | null;
6026
6248
  isFavorite: boolean;
6027
- currentFileId: string | null;
6249
+ currentDataId: string | null;
6028
6250
  } & {
6029
6251
  users: [{
6030
6252
  id: string;
@@ -6056,7 +6278,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6056
6278
  type: "FILE" | "FOLDER";
6057
6279
  parentId: string | null;
6058
6280
  isFavorite: boolean;
6059
- currentFileId: string | null;
6281
+ currentDataId: string | null;
6060
6282
  } & {
6061
6283
  users: [{
6062
6284
  id: string;
@@ -6136,7 +6358,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6136
6358
  type: "FILE" | "FOLDER";
6137
6359
  parentId: string | null;
6138
6360
  isFavorite: boolean;
6139
- currentFileId: string | null;
6361
+ currentDataId: string | null;
6140
6362
  } & {
6141
6363
  users: [{
6142
6364
  id: string;
@@ -6168,7 +6390,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6168
6390
  type: "FILE" | "FOLDER";
6169
6391
  parentId: string | null;
6170
6392
  isFavorite: boolean;
6171
- currentFileId: string | null;
6393
+ currentDataId: string | null;
6172
6394
  } & {
6173
6395
  users: [{
6174
6396
  id: string;
@@ -6298,24 +6520,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6298
6520
  _input_in: {
6299
6521
  userId: string;
6300
6522
  nodes: {
6301
- id: string;
6302
- nameKey: string | null;
6303
- files: {
6523
+ data: {
6304
6524
  id: string;
6305
6525
  key: string;
6306
6526
  }[];
6527
+ id: string;
6528
+ nameKey: string | null;
6307
6529
  }[];
6308
6530
  rights: "admin" | "write" | "read";
6309
6531
  };
6310
6532
  _input_out: {
6311
6533
  userId: string;
6312
6534
  nodes: {
6313
- id: string;
6314
- nameKey: string | null;
6315
- files: {
6535
+ data: {
6316
6536
  id: string;
6317
6537
  key: string;
6318
6538
  }[];
6539
+ id: string;
6540
+ nameKey: string | null;
6319
6541
  }[];
6320
6542
  rights: "admin" | "write" | "read";
6321
6543
  };
@@ -6452,7 +6674,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6452
6674
  type: "FILE" | "FOLDER";
6453
6675
  parentId: string | null;
6454
6676
  isFavorite: boolean;
6455
- currentFileId: string | null;
6677
+ currentDataId: string | null;
6456
6678
  } & {
6457
6679
  users: [{
6458
6680
  id: string;
@@ -6483,12 +6705,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6483
6705
  current: {
6484
6706
  id: string;
6485
6707
  createdAt: Date;
6486
- deletedAt: Date | null;
6487
6708
  size: bigint;
6488
6709
  md5: string;
6489
6710
  storageType: "s3" | "lite";
6490
6711
  sizeBefore: bigint;
6491
6712
  md5Encrypted: string;
6713
+ userAppUserId: string;
6714
+ userAppAppId: string;
6715
+ validatedAt: Date | null;
6492
6716
  access: {
6493
6717
  key: string;
6494
6718
  sharedByPubKey: string;
@@ -6497,12 +6721,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6497
6721
  history: {
6498
6722
  id: string;
6499
6723
  createdAt: Date;
6500
- deletedAt: Date | null;
6501
6724
  size: bigint;
6502
6725
  md5: string;
6503
6726
  storageType: "s3" | "lite";
6504
6727
  sizeBefore: bigint;
6505
6728
  md5Encrypted: string;
6729
+ userAppUserId: string;
6730
+ userAppAppId: string;
6731
+ validatedAt: Date | null;
6506
6732
  access: {
6507
6733
  key: string;
6508
6734
  sharedByPubKey: string;
@@ -6517,7 +6743,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6517
6743
  type: "FILE" | "FOLDER";
6518
6744
  parentId: string | null;
6519
6745
  isFavorite: boolean;
6520
- currentFileId: string | null;
6746
+ currentDataId: string | null;
6521
6747
  } & {
6522
6748
  users: [{
6523
6749
  id: string;
@@ -6549,7 +6775,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6549
6775
  type: "FILE" | "FOLDER";
6550
6776
  parentId: string | null;
6551
6777
  isFavorite: boolean;
6552
- currentFileId: string | null;
6778
+ currentDataId: string | null;
6553
6779
  } & {
6554
6780
  users: [{
6555
6781
  id: string;
@@ -6593,7 +6819,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6593
6819
  type: "FILE" | "FOLDER";
6594
6820
  parentId: string | null;
6595
6821
  isFavorite: boolean;
6596
- currentFileId: string | null;
6822
+ currentDataId: string | null;
6597
6823
  } & {
6598
6824
  users: [{
6599
6825
  id: string;
@@ -6624,12 +6850,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6624
6850
  current: {
6625
6851
  id: string;
6626
6852
  createdAt: Date;
6627
- deletedAt: Date | null;
6628
6853
  size: bigint;
6629
6854
  md5: string;
6630
6855
  storageType: "s3" | "lite";
6631
6856
  sizeBefore: bigint;
6632
6857
  md5Encrypted: string;
6858
+ userAppUserId: string;
6859
+ userAppAppId: string;
6860
+ validatedAt: Date | null;
6633
6861
  access: {
6634
6862
  key: string;
6635
6863
  sharedByPubKey: string;
@@ -6638,12 +6866,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6638
6866
  history: {
6639
6867
  id: string;
6640
6868
  createdAt: Date;
6641
- deletedAt: Date | null;
6642
6869
  size: bigint;
6643
6870
  md5: string;
6644
6871
  storageType: "s3" | "lite";
6645
6872
  sizeBefore: bigint;
6646
6873
  md5Encrypted: string;
6874
+ userAppUserId: string;
6875
+ userAppAppId: string;
6876
+ validatedAt: Date | null;
6647
6877
  access: {
6648
6878
  key: string;
6649
6879
  sharedByPubKey: string;
@@ -6658,7 +6888,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6658
6888
  type: "FILE" | "FOLDER";
6659
6889
  parentId: string | null;
6660
6890
  isFavorite: boolean;
6661
- currentFileId: string | null;
6891
+ currentDataId: string | null;
6662
6892
  } & {
6663
6893
  users: [{
6664
6894
  id: string;
@@ -6690,7 +6920,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6690
6920
  type: "FILE" | "FOLDER";
6691
6921
  parentId: string | null;
6692
6922
  isFavorite: boolean;
6693
- currentFileId: string | null;
6923
+ currentDataId: string | null;
6694
6924
  } & {
6695
6925
  users: [{
6696
6926
  id: string;
@@ -11544,10 +11774,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11544
11774
  avatar: string | null;
11545
11775
  isSearchable: boolean;
11546
11776
  };
11547
- files: {
11548
- fileId: string;
11549
- filename: string;
11550
- fileKey: string;
11777
+ attachments: {
11778
+ name: string;
11779
+ key: string;
11780
+ dataId: string;
11551
11781
  }[];
11552
11782
  };
11553
11783
  _output_out: {
@@ -11602,10 +11832,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11602
11832
  avatar: string | null;
11603
11833
  isSearchable: boolean;
11604
11834
  };
11605
- files: {
11606
- fileId: string;
11607
- filename: string;
11608
- fileKey: string;
11835
+ attachments: {
11836
+ name: string;
11837
+ key: string;
11838
+ dataId: string;
11609
11839
  }[];
11610
11840
  };
11611
11841
  }, unknown>;
@@ -11734,10 +11964,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11734
11964
  avatar: string | null;
11735
11965
  isSearchable: boolean;
11736
11966
  };
11737
- files: {
11738
- fileId: string;
11739
- filename: string;
11740
- fileKey: string;
11967
+ attachments: {
11968
+ name: string;
11969
+ key: string;
11970
+ dataId: string;
11741
11971
  }[];
11742
11972
  };
11743
11973
  _output_out: {
@@ -11792,10 +12022,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11792
12022
  avatar: string | null;
11793
12023
  isSearchable: boolean;
11794
12024
  };
11795
- files: {
11796
- fileId: string;
11797
- filename: string;
11798
- fileKey: string;
12025
+ attachments: {
12026
+ name: string;
12027
+ key: string;
12028
+ dataId: string;
11799
12029
  }[];
11800
12030
  };
11801
12031
  }, unknown>;
@@ -12076,10 +12306,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12076
12306
  avatar: string | null;
12077
12307
  isSearchable: boolean;
12078
12308
  };
12079
- files: {
12080
- fileId: string;
12081
- filename: string;
12082
- fileKey: string;
12309
+ attachments: {
12310
+ name: string;
12311
+ key: string;
12312
+ dataId: string;
12083
12313
  }[];
12084
12314
  })[];
12085
12315
  _output_out: ({
@@ -12134,10 +12364,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12134
12364
  avatar: string | null;
12135
12365
  isSearchable: boolean;
12136
12366
  };
12137
- files: {
12138
- fileId: string;
12139
- filename: string;
12140
- fileKey: string;
12367
+ attachments: {
12368
+ name: string;
12369
+ key: string;
12370
+ dataId: string;
12141
12371
  }[];
12142
12372
  })[];
12143
12373
  }, unknown>;
@@ -12240,10 +12470,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12240
12470
  avatar: string | null;
12241
12471
  isSearchable: boolean;
12242
12472
  };
12243
- files: {
12244
- fileId: string;
12245
- filename: string;
12246
- fileKey: string;
12473
+ attachments: {
12474
+ name: string;
12475
+ key: string;
12476
+ dataId: string;
12247
12477
  }[];
12248
12478
  })[];
12249
12479
  _output_out: ({
@@ -12298,10 +12528,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12298
12528
  avatar: string | null;
12299
12529
  isSearchable: boolean;
12300
12530
  };
12301
- files: {
12302
- fileId: string;
12303
- filename: string;
12304
- fileKey: string;
12531
+ attachments: {
12532
+ name: string;
12533
+ key: string;
12534
+ dataId: string;
12305
12535
  }[];
12306
12536
  })[];
12307
12537
  }, unknown>;
@@ -12516,10 +12746,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12516
12746
  avatar: string | null;
12517
12747
  isSearchable: boolean;
12518
12748
  };
12519
- files: {
12520
- fileId: string;
12521
- filename: string;
12522
- fileKey: string;
12749
+ attachments: {
12750
+ name: string;
12751
+ key: string;
12752
+ dataId: string;
12523
12753
  }[];
12524
12754
  })[];
12525
12755
  _output_out: ({
@@ -12574,10 +12804,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12574
12804
  avatar: string | null;
12575
12805
  isSearchable: boolean;
12576
12806
  };
12577
- files: {
12578
- fileId: string;
12579
- filename: string;
12580
- fileKey: string;
12807
+ attachments: {
12808
+ name: string;
12809
+ key: string;
12810
+ dataId: string;
12581
12811
  }[];
12582
12812
  })[];
12583
12813
  }, unknown>;
@@ -12766,10 +12996,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12766
12996
  body: string;
12767
12997
  } & {
12768
12998
  recipientId: string;
12769
- files: {
12770
- id: string;
12771
- filename: string;
12772
- fileKey: string;
12999
+ attachments: {
13000
+ name: string;
13001
+ key: string;
13002
+ dataId: string;
12773
13003
  }[];
12774
13004
  })[];
12775
13005
  temporaryRecipients: string[];
@@ -12782,10 +13012,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12782
13012
  body: string;
12783
13013
  } & {
12784
13014
  recipientId: string;
12785
- files: {
12786
- id: string;
12787
- filename: string;
12788
- fileKey: string;
13015
+ attachments: {
13016
+ name: string;
13017
+ key: string;
13018
+ dataId: string;
12789
13019
  }[];
12790
13020
  })[];
12791
13021
  temporaryRecipients: string[];
@@ -12849,10 +13079,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12849
13079
  body: string;
12850
13080
  } & {
12851
13081
  recipientId: string;
12852
- files: {
13082
+ attachments: {
12853
13083
  id: string;
12854
- filename: string;
12855
- fileKey: string;
13084
+ name: string;
13085
+ key: string;
12856
13086
  }[];
12857
13087
  };
12858
13088
  };
@@ -12863,10 +13093,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12863
13093
  body: string;
12864
13094
  } & {
12865
13095
  recipientId: string;
12866
- files: {
13096
+ attachments: {
12867
13097
  id: string;
12868
- filename: string;
12869
- fileKey: string;
13098
+ name: string;
13099
+ key: string;
12870
13100
  }[];
12871
13101
  };
12872
13102
  };
@@ -12976,10 +13206,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12976
13206
  avatar: string | null;
12977
13207
  isSearchable: boolean;
12978
13208
  };
12979
- files: {
12980
- fileId: string;
12981
- filename: string;
12982
- fileKey: string;
13209
+ attachments: {
13210
+ name: string;
13211
+ key: string;
13212
+ dataId: string;
12983
13213
  }[];
12984
13214
  })[];
12985
13215
  _output_out: ({
@@ -13034,10 +13264,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13034
13264
  avatar: string | null;
13035
13265
  isSearchable: boolean;
13036
13266
  };
13037
- files: {
13038
- fileId: string;
13039
- filename: string;
13040
- fileKey: string;
13267
+ attachments: {
13268
+ name: string;
13269
+ key: string;
13270
+ dataId: string;
13041
13271
  }[];
13042
13272
  })[];
13043
13273
  }, unknown>;
@@ -13274,10 +13504,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13274
13504
  avatar: string | null;
13275
13505
  isSearchable: boolean;
13276
13506
  };
13277
- files: {
13278
- fileId: string;
13279
- filename: string;
13280
- fileKey: string;
13507
+ attachments: {
13508
+ name: string;
13509
+ key: string;
13510
+ dataId: string;
13281
13511
  }[];
13282
13512
  };
13283
13513
  _output_out: {
@@ -13332,10 +13562,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13332
13562
  avatar: string | null;
13333
13563
  isSearchable: boolean;
13334
13564
  };
13335
- files: {
13336
- fileId: string;
13337
- filename: string;
13338
- fileKey: string;
13565
+ attachments: {
13566
+ name: string;
13567
+ key: string;
13568
+ dataId: string;
13339
13569
  }[];
13340
13570
  };
13341
13571
  }, unknown>;
@@ -13815,28 +14045,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13815
14045
  quotas: {
13816
14046
  uploadCount: bigint | null;
13817
14047
  downloadCount: bigint | null;
13818
- totalFileCount: bigint | null;
14048
+ totalDataCount: bigint | null;
13819
14049
  totalStorageSize: bigint | null;
13820
- perFileSize: bigint | null;
14050
+ perDataSize: bigint | null;
13821
14051
  uploadBandwidth: bigint | null;
13822
14052
  downloadBandwidth: bigint | null;
13823
14053
  } & {
13824
14054
  sentMails: {
13825
14055
  count: bigint | null;
13826
- fileSize: bigint | null;
13827
- totalFileCount: bigint | null;
14056
+ dataSize: bigint | null;
14057
+ totalDataCount: bigint | null;
13828
14058
  totalStorageSize: bigint | null;
13829
- fileCount: bigint | null;
13830
- perFileSize: bigint | null;
14059
+ dataCount: bigint | null;
14060
+ perDataSize: bigint | null;
13831
14061
  totalCount: bigint | null;
13832
14062
  };
13833
14063
  receivedMails: {
13834
14064
  count: bigint | null;
13835
- fileSize: bigint | null;
13836
- totalFileCount: bigint | null;
14065
+ dataSize: bigint | null;
14066
+ totalDataCount: bigint | null;
13837
14067
  totalStorageSize: bigint | null;
13838
- fileCount: bigint | null;
13839
- perFileSize: bigint | null;
14068
+ dataCount: bigint | null;
14069
+ perDataSize: bigint | null;
13840
14070
  totalCount: bigint | null;
13841
14071
  };
13842
14072
  };
@@ -13855,28 +14085,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13855
14085
  quotas: {
13856
14086
  uploadCount: bigint | null;
13857
14087
  downloadCount: bigint | null;
13858
- totalFileCount: bigint | null;
14088
+ totalDataCount: bigint | null;
13859
14089
  totalStorageSize: bigint | null;
13860
- perFileSize: bigint | null;
14090
+ perDataSize: bigint | null;
13861
14091
  uploadBandwidth: bigint | null;
13862
14092
  downloadBandwidth: bigint | null;
13863
14093
  } & {
13864
14094
  sentMails: {
13865
14095
  count: bigint | null;
13866
- fileSize: bigint | null;
13867
- totalFileCount: bigint | null;
14096
+ dataSize: bigint | null;
14097
+ totalDataCount: bigint | null;
13868
14098
  totalStorageSize: bigint | null;
13869
- fileCount: bigint | null;
13870
- perFileSize: bigint | null;
14099
+ dataCount: bigint | null;
14100
+ perDataSize: bigint | null;
13871
14101
  totalCount: bigint | null;
13872
14102
  };
13873
14103
  receivedMails: {
13874
14104
  count: bigint | null;
13875
- fileSize: bigint | null;
13876
- totalFileCount: bigint | null;
14105
+ dataSize: bigint | null;
14106
+ totalDataCount: bigint | null;
13877
14107
  totalStorageSize: bigint | null;
13878
- fileCount: bigint | null;
13879
- perFileSize: bigint | null;
14108
+ dataCount: bigint | null;
14109
+ perDataSize: bigint | null;
13880
14110
  totalCount: bigint | null;
13881
14111
  };
13882
14112
  };
@@ -16320,9 +16550,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16320
16550
  usersBase: bigint | null;
16321
16551
  usersUnit: bigint | null;
16322
16552
  usersPrice: number | null;
16323
- perFileSizeBase: bigint | null;
16324
- perFileSizeUnit: bigint | null;
16325
- perFileSizePrice: number | null;
16553
+ perDataSizeBase: bigint | null;
16554
+ perDataSizeUnit: bigint | null;
16555
+ perDataSizePrice: number | null;
16326
16556
  bandwidthBase: bigint | null;
16327
16557
  bandwidthUnit: bigint | null;
16328
16558
  bandwidthPrice: number | null;
@@ -16331,7 +16561,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16331
16561
  totalStorageSizePrice: number | null;
16332
16562
  devsMax: bigint | null;
16333
16563
  usersMax: bigint | null;
16334
- perFileSizeMax: bigint | null;
16564
+ perDataSizeMax: bigint | null;
16335
16565
  bandwidthMax: bigint | null;
16336
16566
  totalStorageSizeMax: bigint | null;
16337
16567
  };
@@ -16370,9 +16600,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16370
16600
  usersBase: bigint | null;
16371
16601
  usersUnit: bigint | null;
16372
16602
  usersPrice: number | null;
16373
- perFileSizeBase: bigint | null;
16374
- perFileSizeUnit: bigint | null;
16375
- perFileSizePrice: number | null;
16603
+ perDataSizeBase: bigint | null;
16604
+ perDataSizeUnit: bigint | null;
16605
+ perDataSizePrice: number | null;
16376
16606
  bandwidthBase: bigint | null;
16377
16607
  bandwidthUnit: bigint | null;
16378
16608
  bandwidthPrice: number | null;
@@ -16381,7 +16611,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16381
16611
  totalStorageSizePrice: number | null;
16382
16612
  devsMax: bigint | null;
16383
16613
  usersMax: bigint | null;
16384
- perFileSizeMax: bigint | null;
16614
+ perDataSizeMax: bigint | null;
16385
16615
  bandwidthMax: bigint | null;
16386
16616
  totalStorageSizeMax: bigint | null;
16387
16617
  };
@@ -16402,9 +16632,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16402
16632
  usersBase: bigint | null;
16403
16633
  usersUnit: bigint | null;
16404
16634
  usersPrice: number | null;
16405
- perFileSizeBase: bigint | null;
16406
- perFileSizeUnit: bigint | null;
16407
- perFileSizePrice: number | null;
16635
+ perDataSizeBase: bigint | null;
16636
+ perDataSizeUnit: bigint | null;
16637
+ perDataSizePrice: number | null;
16408
16638
  bandwidthBase: bigint | null;
16409
16639
  bandwidthUnit: bigint | null;
16410
16640
  bandwidthPrice: number | null;
@@ -16413,7 +16643,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16413
16643
  totalStorageSizePrice: number | null;
16414
16644
  devsMax: bigint | null;
16415
16645
  usersMax: bigint | null;
16416
- perFileSizeMax: bigint | null;
16646
+ perDataSizeMax: bigint | null;
16417
16647
  bandwidthMax: bigint | null;
16418
16648
  totalStorageSizeMax: bigint | null;
16419
16649
  };
@@ -16452,9 +16682,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16452
16682
  usersBase: bigint | null;
16453
16683
  usersUnit: bigint | null;
16454
16684
  usersPrice: number | null;
16455
- perFileSizeBase: bigint | null;
16456
- perFileSizeUnit: bigint | null;
16457
- perFileSizePrice: number | null;
16685
+ perDataSizeBase: bigint | null;
16686
+ perDataSizeUnit: bigint | null;
16687
+ perDataSizePrice: number | null;
16458
16688
  bandwidthBase: bigint | null;
16459
16689
  bandwidthUnit: bigint | null;
16460
16690
  bandwidthPrice: number | null;
@@ -16463,7 +16693,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16463
16693
  totalStorageSizePrice: number | null;
16464
16694
  devsMax: bigint | null;
16465
16695
  usersMax: bigint | null;
16466
- perFileSizeMax: bigint | null;
16696
+ perDataSizeMax: bigint | null;
16467
16697
  bandwidthMax: bigint | null;
16468
16698
  totalStorageSizeMax: bigint | null;
16469
16699
  };
@@ -16536,9 +16766,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16536
16766
  usersBase: bigint | null;
16537
16767
  usersUnit: bigint | null;
16538
16768
  usersPrice: number | null;
16539
- perFileSizeBase: bigint | null;
16540
- perFileSizeUnit: bigint | null;
16541
- perFileSizePrice: number | null;
16769
+ perDataSizeBase: bigint | null;
16770
+ perDataSizeUnit: bigint | null;
16771
+ perDataSizePrice: number | null;
16542
16772
  bandwidthBase: bigint | null;
16543
16773
  bandwidthUnit: bigint | null;
16544
16774
  bandwidthPrice: number | null;
@@ -16547,7 +16777,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16547
16777
  totalStorageSizePrice: number | null;
16548
16778
  devsMax: bigint | null;
16549
16779
  usersMax: bigint | null;
16550
- perFileSizeMax: bigint | null;
16780
+ perDataSizeMax: bigint | null;
16551
16781
  bandwidthMax: bigint | null;
16552
16782
  totalStorageSizeMax: bigint | null;
16553
16783
  };
@@ -16586,9 +16816,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16586
16816
  usersBase: bigint | null;
16587
16817
  usersUnit: bigint | null;
16588
16818
  usersPrice: number | null;
16589
- perFileSizeBase: bigint | null;
16590
- perFileSizeUnit: bigint | null;
16591
- perFileSizePrice: number | null;
16819
+ perDataSizeBase: bigint | null;
16820
+ perDataSizeUnit: bigint | null;
16821
+ perDataSizePrice: number | null;
16592
16822
  bandwidthBase: bigint | null;
16593
16823
  bandwidthUnit: bigint | null;
16594
16824
  bandwidthPrice: number | null;
@@ -16597,7 +16827,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16597
16827
  totalStorageSizePrice: number | null;
16598
16828
  devsMax: bigint | null;
16599
16829
  usersMax: bigint | null;
16600
- perFileSizeMax: bigint | null;
16830
+ perDataSizeMax: bigint | null;
16601
16831
  bandwidthMax: bigint | null;
16602
16832
  totalStorageSizeMax: bigint | null;
16603
16833
  };
@@ -16618,9 +16848,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16618
16848
  usersBase: bigint | null;
16619
16849
  usersUnit: bigint | null;
16620
16850
  usersPrice: number | null;
16621
- perFileSizeBase: bigint | null;
16622
- perFileSizeUnit: bigint | null;
16623
- perFileSizePrice: number | null;
16851
+ perDataSizeBase: bigint | null;
16852
+ perDataSizeUnit: bigint | null;
16853
+ perDataSizePrice: number | null;
16624
16854
  bandwidthBase: bigint | null;
16625
16855
  bandwidthUnit: bigint | null;
16626
16856
  bandwidthPrice: number | null;
@@ -16629,7 +16859,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16629
16859
  totalStorageSizePrice: number | null;
16630
16860
  devsMax: bigint | null;
16631
16861
  usersMax: bigint | null;
16632
- perFileSizeMax: bigint | null;
16862
+ perDataSizeMax: bigint | null;
16633
16863
  bandwidthMax: bigint | null;
16634
16864
  totalStorageSizeMax: bigint | null;
16635
16865
  };
@@ -16668,9 +16898,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16668
16898
  usersBase: bigint | null;
16669
16899
  usersUnit: bigint | null;
16670
16900
  usersPrice: number | null;
16671
- perFileSizeBase: bigint | null;
16672
- perFileSizeUnit: bigint | null;
16673
- perFileSizePrice: number | null;
16901
+ perDataSizeBase: bigint | null;
16902
+ perDataSizeUnit: bigint | null;
16903
+ perDataSizePrice: number | null;
16674
16904
  bandwidthBase: bigint | null;
16675
16905
  bandwidthUnit: bigint | null;
16676
16906
  bandwidthPrice: number | null;
@@ -16679,7 +16909,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16679
16909
  totalStorageSizePrice: number | null;
16680
16910
  devsMax: bigint | null;
16681
16911
  usersMax: bigint | null;
16682
- perFileSizeMax: bigint | null;
16912
+ perDataSizeMax: bigint | null;
16683
16913
  bandwidthMax: bigint | null;
16684
16914
  totalStorageSizeMax: bigint | null;
16685
16915
  };
@@ -18062,6 +18292,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18062
18292
  _input_in: {} | undefined;
18063
18293
  _input_out: {} | undefined;
18064
18294
  _output_in: {
18295
+ accountId: string;
18065
18296
  userId: string;
18066
18297
  id: string;
18067
18298
  createdAt: Date;
@@ -18070,7 +18301,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18070
18301
  ip: string | null;
18071
18302
  country: string | null;
18072
18303
  city: string | null;
18073
- appSessions: {
18304
+ appSessions: ({
18074
18305
  appId: string;
18075
18306
  userId: string;
18076
18307
  id: string;
@@ -18081,12 +18312,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18081
18312
  ip: string | null;
18082
18313
  country: string | null;
18083
18314
  city: string | null;
18315
+ } & {
18084
18316
  name: string;
18085
18317
  logo: string | null;
18086
18318
  origin: string[];
18087
- }[];
18319
+ })[];
18088
18320
  }[];
18089
18321
  _output_out: {
18322
+ accountId: string;
18090
18323
  userId: string;
18091
18324
  id: string;
18092
18325
  createdAt: Date;
@@ -18095,7 +18328,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18095
18328
  ip: string | null;
18096
18329
  country: string | null;
18097
18330
  city: string | null;
18098
- appSessions: {
18331
+ appSessions: ({
18099
18332
  appId: string;
18100
18333
  userId: string;
18101
18334
  id: string;
@@ -18106,10 +18339,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18106
18339
  ip: string | null;
18107
18340
  country: string | null;
18108
18341
  city: string | null;
18342
+ } & {
18109
18343
  name: string;
18110
18344
  logo: string | null;
18111
18345
  origin: string[];
18112
- }[];
18346
+ })[];
18113
18347
  }[];
18114
18348
  }, unknown>;
18115
18349
  updateAutoDisconnectDelay: _trpc_server.BuildProcedure<"mutation", {