@secrecy/trpc-api-types 1.27.0-dev.8 → 1.27.0-dev.9

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 +342 -256
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -335,52 +335,68 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
335
335
  mail: {
336
336
  received: {
337
337
  count: bigint;
338
- fileSize: bigint;
339
- maxFileSize: bigint | null;
340
- fileCount: bigint;
338
+ dataSize: bigint;
339
+ maxDataSize: bigint | null;
340
+ dataCount: bigint;
341
341
  maxCount: bigint | null;
342
- maxFileCount: bigint | null;
342
+ maxDataCount: bigint | null;
343
343
  };
344
344
  sent: {
345
345
  count: bigint;
346
- fileSize: bigint;
347
- maxFileSize: bigint | null;
348
- fileCount: bigint;
346
+ dataSize: bigint;
347
+ maxDataSize: bigint | null;
348
+ dataCount: bigint;
349
349
  maxCount: bigint | null;
350
- maxFileCount: bigint | null;
350
+ maxDataCount: bigint | null;
351
351
  };
352
352
  };
353
353
  cloud: {
354
354
  count: bigint;
355
+ uploadCount: bigint;
356
+ downloadCount: bigint;
355
357
  size: bigint;
358
+ uploadBandwidth: bigint;
359
+ downloadBandwidth: bigint;
356
360
  maxCount: bigint | null;
357
361
  maxSize: bigint | null;
362
+ maxDownloadBandwidth: bigint | null;
363
+ maxUploadBandwidth: bigint | null;
364
+ maxDownloadCount: bigint | null;
365
+ maxUploadCount: bigint | null;
358
366
  };
359
367
  };
360
368
  _output_out: {
361
369
  mail: {
362
370
  received: {
363
371
  count: bigint;
364
- fileSize: bigint;
365
- maxFileSize: bigint | null;
366
- fileCount: bigint;
372
+ dataSize: bigint;
373
+ maxDataSize: bigint | null;
374
+ dataCount: bigint;
367
375
  maxCount: bigint | null;
368
- maxFileCount: bigint | null;
376
+ maxDataCount: bigint | null;
369
377
  };
370
378
  sent: {
371
379
  count: bigint;
372
- fileSize: bigint;
373
- maxFileSize: bigint | null;
374
- fileCount: bigint;
380
+ dataSize: bigint;
381
+ maxDataSize: bigint | null;
382
+ dataCount: bigint;
375
383
  maxCount: bigint | null;
376
- maxFileCount: bigint | null;
384
+ maxDataCount: bigint | null;
377
385
  };
378
386
  };
379
387
  cloud: {
380
388
  count: bigint;
389
+ uploadCount: bigint;
390
+ downloadCount: bigint;
381
391
  size: bigint;
392
+ uploadBandwidth: bigint;
393
+ downloadBandwidth: bigint;
382
394
  maxCount: bigint | null;
383
395
  maxSize: bigint | null;
396
+ maxDownloadBandwidth: bigint | null;
397
+ maxUploadBandwidth: bigint | null;
398
+ maxDownloadCount: bigint | null;
399
+ maxUploadCount: bigint | null;
384
400
  };
385
401
  };
386
402
  }, unknown>;
@@ -538,10 +554,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
538
554
  usersBase: bigint | null;
539
555
  usersUnit: bigint | null;
540
556
  usersPrice: number | null;
541
- perFileSize: bigint | null;
542
- perFileSizeBase: bigint | null;
543
- perFileSizeUnit: bigint | null;
544
- perFileSizePrice: number | null;
557
+ perDataSize: bigint | null;
558
+ perDataSizeBase: bigint | null;
559
+ perDataSizeUnit: bigint | null;
560
+ perDataSizePrice: number | null;
545
561
  bandwidth: bigint | null;
546
562
  bandwidthBase: bigint | null;
547
563
  bandwidthUnit: bigint | null;
@@ -561,10 +577,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
561
577
  usersBase: bigint | null;
562
578
  usersUnit: bigint | null;
563
579
  usersPrice: number | null;
564
- perFileSize: bigint | null;
565
- perFileSizeBase: bigint | null;
566
- perFileSizeUnit: bigint | null;
567
- perFileSizePrice: number | null;
580
+ perDataSize: bigint | null;
581
+ perDataSizeBase: bigint | null;
582
+ perDataSizeUnit: bigint | null;
583
+ perDataSizePrice: number | null;
568
584
  bandwidth: bigint | null;
569
585
  bandwidthBase: bigint | null;
570
586
  bandwidthUnit: bigint | null;
@@ -759,9 +775,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
759
775
  usersBase: bigint | null;
760
776
  usersUnit: bigint | null;
761
777
  usersPrice: number | null;
762
- perFileSizeBase: bigint | null;
763
- perFileSizeUnit: bigint | null;
764
- perFileSizePrice: number | null;
778
+ perDataSizeBase: bigint | null;
779
+ perDataSizeUnit: bigint | null;
780
+ perDataSizePrice: number | null;
765
781
  bandwidthBase: bigint | null;
766
782
  bandwidthUnit: bigint | null;
767
783
  bandwidthPrice: number | null;
@@ -770,7 +786,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
770
786
  totalStorageSizePrice: number | null;
771
787
  devsMax: bigint | null;
772
788
  usersMax: bigint | null;
773
- perFileSizeMax: bigint | null;
789
+ perDataSizeMax: bigint | null;
774
790
  bandwidthMax: bigint | null;
775
791
  totalStorageSizeMax: bigint | null;
776
792
  };
@@ -791,9 +807,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
791
807
  usersBase: bigint | null;
792
808
  usersUnit: bigint | null;
793
809
  usersPrice: number | null;
794
- perFileSizeBase: bigint | null;
795
- perFileSizeUnit: bigint | null;
796
- perFileSizePrice: number | null;
810
+ perDataSizeBase: bigint | null;
811
+ perDataSizeUnit: bigint | null;
812
+ perDataSizePrice: number | null;
797
813
  bandwidthBase: bigint | null;
798
814
  bandwidthUnit: bigint | null;
799
815
  bandwidthPrice: number | null;
@@ -802,7 +818,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
802
818
  totalStorageSizePrice: number | null;
803
819
  devsMax: bigint | null;
804
820
  usersMax: bigint | null;
805
- perFileSizeMax: bigint | null;
821
+ perDataSizeMax: bigint | null;
806
822
  bandwidthMax: bigint | null;
807
823
  totalStorageSizeMax: bigint | null;
808
824
  };
@@ -860,14 +876,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
860
876
  _output_in: {
861
877
  id: string;
862
878
  cloudNodeDaysForDelete: number;
863
- historyMaxFileCount: number;
864
- historyFileDaysForDelete: number | null;
879
+ historyDataMaxCount: number;
880
+ historyDataDaysForDelete: number | null;
865
881
  };
866
882
  _output_out: {
867
883
  id: string;
868
884
  cloudNodeDaysForDelete: number;
869
- historyMaxFileCount: number;
870
- historyFileDaysForDelete: number | null;
885
+ historyDataMaxCount: number;
886
+ historyDataDaysForDelete: number | null;
871
887
  };
872
888
  }, unknown>;
873
889
  updateNotification: _trpc_server.BuildProcedure<"mutation", {
@@ -989,25 +1005,25 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
989
1005
  };
990
1006
  _input_in: {
991
1007
  cloudNodeDaysForDelete?: number | null | undefined;
992
- historyMaxFileCount?: number | null | undefined;
993
- historyFileDaysForDelete?: number | null | undefined;
1008
+ historyDataMaxCount?: number | null | undefined;
1009
+ historyDataDaysForDelete?: number | null | undefined;
994
1010
  };
995
1011
  _input_out: {
996
1012
  cloudNodeDaysForDelete?: number | null | undefined;
997
- historyMaxFileCount?: number | null | undefined;
998
- historyFileDaysForDelete?: number | null | undefined;
1013
+ historyDataMaxCount?: number | null | undefined;
1014
+ historyDataDaysForDelete?: number | null | undefined;
999
1015
  };
