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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.cts +397 -80
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -670,6 +670,65 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
670
670
  publicKey: string;
671
671
  };
672
672
  }, unknown>;
673
+ isApplicationUser: _trpc_server.BuildProcedure<"query", {
674
+ _config: _trpc_server.RootConfig<{
675
+ ctx: {};
676
+ meta: object;
677
+ errorShape: {
678
+ message: string;
679
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
680
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
681
+ } | {
682
+ data: {
683
+ zodError: zod.typeToFlattenedError<any, string> | null;
684
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
685
+ httpStatus: number;
686
+ path?: string | undefined;
687
+ stack?: string | undefined;
688
+ };
689
+ message: string;
690
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
691
+ };
692
+ transformer: typeof superjson.default;
693
+ }>;
694
+ _meta: object;
695
+ _ctx_out: {
696
+ session: {
697
+ appId: string;
698
+ appPlanId: string | null;
699
+ appFakeUserId: string | undefined;
700
+ sessionId: string;
701
+ accountId: string;
702
+ accountRole: _prisma_client.$Enums.AccountRole;
703
+ userId: string;
704
+ userRole: _prisma_client.$Enums.UserRole;
705
+ userPlan: _prisma_client.$Enums.PlanKind;
706
+ isCare?: boolean | undefined;
707
+ };
708
+ req: {
709
+ headers: Headers;
710
+ };
711
+ res: {
712
+ headers: Headers;
713
+ };
714
+ locale: Locales;
715
+ ls: TranslationFunctions;
716
+ };
717
+ _input_in: {
718
+ appId: string;
719
+ userId: string;
720
+ };
721
+ _input_out: {
722
+ appId: string;
723
+ userId: string;
724
+ };
725
+ _output_in: {
726
+ isApplicationUser: boolean;
727
+ };
728
+ _output_out: {
729
+ isApplicationUser: boolean;
730
+ };
731
+ }, unknown>;
673
732
  }>;
674
733
  admin: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
675
734
  ctx: {};
@@ -1115,6 +1174,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1115
1174
  _input_in: {};
1116
1175
  _input_out: {};
1117
1176
  _output_in: {
1177
+ cryptoWallets: {
1178
+ address: string;
1179
+ encryptedKeystore: string;
1180
+ }[];
1118
1181
  masterKeySalt: string;
1119
1182
  keyPairs: {
1120
1183
  pub: string;
@@ -1122,6 +1185,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1122
1185
  }[];
1123
1186
  };
