@secrecy/trpc-api-types 1.18.0-dev.7 → 1.18.0-dev.8

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 +88 -0
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1905,6 +1905,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1905
1905
  type: "FILE" | "FOLDER";
1906
1906
  parentId: string | null;
1907
1907
  isFavorite: boolean;
1908
+ currentFileId: string | null;
1908
1909
  } & {
1909
1910
  users: [{
1910
1911
  id: string;
@@ -1969,6 +1970,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1969
1970
  type: "FILE" | "FOLDER";
1970
1971
  parentId: string | null;
1971
1972
  isFavorite: boolean;
1973
+ currentFileId: string | null;
1972
1974
  } & {
1973
1975
  users: [{
1974
1976
  id: string;
@@ -2000,6 +2002,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2000
2002
  type: "FILE" | "FOLDER";
2001
2003
  parentId: string | null;
2002
2004
  isFavorite: boolean;
2005
+ currentFileId: string | null;
2003
2006
  } & {
2004
2007
  users: [{
2005
2008
  id: string;
@@ -2021,6 +2024,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2021
2024
  isRoot: boolean;
2022
2025
  sharedByPubKey: string;
2023
2026
  };
2027
+ } & {
2028
+ sizes: {
2029
+ size: bigint;
2030
+ sizeBefore: bigint;
2031
+ };
2024
2032
  })[];
2025
2033
  breadcrumb: {
2026
2034
  id: string;
@@ -2038,6 +2046,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2038
2046
  type: "FILE" | "FOLDER";
2039
2047
  parentId: string | null;
2040
2048
  isFavorite: boolean;
2049
+ currentFileId: string | null;
2041
2050
  } & {
2042
2051
  users: [{
2043
2052
  id: string;
@@ -2102,6 +2111,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2102
2111
  type: "FILE" | "FOLDER";
2103
2112
  parentId: string | null;
2104
2113
  isFavorite: boolean;
2114
+ currentFileId: string | null;
2105
2115
  } & {
2106
2116
  users: [{
2107
2117
  id: string;
@@ -2133,6 +2143,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2133
2143
  type: "FILE" | "FOLDER";
2134
2144
  parentId: string | null;
2135
2145
  isFavorite: boolean;
2146
+ currentFileId: string | null;
2136
2147
  } & {
2137
2148
  users: [{
2138
2149
  id: string;
@@ -2154,6 +2165,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2154
2165
  isRoot: boolean;
2155
2166
  sharedByPubKey: string;
2156
2167
  };
2168
+ } & {
2169
+ sizes: {
2170
+ size: bigint;
2171
+ sizeBefore: bigint;
2172
+ };
2157
2173
  })[];
2158
2174
  breadcrumb: {
2159
2175
  id: string;
@@ -2597,6 +2613,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2597
2613
  type: "FILE" | "FOLDER";
2598
2614
  parentId: string | null;
2599
2615
  isFavorite: boolean;
2616
+ currentFileId: string | null;
2600
2617
  } & {
2601
2618
  users: [{
2602
2619
  id: string;
@@ -2661,6 +2678,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2661
2678
  type: "FILE" | "FOLDER";
2662
2679
  parentId: string | null;
2663
2680
  isFavorite: boolean;
2681
+ currentFileId: string | null;
2664
2682
  } & {
2665
2683
  users: [{
2666
2684
  id: string;
@@ -2692,6 +2710,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2692
2710
  type: "FILE" | "FOLDER";
2693
2711
  parentId: string | null;
2694
2712
  isFavorite: boolean;
2713
+ currentFileId: string | null;
2695
2714
  } & {
2696
2715
  users: [{
2697
2716
  id: string;
@@ -2713,6 +2732,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2713
2732
  isRoot: boolean;
2714
2733
  sharedByPubKey: string;
2715
2734
  };
2735
+ } & {
2736
+ sizes: {
2737
+ size: bigint;
2738
+ sizeBefore: bigint;
2739
+ };
2716
2740
  })[];
2717
2741
  breadcrumb: {
2718
2742
  id: string;
@@ -2730,6 +2754,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2730
2754
  type: "FILE" | "FOLDER";
2731
2755
  parentId: string | null;
2732
2756
  isFavorite: boolean;
2757
+ currentFileId: string | null;
2733
2758
  } & {
2734
2759
  users: [{
2735
2760
  id: string;
@@ -2794,6 +2819,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2794
2819
  type: "FILE" | "FOLDER";
2795
2820
  parentId: string | null;
2796
2821
  isFavorite: boolean;
2822
+ currentFileId: string | null;
2797
2823
  } & {
2798
2824
  users: [{
2799
2825
  id: string;
@@ -2825,6 +2851,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2825
2851
  type: "FILE" | "FOLDER";
2826
2852
  parentId: string | null;
2827
2853
  isFavorite: boolean;
2854
+ currentFileId: string | null;
2828
2855
  } & {
2829
2856
  users: [{
2830
2857
  id: string;
@@ -2846,6 +2873,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2846
2873
  isRoot: boolean;
2847
2874
  sharedByPubKey: string;
2848
2875
  };
2876
+ } & {
2877
+ sizes: {
2878
+ size: bigint;
2879
+ sizeBefore: bigint;
2880
+ };
2849
2881
  })[];
2850
2882
  breadcrumb: {
2851
2883
  id: string;
@@ -3121,6 +3153,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3121
3153
  type: "FILE" | "FOLDER";
3122
3154
  parentId: string | null;
3123
3155
  isFavorite: boolean;
3156
+ currentFileId: string | null;
3124
3157
  } & {
3125
3158
  users: [{
3126
3159
  id: string;
@@ -3185,6 +3218,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3185
3218
  type: "FILE" | "FOLDER";
3186
3219
  parentId: string | null;
3187
3220
  isFavorite: boolean;
3221
+ currentFileId: string | null;
3188
3222
  } & {
3189
3223
  users: [{
3190
3224
  id: string;
@@ -3216,6 +3250,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3216
3250
  type: "FILE" | "FOLDER";
3217
3251
  parentId: string | null;
3218
3252
  isFavorite: boolean;
3253
+ currentFileId: string | null;
3219
3254
  } & {
3220
3255
  users: [{
3221
3256
  id: string;
@@ -3237,6 +3272,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3237
3272
  isRoot: boolean;
3238
3273
  sharedByPubKey: string;
3239
3274
  };
3275
+ } & {
3276
+ sizes: {
3277
+ size: bigint;
3278
+ sizeBefore: bigint;
3279
+ };
3240
3280
  })[];
3241
3281
  breadcrumb: {
3242
3282
  id: string;
@@ -3254,6 +3294,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3254
3294
  type: "FILE" | "FOLDER";
3255
3295
  parentId: string | null;
3256
3296
  isFavorite: boolean;
3297
+ currentFileId: string | null;
3257
3298
  } & {
3258
3299
  users: [{
3259
3300
  id: string;
@@ -3318,6 +3359,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3318
3359
  type: "FILE" | "FOLDER";
3319
3360
  parentId: string | null;
3320
3361
  isFavorite: boolean;
3362
+ currentFileId: string | null;
3321
3363
  } & {
3322
3364
  users: [{
3323
3365
  id: string;
@@ -3349,6 +3391,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3349
3391
  type: "FILE" | "FOLDER";
3350
3392
  parentId: string | null;
3351
3393
  isFavorite: boolean;
3394
+ currentFileId: string | null;
3352
3395
  } & {
3353
3396
  users: [{
3354
3397
  id: string;
@@ -3370,6 +3413,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3370
3413
  isRoot: boolean;
3371
3414
  sharedByPubKey: string;
3372
3415
  };
3416
+ } & {
3417
+ sizes: {
3418
+ size: bigint;
3419
+ sizeBefore: bigint;
3420
+ };
3373
3421
  })[];
3374
3422
  breadcrumb: {
3375
3423
  id: string;
@@ -3731,6 +3779,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3731
3779
  type: "FILE" | "FOLDER";
3732
3780
  parentId: string | null;
3733
3781
  isFavorite: boolean;
3782
+ currentFileId: string | null;
3734
3783
  } & {
3735
3784
  users: [{
3736
3785
  id: string;
@@ -3767,6 +3816,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3767
3816
  type: "FILE" | "FOLDER";
3768
3817
  parentId: string | null;
3769
3818
  isFavorite: boolean;
3819
+ currentFileId: string | null;
3770
3820
  } & {
3771
3821
  users: [{
3772
3822
  id: string;
@@ -3835,6 +3885,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3835
3885
  type: "FILE" | "FOLDER";
3836
3886
  parentId: string | null;
3837
3887
  isFavorite: boolean;
3888
+ currentFileId: string | null;
3838
3889
  } & {
3839
3890
  users: [{
3840
3891
  id: string;
@@ -3899,6 +3950,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3899
3950
  type: "FILE" | "FOLDER";
3900
3951
  parentId: string | null;
3901
3952
  isFavorite: boolean;
3953
+ currentFileId: string | null;
3902
3954
  } & {
3903
3955
  users: [{
3904
3956
  id: string;
@@ -3930,6 +3982,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3930
3982
  type: "FILE" | "FOLDER";
3931
3983
  parentId: string | null;
3932
3984
  isFavorite: boolean;
3985
+ currentFileId: string | null;
3933
3986
  } & {
3934
3987
  users: [{
3935
3988
  id: string;
@@ -3951,6 +4004,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3951
4004
  isRoot: boolean;
3952
4005
  sharedByPubKey: string;
3953
4006
  };
4007
+ } & {
4008
+ sizes: {
4009
+ size: bigint;
4010
+ sizeBefore: bigint;
4011
+ };
3954
4012
  })[];
3955
4013
  breadcrumb: {
3956
4014
  id: string;
@@ -3968,6 +4026,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3968
4026
  type: "FILE" | "FOLDER";
3969
4027
  parentId: string | null;
3970
4028
  isFavorite: boolean;
4029
+ currentFileId: string | null;
3971
4030
  } & {
3972
4031
  users: [{
3973
4032
  id: string;
@@ -4032,6 +4091,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4032
4091
  type: "FILE" | "FOLDER";
4033
4092
  parentId: string | null;
4034
4093
  isFavorite: boolean;
4094
+ currentFileId: string | null;
4035
4095
  } & {
4036
4096
  users: [{
4037
4097
  id: string;
@@ -4063,6 +4123,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4063
4123
  type: "FILE" | "FOLDER";
4064
4124
  parentId: string | null;
4065
4125
  isFavorite: boolean;
4126
+ currentFileId: string | null;
4066
4127
  } & {
4067
4128
  users: [{
4068
4129
  id: string;
@@ -4084,6 +4145,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4084
4145
  isRoot: boolean;
4085
4146
  sharedByPubKey: string;
4086
4147
  };
4148
+ } & {
4149
+ sizes: {
4150
+ size: bigint;
4151
+ sizeBefore: bigint;
4152
+ };
4087
4153
  })[];
4088
4154
  breadcrumb: {
4089
4155
  id: string;
@@ -4165,6 +4231,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4165
4231
  type: "FILE" | "FOLDER";
4166
4232
  parentId: string | null;
4167
4233
  isFavorite: boolean;
4234
+ currentFileId: string | null;
4168
4235
  } & {
4169
4236
  users: [{
4170
4237
  id: string;
@@ -4196,6 +4263,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4196
4263
  type: "FILE" | "FOLDER";
4197
4264
  parentId: string | null;
4198
4265
  isFavorite: boolean;
4266
+ currentFileId: string | null;
4199
4267
  } & {
4200
4268
  users: [{
4201
4269
  id: string;
@@ -4257,6 +4325,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4257
4325
  type: "FILE" | "FOLDER";
4258
4326
  parentId: string | null;
4259
4327
  isFavorite: boolean;
4328
+ currentFileId: string | null;
4260
4329
  } & {
4261
4330
  users: [{
4262
4331
  id: string;
@@ -4288,6 +4357,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4288
4357
  type: "FILE" | "FOLDER";
4289
4358
  parentId: string | null;
4290
4359
  isFavorite: boolean;
4360
+ currentFileId: string | null;
4291
4361
  } & {
4292
4362
  users: [{
4293
4363
  id: string;
@@ -4345,6 +4415,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4345
4415
  type: "FILE" | "FOLDER";
4346
4416
  parentId: string | null;
4347
4417
  isFavorite: boolean;
4418
+ currentFileId: string | null;
4348
4419
  } & {
4349
4420
  users: [{
4350
4421
  id: string;
@@ -4376,6 +4447,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4376
4447
  type: "FILE" | "FOLDER";
4377
4448
  parentId: string | null;
4378
4449
  isFavorite: boolean;
4450
+ currentFileId: string | null;
4379
4451
  } & {
4380
4452
  users: [{
4381
4453
  id: string;
@@ -4571,6 +4643,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4571
4643
  type: "FILE" | "FOLDER";
4572
4644
  parentId: string | null;
4573
4645
  isFavorite: boolean;
4646
+ currentFileId: string | null;
4574
4647
  } & {
4575
4648
  users: [{
4576
4649
  id: string;
@@ -4635,6 +4708,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4635
4708
  type: "FILE" | "FOLDER";
4636
4709
  parentId: string | null;
4637
4710
  isFavorite: boolean;
4711
+ currentFileId: string | null;
4638
4712
  } & {
4639
4713
  users: [{
4640
4714
  id: string;
@@ -4666,6 +4740,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4666
4740
  type: "FILE" | "FOLDER";
4667
4741
  parentId: string | null;
4668
4742
  isFavorite: boolean;
4743
+ currentFileId: string | null;
4669
4744
  } & {
4670
4745
  users: [{
4671
4746
  id: string;
@@ -4687,6 +4762,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4687
4762
  isRoot: boolean;
4688
4763
  sharedByPubKey: string;
4689
4764
  };
4765
+ } & {
4766
+ sizes: {
4767
+ size: bigint;
4768
+ sizeBefore: bigint;
4769
+ };
4690
4770
  })[];
4691
4771
  breadcrumb: {
4692
4772
  id: string;
@@ -4704,6 +4784,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4704
4784
  type: "FILE" | "FOLDER";
4705
4785
  parentId: string | null;
4706
4786
  isFavorite: boolean;
4787
+ currentFileId: string | null;
4707
4788
  } & {
4708
4789
  users: [{
4709
4790
  id: string;
@@ -4768,6 +4849,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4768
4849
  type: "FILE" | "FOLDER";
4769
4850
  parentId: string | null;
4770
4851
  isFavorite: boolean;
4852
+ currentFileId: string | null;
4771
4853
  } & {
4772
4854
  users: [{
4773
4855
  id: string;
@@ -4799,6 +4881,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4799
4881
  type: "FILE" | "FOLDER";
4800
4882
  parentId: string | null;
4801
4883
  isFavorite: boolean;
4884
+ currentFileId: string | null;
4802
4885
  } & {
4803
4886
  users: [{
4804
4887
  id: string;
@@ -4820,6 +4903,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4820
4903
  isRoot: boolean;
4821
4904
  sharedByPubKey: string;
4822
4905
  };
4906
+ } & {
4907
+ sizes: {
4908
+ size: bigint;
4909
+ sizeBefore: bigint;
4910
+ };
4823
4911
  })[];
4824
4912
  breadcrumb: {
4825
4913
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.18.0-dev.7",
3
+ "version": "1.18.0-dev.8",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"