1000
1016
  _output_in: {
1001
1017
  id: string;
1002
1018
  cloudNodeDaysForDelete: number;
1003
- historyMaxFileCount: number;
1004
- historyFileDaysForDelete: number | null;
1019
+ historyDataMaxCount: number;
1020
+ historyDataDaysForDelete: number | null;
1005
1021
  };
1006
1022
  _output_out: {
1007
1023
  id: string;
1008
1024
  cloudNodeDaysForDelete: number;
1009
- historyMaxFileCount: number;
1010
- historyFileDaysForDelete: number | null;
1025
+ historyDataMaxCount: number;
1026
+ historyDataDaysForDelete: number | null;
1011
1027
  };
1012
1028
  }, unknown>;
1013
1029
  userPublicKey: _trpc_server.BuildProcedure<"query", {
@@ -2978,7 +2994,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2978
2994
  };
2979
2995
  transformer: typeof superjson.default;
2980
2996
  }>, {
2981
- addFileToHistory: _trpc_server.BuildProcedure<"mutation", {
2997
+ addDataToHistory: _trpc_server.BuildProcedure<"mutation", {
2982
2998
  _config: _trpc_server.RootConfig<{
2983
2999
  ctx: {
2984
3000
  req: {
@@ -3024,11 +3040,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3024
3040
  ls: TranslationFunctions;
3025
3041
  };
3026
3042
  _input_in: {
3027
- fileId: string;
3043
+ dataId: string;
3028
3044
  nodeId: string;
3029
3045
  };
3030
3046
  _input_out: {
3031
- fileId: string;
3047
+ dataId: string;
3032
3048
  nodeId: string;
3033
3049
  };
3034
3050
  _output_in: {
@@ -3040,7 +3056,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3040
3056
  type: "FILE" | "FOLDER";
3041
3057
  parentId: string | null;
3042
3058
  isFavorite: boolean;
3043
- currentFileId: string | null;
3059
+ currentDataId: string | null;
3044
3060
  } & {
3045
3061
  users: [{
3046
3062
  id: string;
@@ -3076,6 +3092,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3076
3092
  storageType: "s3" | "lite";
3077
3093
  sizeBefore: bigint;
3078
3094
  md5Encrypted: string;
3095
+ userAppUserId: string;
3096
+ userAppAppId: string;
3097
+ validatedAt: Date | null;
3079
3098
  access: {
3080
3099
  key: string;
3081
3100
  sharedByPubKey: string;
@@ -3089,6 +3108,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3089
3108
  storageType: "s3" | "lite";
3090
3109
  sizeBefore: bigint;
3091
3110
  md5Encrypted: string;
3111
+ userAppUserId: string;
3112
+ userAppAppId: string;
3113
+ validatedAt: Date | null;
3092
3114
  access: {
3093
3115
  key: string;
3094
3116
  sharedByPubKey: string;
@@ -3103,7 +3125,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3103
3125
  type: "FILE" | "FOLDER";
3104
3126
  parentId: string | null;
3105
3127
  isFavorite: boolean;
3106
- currentFileId: string | null;
3128
+ currentDataId: string | null;
3107
3129
  } & {
3108
3130
  users: [{
3109
3131
  id: string;
@@ -3135,7 +3157,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3135
3157
  type: "FILE" | "FOLDER";
3136
3158
  parentId: string | null;
3137
3159
  isFavorite: boolean;
3138
- currentFileId: string | null;
3160
+ currentDataId: string | null;
3139
3161
  } & {
3140
3162
  users: [{
3141
3163
  id: string;
@@ -3179,7 +3201,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3179
3201
  type: "FILE" | "FOLDER";
3180
3202
  parentId: string | null;
3181
3203
  isFavorite: boolean;
3182
- currentFileId: string | null;
3204
+ currentDataId: string | null;
3183
3205
  } & {
3184
3206
  users: [{
3185
3207
  id: string;
@@ -3215,6 +3237,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3215
3237
  storageType: "s3" | "lite";
3216
3238
  sizeBefore: bigint;
3217
3239
  md5Encrypted: string;
3240
+ userAppUserId: string;
3241
+ userAppAppId: string;
3242
+ validatedAt: Date | null;
3218
3243
  access: {
3219
3244
  key: string;
3220
3245
  sharedByPubKey: string;
@@ -3228,6 +3253,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3228
3253
  storageType: "s3" | "lite";
3229
3254
  sizeBefore: bigint;
3230
3255
  md5Encrypted: string;
3256
+ userAppUserId: string;
3257
+ userAppAppId: string;
3258
+ validatedAt: Date | null;
3231
3259
  access: {
3232
3260
  key: string;
3233
3261
  sharedByPubKey: string;
@@ -3242,7 +3270,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3242
3270
  type: "FILE" | "FOLDER";
3243
3271
  parentId: string | null;
3244
3272
  isFavorite: boolean;
3245
- currentFileId: string | null;
3273
+ currentDataId: string | null;
3246
3274
  } & {
3247
3275
  users: [{
3248
3276
  id: string;
@@ -3274,7 +3302,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3274
3302
  type: "FILE" | "FOLDER";
3275
3303
  parentId: string | null;
3276
3304
  isFavorite: boolean;
3277
- currentFileId: string | null;
3305
+ currentDataId: string | null;
3278
3306
  } & {
3279
3307
  users: [{
3280
3308
  id: string;
@@ -3310,7 +3338,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3310
3338
  }[];
3311
3339
  };
3312
3340
  }, unknown>;
3313
- deleteFile: _trpc_server.BuildProcedure<"mutation", {
3341
+ deleteData: _trpc_server.BuildProcedure<"mutation", {
3314
3342
  _config: _trpc_server.RootConfig<{
3315
3343
  ctx: {
3316
3344
  req: {
@@ -3356,11 +3384,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3356
3384
  ls: TranslationFunctions;
3357
3385
  };
3358
3386
  _input_in: {
3359
- fileId: string;
3387
+ dataId: string;
3360
3388
  nodeId: string;
3361
3389
  };
3362
3390
  _input_out: {
3363
- fileId: string;
3391
+ dataId: string;
3364
3392
  nodeId: string;
3365
3393
  };
3366
3394
  _output_in: {
@@ -3370,7 +3398,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3370
3398
  isDeleted: boolean;
3371
3399
  };
3372
3400
  }, unknown>;
3373
- fileById: _trpc_server.BuildProcedure<"query", {
3401
+ dataById: _trpc_server.BuildProcedure<"query", {
3374
3402
  _config: _trpc_server.RootConfig<{
3375
3403
  ctx: {
3376
3404
  req: {
@@ -3429,6 +3457,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3429
3457
  storageType: "s3" | "lite";
3430
3458
  sizeBefore: bigint;
3431
3459
  md5Encrypted: string;
3460
+ userAppUserId: string;
3461
+ userAppAppId: string;
3462
+ validatedAt: Date | null;
3432
3463
  access: {
3433
3464
  key: string;
3434
3465
  sharedByPubKey: string;
@@ -3442,13 +3473,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3442
3473
  storageType: "s3" | "lite";
3443
3474
  sizeBefore: bigint;
3444
3475
  md5Encrypted: string;
3476
+ userAppUserId: string;
3477
+ userAppAppId: string;
3478
+ validatedAt: Date | null;
3445
3479
  access: {
3446
3480
  key: string;
3447
3481
  sharedByPubKey: string;
3448
3482
  };
3449
3483
  };
3450
3484
  }, unknown>;
3451
- fileContentById: _trpc_server.BuildProcedure<"query", {
3485
+ dataContentById: _trpc_server.BuildProcedure<"query", {
3452
3486
  _config: _trpc_server.RootConfig<{
3453
3487
  ctx: {
3454
3488
  req: {
@@ -3600,7 +3634,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3600
3634
  totalSize: bigint;
3601
3635
  };
3602
3636
  }, unknown>;
3603
- fileContentByIds: _trpc_server.BuildProcedure<"query", {
3637
+ dataContentByIds: _trpc_server.BuildProcedure<"query", {
3604
3638
  _config: _trpc_server.RootConfig<{
3605
3639
  ctx: {
3606
3640
  req: {
@@ -3853,17 +3887,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3853
3887
  };
3854
3888
  _input_in: {
3855
3889
  key: string;
3856
- fileId: string;
3857
- filename: string;
3890
+ dataId: string;
3858
3891
  nodeId: string | null;
3859
3892
  nameKey: string;
3893
+ fileName: string;
3860
3894
  };
3861
3895
  _input_out: {
3862
3896
  key: string;
3863
- fileId: string;
3864
- filename: string;
3897
+ dataId: string;
3865
3898
  nodeId: string | null;
3866
3899
  nameKey: string;
3900
+ fileName: string;
3867
3901
  };
3868
3902
  _output_in: {
3869
3903
  id: string;
@@ -3874,7 +3908,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3874
3908
  type: "FILE" | "FOLDER";
3875
3909
  parentId: string | null;
3876
3910
  isFavorite: boolean;
3877
- currentFileId: string | null;
3911
+ currentDataId: string | null;
3878
3912
  } & {
3879
3913
  users: [{
3880
3914
  id: string;
@@ -3910,6 +3944,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3910
3944
  storageType: "s3" | "lite";
3911
3945
  sizeBefore: bigint;
3912
3946
  md5Encrypted: string;
3947
+ userAppUserId: string;
3948
+ userAppAppId: string;
3949
+ validatedAt: Date | null;
3913
3950
  access: {
3914
3951
  key: string;
3915
3952
  sharedByPubKey: string;
@@ -3923,6 +3960,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3923
3960
  storageType: "s3" | "lite";
3924
3961
  sizeBefore: bigint;
3925
3962
  md5Encrypted: string;
3963
+ userAppUserId: string;
3964
+ userAppAppId: string;
3965
+ validatedAt: Date | null;
3926
3966
  access: {
3927
3967
  key: string;
3928
3968
  sharedByPubKey: string;
@@ -3937,7 +3977,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3937
3977
  type: "FILE" | "FOLDER";
3938
3978
  parentId: string | null;
3939
3979
  isFavorite: boolean;
3940
- currentFileId: string | null;
3980
+ currentDataId: string | null;
3941
3981
  } & {
3942
3982
  users: [{
3943
3983
  id: string;
@@ -3969,7 +4009,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3969
4009
  type: "FILE" | "FOLDER";
3970
4010
  parentId: string | null;
3971
4011
  isFavorite: boolean;
3972
- currentFileId: string | null;
4012
+ currentDataId: string | null;
3973
4013
  } & {
3974
4014
  users: [{
3975
4015
  id: string;
@@ -4013,7 +4053,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4013
4053
  type: "FILE" | "FOLDER";
4014
4054
  parentId: string | null;
4015
4055
  isFavorite: boolean;
4016
- currentFileId: string | null;
4056
+ currentDataId: string | null;
4017
4057
  } & {
4018
4058
  users: [{
4019
4059
  id: string;
@@ -4049,6 +4089,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4049
4089
  storageType: "s3" | "lite";
4050
4090
  sizeBefore: bigint;
4051
4091
  md5Encrypted: string;
4092
+ userAppUserId: string;
4093
+ userAppAppId: string;
4094
+ validatedAt: Date | null;
4052
4095
  access: {
4053
4096
  key: string;
4054
4097
  sharedByPubKey: string;
@@ -4062,6 +4105,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4062
4105
  storageType: "s3" | "lite";
4063
4106
  sizeBefore: bigint;
4064
4107
  md5Encrypted: string;
4108
+ userAppUserId: string;
4109
+ userAppAppId: string;
4110
+ validatedAt: Date | null;
4065
4111
  access: {
4066
4112
  key: string;
4067
4113
  sharedByPubKey: string;
@@ -4076,7 +4122,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4076
4122
  type: "FILE" | "FOLDER";
4077
4123
  parentId: string | null;
4078
4124
  isFavorite: boolean;
4079
- currentFileId: string | null;
4125
+ currentDataId: string | null;
4080
4126
  } & {
4081
4127
  users: [{
4082
4128
  id: string;
@@ -4108,7 +4154,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4108
4154
  type: "FILE" | "FOLDER";
4109
4155
  parentId: string | null;
4110
4156
  isFavorite: boolean;
4111
- currentFileId: string | null;
4157
+ currentDataId: string | null;
4112
4158
  } & {
4113
4159
  users: [{
4114
4160
  id: string;
@@ -4257,7 +4303,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4257
4303
  updatedAt: Date;
4258
4304
  history: {
4259
4305
  createdAt: Date;
4260
- fileId: string;
4306
+ dataId: string;
4261
4307
  size: bigint;
4262
4308
  storageType: "s3" | "lite";
4263
4309
  }[];
@@ -4289,7 +4335,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4289
4335
  updatedAt: Date;
4290
4336
  history: {
4291
4337
  createdAt: Date;
4292
- fileId: string;
4338
+ dataId: string;
4293
4339
  size: bigint;
4294
4340
  storageType: "s3" | "lite";
4295
4341
  }[];
@@ -4308,7 +4354,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4308
4354
  }[];
4309
4355
  };
4310
4356
  }, unknown>;
4311
- shareFileInHistory: _trpc_server.BuildProcedure<"mutation", {
4357
+ shareDataInHistory: _trpc_server.BuildProcedure<"mutation", {
4312
4358
  _config: _trpc_server.RootConfig<{
4313
4359
  ctx: {
4314
4360
  req: {
@@ -4358,7 +4404,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4358
4404
  id: string;
4359
4405
  key: string;
4360
4406
  }[];
4361
- fileId: string;
4407
+ dataId: string;
4362
4408
  nodeId: string;
4363
4409
  };
4364
4410
  _input_out: {
@@ -4366,7 +4412,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4366
4412
  id: string;
4367
4413
  key: string;
4368
4414
  }[];
4369
- fileId: string;
4415
+ dataId: string;
4370
4416
  nodeId: string;
4371
4417
  };
4372
4418
  _output_in: {
@@ -4376,7 +4422,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4376
4422
  isShared: boolean;
4377
4423
  };
4378
4424
  }, unknown>;
4379
- uploadFileEnd: _trpc_server.BuildProcedure<"mutation", {
4425
+ uploadDataEnd: _trpc_server.BuildProcedure<"mutation", {
4380
4426
  _config: _trpc_server.RootConfig<{
4381
4427
  ctx: {
4382
4428
  req: {
@@ -4422,10 +4468,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4422
4468
  ls: TranslationFunctions;
4423
4469
  };
4424
4470
  _input_in: {
4425
- fileId: string;
4471
+ dataId: string;
4426
4472
  };
4427
4473
  _input_out: {
4428
- fileId: string;
4474
+ dataId: string;
4429
4475
  };
4430
4476
  _output_in: {
4431
4477
  isUploadEnded: boolean;
@@ -4434,7 +4480,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4434
4480
  isUploadEnded: boolean;
4435
4481
  };
4436
4482
  }, unknown>;
4437
- uploadFilePartEnd: _trpc_server.BuildProcedure<"mutation", {
4483
+ uploadDataPartEnd: _trpc_server.BuildProcedure<"mutation", {
4438
4484
  _config: _trpc_server.RootConfig<{
4439
4485
  ctx: {
4440
4486
  req: {
@@ -4480,12 +4526,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4480
4526
  ls: TranslationFunctions;
4481
4527
  };
4482
4528
  _input_in: {
4483
- fileId: string;
4529
+ dataId: string;
4484
4530
  md5: string;
4485
4531
  order: number;
4486
4532
  };
4487
4533
  _input_out: {
4488
- fileId: string;
4534
+ dataId: string;
4489
4535
  md5: string;
4490
4536
  order: number;
4491
4537
  };
@@ -4496,7 +4542,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4496
4542
  isUploadPartEnded: boolean;
4497
4543
  };
4498
4544
  }, unknown>;
4499
- uploadFile: _trpc_server.BuildProcedure<"mutation", {
4545
+ uploadData: _trpc_server.BuildProcedure<"mutation", {
4500
4546
  _config: _trpc_server.RootConfig<{
4501
4547
  ctx: {
4502
4548
  req: {
@@ -4542,39 +4588,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4542
4588
  ls: TranslationFunctions;
4543
4589
  };
4544
4590
  _input_in: {
4545
- fileSize: bigint;
4591
+ dataSize: bigint;
4546
4592
  md5: string;
4547
4593
  md5Encrypted: string;
4548
- fileKey: string;
4549
- fileSizeBefore: bigint;
4594
+ dataSizeBefore: bigint;
4595
+ dataKey: string;
4550
4596
  };
4551
4597
  _input_out: {
4552
- fileSize: bigint;
4598
+ dataSize: bigint;
4553
4599
  md5: string;
4554
4600
  md5Encrypted: string;
4555
- fileKey: string;
4556
- fileSizeBefore: bigint;
4601
+ dataSizeBefore: bigint;
4602
+ dataKey: string;
4557
4603
  };
4558
4604
  _output_in: {
4559
- fileId: string;
4560
- filePartSize: bigint;
4605
+ dataId: string;
4561
4606
  parts: {
4562
4607
  fields: Record<string, string>;
4563
4608
  url: string;
4564
4609
  order: number;
4565
4610
  }[];
4611
+ dataPartSize: bigint;
4566
4612
  };
4567
4613
  _output_out: {
4568
- fileId: string;
4569
- filePartSize: bigint;
4614
+ dataId: string;
4570
4615
  parts: {
4571
4616
  fields: Record<string, string>;
4572
4617
  url: string;
4573
4618
  order: number;
4574
4619
  }[];
4620
+ dataPartSize: bigint;
4575
4621
  };
4576
4622
  }, unknown>;
4577
- uploadLiteFile: _trpc_server.BuildProcedure<"mutation", {
4623
+ uploadLiteData: _trpc_server.BuildProcedure<"mutation", {
4578
4624
  _config: _trpc_server.RootConfig<{
4579
4625
  ctx: {
4580
4626
  req: {
@@ -4620,20 +4666,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4620
4666
  ls: TranslationFunctions;
4621
4667
  };
4622
4668
  _input_in: {
4623
- fileSize: bigint;
4669
+ dataSize: bigint;
4624
4670
  md5: string;
4625
4671
  content: Buffer;
4626
4672
  md5Encrypted: string;
4627
- fileKey: string;
4628
- fileSizeBefore: bigint;
4673
+ dataSizeBefore: bigint;
4674
+ dataKey: string;
4629
4675
  };
4630
4676
  _input_out: {
4631
- fileSize: bigint;
4677
+ dataSize: bigint;
4632
4678
  md5: string;
4633
4679
  content: Buffer;
4634
4680
  md5Encrypted: string;
4635
- fileKey: string;
4636
- fileSizeBefore: bigint;
4681
+ dataSizeBefore: bigint;
4682
+ dataKey: string;
4637
4683
  };
4638
4684
  _output_in: {
4639
4685
  id: string;
@@ -4706,7 +4752,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4706
4752
  type: "FILE" | "FOLDER";
4707
4753
  parentId: string | null;
4708
4754
  isFavorite: boolean;
4709
- currentFileId: string | null;
4755
+ currentDataId: string | null;
4710
4756
  } & {
4711
4757
  users: [{
4712
4758
  id: string;
@@ -4742,6 +4788,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4742
4788
  storageType: "s3" | "lite";
4743
4789
  sizeBefore: bigint;
4744
4790
  md5Encrypted: string;
4791
+ userAppUserId: string;
4792
+ userAppAppId: string;
4793
+ validatedAt: Date | null;
4745
4794
  access: {
4746
4795
  key: string;
4747
4796
  sharedByPubKey: string;
@@ -4755,6 +4804,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4755
4804
  storageType: "s3" | "lite";
4756
4805
  sizeBefore: bigint;
4757
4806
  md5Encrypted: string;
4807
+ userAppUserId: string;
4808
+ userAppAppId: string;
4809
+ validatedAt: Date | null;
4758
4810
  access: {
4759
4811
  key: string;
4760
4812
  sharedByPubKey: string;
@@ -4769,7 +4821,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4769
4821
  type: "FILE" | "FOLDER";
4770
4822
  parentId: string | null;
4771
4823
  isFavorite: boolean;
4772
- currentFileId: string | null;
4824
+ currentDataId: string | null;
4773
4825
  } & {
4774
4826
  users: [{
4775
4827
  id: string;
@@ -4801,7 +4853,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4801
4853
  type: "FILE" | "FOLDER";
4802
4854
  parentId: string | null;
4803
4855
  isFavorite: boolean;
4804
- currentFileId: string | null;
4856
+ currentDataId: string | null;
4805
4857
  } & {
4806
4858
  users: [{
4807
4859
  id: string;
@@ -4845,7 +4897,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4845
4897
  type: "FILE" | "FOLDER";
4846
4898
  parentId: string | null;
4847
4899
  isFavorite: boolean;
4848
- currentFileId: string | null;
4900
+ currentDataId: string | null;
4849
4901
  } & {
4850
4902
  users: [{
4851
4903
  id: string;
@@ -4881,6 +4933,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4881
4933
  storageType: "s3" | "lite";
4882
4934
  sizeBefore: bigint;
4883
4935
  md5Encrypted: string;
4936
+ userAppUserId: string;
4937
+ userAppAppId: string;
4938
+ validatedAt: Date | null;
4884
4939
  access: {
4885
4940
  key: string;
4886
4941
  sharedByPubKey: string;
@@ -4894,6 +4949,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4894
4949
  storageType: "s3" | "lite";
4895
4950
  sizeBefore: bigint;
4896
4951
  md5Encrypted: string;
4952
+ userAppUserId: string;
4953
+ userAppAppId: string;
4954
+ validatedAt: Date | null;
4897
4955
  access: {
4898
4956
  key: string;
4899
4957
  sharedByPubKey: string;
@@ -4908,7 +4966,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4908
4966
  type: "FILE" | "FOLDER";
4909
4967
  parentId: string | null;
4910
4968
  isFavorite: boolean;
4911
- currentFileId: string | null;
4969
+ currentDataId: string | null;
4912
4970
  } & {
4913
4971
  users: [{
4914
4972
  id: string;
@@ -4940,7 +4998,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4940
4998
  type: "FILE" | "FOLDER";
4941
4999
  parentId: string | null;
4942
5000
  isFavorite: boolean;
4943
- currentFileId: string | null;
5001
+ currentDataId: string | null;
4944
5002
  } & {
4945
5003
  users: [{
4946
5004
  id: string;
@@ -5526,7 +5584,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5526
5584
  type: "FILE" | "FOLDER";
5527
5585
  parentId: string | null;
5528
5586
  isFavorite: boolean;
5529
- currentFileId: string | null;
5587
+ currentDataId: string | null;
5530
5588
  } & {
5531
5589
  users: [{
5532
5590
  id: string;
@@ -5563,7 +5621,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5563
5621
  type: "FILE" | "FOLDER";
5564
5622
  parentId: string | null;
5565
5623
  isFavorite: boolean;
5566
- currentFileId: string | null;
5624
+ currentDataId: string | null;
5567
5625
  } & {
5568
5626
  users: [{
5569
5627
  id: string;
@@ -5654,7 +5712,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5654
5712
  type: "FILE" | "FOLDER";
5655
5713
  parentId: string | null;
5656
5714
  isFavorite: boolean;
5657
- currentFileId: string | null;
5715
+ currentDataId: string | null;
5658
5716
  } & {
5659
5717
  users: [{
5660
5718
  id: string;
@@ -5690,6 +5748,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5690
5748
  storageType: "s3" | "lite";
5691
5749
  sizeBefore: bigint;
5692
5750
  md5Encrypted: string;
5751
+ userAppUserId: string;
5752
+ userAppAppId: string;
5753
+ validatedAt: Date | null;
5693
5754
  access: {
5694
5755
  key: string;
5695
5756
  sharedByPubKey: string;
@@ -5703,6 +5764,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5703
5764
  storageType: "s3" | "lite";
5704
5765
  sizeBefore: bigint;
5705
5766
  md5Encrypted: string;
5767
+ userAppUserId: string;
5768
+ userAppAppId: string;
5769
+ validatedAt: Date | null;
5706
5770
  access: {
5707
5771
  key: string;
5708
5772
  sharedByPubKey: string;
@@ -5717,7 +5781,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5717
5781
  type: "FILE" | "FOLDER";
5718
5782
  parentId: string | null;
5719
5783
  isFavorite: boolean;
5720
- currentFileId: string | null;
5784
+ currentDataId: string | null;
5721
5785
  } & {
5722
5786
  users: [{
5723
5787
  id: string;
@@ -5749,7 +5813,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5749
5813
  type: "FILE" | "FOLDER";
5750
5814
  parentId: string | null;
5751
5815
  isFavorite: boolean;
5752
- currentFileId: string | null;
5816
+ currentDataId: string | null;
5753
5817
  } & {
5754
5818
  users: [{
5755
5819
  id: string;
@@ -5793,7 +5857,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5793
5857
  type: "FILE" | "FOLDER";
5794
5858
  parentId: string | null;
5795
5859
  isFavorite: boolean;
5796
- currentFileId: string | null;
5860
+ currentDataId: string | null;
5797
5861
  } & {
5798
5862
  users: [{
5799
5863
  id: string;
@@ -5829,6 +5893,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5829
5893
  storageType: "s3" | "lite";
5830
5894
  sizeBefore: bigint;
5831
5895
  md5Encrypted: string;
5896
+ userAppUserId: string;
5897
+ userAppAppId: string;
5898
+ validatedAt: Date | null;
5832
5899
  access: {
5833
5900
  key: string;
5834
5901
  sharedByPubKey: string;
@@ -5842,6 +5909,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5842
5909
  storageType: "s3" | "lite";
5843
5910
  sizeBefore: bigint;
5844
5911
  md5Encrypted: string;
5912
+ userAppUserId: string;
5913
+ userAppAppId: string;
5914
+ validatedAt: Date | null;
5845
5915
  access: {
5846
5916
  key: string;
5847
5917
  sharedByPubKey: string;
@@ -5856,7 +5926,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5856
5926
  type: "FILE" | "FOLDER";
5857
5927
  parentId: string | null;
5858
5928
  isFavorite: boolean;
5859
- currentFileId: string | null;
5929
+ currentDataId: string | null;
5860
5930
  } & {
5861
5931
  users: [{
5862
5932
  id: string;
@@ -5888,7 +5958,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5888
5958
  type: "FILE" | "FOLDER";
5889
5959
  parentId: string | null;
5890
5960
  isFavorite: boolean;
5891
- currentFileId: string | null;
5961
+ currentDataId: string | null;
5892
5962
  } & {
5893
5963
  users: [{
5894
5964
  id: string;
@@ -6040,7 +6110,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6040
6110
  type: "FILE" | "FOLDER";
6041
6111
  parentId: string | null;
6042
6112
  isFavorite: boolean;
6043
- currentFileId: string | null;
6113
+ currentDataId: string | null;
6044
6114
  } & {
6045
6115
  users: [{
6046
6116
  id: string;
@@ -6072,7 +6142,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6072
6142
  type: "FILE" | "FOLDER";
6073
6143
  parentId: string | null;
6074
6144
  isFavorite: boolean;
6075
- currentFileId: string | null;
6145
+ currentDataId: string | null;
6076
6146
  } & {
6077
6147
  users: [{
6078
6148
  id: string;
@@ -6156,7 +6226,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6156
6226
  type: "FILE" | "FOLDER";
6157
6227
  parentId: string | null;
6158
6228
  isFavorite: boolean;
6159
- currentFileId: string | null;
6229
+ currentDataId: string | null;
6160
6230
  } & {
6161
6231
  users: [{
6162
6232
  id: string;
@@ -6188,7 +6258,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6188
6258
  type: "FILE" | "FOLDER";
6189
6259
  parentId: string | null;
6190
6260
  isFavorite: boolean;
6191
- currentFileId: string | null;
6261
+ currentDataId: string | null;
6192
6262
  } & {
6193
6263
  users: [{
6194
6264
  id: string;
@@ -6268,7 +6338,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6268
6338
  type: "FILE" | "FOLDER";
6269
6339
  parentId: string | null;
6270
6340
  isFavorite: boolean;
6271
- currentFileId: string | null;
6341
+ currentDataId: string | null;
6272
6342
  } & {
6273
6343
  users: [{
6274
6344
  id: string;
@@ -6300,7 +6370,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6300
6370
  type: "FILE" | "FOLDER";
6301
6371
  parentId: string | null;
6302
6372
  isFavorite: boolean;
6303
- currentFileId: string | null;
6373
+ currentDataId: string | null;
6304
6374
  } & {
6305
6375
  users: [{
6306
6376
  id: string;
@@ -6430,24 +6500,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6430
6500
  _input_in: {
6431
6501
  userId: string;
6432
6502
  nodes: {
6433
- id: string;
6434
- nameKey: string | null;
6435
- files: {
6503
+ data: {
6436
6504
  id: string;
6437
6505
  key: string;
6438
6506
  }[];
6507
+ id: string;
6508
+ nameKey: string | null;
6439
6509
  }[];
6440
6510
  rights: "admin" | "write" | "read";
6441
6511
  };
6442
6512
  _input_out: {
6443
6513
  userId: string;
6444
6514
  nodes: {
6445
- id: string;
6446
- nameKey: string | null;
6447
- files: {
6515
+ data: {
6448
6516
  id: string;
6449
6517
  key: string;
6450
6518
  }[];
6519
+ id: string;
6520
+ nameKey: string | null;
6451
6521
  }[];
6452
6522
  rights: "admin" | "write" | "read";
6453
6523
  };
@@ -6584,7 +6654,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6584
6654
  type: "FILE" | "FOLDER";
6585
6655
  parentId: string | null;
6586
6656
  isFavorite: boolean;
6587
- currentFileId: string | null;
6657
+ currentDataId: string | null;
6588
6658
  } & {
6589
6659
  users: [{
6590
6660
  id: string;
@@ -6620,6 +6690,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6620
6690
  storageType: "s3" | "lite";
6621
6691
  sizeBefore: bigint;
6622
6692
  md5Encrypted: string;
6693
+ userAppUserId: string;
6694
+ userAppAppId: string;
6695
+ validatedAt: Date | null;
6623
6696
  access: {
6624
6697
  key: string;
6625
6698
  sharedByPubKey: string;
@@ -6633,6 +6706,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6633
6706
  storageType: "s3" | "lite";
6634
6707
  sizeBefore: bigint;
6635
6708
  md5Encrypted: string;
6709
+ userAppUserId: string;
6710
+ userAppAppId: string;
6711
+ validatedAt: Date | null;
6636
6712
  access: {
6637
6713
  key: string;
6638
6714
  sharedByPubKey: string;
@@ -6647,7 +6723,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6647
6723
  type: "FILE" | "FOLDER";
6648
6724
  parentId: string | null;
6649
6725
  isFavorite: boolean;
6650
- currentFileId: string | null;
6726
+ currentDataId: string | null;
6651
6727
  } & {
6652
6728
  users: [{
6653
6729
  id: string;
@@ -6679,7 +6755,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6679
6755
  type: "FILE" | "FOLDER";
6680
6756
  parentId: string | null;
6681
6757
  isFavorite: boolean;
6682
- currentFileId: string | null;
6758
+ currentDataId: string | null;
6683
6759
  } & {
6684
6760
  users: [{
6685
6761
  id: string;
@@ -6723,7 +6799,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6723
6799
  type: "FILE" | "FOLDER";
6724
6800
  parentId: string | null;
6725
6801
  isFavorite: boolean;
6726
- currentFileId: string | null;
6802
+ currentDataId: string | null;
6727
6803
  } & {
6728
6804
  users: [{
6729
6805
  id: string;
@@ -6759,6 +6835,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6759
6835
  storageType: "s3" | "lite";
6760
6836
  sizeBefore: bigint;
6761
6837
  md5Encrypted: string;
6838
+ userAppUserId: string;
6839
+ userAppAppId: string;
6840
+ validatedAt: Date | null;
6762
6841
  access: {
6763
6842
  key: string;
6764
6843
  sharedByPubKey: string;
@@ -6772,6 +6851,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6772
6851
  storageType: "s3" | "lite";
6773
6852
  sizeBefore: bigint;
6774
6853
  md5Encrypted: string;
6854
+ userAppUserId: string;
6855
+ userAppAppId: string;
6856
+ validatedAt: Date | null;
6775
6857
  access: {
6776
6858
  key: string;
6777
6859
  sharedByPubKey: string;
@@ -6786,7 +6868,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6786
6868
  type: "FILE" | "FOLDER";
6787
6869
  parentId: string | null;
6788
6870
  isFavorite: boolean;
6789
- currentFileId: string | null;
6871
+ currentDataId: string | null;
6790
6872
  } & {
6791
6873
  users: [{
6792
6874
  id: string;
@@ -6818,7 +6900,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6818
6900
  type: "FILE" | "FOLDER";
6819
6901
  parentId: string | null;
6820
6902
  isFavorite: boolean;
6821
- currentFileId: string | null;
6903
+ currentDataId: string | null;
6822
6904
  } & {
6823
6905
  users: [{
6824
6906
  id: string;
@@ -11672,10 +11754,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11672
11754
  avatar: string | null;
11673
11755
  isSearchable: boolean;
11674
11756
  };
11675
- files: {
11676
- fileId: string;
11677
- filename: string;
11678
- fileKey: string;
11757
+ attachments: {
11758
+ name: string;
11759
+ key: string;
11760
+ dataId: string;
11679
11761
  }[];
11680
11762
  };
11681
11763
  _output_out: {
@@ -11730,10 +11812,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11730
11812
  avatar: string | null;
11731
11813
  isSearchable: boolean;
11732
11814
  };
11733
- files: {
11734
- fileId: string;
11735
- filename: string;
11736
- fileKey: string;
11815
+ attachments: {
11816
+ name: string;
11817
+ key: string;
11818
+ dataId: string;
11737
11819
  }[];
11738
11820
  };
11739
11821
  }, unknown>;
@@ -11862,10 +11944,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11862
11944
  avatar: string | null;
11863
11945
  isSearchable: boolean;
11864
11946
  };
11865
- files: {
11866
- fileId: string;
11867
- filename: string;
11868
- fileKey: string;
11947
+ attachments: {
11948
+ name: string;
11949
+ key: string;
11950
+ dataId: string;
11869
11951
  }[];
11870
11952
  };
11871
11953
  _output_out: {
@@ -11920,10 +12002,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11920
12002
  avatar: string | null;
11921
12003
  isSearchable: boolean;
11922
12004
  };
11923
- files: {
11924
- fileId: string;
11925
- filename: string;
11926
- fileKey: string;
12005
+ attachments: {
12006
+ name: string;
12007
+ key: string;
12008
+ dataId: string;
11927
12009
  }[];
11928
12010
  };
11929
12011
  }, unknown>;
@@ -12204,10 +12286,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12204
12286
  avatar: string | null;
12205
12287
  isSearchable: boolean;
12206
12288
  };
12207
- files: {
12208
- fileId: string;
12209
- filename: string;
12210
- fileKey: string;
12289
+ attachments: {
12290
+ name: string;
12291
+ key: string;
12292
+ dataId: string;
12211
12293
  }[];
12212
12294
  })[];
12213
12295
  _output_out: ({
@@ -12262,10 +12344,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12262
12344
  avatar: string | null;
12263
12345
  isSearchable: boolean;
12264
12346
  };
12265
- files: {
12266
- fileId: string;
12267
- filename: string;
12268
- fileKey: string;
12347
+ attachments: {
12348
+ name: string;
12349
+ key: string;
12350
+ dataId: string;
12269
12351
  }[];
12270
12352
  })[];
12271
12353
  }, unknown>;
@@ -12368,10 +12450,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12368
12450
  avatar: string | null;
12369
12451
  isSearchable: boolean;
12370
12452
  };
12371
- files: {
12372
- fileId: string;
12373
- filename: string;
12374
- fileKey: string;
12453
+ attachments: {
12454
+ name: string;
12455
+ key: string;
12456
+ dataId: string;
12375
12457
  }[];
12376
12458
  })[];
12377
12459
  _output_out: ({
@@ -12426,10 +12508,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12426
12508
  avatar: string | null;
12427
12509
  isSearchable: boolean;
12428
12510
  };
12429
- files: {
12430
- fileId: string;
12431
- filename: string;
12432
- fileKey: string;
12511
+ attachments: {
12512
+ name: string;
12513
+ key: string;
12514
+ dataId: string;
12433
12515
  }[];
12434
12516
  })[];
12435
12517
  }, unknown>;
@@ -12644,10 +12726,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12644
12726
  avatar: string | null;
12645
12727
  isSearchable: boolean;
12646
12728
  };
12647
- files: {
12648
- fileId: string;
12649
- filename: string;
12650
- fileKey: string;
12729
+ attachments: {
12730
+ name: string;
12731
+ key: string;
12732
+ dataId: string;
12651
12733
  }[];
12652
12734
  })[];
12653
12735
  _output_out: ({
@@ -12702,10 +12784,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12702
12784
  avatar: string | null;
12703
12785
  isSearchable: boolean;
12704
12786
  };
12705
- files: {
12706
- fileId: string;
12707
- filename: string;
12708
- fileKey: string;
12787
+ attachments: {
12788
+ name: string;
12789
+ key: string;
12790
+ dataId: string;
12709
12791
  }[];
12710
12792
  })[];
12711
12793
  }, unknown>;
@@ -12894,10 +12976,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12894
12976
  body: string;
12895
12977
  } & {
12896
12978
  recipientId: string;
12897
- files: {
12898
- id: string;
12899
- filename: string;
12900
- fileKey: string;
12979
+ attachments: {
12980
+ name: string;
12981
+ key: string;
12982
+ dataId: string;
12901
12983
  }[];
12902
12984
  })[];
12903
12985
  temporaryRecipients: string[];
@@ -12910,10 +12992,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12910
12992
  body: string;
12911
12993
  } & {
12912
12994
  recipientId: string;
12913
- files: {
12914
- id: string;
12915
- filename: string;
12916
- fileKey: string;
12995
+ attachments: {
12996
+ name: string;
12997
+ key: string;
12998
+ dataId: string;
12917
12999
  }[];
12918
13000
  })[];
12919
13001
  temporaryRecipients: string[];
@@ -12977,10 +13059,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12977
13059
  body: string;
12978
13060
  } & {
12979
13061
  recipientId: string;
12980
- files: {
13062
+ attachments: {
12981
13063
  id: string;
12982
- filename: string;
12983
- fileKey: string;
13064
+ name: string;
13065
+ key: string;
12984
13066
  }[];
12985
13067
  };
12986
13068
  };
@@ -12991,10 +13073,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12991
13073
  body: string;
12992
13074
  } & {
12993
13075
  recipientId: string;
12994
- files: {
13076
+ attachments: {
12995
13077
  id: string;
12996
- filename: string;
12997
- fileKey: string;
13078
+ name: string;
13079
+ key: string;
12998
13080
  }[];
12999
13081
  };
13000
13082
  };
@@ -13104,10 +13186,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13104
13186
  avatar: string | null;
13105
13187
  isSearchable: boolean;
13106
13188
  };
13107
- files: {
13108
- fileId: string;
13109
- filename: string;
13110
- fileKey: string;
13189
+ attachments: {
13190
+ name: string;
13191
+ key: string;
13192
+ dataId: string;
13111
13193
  }[];
13112
13194
  })[];
13113
13195
  _output_out: ({
@@ -13162,10 +13244,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13162
13244
  avatar: string | null;
13163
13245
  isSearchable: boolean;
13164
13246
  };
13165
- files: {
13166
- fileId: string;
13167
- filename: string;
13168
- fileKey: string;
13247
+ attachments: {
13248
+ name: string;
13249
+ key: string;
13250
+ dataId: string;
13169
13251
  }[];
13170
13252
  })[];
13171
13253
  }, unknown>;
@@ -13402,10 +13484,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13402
13484
  avatar: string | null;
13403
13485
  isSearchable: boolean;
13404
13486
  };
13405
- files: {
13406
- fileId: string;
13407
- filename: string;
13408
- fileKey: string;
13487
+ attachments: {
13488
+ name: string;
13489
+ key: string;
13490
+ dataId: string;
13409
13491
  }[];
13410
13492
  };
13411
13493
  _output_out: {
@@ -13460,10 +13542,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13460
13542
  avatar: string | null;
13461
13543
  isSearchable: boolean;
13462
13544
  };
13463
- files: {
13464
- fileId: string;
13465
- filename: string;
13466
- fileKey: string;
13545
+ attachments: {
13546
+ name: string;
13547
+ key: string;
13548
+ dataId: string;
13467
13549
  }[];
13468
13550
  };
13469
13551
  }, unknown>;
@@ -13943,28 +14025,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13943
14025
  quotas: {
13944
14026
  uploadCount: bigint | null;
13945
14027
  downloadCount: bigint | null;
13946
- totalFileCount: bigint | null;
14028
+ totalDataCount: bigint | null;
13947
14029
  totalStorageSize: bigint | null;
13948
- perFileSize: bigint | null;
14030
+ perDataSize: bigint | null;
13949
14031
  uploadBandwidth: bigint | null;
13950
14032
  downloadBandwidth: bigint | null;
13951
14033
  } & {
13952
14034
  sentMails: {
13953
14035
  count: bigint | null;
13954
- fileSize: bigint | null;
13955
- totalFileCount: bigint | null;
14036
+ dataSize: bigint | null;
14037
+ totalDataCount: bigint | null;
13956
14038
  totalStorageSize: bigint | null;
13957
- fileCount: bigint | null;
13958
- perFileSize: bigint | null;
14039
+ dataCount: bigint | null;
14040
+ perDataSize: bigint | null;
13959
14041
  totalCount: bigint | null;
13960
14042
  };
13961
14043
  receivedMails: {
13962
14044
  count: bigint | null;
13963
- fileSize: bigint | null;
13964
- totalFileCount: bigint | null;
14045
+ dataSize: bigint | null;
14046
+ totalDataCount: bigint | null;
13965
14047
  totalStorageSize: bigint | null;
13966
- fileCount: bigint | null;
13967
- perFileSize: bigint | null;
14048
+ dataCount: bigint | null;
14049
+ perDataSize: bigint | null;
13968
14050
  totalCount: bigint | null;
13969
14051
  };
13970
14052
  };
@@ -13983,28 +14065,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13983
14065
  quotas: {
13984
14066
  uploadCount: bigint | null;
13985
14067
  downloadCount: bigint | null;
13986
- totalFileCount: bigint | null;
14068
+ totalDataCount: bigint | null;
13987
14069
  totalStorageSize: bigint | null;
13988
- perFileSize: bigint | null;
14070
+ perDataSize: bigint | null;
13989
14071
  uploadBandwidth: bigint | null;
13990
14072
  downloadBandwidth: bigint | null;
13991
14073
  } & {
13992
14074
  sentMails: {
13993
14075
  count: bigint | null;
13994
- fileSize: bigint | null;
13995
- totalFileCount: bigint | null;
14076
+ dataSize: bigint | null;
14077
+ totalDataCount: bigint | null;
13996
14078
  totalStorageSize: bigint | null;
13997
- fileCount: bigint | null;
13998
- perFileSize: bigint | null;
14079
+ dataCount: bigint | null;
14080
+ perDataSize: bigint | null;
13999
14081
  totalCount: bigint | null;
14000
14082
  };
14001
14083
  receivedMails: {
14002
14084
  count: bigint | null;
14003
- fileSize: bigint | null;
14004
- totalFileCount: bigint | null;
14085
+ dataSize: bigint | null;
14086
+ totalDataCount: bigint | null;
14005
14087
  totalStorageSize: bigint | null;
14006
- fileCount: bigint | null;
14007
- perFileSize: bigint | null;
14088
+ dataCount: bigint | null;
14089
+ perDataSize: bigint | null;
14008
14090
  totalCount: bigint | null;
14009
14091
  };
14010
14092
  };
@@ -16448,9 +16530,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16448
16530
  usersBase: bigint | null;
16449
16531
  usersUnit: bigint | null;
16450
16532
  usersPrice: number | null;
16451
- perFileSizeBase: bigint | null;
16452
- perFileSizeUnit: bigint | null;
16453
- perFileSizePrice: number | null;
16533
+ perDataSizeBase: bigint | null;
16534
+ perDataSizeUnit: bigint | null;
16535
+ perDataSizePrice: number | null;
16454
16536
  bandwidthBase: bigint | null;
16455
16537
  bandwidthUnit: bigint | null;
16456
16538
  bandwidthPrice: number | null;
@@ -16459,7 +16541,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16459
16541
  totalStorageSizePrice: number | null;
16460
16542
  devsMax: bigint | null;
16461
16543
  usersMax: bigint | null;
16462
- perFileSizeMax: bigint | null;
16544
+ perDataSizeMax: bigint | null;
16463
16545
  bandwidthMax: bigint | null;
16464
16546
  totalStorageSizeMax: bigint | null;
16465
16547
  };
@@ -16498,9 +16580,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16498
16580
  usersBase: bigint | null;
16499
16581
  usersUnit: bigint | null;
16500
16582
  usersPrice: number | null;
16501
- perFileSizeBase: bigint | null;
16502
- perFileSizeUnit: bigint | null;
16503
- perFileSizePrice: number | null;
16583
+ perDataSizeBase: bigint | null;
16584
+ perDataSizeUnit: bigint | null;
16585
+ perDataSizePrice: number | null;
16504
16586
  bandwidthBase: bigint | null;
16505
16587
  bandwidthUnit: bigint | null;
16506
16588
  bandwidthPrice: number | null;
@@ -16509,7 +16591,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16509
16591
  totalStorageSizePrice: number | null;
16510
16592
  devsMax: bigint | null;
16511
16593
  usersMax: bigint | null;
16512
- perFileSizeMax: bigint | null;
16594
+ perDataSizeMax: bigint | null;
16513
16595
  bandwidthMax: bigint | null;
16514
16596
  totalStorageSizeMax: bigint | null;
16515
16597
  };
@@ -16530,9 +16612,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16530
16612
  usersBase: bigint | null;
16531
16613
  usersUnit: bigint | null;
16532
16614
  usersPrice: number | null;
16533
- perFileSizeBase: bigint | null;
16534
- perFileSizeUnit: bigint | null;
16535
- perFileSizePrice: number | null;
16615
+ perDataSizeBase: bigint | null;
16616
+ perDataSizeUnit: bigint | null;
16617
+ perDataSizePrice: number | null;
16536
16618
  bandwidthBase: bigint | null;
16537
16619
  bandwidthUnit: bigint | null;
16538
16620
  bandwidthPrice: number | null;
@@ -16541,7 +16623,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16541
16623
  totalStorageSizePrice: number | null;
16542
16624
  devsMax: bigint | null;
16543
16625
  usersMax: bigint | null;
16544
- perFileSizeMax: bigint | null;
16626
+ perDataSizeMax: bigint | null;
16545
16627
  bandwidthMax: bigint | null;
16546
16628
  totalStorageSizeMax: bigint | null;
16547
16629
  };
@@ -16580,9 +16662,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16580
16662
  usersBase: bigint | null;
16581
16663
  usersUnit: bigint | null;
16582
16664
  usersPrice: number | null;
16583
- perFileSizeBase: bigint | null;
16584
- perFileSizeUnit: bigint | null;
16585
- perFileSizePrice: number | null;
16665
+ perDataSizeBase: bigint | null;
16666
+ perDataSizeUnit: bigint | null;
16667
+ perDataSizePrice: number | null;
16586
16668
  bandwidthBase: bigint | null;
16587
16669
  bandwidthUnit: bigint | null;
16588
16670
  bandwidthPrice: number | null;
@@ -16591,7 +16673,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16591
16673
  totalStorageSizePrice: number | null;
16592
16674
  devsMax: bigint | null;
16593
16675
  usersMax: bigint | null;
16594
- perFileSizeMax: bigint | null;
16676
+ perDataSizeMax: bigint | null;
16595
16677
  bandwidthMax: bigint | null;
16596
16678
  totalStorageSizeMax: bigint | null;
16597
16679
  };
@@ -16664,9 +16746,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16664
16746
  usersBase: bigint | null;
16665
16747
  usersUnit: bigint | null;
16666
16748
  usersPrice: number | null;
16667
- perFileSizeBase: bigint | null;
16668
- perFileSizeUnit: bigint | null;
16669
- perFileSizePrice: number | null;
16749
+ perDataSizeBase: bigint | null;
16750
+ perDataSizeUnit: bigint | null;
16751
+ perDataSizePrice: number | null;
16670
16752
  bandwidthBase: bigint | null;
16671
16753
  bandwidthUnit: bigint | null;
16672
16754
  bandwidthPrice: number | null;
@@ -16675,7 +16757,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16675
16757
  totalStorageSizePrice: number | null;
16676
16758
  devsMax: bigint | null;
16677
16759
  usersMax: bigint | null;
16678
- perFileSizeMax: bigint | null;
16760
+ perDataSizeMax: bigint | null;
16679
16761
  bandwidthMax: bigint | null;
16680
16762
  totalStorageSizeMax: bigint | null;
16681
16763
  };
@@ -16714,9 +16796,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16714
16796
  usersBase: bigint | null;
16715
16797
  usersUnit: bigint | null;
16716
16798
  usersPrice: number | null;
16717
- perFileSizeBase: bigint | null;
16718
- perFileSizeUnit: bigint | null;
16719
- perFileSizePrice: number | null;
16799
+ perDataSizeBase: bigint | null;
16800
+ perDataSizeUnit: bigint | null;
16801
+ perDataSizePrice: number | null;
16720
16802
  bandwidthBase: bigint | null;
16721
16803
  bandwidthUnit: bigint | null;
16722
16804
  bandwidthPrice: number | null;
@@ -16725,7 +16807,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16725
16807
  totalStorageSizePrice: number | null;
16726
16808
  devsMax: bigint | null;
16727
16809
  usersMax: bigint | null;
16728
- perFileSizeMax: bigint | null;
16810
+ perDataSizeMax: bigint | null;
16729
16811
  bandwidthMax: bigint | null;
16730
16812
  totalStorageSizeMax: bigint | null;
16731
16813
  };
@@ -16746,9 +16828,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16746
16828
  usersBase: bigint | null;
16747
16829
  usersUnit: bigint | null;
16748
16830
  usersPrice: number | null;
16749
- perFileSizeBase: bigint | null;
16750
- perFileSizeUnit: bigint | null;
16751
- perFileSizePrice: number | null;
16831
+ perDataSizeBase: bigint | null;
16832
+ perDataSizeUnit: bigint | null;
16833
+ perDataSizePrice: number | null;
16752
16834
  bandwidthBase: bigint | null;
16753
16835
  bandwidthUnit: bigint | null;
16754
16836
  bandwidthPrice: number | null;
@@ -16757,7 +16839,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16757
16839
  totalStorageSizePrice: number | null;
16758
16840
  devsMax: bigint | null;
16759
16841
  usersMax: bigint | null;
16760
- perFileSizeMax: bigint | null;
16842
+ perDataSizeMax: bigint | null;
16761
16843
  bandwidthMax: bigint | null;
16762
16844
  totalStorageSizeMax: bigint | null;
16763
16845
  };
@@ -16796,9 +16878,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16796
16878
  usersBase: bigint | null;
16797
16879
  usersUnit: bigint | null;
16798
16880
  usersPrice: number | null;
16799
- perFileSizeBase: bigint | null;
16800
- perFileSizeUnit: bigint | null;
16801
- perFileSizePrice: number | null;
16881
+ perDataSizeBase: bigint | null;
16882
+ perDataSizeUnit: bigint | null;
16883
+ perDataSizePrice: number | null;
16802
16884
  bandwidthBase: bigint | null;
16803
16885
  bandwidthUnit: bigint | null;
16804
16886
  bandwidthPrice: number | null;
@@ -16807,7 +16889,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
16807
16889
  totalStorageSizePrice: number | null;
16808
16890
  devsMax: bigint | null;
16809
16891
  usersMax: bigint | null;
16810
- perFileSizeMax: bigint | null;
16892
+ perDataSizeMax: bigint | null;
16811
16893
  bandwidthMax: bigint | null;
16812
16894
  totalStorageSizeMax: bigint | null;
16813
16895
  };
@@ -18190,6 +18272,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18190
18272
  _input_in: {} | undefined;
18191
18273
  _input_out: {} | undefined;
18192
18274
  _output_in: {
18275
+ accountId: string;
18193
18276
  userId: string;
18194
18277
  id: string;
18195
18278
  createdAt: Date;
@@ -18198,7 +18281,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18198
18281
  ip: string | null;
18199
18282
  country: string | null;
18200
18283
  city: string | null;
18201
- appSessions: {
18284
+ appSessions: ({
18202
18285
  appId: string;
18203
18286
  userId: string;
18204
18287
  id: string;
@@ -18209,12 +18292,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18209
18292
  ip: string | null;
18210
18293
  country: string | null;
18211
18294
  city: string | null;
18295
+ } & {
18212
18296
  name: string;
18213
18297
  logo: string | null;
18214
18298
  origin: string[];
18215
- }[];
18299
+ })[];
18216
18300
  }[];
18217
18301
  _output_out: {
18302
+ accountId: string;
18218
18303
  userId: string;
18219
18304
  id: string;
18220
18305
  createdAt: Date;
@@ -18223,7 +18308,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18223
18308
  ip: string | null;
18224
18309
  country: string | null;
18225
18310
  city: string | null;
18226
- appSessions: {
18311
+ appSessions: ({
18227
18312
  appId: string;
18228
18313
  userId: string;
18229
18314
  id: string;
@@ -18234,10 +18319,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
18234
18319
  ip: string | null;
18235
18320
  country: string | null;
18236
18321
  city: string | null;
18322
+ } & {
18237
18323
  name: string;
18238
18324
  logo: string | null;
18239
18325
  origin: string[];
18240
- }[];
18326
+ })[];
18241
18327
  }[];
18242
18328
  }, unknown>;
18243
18329
  updateAutoDisconnectDelay: _trpc_server.BuildProcedure<"mutation", {