1124
1187
  _output_out: {
1188
+ cryptoWallets: {
1189
+ address: string;
1190
+ encryptedKeystore: string;
1191
+ }[];
1125
1192
  masterKeySalt: string;
1126
1193
  keyPairs: {
1127
1194
  pub: string;
@@ -1846,6 +1913,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1846
1913
  type: "FILE" | "FOLDER";
1847
1914
  parentId: string | null;
1848
1915
  isFavorite: boolean;
1916
+ currentFileId: string | null;
1849
1917
  } & {
1850
1918
  users: [{
1851
1919
  id: string;
@@ -1855,8 +1923,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1855
1923
  isSearchable: boolean;
1856
1924
  }, "admin" | "write" | "read"][];
1857
1925
  createdBy: {
1858
- appId: string;
1859
- userId: string;
1926
+ id: string;
1927
+ lastname: string;
1928
+ firstname: string;
1929
+ avatar: string | null;
1930
+ isSearchable: boolean;
1860
1931
  };
1861
1932
  access: {
1862
1933
  rights: "admin" | "write" | "read";
@@ -1907,6 +1978,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1907
1978
  type: "FILE" | "FOLDER";
1908
1979
  parentId: string | null;
1909
1980
  isFavorite: boolean;
1981
+ currentFileId: string | null;
1910
1982
  } & {
1911
1983
  users: [{
1912
1984
  id: string;
@@ -1916,8 +1988,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1916
1988
  isSearchable: boolean;
1917
1989
  }, "admin" | "write" | "read"][];
1918
1990
  createdBy: {
1919
- appId: string;
1920
- userId: string;
1991
+ id: string;
1992
+ lastname: string;
1993
+ firstname: string;
1994
+ avatar: string | null;
1995
+ isSearchable: boolean;
1921
1996
  };
1922
1997
  access: {
1923
1998
  rights: "admin" | "write" | "read";
@@ -1935,6 +2010,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1935
2010
  type: "FILE" | "FOLDER";
1936
2011
  parentId: string | null;
1937
2012
  isFavorite: boolean;
2013
+ currentFileId: string | null;
1938
2014
  } & {
1939
2015
  users: [{
1940
2016
  id: string;
@@ -1944,8 +2020,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1944
2020
  isSearchable: boolean;
1945
2021
  }, "admin" | "write" | "read"][];
1946
2022
  createdBy: {
1947
- appId: string;
1948
- userId: string;
2023
+ id: string;
2024
+ lastname: string;
2025
+ firstname: string;
2026
+ avatar: string | null;
2027
+ isSearchable: boolean;
1949
2028
  };
1950
2029
  access: {
1951
2030
  rights: "admin" | "write" | "read";
@@ -1953,6 +2032,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1953
2032
  isRoot: boolean;
1954
2033
  sharedByPubKey: string;
1955
2034
  };
2035
+ } & {
2036
+ sizes: {
2037
+ size: bigint;
2038
+ sizeBefore: bigint;
2039
+ };
1956
2040
  })[];
1957
2041
  breadcrumb: {
1958
2042
  id: string;
@@ -1970,6 +2054,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1970
2054
  type: "FILE" | "FOLDER";
1971
2055
  parentId: string | null;
1972
2056
  isFavorite: boolean;
2057
+ currentFileId: string | null;
1973
2058
  } & {
1974
2059
  users: [{
1975
2060
  id: string;
@@ -1979,8 +2064,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1979
2064
  isSearchable: boolean;
1980
2065
  }, "admin" | "write" | "read"][];
1981
2066
  createdBy: {
1982
- appId: string;
1983
- userId: string;
2067
+ id: string;
2068
+ lastname: string;
2069
+ firstname: string;
2070
+ avatar: string | null;
2071
+ isSearchable: boolean;
1984
2072
  };
1985
2073
  access: {
1986
2074
  rights: "admin" | "write" | "read";
@@ -2031,6 +2119,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2031
2119
  type: "FILE" | "FOLDER";
2032
2120
  parentId: string | null;
2033
2121
  isFavorite: boolean;
2122
+ currentFileId: string | null;
2034
2123
  } & {
2035
2124
  users: [{
2036
2125
  id: string;
@@ -2040,8 +2129,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2040
2129
  isSearchable: boolean;
2041
2130
  }, "admin" | "write" | "read"][];
2042
2131
  createdBy: {
2043
- appId: string;
2044
- userId: string;
2132
+ id: string;
2133
+ lastname: string;
2134
+ firstname: string;
2135
+ avatar: string | null;
2136
+ isSearchable: boolean;
2045
2137
  };
2046
2138
  access: {
2047
2139
  rights: "admin" | "write" | "read";
@@ -2059,6 +2151,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2059
2151
  type: "FILE" | "FOLDER";
2060
2152
  parentId: string | null;
2061
2153
  isFavorite: boolean;
2154
+ currentFileId: string | null;
2062
2155
  } & {
2063
2156
  users: [{
2064
2157
  id: string;
@@ -2068,8 +2161,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2068
2161
  isSearchable: boolean;
2069
2162
  }, "admin" | "write" | "read"][];
2070
2163
  createdBy: {
2071
- appId: string;
2072
- userId: string;
2164
+ id: string;
2165
+ lastname: string;
2166
+ firstname: string;
2167
+ avatar: string | null;
2168
+ isSearchable: boolean;
2073
2169
  };
2074
2170
  access: {
2075
2171
  rights: "admin" | "write" | "read";
@@ -2077,6 +2173,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2077
2173
  isRoot: boolean;
2078
2174
  sharedByPubKey: string;
2079
2175
  };
2176
+ } & {
2177
+ sizes: {
2178
+ size: bigint;
2179
+ sizeBefore: bigint;
2180
+ };
2080
2181
  })[];
2081
2182
  breadcrumb: {
2082
2183
  id: string;
@@ -2520,6 +2621,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2520
2621
  type: "FILE" | "FOLDER";
2521
2622
  parentId: string | null;
2522
2623
  isFavorite: boolean;
2624
+ currentFileId: string | null;
2523
2625
  } & {
2524
2626
  users: [{
2525
2627
  id: string;
@@ -2529,8 +2631,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2529
2631
  isSearchable: boolean;
2530
2632
  }, "admin" | "write" | "read"][];
2531
2633
  createdBy: {
2532
- appId: string;
2533
- userId: string;
2634
+ id: string;
2635
+ lastname: string;
2636
+ firstname: string;
2637
+ avatar: string | null;
2638
+ isSearchable: boolean;
2534
2639
  };
2535
2640
  access: {
2536
2641
  rights: "admin" | "write" | "read";
@@ -2581,6 +2686,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2581
2686
  type: "FILE" | "FOLDER";
2582
2687
  parentId: string | null;
2583
2688
  isFavorite: boolean;
2689
+ currentFileId: string | null;
2584
2690
  } & {
2585
2691
  users: [{
2586
2692
  id: string;
@@ -2590,8 +2696,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2590
2696
  isSearchable: boolean;
2591
2697
  }, "admin" | "write" | "read"][];
2592
2698
  createdBy: {
2593
- appId: string;
2594
- userId: string;
2699
+ id: string;
2700
+ lastname: string;
2701
+ firstname: string;
2702
+ avatar: string | null;
2703
+ isSearchable: boolean;
2595
2704
  };
2596
2705
  access: {
2597
2706
  rights: "admin" | "write" | "read";
@@ -2609,6 +2718,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2609
2718
  type: "FILE" | "FOLDER";
2610
2719
  parentId: string | null;
2611
2720
  isFavorite: boolean;
2721
+ currentFileId: string | null;
2612
2722
  } & {
2613
2723
  users: [{
2614
2724
  id: string;
@@ -2618,8 +2728,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2618
2728
  isSearchable: boolean;
2619
2729
  }, "admin" | "write" | "read"][];
2620
2730
  createdBy: {
2621
- appId: string;
2622
- userId: string;
2731
+ id: string;
2732
+ lastname: string;
2733
+ firstname: string;
2734
+ avatar: string | null;
2735
+ isSearchable: boolean;
2623
2736
  };
2624
2737
  access: {
2625
2738
  rights: "admin" | "write" | "read";
@@ -2627,6 +2740,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2627
2740
  isRoot: boolean;
2628
2741
  sharedByPubKey: string;
2629
2742
  };
2743
+ } & {
2744
+ sizes: {
2745
+ size: bigint;
2746
+ sizeBefore: bigint;
2747
+ };
2630
2748
  })[];
2631
2749
  breadcrumb: {
2632
2750
  id: string;
@@ -2644,6 +2762,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2644
2762
  type: "FILE" | "FOLDER";
2645
2763
  parentId: string | null;
2646
2764
  isFavorite: boolean;
2765
+ currentFileId: string | null;
2647
2766
  } & {
2648
2767
  users: [{
2649
2768
  id: string;
@@ -2653,8 +2772,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2653
2772
  isSearchable: boolean;
2654
2773
  }, "admin" | "write" | "read"][];
2655
2774
  createdBy: {
2656
- appId: string;
2657
- userId: string;
2775
+ id: string;
2776
+ lastname: string;
2777
+ firstname: string;
2778
+ avatar: string | null;
2779
+ isSearchable: boolean;
2658
2780
  };
2659
2781
  access: {
2660
2782
  rights: "admin" | "write" | "read";
@@ -2705,6 +2827,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2705
2827
  type: "FILE" | "FOLDER";
2706
2828
  parentId: string | null;
2707
2829
  isFavorite: boolean;
2830
+ currentFileId: string | null;
2708
2831
  } & {
2709
2832
  users: [{
2710
2833
  id: string;
@@ -2714,8 +2837,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2714
2837
  isSearchable: boolean;
2715
2838
  }, "admin" | "write" | "read"][];
2716
2839
  createdBy: {
2717
- appId: string;
2718
- userId: string;
2840
+ id: string;
2841
+ lastname: string;
2842
+ firstname: string;
2843
+ avatar: string | null;
2844
+ isSearchable: boolean;
2719
2845
  };
2720
2846
  access: {
2721
2847
  rights: "admin" | "write" | "read";
@@ -2733,6 +2859,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2733
2859
  type: "FILE" | "FOLDER";
2734
2860
  parentId: string | null;
2735
2861
  isFavorite: boolean;
2862
+ currentFileId: string | null;
2736
2863
  } & {
2737
2864
  users: [{
2738
2865
  id: string;
@@ -2742,8 +2869,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2742
2869
  isSearchable: boolean;
2743
2870
  }, "admin" | "write" | "read"][];
2744
2871
  createdBy: {
2745
- appId: string;
2746
- userId: string;
2872
+ id: string;
2873
+ lastname: string;
2874
+ firstname: string;
2875
+ avatar: string | null;
2876
+ isSearchable: boolean;
2747
2877
  };
2748
2878
  access: {
2749
2879
  rights: "admin" | "write" | "read";
@@ -2751,6 +2881,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2751
2881
  isRoot: boolean;
2752
2882
  sharedByPubKey: string;
2753
2883
  };
2884
+ } & {
2885
+ sizes: {
2886
+ size: bigint;
2887
+ sizeBefore: bigint;
2888
+ };
2754
2889
  })[];
2755
2890
  breadcrumb: {
2756
2891
  id: string;
@@ -3026,6 +3161,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3026
3161
  type: "FILE" | "FOLDER";
3027
3162
  parentId: string | null;
3028
3163
  isFavorite: boolean;
3164
+ currentFileId: string | null;
3029
3165
  } & {
3030
3166
  users: [{
3031
3167
  id: string;
@@ -3035,8 +3171,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3035
3171
  isSearchable: boolean;
3036
3172
  }, "admin" | "write" | "read"][];
3037
3173
  createdBy: {
3038
- appId: string;
3039
- userId: string;
3174
+ id: string;
3175
+ lastname: string;
3176
+ firstname: string;
3177
+ avatar: string | null;
3178
+ isSearchable: boolean;
3040
3179
  };
3041
3180
  access: {
3042
3181
  rights: "admin" | "write" | "read";
@@ -3087,6 +3226,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3087
3226
  type: "FILE" | "FOLDER";
3088
3227
  parentId: string | null;
3089
3228
  isFavorite: boolean;
3229
+ currentFileId: string | null;
3090
3230
  } & {
3091
3231
  users: [{
3092
3232
  id: string;
@@ -3096,8 +3236,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3096
3236
  isSearchable: boolean;
3097
3237
  }, "admin" | "write" | "read"][];
3098
3238
  createdBy: {
3099
- appId: string;
3100
- userId: string;
3239
+ id: string;
3240
+ lastname: string;
3241
+ firstname: string;
3242
+ avatar: string | null;
3243
+ isSearchable: boolean;
3101
3244
  };
3102
3245
  access: {
3103
3246
  rights: "admin" | "write" | "read";
@@ -3115,6 +3258,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3115
3258
  type: "FILE" | "FOLDER";
3116
3259
  parentId: string | null;
3117
3260
  isFavorite: boolean;
3261
+ currentFileId: string | null;
3118
3262
  } & {
3119
3263
  users: [{
3120
3264
  id: string;
@@ -3124,8 +3268,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3124
3268
  isSearchable: boolean;
3125
3269
  }, "admin" | "write" | "read"][];
3126
3270
  createdBy: {
3127
- appId: string;
3128
- userId: string;
3271
+ id: string;
3272
+ lastname: string;
3273
+ firstname: string;
3274
+ avatar: string | null;
3275
+ isSearchable: boolean;
3129
3276
  };
3130
3277
  access: {
3131
3278
  rights: "admin" | "write" | "read";
@@ -3133,6 +3280,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3133
3280
  isRoot: boolean;
3134
3281
  sharedByPubKey: string;
3135
3282
  };
3283
+ } & {
3284
+ sizes: {
3285
+ size: bigint;
3286
+ sizeBefore: bigint;
3287
+ };
3136
3288
  })[];
3137
3289
  breadcrumb: {
3138
3290
  id: string;
@@ -3150,6 +3302,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3150
3302
  type: "FILE" | "FOLDER";
3151
3303
  parentId: string | null;
3152
3304
  isFavorite: boolean;
3305
+ currentFileId: string | null;
3153
3306
  } & {
3154
3307
  users: [{
3155
3308
  id: string;
@@ -3159,8 +3312,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3159
3312
  isSearchable: boolean;
3160
3313
  }, "admin" | "write" | "read"][];
3161
3314
  createdBy: {
3162
- appId: string;
3163
- userId: string;
3315
+ id: string;
3316
+ lastname: string;
3317
+ firstname: string;
3318
+ avatar: string | null;
3319
+ isSearchable: boolean;
3164
3320
  };
3165
3321
  access: {
3166
3322
  rights: "admin" | "write" | "read";
@@ -3211,6 +3367,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3211
3367
  type: "FILE" | "FOLDER";
3212
3368
  parentId: string | null;
3213
3369
  isFavorite: boolean;
3370
+ currentFileId: string | null;
3214
3371
  } & {
3215
3372
  users: [{
3216
3373
  id: string;
@@ -3220,8 +3377,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3220
3377
  isSearchable: boolean;
3221
3378
  }, "admin" | "write" | "read"][];
3222
3379
  createdBy: {
3223
- appId: string;
3224
- userId: string;
3380
+ id: string;
3381
+ lastname: string;
3382
+ firstname: string;
3383
+ avatar: string | null;
3384
+ isSearchable: boolean;
3225
3385
  };
3226
3386
  access: {
3227
3387
  rights: "admin" | "write" | "read";
@@ -3239,6 +3399,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3239
3399
  type: "FILE" | "FOLDER";
3240
3400
  parentId: string | null;
3241
3401
  isFavorite: boolean;
3402
+ currentFileId: string | null;
3242
3403
  } & {
3243
3404
  users: [{
3244
3405
  id: string;
@@ -3248,8 +3409,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3248
3409
  isSearchable: boolean;
3249
3410
  }, "admin" | "write" | "read"][];
3250
3411
  createdBy: {
3251
- appId: string;
3252
- userId: string;
3412
+ id: string;
3413
+ lastname: string;
3414
+ firstname: string;
3415
+ avatar: string | null;
3416
+ isSearchable: boolean;
3253
3417
  };
3254
3418
  access: {
3255
3419
  rights: "admin" | "write" | "read";
@@ -3257,6 +3421,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3257
3421
  isRoot: boolean;
3258
3422
  sharedByPubKey: string;
3259
3423
  };
3424
+ } & {
3425
+ sizes: {
3426
+ size: bigint;
3427
+ sizeBefore: bigint;
3428
+ };
3260
3429
  })[];
3261
3430
  breadcrumb: {
3262
3431
  id: string;
@@ -3618,6 +3787,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3618
3787
  type: "FILE" | "FOLDER";
3619
3788
  parentId: string | null;
3620
3789
  isFavorite: boolean;
3790
+ currentFileId: string | null;
3621
3791
  } & {
3622
3792
  users: [{
3623
3793
  id: string;
@@ -3627,8 +3797,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3627
3797
  isSearchable: boolean;
3628
3798
  }, "admin" | "write" | "read"][];
3629
3799
  createdBy: {
3630
- appId: string;
3631
- userId: string;
3800
+ id: string;
3801
+ lastname: string;
3802
+ firstname: string;
3803
+ avatar: string | null;
3804
+ isSearchable: boolean;
3632
3805
  };
3633
3806
  access: {
3634
3807
  rights: "admin" | "write" | "read";
@@ -3636,6 +3809,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3636
3809
  isRoot: boolean;
3637
3810
  sharedByPubKey: string;
3638
3811
  };
3812
+ } & {
3813
+ sizes: {
3814
+ size: bigint;
3815
+ sizeBefore: bigint;
3816
+ };
3639
3817
  };
3640
3818
  _output_out: {
3641
3819
  id: string;
@@ -3646,6 +3824,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3646
3824
  type: "FILE" | "FOLDER";
3647
3825
  parentId: string | null;
3648
3826
  isFavorite: boolean;
3827
+ currentFileId: string | null;
3649
3828
  } & {
3650
3829
  users: [{
3651
3830
  id: string;
@@ -3655,8 +3834,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3655
3834
  isSearchable: boolean;
3656
3835
  }, "admin" | "write" | "read"][];
3657
3836
  createdBy: {
3658
- appId: string;
3659
- userId: string;
3837
+ id: string;
3838
+ lastname: string;
3839
+ firstname: string;
3840
+ avatar: string | null;
3841
+ isSearchable: boolean;
3660
3842
  };
3661
3843
  access: {
3662
3844
  rights: "admin" | "write" | "read";
@@ -3664,6 +3846,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3664
3846
  isRoot: boolean;
3665
3847
  sharedByPubKey: string;
3666
3848
  };
3849
+ } & {
3850
+ sizes: {
3851
+ size: bigint;
3852
+ sizeBefore: bigint;
3853
+ };
3667
3854
  };
3668
3855
  }, unknown>;
3669
3856
  nodeFullById: _trpc_server.BuildProcedure<"query", {
@@ -3706,6 +3893,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3706
3893
  type: "FILE" | "FOLDER";
3707
3894
  parentId: string | null;
3708
3895
  isFavorite: boolean;
3896
+ currentFileId: string | null;
3709
3897
  } & {
3710
3898
  users: [{
3711
3899
  id: string;
@@ -3715,8 +3903,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3715
3903
  isSearchable: boolean;
3716
3904
  }, "admin" | "write" | "read"][];
3717
3905
  createdBy: {
3718
- appId: string;
3719
- userId: string;
3906
+ id: string;
3907
+ lastname: string;
3908
+ firstname: string;
3909
+ avatar: string | null;
3910
+ isSearchable: boolean;
3720
3911
  };
3721
3912
  access: {
3722
3913
  rights: "admin" | "write" | "read";
@@ -3767,6 +3958,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3767
3958
  type: "FILE" | "FOLDER";
3768
3959
  parentId: string | null;
3769
3960
  isFavorite: boolean;
3961
+ currentFileId: string | null;
3770
3962
  } & {
3771
3963
  users: [{
3772
3964
  id: string;
@@ -3776,8 +3968,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3776
3968
  isSearchable: boolean;
3777
3969
  }, "admin" | "write" | "read"][];
3778
3970
  createdBy: {
3779
- appId: string;
3780
- userId: string;
3971
+ id: string;
3972
+ lastname: string;
3973
+ firstname: string;
3974
+ avatar: string | null;
3975
+ isSearchable: boolean;
3781
3976
  };
3782
3977
  access: {
3783
3978
  rights: "admin" | "write" | "read";
@@ -3795,6 +3990,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3795
3990
  type: "FILE" | "FOLDER";
3796
3991
  parentId: string | null;
3797
3992
  isFavorite: boolean;
3993
+ currentFileId: string | null;
3798
3994
  } & {
3799
3995
  users: [{
3800
3996
  id: string;
@@ -3804,8 +4000,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3804
4000
  isSearchable: boolean;
3805
4001
  }, "admin" | "write" | "read"][];
3806
4002
  createdBy: {
3807
- appId: string;
3808
- userId: string;
4003
+ id: string;
4004
+ lastname: string;
4005
+ firstname: string;
4006
+ avatar: string | null;
4007
+ isSearchable: boolean;
3809
4008
  };
3810
4009
  access: {
3811
4010
  rights: "admin" | "write" | "read";
@@ -3813,6 +4012,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3813
4012
  isRoot: boolean;
3814
4013
  sharedByPubKey: string;
3815
4014
  };
4015
+ } & {
4016
+ sizes: {
4017
+ size: bigint;
4018
+ sizeBefore: bigint;
4019
+ };
3816
4020
  })[];
3817
4021
  breadcrumb: {
3818
4022
  id: string;
@@ -3830,6 +4034,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3830
4034
  type: "FILE" | "FOLDER";
3831
4035
  parentId: string | null;
3832
4036
  isFavorite: boolean;
4037
+ currentFileId: string | null;
3833
4038
  } & {
3834
4039
  users: [{
3835
4040
  id: string;
@@ -3839,8 +4044,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3839
4044
  isSearchable: boolean;
3840
4045
  }, "admin" | "write" | "read"][];
3841
4046
  createdBy: {
3842
- appId: string;
3843
- userId: string;
4047
+ id: string;
4048
+ lastname: string;
4049
+ firstname: string;
4050
+ avatar: string | null;
4051
+ isSearchable: boolean;
3844
4052
  };
3845
4053
  access: {
3846
4054
  rights: "admin" | "write" | "read";
@@ -3891,6 +4099,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3891
4099
  type: "FILE" | "FOLDER";
3892
4100
  parentId: string | null;
3893
4101
  isFavorite: boolean;
4102
+ currentFileId: string | null;
3894
4103
  } & {
3895
4104
  users: [{
3896
4105
  id: string;
@@ -3900,8 +4109,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3900
4109
  isSearchable: boolean;
3901
4110
  }, "admin" | "write" | "read"][];
3902
4111
  createdBy: {
3903
- appId: string;
3904
- userId: string;
4112
+ id: string;
4113
+ lastname: string;
4114
+ firstname: string;
4115
+ avatar: string | null;
4116
+ isSearchable: boolean;
3905
4117
  };
3906
4118
  access: {
3907
4119
  rights: "admin" | "write" | "read";
@@ -3919,6 +4131,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3919
4131
  type: "FILE" | "FOLDER";
3920
4132
  parentId: string | null;
3921
4133
  isFavorite: boolean;
4134
+ currentFileId: string | null;
3922
4135
  } & {
3923
4136
  users: [{
3924
4137
  id: string;
@@ -3928,8 +4141,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3928
4141
  isSearchable: boolean;
3929
4142
  }, "admin" | "write" | "read"][];
3930
4143
  createdBy: {
3931
- appId: string;
3932
- userId: string;
4144
+ id: string;
4145
+ lastname: string;
4146
+ firstname: string;
4147
+ avatar: string | null;
4148
+ isSearchable: boolean;
3933
4149
  };
3934
4150
  access: {
3935
4151
  rights: "admin" | "write" | "read";
@@ -3937,6 +4153,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3937
4153
  isRoot: boolean;
3938
4154
  sharedByPubKey: string;
3939
4155
  };
4156
+ } & {
4157
+ sizes: {
4158
+ size: bigint;
4159
+ sizeBefore: bigint;
4160
+ };
3940
4161
  })[];
3941
4162
  breadcrumb: {
3942
4163
  id: string;
@@ -4018,6 +4239,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4018
4239
  type: "FILE" | "FOLDER";
4019
4240
  parentId: string | null;
4020
4241
  isFavorite: boolean;
4242
+ currentFileId: string | null;
4021
4243
  } & {
4022
4244
  users: [{
4023
4245
  id: string;
@@ -4027,8 +4249,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4027
4249
  isSearchable: boolean;
4028
4250
  }, "admin" | "write" | "read"][];
4029
4251
  createdBy: {
4030
- appId: string;
4031
- userId: string;
4252
+ id: string;
4253
+ lastname: string;
4254
+ firstname: string;
4255
+ avatar: string | null;
4256
+ isSearchable: boolean;
4032
4257
  };
4033
4258
  access: {
4034
4259
  rights: "admin" | "write" | "read";
@@ -4046,6 +4271,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4046
4271
  type: "FILE" | "FOLDER";
4047
4272
  parentId: string | null;
4048
4273
  isFavorite: boolean;
4274
+ currentFileId: string | null;
4049
4275
  } & {
4050
4276
  users: [{
4051
4277
  id: string;
@@ -4055,8 +4281,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4055
4281
  isSearchable: boolean;
4056
4282
  }, "admin" | "write" | "read"][];
4057
4283
  createdBy: {
4058
- appId: string;
4059
- userId: string;
4284
+ id: string;
4285
+ lastname: string;
4286
+ firstname: string;
4287
+ avatar: string | null;
4288
+ isSearchable: boolean;
4060
4289
  };
4061
4290
  access: {
4062
4291
  rights: "admin" | "write" | "read";
@@ -4104,6 +4333,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4104
4333
  type: "FILE" | "FOLDER";
4105
4334
  parentId: string | null;
4106
4335
  isFavorite: boolean;
4336
+ currentFileId: string | null;
4107
4337
  } & {
4108
4338
  users: [{
4109
4339
  id: string;
@@ -4113,8 +4343,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4113
4343
  isSearchable: boolean;
4114
4344
  }, "admin" | "write" | "read"][];
4115
4345
  createdBy: {
4116
- appId: string;
4117
- userId: string;
4346
+ id: string;
4347
+ lastname: string;
4348
+ firstname: string;
4349
+ avatar: string | null;
4350
+ isSearchable: boolean;
4118
4351
  };
4119
4352
  access: {
4120
4353
  rights: "admin" | "write" | "read";
@@ -4132,6 +4365,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4132
4365
  type: "FILE" | "FOLDER";
4133
4366
  parentId: string | null;
4134
4367
  isFavorite: boolean;
4368
+ currentFileId: string | null;
4135
4369
  } & {
4136
4370
  users: [{
4137
4371
  id: string;
@@ -4141,8 +4375,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4141
4375
  isSearchable: boolean;
4142
4376
  }, "admin" | "write" | "read"][];
4143
4377
  createdBy: {
4144
- appId: string;
4145
- userId: string;
4378
+ id: string;
4379
+ lastname: string;
4380
+ firstname: string;
4381
+ avatar: string | null;
4382
+ isSearchable: boolean;
4146
4383
  };
4147
4384
  access: {
4148
4385
  rights: "admin" | "write" | "read";
@@ -4186,6 +4423,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4186
4423
  type: "FILE" | "FOLDER";
4187
4424
  parentId: string | null;
4188
4425
  isFavorite: boolean;
4426
+ currentFileId: string | null;
4189
4427
  } & {
4190
4428
  users: [{
4191
4429
  id: string;
@@ -4195,8 +4433,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4195
4433
  isSearchable: boolean;
4196
4434
  }, "admin" | "write" | "read"][];
4197
4435
  createdBy: {
4198
- appId: string;
4199
- userId: string;
4436
+ id: string;
4437
+ lastname: string;
4438
+ firstname: string;
4439
+ avatar: string | null;
4440
+ isSearchable: boolean;
4200
4441
  };
4201
4442
  access: {
4202
4443
  rights: "admin" | "write" | "read";
@@ -4214,6 +4455,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4214
4455
  type: "FILE" | "FOLDER";
4215
4456
  parentId: string | null;
4216
4457
  isFavorite: boolean;
4458
+ currentFileId: string | null;
4217
4459
  } & {
4218
4460
  users: [{
4219
4461
  id: string;
@@ -4223,8 +4465,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4223
4465
  isSearchable: boolean;
4224
4466
  }, "admin" | "write" | "read"][];
4225
4467
  createdBy: {
4226
- appId: string;
4227
- userId: string;
4468
+ id: string;
4469
+ lastname: string;
4470
+ firstname: string;
4471
+ avatar: string | null;
4472
+ isSearchable: boolean;
4228
4473
  };
4229
4474
  access: {
4230
4475
  rights: "admin" | "write" | "read";
@@ -4406,6 +4651,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4406
4651
  type: "FILE" | "FOLDER";
4407
4652
  parentId: string | null;
4408
4653
  isFavorite: boolean;
4654
+ currentFileId: string | null;
4409
4655
  } & {
4410
4656
  users: [{
4411
4657
  id: string;
@@ -4415,8 +4661,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4415
4661
  isSearchable: boolean;
4416
4662
  }, "admin" | "write" | "read"][];
4417
4663
  createdBy: {
4418
- appId: string;
4419
- userId: string;
4664
+ id: string;
4665
+ lastname: string;
4666
+ firstname: string;
4667
+ avatar: string | null;
4668
+ isSearchable: boolean;
4420
4669
  };
4421
4670
  access: {
4422
4671
  rights: "admin" | "write" | "read";
@@ -4467,6 +4716,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4467
4716
  type: "FILE" | "FOLDER";
4468
4717
  parentId: string | null;
4469
4718
  isFavorite: boolean;
4719
+ currentFileId: string | null;
4470
4720
  } & {
4471
4721
  users: [{
4472
4722
  id: string;
@@ -4476,8 +4726,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4476
4726
  isSearchable: boolean;
4477
4727
  }, "admin" | "write" | "read"][];
4478
4728
  createdBy: {
4479
- appId: string;
4480
- userId: string;
4729
+ id: string;
4730
+ lastname: string;
4731
+ firstname: string;
4732
+ avatar: string | null;
4733
+ isSearchable: boolean;
4481
4734
  };
4482
4735
  access: {
4483
4736
  rights: "admin" | "write" | "read";
@@ -4495,6 +4748,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4495
4748
  type: "FILE" | "FOLDER";
4496
4749
  parentId: string | null;
4497
4750
  isFavorite: boolean;
4751
+ currentFileId: string | null;
4498
4752
  } & {
4499
4753
  users: [{
4500
4754
  id: string;
@@ -4504,8 +4758,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4504
4758
  isSearchable: boolean;
4505
4759
  }, "admin" | "write" | "read"][];
4506
4760
  createdBy: {
4507
- appId: string;
4508
- userId: string;
4761
+ id: string;
4762
+ lastname: string;
4763
+ firstname: string;
4764
+ avatar: string | null;
4765
+ isSearchable: boolean;
4509
4766
  };
4510
4767
  access: {
4511
4768
  rights: "admin" | "write" | "read";
@@ -4513,6 +4770,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4513
4770
  isRoot: boolean;
4514
4771
  sharedByPubKey: string;
4515
4772
  };
4773
+ } & {
4774
+ sizes: {
4775
+ size: bigint;
4776
+ sizeBefore: bigint;
4777
+ };
4516
4778
  })[];
4517
4779
  breadcrumb: {
4518
4780
  id: string;
@@ -4530,6 +4792,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4530
4792
  type: "FILE" | "FOLDER";
4531
4793
  parentId: string | null;
4532
4794
  isFavorite: boolean;
4795
+ currentFileId: string | null;
4533
4796
  } & {
4534
4797
  users: [{
4535
4798
  id: string;
@@ -4539,8 +4802,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4539
4802
  isSearchable: boolean;
4540
4803
  }, "admin" | "write" | "read"][];
4541
4804
  createdBy: {
4542
- appId: string;
4543
- userId: string;
4805
+ id: string;
4806
+ lastname: string;
4807
+ firstname: string;
4808
+ avatar: string | null;
4809
+ isSearchable: boolean;
4544
4810
  };
4545
4811
  access: {
4546
4812
  rights: "admin" | "write" | "read";
@@ -4591,6 +4857,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4591
4857
  type: "FILE" | "FOLDER";
4592
4858
  parentId: string | null;
4593
4859
  isFavorite: boolean;
4860
+ currentFileId: string | null;
4594
4861
  } & {
4595
4862
  users: [{
4596
4863
  id: string;
@@ -4600,8 +4867,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4600
4867
  isSearchable: boolean;
4601
4868
  }, "admin" | "write" | "read"][];
4602
4869
  createdBy: {
4603
- appId: string;
4604
- userId: string;
4870
+ id: string;
4871
+ lastname: string;
4872
+ firstname: string;
4873
+ avatar: string | null;
4874
+ isSearchable: boolean;
4605
4875
  };
4606
4876
  access: {
4607
4877
  rights: "admin" | "write" | "read";
@@ -4619,6 +4889,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4619
4889
  type: "FILE" | "FOLDER";
4620
4890
  parentId: string | null;
4621
4891
  isFavorite: boolean;
4892
+ currentFileId: string | null;
4622
4893
  } & {
4623
4894
  users: [{
4624
4895
  id: string;
@@ -4628,8 +4899,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4628
4899
  isSearchable: boolean;
4629
4900
  }, "admin" | "write" | "read"][];
4630
4901
  createdBy: {
4631
- appId: string;
4632
- userId: string;
4902
+ id: string;
4903
+ lastname: string;
4904
+ firstname: string;
4905
+ avatar: string | null;
4906
+ isSearchable: boolean;
4633
4907
  };
4634
4908
  access: {
4635
4909
  rights: "admin" | "write" | "read";
@@ -4637,6 +4911,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4637
4911
  isRoot: boolean;
4638
4912
  sharedByPubKey: string;
4639
4913
  };
4914
+ } & {
4915
+ sizes: {
4916
+ size: bigint;
4917
+ sizeBefore: bigint;
4918
+ };
4640
4919
  })[];
4641
4920
  breadcrumb: {
4642
4921
  id: string;
@@ -4990,12 +5269,50 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4990
5269
  createdAt: Date;
4991
5270
  address: string;
4992
5271
  encryptedKeystore: string;
4993
- };
5272
+ } | null;
4994
5273
  _output_out: {
4995
5274
  userId: string;
4996
5275
  createdAt: Date;
4997
5276
  address: string;
4998
5277
  encryptedKeystore: string;
5278
+ } | null;
5279
+ }, unknown>;
5280
+ updateWallets: _trpc_server.BuildProcedure<"mutation", {
5281
+ _config: _trpc_server.RootConfig<{
5282
+ ctx: {};
5283
+ meta: object;
5284
+ errorShape: {
5285
+ message: string;
5286
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
5287
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
5288
+ } | {
5289
+ data: {
5290
+ zodError: zod.typeToFlattenedError<any, string> | null;
5291
+ code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
5292
+ httpStatus: number;
5293
+ path?: string | undefined;
5294
+ stack?: string | undefined;
5295
+ };
5296
+ message: string;
5297
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
5298
+ };
5299
+ transformer: typeof superjson.default;
5300
+ }>;
5301
+ _meta: object;
5302
+ _ctx_out: {};
5303
+ _input_in: {
5304
+ address: string;
5305
+ encryptedKeystore: string;
5306
+ }[];
5307
+ _input_out: {
5308
+ address: string;
5309
+ encryptedKeystore: string;
5310
+ }[];
5311
+ _output_in: {
5312
+ isDone: boolean;
5313
+ };
5314
+ _output_out: {
5315
+ isDone: boolean;
4999
5316
  };
5000
5317
  }, unknown>;
5001
5318
  isTransactionDone: _trpc_server.BuildProcedure<"query", {
@@ -5114,7 +5431,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5114
5431
  amount: string;
5115
5432
  };
5116
5433
  }, unknown>;
5117
- myWallet: _trpc_server.BuildProcedure<"query", {
5434
+ myWallets: _trpc_server.BuildProcedure<"query", {
5118
5435
  _config: _trpc_server.RootConfig<{
5119
5436
  ctx: {};
5120
5437
  meta: object;
@@ -5144,13 +5461,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5144
5461
  createdAt: Date;
5145
5462
  address: string;
5146
5463
  encryptedKeystore: string;
5147
- };
5464
+ }[];
5148
5465
  _output_out: {
5149
5466
  userId: string;
5150
5467
  createdAt: Date;
5151
5468
  address: string;
5152
5469
  encryptedKeystore: string;
5153
- };
5470
+ }[];
5154
5471
  }, unknown>;
5155
5472
  }>;
5156
5473
  database: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.18.0-dev.1",
3
+ "version": "1.18.0-dev.10",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"