@secrecy/trpc-api-types 1.18.0-dev.6 → 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 +288 -76
  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;
@@ -1914,8 +1915,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1914
1915
  isSearchable: boolean;
1915
1916
  }, "admin" | "write" | "read"][];
1916
1917
  createdBy: {
1917
- appId: string;
1918
- userId: string;
1918
+ id: string;
1919
+ lastname: string;
1920
+ firstname: string;
1921
+ avatar: string | null;
1922
+ isSearchable: boolean;
1919
1923
  };
1920
1924
  access: {
1921
1925
  rights: "admin" | "write" | "read";
@@ -1966,6 +1970,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1966
1970
  type: "FILE" | "FOLDER";
1967
1971
  parentId: string | null;
1968
1972
  isFavorite: boolean;
1973
+ currentFileId: string | null;
1969
1974
  } & {
1970
1975
  users: [{
1971
1976
  id: string;
@@ -1975,8 +1980,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1975
1980
  isSearchable: boolean;
1976
1981
  }, "admin" | "write" | "read"][];
1977
1982
  createdBy: {
1978
- appId: string;
1979
- userId: string;
1983
+ id: string;
1984
+ lastname: string;
1985
+ firstname: string;
1986
+ avatar: string | null;
1987
+ isSearchable: boolean;
1980
1988
  };
1981
1989
  access: {
1982
1990
  rights: "admin" | "write" | "read";
@@ -1994,6 +2002,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1994
2002
  type: "FILE" | "FOLDER";
1995
2003
  parentId: string | null;
1996
2004
  isFavorite: boolean;
2005
+ currentFileId: string | null;
1997
2006
  } & {
1998
2007
  users: [{
1999
2008
  id: string;
@@ -2003,8 +2012,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2003
2012
  isSearchable: boolean;
2004
2013
  }, "admin" | "write" | "read"][];
2005
2014
  createdBy: {
2006
- appId: string;
2007
- userId: string;
2015
+ id: string;
2016
+ lastname: string;
2017
+ firstname: string;
2018
+ avatar: string | null;
2019
+ isSearchable: boolean;
2008
2020
  };
2009
2021
  access: {
2010
2022
  rights: "admin" | "write" | "read";
@@ -2012,6 +2024,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2012
2024
  isRoot: boolean;
2013
2025
  sharedByPubKey: string;
2014
2026
  };
2027
+ } & {
2028
+ sizes: {
2029
+ size: bigint;
2030
+ sizeBefore: bigint;
2031
+ };
2015
2032
  })[];
2016
2033
  breadcrumb: {
2017
2034
  id: string;
@@ -2029,6 +2046,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2029
2046
  type: "FILE" | "FOLDER";
2030
2047
  parentId: string | null;
2031
2048
  isFavorite: boolean;
2049
+ currentFileId: string | null;
2032
2050
  } & {
2033
2051
  users: [{
2034
2052
  id: string;
@@ -2038,8 +2056,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2038
2056
  isSearchable: boolean;
2039
2057
  }, "admin" | "write" | "read"][];
2040
2058
  createdBy: {
2041
- appId: string;
2042
- userId: string;
2059
+ id: string;
2060
+ lastname: string;
2061
+ firstname: string;
2062
+ avatar: string | null;
2063
+ isSearchable: boolean;
2043
2064
  };
2044
2065
  access: {
2045
2066
  rights: "admin" | "write" | "read";
@@ -2090,6 +2111,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2090
2111
  type: "FILE" | "FOLDER";
2091
2112
  parentId: string | null;
2092
2113
  isFavorite: boolean;
2114
+ currentFileId: string | null;
2093
2115
  } & {
2094
2116
  users: [{
2095
2117
  id: string;
@@ -2099,8 +2121,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2099
2121
  isSearchable: boolean;
2100
2122
  }, "admin" | "write" | "read"][];
2101
2123
  createdBy: {
2102
- appId: string;
2103
- userId: string;
2124
+ id: string;
2125
+ lastname: string;
2126
+ firstname: string;
2127
+ avatar: string | null;
2128
+ isSearchable: boolean;
2104
2129
  };
2105
2130
  access: {
2106
2131
  rights: "admin" | "write" | "read";
@@ -2118,6 +2143,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2118
2143
  type: "FILE" | "FOLDER";
2119
2144
  parentId: string | null;
2120
2145
  isFavorite: boolean;
2146
+ currentFileId: string | null;
2121
2147
  } & {
2122
2148
  users: [{
2123
2149
  id: string;
@@ -2127,8 +2153,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2127
2153
  isSearchable: boolean;
2128
2154
  }, "admin" | "write" | "read"][];
2129
2155
  createdBy: {
2130
- appId: string;
2131
- userId: string;
2156
+ id: string;
2157
+ lastname: string;
2158
+ firstname: string;
2159
+ avatar: string | null;
2160
+ isSearchable: boolean;
2132
2161
  };
2133
2162
  access: {
2134
2163
  rights: "admin" | "write" | "read";
@@ -2136,6 +2165,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2136
2165
  isRoot: boolean;
2137
2166
  sharedByPubKey: string;
2138
2167
  };
2168
+ } & {
2169
+ sizes: {
2170
+ size: bigint;
2171
+ sizeBefore: bigint;
2172
+ };
2139
2173
  })[];
2140
2174
  breadcrumb: {
2141
2175
  id: string;
@@ -2579,6 +2613,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2579
2613
  type: "FILE" | "FOLDER";
2580
2614
  parentId: string | null;
2581
2615
  isFavorite: boolean;
2616
+ currentFileId: string | null;
2582
2617
  } & {
2583
2618
  users: [{
2584
2619
  id: string;
@@ -2588,8 +2623,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2588
2623
  isSearchable: boolean;
2589
2624
  }, "admin" | "write" | "read"][];
2590
2625
  createdBy: {
2591
- appId: string;
2592
- userId: string;
2626
+ id: string;
2627
+ lastname: string;
2628
+ firstname: string;
2629
+ avatar: string | null;
2630
+ isSearchable: boolean;
2593
2631
  };
2594
2632
  access: {
2595
2633
  rights: "admin" | "write" | "read";
@@ -2640,6 +2678,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2640
2678
  type: "FILE" | "FOLDER";
2641
2679
  parentId: string | null;
2642
2680
  isFavorite: boolean;
2681
+ currentFileId: string | null;
2643
2682
  } & {
2644
2683
  users: [{
2645
2684
  id: string;
@@ -2649,8 +2688,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2649
2688
  isSearchable: boolean;
2650
2689
  }, "admin" | "write" | "read"][];
2651
2690
  createdBy: {
2652
- appId: string;
2653
- userId: string;
2691
+ id: string;
2692
+ lastname: string;
2693
+ firstname: string;
2694
+ avatar: string | null;
2695
+ isSearchable: boolean;
2654
2696
  };
2655
2697
  access: {
2656
2698
  rights: "admin" | "write" | "read";
@@ -2668,6 +2710,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2668
2710
  type: "FILE" | "FOLDER";
2669
2711
  parentId: string | null;
2670
2712
  isFavorite: boolean;
2713
+ currentFileId: string | null;
2671
2714
  } & {
2672
2715
  users: [{
2673
2716
  id: string;
@@ -2677,8 +2720,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2677
2720
  isSearchable: boolean;
2678
2721
  }, "admin" | "write" | "read"][];
2679
2722
  createdBy: {
2680
- appId: string;
2681
- userId: string;
2723
+ id: string;
2724
+ lastname: string;
2725
+ firstname: string;
2726
+ avatar: string | null;
2727
+ isSearchable: boolean;
2682
2728
  };
2683
2729
  access: {
2684
2730
  rights: "admin" | "write" | "read";
@@ -2686,6 +2732,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2686
2732
  isRoot: boolean;
2687
2733
  sharedByPubKey: string;
2688
2734
  };
2735
+ } & {
2736
+ sizes: {
2737
+ size: bigint;
2738
+ sizeBefore: bigint;
2739
+ };
2689
2740
  })[];
2690
2741
  breadcrumb: {
2691
2742
  id: string;
@@ -2703,6 +2754,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2703
2754
  type: "FILE" | "FOLDER";
2704
2755
  parentId: string | null;
2705
2756
  isFavorite: boolean;
2757
+ currentFileId: string | null;
2706
2758
  } & {
2707
2759
  users: [{
2708
2760
  id: string;
@@ -2712,8 +2764,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2712
2764
  isSearchable: boolean;
2713
2765
  }, "admin" | "write" | "read"][];
2714
2766
  createdBy: {
2715
- appId: string;
2716
- userId: string;
2767
+ id: string;
2768
+ lastname: string;
2769
+ firstname: string;
2770
+ avatar: string | null;
2771
+ isSearchable: boolean;
2717
2772
  };
2718
2773
  access: {
2719
2774
  rights: "admin" | "write" | "read";
@@ -2764,6 +2819,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2764
2819
  type: "FILE" | "FOLDER";
2765
2820
  parentId: string | null;
2766
2821
  isFavorite: boolean;
2822
+ currentFileId: string | null;
2767
2823
  } & {
2768
2824
  users: [{
2769
2825
  id: string;
@@ -2773,8 +2829,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2773
2829
  isSearchable: boolean;
2774
2830
  }, "admin" | "write" | "read"][];
2775
2831
  createdBy: {
2776
- appId: string;
2777
- userId: string;
2832
+ id: string;
2833
+ lastname: string;
2834
+ firstname: string;
2835
+ avatar: string | null;
2836
+ isSearchable: boolean;
2778
2837
  };
2779
2838
  access: {
2780
2839
  rights: "admin" | "write" | "read";
@@ -2792,6 +2851,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2792
2851
  type: "FILE" | "FOLDER";
2793
2852
  parentId: string | null;
2794
2853
  isFavorite: boolean;
2854
+ currentFileId: string | null;
2795
2855
  } & {
2796
2856
  users: [{
2797
2857
  id: string;
@@ -2801,8 +2861,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2801
2861
  isSearchable: boolean;
2802
2862
  }, "admin" | "write" | "read"][];
2803
2863
  createdBy: {
2804
- appId: string;
2805
- userId: string;
2864
+ id: string;
2865
+ lastname: string;
2866
+ firstname: string;
2867
+ avatar: string | null;
2868
+ isSearchable: boolean;
2806
2869
  };
2807
2870
  access: {
2808
2871
  rights: "admin" | "write" | "read";
@@ -2810,6 +2873,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2810
2873
  isRoot: boolean;
2811
2874
  sharedByPubKey: string;
2812
2875
  };
2876
+ } & {
2877
+ sizes: {
2878
+ size: bigint;
2879
+ sizeBefore: bigint;
2880
+ };
2813
2881
  })[];
2814
2882
  breadcrumb: {
2815
2883
  id: string;
@@ -3085,6 +3153,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3085
3153
  type: "FILE" | "FOLDER";
3086
3154
  parentId: string | null;
3087
3155
  isFavorite: boolean;
3156
+ currentFileId: string | null;
3088
3157
  } & {
3089
3158
  users: [{
3090
3159
  id: string;
@@ -3094,8 +3163,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3094
3163
  isSearchable: boolean;
3095
3164
  }, "admin" | "write" | "read"][];
3096
3165
  createdBy: {
3097
- appId: string;
3098
- userId: string;
3166
+ id: string;
3167
+ lastname: string;
3168
+ firstname: string;
3169
+ avatar: string | null;
3170
+ isSearchable: boolean;
3099
3171
  };
3100
3172
  access: {
3101
3173
  rights: "admin" | "write" | "read";
@@ -3146,6 +3218,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3146
3218
  type: "FILE" | "FOLDER";
3147
3219
  parentId: string | null;
3148
3220
  isFavorite: boolean;
3221
+ currentFileId: string | null;
3149
3222
  } & {
3150
3223
  users: [{
3151
3224
  id: string;
@@ -3155,8 +3228,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3155
3228
  isSearchable: boolean;
3156
3229
  }, "admin" | "write" | "read"][];
3157
3230
  createdBy: {
3158
- appId: string;
3159
- userId: string;
3231
+ id: string;
3232
+ lastname: string;
3233
+ firstname: string;
3234
+ avatar: string | null;
3235
+ isSearchable: boolean;
3160
3236
  };
3161
3237
  access: {
3162
3238
  rights: "admin" | "write" | "read";
@@ -3174,6 +3250,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3174
3250
  type: "FILE" | "FOLDER";
3175
3251
  parentId: string | null;
3176
3252
  isFavorite: boolean;
3253
+ currentFileId: string | null;
3177
3254
  } & {
3178
3255
  users: [{
3179
3256
  id: string;
@@ -3183,8 +3260,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3183
3260
  isSearchable: boolean;
3184
3261
  }, "admin" | "write" | "read"][];
3185
3262
  createdBy: {
3186
- appId: string;
3187
- userId: string;
3263
+ id: string;
3264
+ lastname: string;
3265
+ firstname: string;
3266
+ avatar: string | null;
3267
+ isSearchable: boolean;
3188
3268
  };
3189
3269
  access: {
3190
3270
  rights: "admin" | "write" | "read";
@@ -3192,6 +3272,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3192
3272
  isRoot: boolean;
3193
3273
  sharedByPubKey: string;
3194
3274
  };
3275
+ } & {
3276
+ sizes: {
3277
+ size: bigint;
3278
+ sizeBefore: bigint;
3279
+ };
3195
3280
  })[];
3196
3281
  breadcrumb: {
3197
3282
  id: string;
@@ -3209,6 +3294,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3209
3294
  type: "FILE" | "FOLDER";
3210
3295
  parentId: string | null;
3211
3296
  isFavorite: boolean;
3297
+ currentFileId: string | null;
3212
3298
  } & {
3213
3299
  users: [{
3214
3300
  id: string;
@@ -3218,8 +3304,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3218
3304
  isSearchable: boolean;
3219
3305
  }, "admin" | "write" | "read"][];
3220
3306
  createdBy: {
3221
- appId: string;
3222
- userId: string;
3307
+ id: string;
3308
+ lastname: string;
3309
+ firstname: string;
3310
+ avatar: string | null;
3311
+ isSearchable: boolean;
3223
3312
  };
3224
3313
  access: {
3225
3314
  rights: "admin" | "write" | "read";
@@ -3270,6 +3359,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3270
3359
  type: "FILE" | "FOLDER";
3271
3360
  parentId: string | null;
3272
3361
  isFavorite: boolean;
3362
+ currentFileId: string | null;
3273
3363
  } & {
3274
3364
  users: [{
3275
3365
  id: string;
@@ -3279,8 +3369,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3279
3369
  isSearchable: boolean;
3280
3370
  }, "admin" | "write" | "read"][];
3281
3371
  createdBy: {
3282
- appId: string;
3283
- userId: string;
3372
+ id: string;
3373
+ lastname: string;
3374
+ firstname: string;
3375
+ avatar: string | null;
3376
+ isSearchable: boolean;
3284
3377
  };
3285
3378
  access: {
3286
3379
  rights: "admin" | "write" | "read";
@@ -3298,6 +3391,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3298
3391
  type: "FILE" | "FOLDER";
3299
3392
  parentId: string | null;
3300
3393
  isFavorite: boolean;
3394
+ currentFileId: string | null;
3301
3395
  } & {
3302
3396
  users: [{
3303
3397
  id: string;
@@ -3307,8 +3401,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3307
3401
  isSearchable: boolean;
3308
3402
  }, "admin" | "write" | "read"][];
3309
3403
  createdBy: {
3310
- appId: string;
3311
- userId: string;
3404
+ id: string;
3405
+ lastname: string;
3406
+ firstname: string;
3407
+ avatar: string | null;
3408
+ isSearchable: boolean;
3312
3409
  };
3313
3410
  access: {
3314
3411
  rights: "admin" | "write" | "read";
@@ -3316,6 +3413,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3316
3413
  isRoot: boolean;
3317
3414
  sharedByPubKey: string;
3318
3415
  };
3416
+ } & {
3417
+ sizes: {
3418
+ size: bigint;
3419
+ sizeBefore: bigint;
3420
+ };
3319
3421
  })[];
3320
3422
  breadcrumb: {
3321
3423
  id: string;
@@ -3677,6 +3779,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3677
3779
  type: "FILE" | "FOLDER";
3678
3780
  parentId: string | null;
3679
3781
  isFavorite: boolean;
3782
+ currentFileId: string | null;
3680
3783
  } & {
3681
3784
  users: [{
3682
3785
  id: string;
@@ -3686,8 +3789,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3686
3789
  isSearchable: boolean;
3687
3790
  }, "admin" | "write" | "read"][];
3688
3791
  createdBy: {
3689
- appId: string;
3690
- userId: string;
3792
+ id: string;
3793
+ lastname: string;
3794
+ firstname: string;
3795
+ avatar: string | null;
3796
+ isSearchable: boolean;
3691
3797
  };
3692
3798
  access: {
3693
3799
  rights: "admin" | "write" | "read";
@@ -3695,6 +3801,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3695
3801
  isRoot: boolean;
3696
3802
  sharedByPubKey: string;
3697
3803
  };
3804
+ } & {
3805
+ sizes: {
3806
+ size: bigint;
3807
+ sizeBefore: bigint;
3808
+ };
3698
3809
  };
3699
3810
  _output_out: {
3700
3811
  id: string;
@@ -3705,6 +3816,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3705
3816
  type: "FILE" | "FOLDER";
3706
3817
  parentId: string | null;
3707
3818
  isFavorite: boolean;
3819
+ currentFileId: string | null;
3708
3820
  } & {
3709
3821
  users: [{
3710
3822
  id: string;
@@ -3714,8 +3826,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3714
3826
  isSearchable: boolean;
3715
3827
  }, "admin" | "write" | "read"][];
3716
3828
  createdBy: {
3717
- appId: string;
3718
- userId: string;
3829
+ id: string;
3830
+ lastname: string;
3831
+ firstname: string;
3832
+ avatar: string | null;
3833
+ isSearchable: boolean;
3719
3834
  };
3720
3835
  access: {
3721
3836
  rights: "admin" | "write" | "read";
@@ -3723,6 +3838,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3723
3838
  isRoot: boolean;
3724
3839
  sharedByPubKey: string;
3725
3840
  };
3841
+ } & {
3842
+ sizes: {
3843
+ size: bigint;
3844
+ sizeBefore: bigint;
3845
+ };
3726
3846
  };
3727
3847
  }, unknown>;
3728
3848
  nodeFullById: _trpc_server.BuildProcedure<"query", {
@@ -3765,6 +3885,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3765
3885
  type: "FILE" | "FOLDER";
3766
3886
  parentId: string | null;
3767
3887
  isFavorite: boolean;
3888
+ currentFileId: string | null;
3768
3889
  } & {
3769
3890
  users: [{
3770
3891
  id: string;
@@ -3774,8 +3895,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3774
3895
  isSearchable: boolean;
3775
3896
  }, "admin" | "write" | "read"][];
3776
3897
  createdBy: {
3777
- appId: string;
3778
- userId: string;
3898
+ id: string;
3899
+ lastname: string;
3900
+ firstname: string;
3901
+ avatar: string | null;
3902
+ isSearchable: boolean;
3779
3903
  };
3780
3904
  access: {
3781
3905
  rights: "admin" | "write" | "read";
@@ -3826,6 +3950,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3826
3950
  type: "FILE" | "FOLDER";
3827
3951
  parentId: string | null;
3828
3952
  isFavorite: boolean;
3953
+ currentFileId: string | null;
3829
3954
  } & {
3830
3955
  users: [{
3831
3956
  id: string;
@@ -3835,8 +3960,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3835
3960
  isSearchable: boolean;
3836
3961
  }, "admin" | "write" | "read"][];
3837
3962
  createdBy: {
3838
- appId: string;
3839
- userId: string;
3963
+ id: string;
3964
+ lastname: string;
3965
+ firstname: string;
3966
+ avatar: string | null;
3967
+ isSearchable: boolean;
3840
3968
  };
3841
3969
  access: {
3842
3970
  rights: "admin" | "write" | "read";
@@ -3854,6 +3982,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3854
3982
  type: "FILE" | "FOLDER";
3855
3983
  parentId: string | null;
3856
3984
  isFavorite: boolean;
3985
+ currentFileId: string | null;
3857
3986
  } & {
3858
3987
  users: [{
3859
3988
  id: string;
@@ -3863,8 +3992,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3863
3992
  isSearchable: boolean;
3864
3993
  }, "admin" | "write" | "read"][];
3865
3994
  createdBy: {
3866
- appId: string;
3867
- userId: string;
3995
+ id: string;
3996
+ lastname: string;
3997
+ firstname: string;
3998
+ avatar: string | null;
3999
+ isSearchable: boolean;
3868
4000
  };
3869
4001
  access: {
3870
4002
  rights: "admin" | "write" | "read";
@@ -3872,6 +4004,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3872
4004
  isRoot: boolean;
3873
4005
  sharedByPubKey: string;
3874
4006
  };
4007
+ } & {
4008
+ sizes: {
4009
+ size: bigint;
4010
+ sizeBefore: bigint;
4011
+ };
3875
4012
  })[];
3876
4013
  breadcrumb: {
3877
4014
  id: string;
@@ -3889,6 +4026,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3889
4026
  type: "FILE" | "FOLDER";
3890
4027
  parentId: string | null;
3891
4028
  isFavorite: boolean;
4029
+ currentFileId: string | null;
3892
4030
  } & {
3893
4031
  users: [{
3894
4032
  id: string;
@@ -3898,8 +4036,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3898
4036
  isSearchable: boolean;
3899
4037
  }, "admin" | "write" | "read"][];
3900
4038
  createdBy: {
3901
- appId: string;
3902
- userId: string;
4039
+ id: string;
4040
+ lastname: string;
4041
+ firstname: string;
4042
+ avatar: string | null;
4043
+ isSearchable: boolean;
3903
4044
  };
3904
4045
  access: {
3905
4046
  rights: "admin" | "write" | "read";
@@ -3950,6 +4091,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3950
4091
  type: "FILE" | "FOLDER";
3951
4092
  parentId: string | null;
3952
4093
  isFavorite: boolean;
4094
+ currentFileId: string | null;
3953
4095
  } & {
3954
4096
  users: [{
3955
4097
  id: string;
@@ -3959,8 +4101,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3959
4101
  isSearchable: boolean;
3960
4102
  }, "admin" | "write" | "read"][];
3961
4103
  createdBy: {
3962
- appId: string;
3963
- userId: string;
4104
+ id: string;
4105
+ lastname: string;
4106
+ firstname: string;
4107
+ avatar: string | null;
4108
+ isSearchable: boolean;
3964
4109
  };
3965
4110
  access: {
3966
4111
  rights: "admin" | "write" | "read";
@@ -3978,6 +4123,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3978
4123
  type: "FILE" | "FOLDER";
3979
4124
  parentId: string | null;
3980
4125
  isFavorite: boolean;
4126
+ currentFileId: string | null;
3981
4127
  } & {
3982
4128
  users: [{
3983
4129
  id: string;
@@ -3987,8 +4133,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3987
4133
  isSearchable: boolean;
3988
4134
  }, "admin" | "write" | "read"][];
3989
4135
  createdBy: {
3990
- appId: string;
3991
- userId: string;
4136
+ id: string;
4137
+ lastname: string;
4138
+ firstname: string;
4139
+ avatar: string | null;
4140
+ isSearchable: boolean;
3992
4141
  };
3993
4142
  access: {
3994
4143
  rights: "admin" | "write" | "read";
@@ -3996,6 +4145,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3996
4145
  isRoot: boolean;
3997
4146
  sharedByPubKey: string;
3998
4147
  };
4148
+ } & {
4149
+ sizes: {
4150
+ size: bigint;
4151
+ sizeBefore: bigint;
4152
+ };
3999
4153
  })[];
4000
4154
  breadcrumb: {
4001
4155
  id: string;
@@ -4077,6 +4231,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4077
4231
  type: "FILE" | "FOLDER";
4078
4232
  parentId: string | null;
4079
4233
  isFavorite: boolean;
4234
+ currentFileId: string | null;
4080
4235
  } & {
4081
4236
  users: [{
4082
4237
  id: string;
@@ -4086,8 +4241,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4086
4241
  isSearchable: boolean;
4087
4242
  }, "admin" | "write" | "read"][];
4088
4243
  createdBy: {
4089
- appId: string;
4090
- userId: string;
4244
+ id: string;
4245
+ lastname: string;
4246
+ firstname: string;
4247
+ avatar: string | null;
4248
+ isSearchable: boolean;
4091
4249
  };
4092
4250
  access: {
4093
4251
  rights: "admin" | "write" | "read";
@@ -4105,6 +4263,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4105
4263
  type: "FILE" | "FOLDER";
4106
4264
  parentId: string | null;
4107
4265
  isFavorite: boolean;
4266
+ currentFileId: string | null;
4108
4267
  } & {
4109
4268
  users: [{
4110
4269
  id: string;
@@ -4114,8 +4273,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4114
4273
  isSearchable: boolean;
4115
4274
  }, "admin" | "write" | "read"][];
4116
4275
  createdBy: {
4117
- appId: string;
4118
- userId: string;
4276
+ id: string;
4277
+ lastname: string;
4278
+ firstname: string;
4279
+ avatar: string | null;
4280
+ isSearchable: boolean;
4119
4281
  };
4120
4282
  access: {
4121
4283
  rights: "admin" | "write" | "read";
@@ -4163,6 +4325,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4163
4325
  type: "FILE" | "FOLDER";
4164
4326
  parentId: string | null;
4165
4327
  isFavorite: boolean;
4328
+ currentFileId: string | null;
4166
4329
  } & {
4167
4330
  users: [{
4168
4331
  id: string;
@@ -4172,8 +4335,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4172
4335
  isSearchable: boolean;
4173
4336
  }, "admin" | "write" | "read"][];
4174
4337
  createdBy: {
4175
- appId: string;
4176
- userId: string;
4338
+ id: string;
4339
+ lastname: string;
4340
+ firstname: string;
4341
+ avatar: string | null;
4342
+ isSearchable: boolean;
4177
4343
  };
4178
4344
  access: {
4179
4345
  rights: "admin" | "write" | "read";
@@ -4191,6 +4357,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4191
4357
  type: "FILE" | "FOLDER";
4192
4358
  parentId: string | null;
4193
4359
  isFavorite: boolean;
4360
+ currentFileId: string | null;
4194
4361
  } & {
4195
4362
  users: [{
4196
4363
  id: string;
@@ -4200,8 +4367,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4200
4367
  isSearchable: boolean;
4201
4368
  }, "admin" | "write" | "read"][];
4202
4369
  createdBy: {
4203
- appId: string;
4204
- userId: string;
4370
+ id: string;
4371
+ lastname: string;
4372
+ firstname: string;
4373
+ avatar: string | null;
4374
+ isSearchable: boolean;
4205
4375
  };
4206
4376
  access: {
4207
4377
  rights: "admin" | "write" | "read";
@@ -4245,6 +4415,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4245
4415
  type: "FILE" | "FOLDER";
4246
4416
  parentId: string | null;
4247
4417
  isFavorite: boolean;
4418
+ currentFileId: string | null;
4248
4419
  } & {
4249
4420
  users: [{
4250
4421
  id: string;
@@ -4254,8 +4425,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4254
4425
  isSearchable: boolean;
4255
4426
  }, "admin" | "write" | "read"][];
4256
4427
  createdBy: {
4257
- appId: string;
4258
- userId: string;
4428
+ id: string;
4429
+ lastname: string;
4430
+ firstname: string;
4431
+ avatar: string | null;
4432
+ isSearchable: boolean;
4259
4433
  };
4260
4434
  access: {
4261
4435
  rights: "admin" | "write" | "read";
@@ -4273,6 +4447,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4273
4447
  type: "FILE" | "FOLDER";
4274
4448
  parentId: string | null;
4275
4449
  isFavorite: boolean;
4450
+ currentFileId: string | null;
4276
4451
  } & {
4277
4452
  users: [{
4278
4453
  id: string;
@@ -4282,8 +4457,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4282
4457
  isSearchable: boolean;
4283
4458
  }, "admin" | "write" | "read"][];
4284
4459
  createdBy: {
4285
- appId: string;
4286
- userId: string;
4460
+ id: string;
4461
+ lastname: string;
4462
+ firstname: string;
4463
+ avatar: string | null;
4464
+ isSearchable: boolean;
4287
4465
  };
4288
4466
  access: {
4289
4467
  rights: "admin" | "write" | "read";
@@ -4465,6 +4643,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4465
4643
  type: "FILE" | "FOLDER";
4466
4644
  parentId: string | null;
4467
4645
  isFavorite: boolean;
4646
+ currentFileId: string | null;
4468
4647
  } & {
4469
4648
  users: [{
4470
4649
  id: string;
@@ -4474,8 +4653,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4474
4653
  isSearchable: boolean;
4475
4654
  }, "admin" | "write" | "read"][];
4476
4655
  createdBy: {
4477
- appId: string;
4478
- userId: string;
4656
+ id: string;
4657
+ lastname: string;
4658
+ firstname: string;
4659
+ avatar: string | null;
4660
+ isSearchable: boolean;
4479
4661
  };
4480
4662
  access: {
4481
4663
  rights: "admin" | "write" | "read";
@@ -4526,6 +4708,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4526
4708
  type: "FILE" | "FOLDER";
4527
4709
  parentId: string | null;
4528
4710
  isFavorite: boolean;
4711
+ currentFileId: string | null;
4529
4712
  } & {
4530
4713
  users: [{
4531
4714
  id: string;
@@ -4535,8 +4718,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4535
4718
  isSearchable: boolean;
4536
4719
  }, "admin" | "write" | "read"][];
4537
4720
  createdBy: {
4538
- appId: string;
4539
- userId: string;
4721
+ id: string;
4722
+ lastname: string;
4723
+ firstname: string;
4724
+ avatar: string | null;
4725
+ isSearchable: boolean;
4540
4726
  };
4541
4727
  access: {
4542
4728
  rights: "admin" | "write" | "read";
@@ -4554,6 +4740,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4554
4740
  type: "FILE" | "FOLDER";
4555
4741
  parentId: string | null;
4556
4742
  isFavorite: boolean;
4743
+ currentFileId: string | null;
4557
4744
  } & {
4558
4745
  users: [{
4559
4746
  id: string;
@@ -4563,8 +4750,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4563
4750
  isSearchable: boolean;
4564
4751
  }, "admin" | "write" | "read"][];
4565
4752
  createdBy: {
4566
- appId: string;
4567
- userId: string;
4753
+ id: string;
4754
+ lastname: string;
4755
+ firstname: string;
4756
+ avatar: string | null;
4757
+ isSearchable: boolean;
4568
4758
  };
4569
4759
  access: {
4570
4760
  rights: "admin" | "write" | "read";
@@ -4572,6 +4762,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4572
4762
  isRoot: boolean;
4573
4763
  sharedByPubKey: string;
4574
4764
  };
4765
+ } & {
4766
+ sizes: {
4767
+ size: bigint;
4768
+ sizeBefore: bigint;
4769
+ };
4575
4770
  })[];
4576
4771
  breadcrumb: {
4577
4772
  id: string;
@@ -4589,6 +4784,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4589
4784
  type: "FILE" | "FOLDER";
4590
4785
  parentId: string | null;
4591
4786
  isFavorite: boolean;
4787
+ currentFileId: string | null;
4592
4788
  } & {
4593
4789
  users: [{
4594
4790
  id: string;
@@ -4598,8 +4794,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4598
4794
  isSearchable: boolean;
4599
4795
  }, "admin" | "write" | "read"][];
4600
4796
  createdBy: {
4601
- appId: string;
4602
- userId: string;
4797
+ id: string;
4798
+ lastname: string;
4799
+ firstname: string;
4800
+ avatar: string | null;
4801
+ isSearchable: boolean;
4603
4802
  };
4604
4803
  access: {
4605
4804
  rights: "admin" | "write" | "read";
@@ -4650,6 +4849,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4650
4849
  type: "FILE" | "FOLDER";
4651
4850
  parentId: string | null;
4652
4851
  isFavorite: boolean;
4852
+ currentFileId: string | null;
4653
4853
  } & {
4654
4854
  users: [{
4655
4855
  id: string;
@@ -4659,8 +4859,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4659
4859
  isSearchable: boolean;
4660
4860
  }, "admin" | "write" | "read"][];
4661
4861
  createdBy: {
4662
- appId: string;
4663
- userId: string;
4862
+ id: string;
4863
+ lastname: string;
4864
+ firstname: string;
4865
+ avatar: string | null;
4866
+ isSearchable: boolean;
4664
4867
  };
4665
4868
  access: {
4666
4869
  rights: "admin" | "write" | "read";
@@ -4678,6 +4881,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4678
4881
  type: "FILE" | "FOLDER";
4679
4882
  parentId: string | null;
4680
4883
  isFavorite: boolean;
4884
+ currentFileId: string | null;
4681
4885
  } & {
4682
4886
  users: [{
4683
4887
  id: string;
@@ -4687,8 +4891,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4687
4891
  isSearchable: boolean;
4688
4892
  }, "admin" | "write" | "read"][];
4689
4893
  createdBy: {
4690
- appId: string;
4691
- userId: string;
4894
+ id: string;
4895
+ lastname: string;
4896
+ firstname: string;
4897
+ avatar: string | null;
4898
+ isSearchable: boolean;
4692
4899
  };
4693
4900
  access: {
4694
4901
  rights: "admin" | "write" | "read";
@@ -4696,6 +4903,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4696
4903
  isRoot: boolean;
4697
4904
  sharedByPubKey: string;
4698
4905
  };
4906
+ } & {
4907
+ sizes: {
4908
+ size: bigint;
4909
+ sizeBefore: bigint;
4910
+ };
4699
4911
  })[];
4700
4912
  breadcrumb: {
4701
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.6",
3
+ "version": "1.18.0-dev.8",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"