@ledgerhq/revault-api 1.46.1 → 1.48.0
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.
- package/lib/{app-types-DJypVVZm.d.mts → app-types-CPQeirCC.d.mts} +0 -48
- package/lib/fakes.d.mts +1 -1
- package/lib/fakes.mjs +5 -29
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +72 -110
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -11,8 +11,8 @@ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable
|
|
|
11
11
|
import * as fastify_types_type_provider from 'fastify/types/type-provider';
|
|
12
12
|
import * as http from 'http';
|
|
13
13
|
import * as fastify from 'fastify';
|
|
14
|
-
import { A as AssetResponse } from './app-types-
|
|
15
|
-
export { a as AccountFreshAddress, b as AccountLiveDataResponse, c as AccountResponse, d as AccountSortBy, M as AdminResponse, H as ApproveVaultRequestInput, J as Challenge, D as ChallengeResponse, C as CurrencyResponse, G as GroupResponse, u as GroupSortBy, R as RequestSortBy, S as SoftChallenge, n as TokenResponse, T as TransactionResponse, U as UserResponse, O as UserSortBy, V as VaultRequestCreateInput, x as VaultRequestResponse, W as WhitelistResponse, Y as WhitelistSortBy, E as genTransactionSchemas, z as zAccountFreshAddress, e as zAccountLiveDataResponse, f as zAccountResponse, g as zAccountSortBy, L as zAdminResponse, F as zApproveVaultRequestInput, o as zAssetCapabilitiesResponse, p as zAssetResponse, h as zBalance, B as zChallengeResponse, q as zCurrencyResponse, m as zEstimateFeesResponse, s as zGroupResponse, t as zGroupSortBy, y as zRequestSortBy, I as zRequestTaskResponse, i as zStake, j as zStakeSortBy, k as zStakingValidator, l as zStakingValidatorSortBy, r as zTokenResponse, K as zUserResponse, N as zUserSortBy, v as zVaultRequestCreateInput, w as zVaultRequestResponse, P as zWhitelistAddressResponse, Q as zWhitelistResponse, X as zWhitelistSortBy } from './app-types-
|
|
14
|
+
import { A as AssetResponse } from './app-types-CPQeirCC.mjs';
|
|
15
|
+
export { a as AccountFreshAddress, b as AccountLiveDataResponse, c as AccountResponse, d as AccountSortBy, M as AdminResponse, H as ApproveVaultRequestInput, J as Challenge, D as ChallengeResponse, C as CurrencyResponse, G as GroupResponse, u as GroupSortBy, R as RequestSortBy, S as SoftChallenge, n as TokenResponse, T as TransactionResponse, U as UserResponse, O as UserSortBy, V as VaultRequestCreateInput, x as VaultRequestResponse, W as WhitelistResponse, Y as WhitelistSortBy, E as genTransactionSchemas, z as zAccountFreshAddress, e as zAccountLiveDataResponse, f as zAccountResponse, g as zAccountSortBy, L as zAdminResponse, F as zApproveVaultRequestInput, o as zAssetCapabilitiesResponse, p as zAssetResponse, h as zBalance, B as zChallengeResponse, q as zCurrencyResponse, m as zEstimateFeesResponse, s as zGroupResponse, t as zGroupSortBy, y as zRequestSortBy, I as zRequestTaskResponse, i as zStake, j as zStakeSortBy, k as zStakingValidator, l as zStakingValidatorSortBy, r as zTokenResponse, K as zUserResponse, N as zUserSortBy, v as zVaultRequestCreateInput, w as zVaultRequestResponse, P as zWhitelistAddressResponse, Q as zWhitelistResponse, X as zWhitelistSortBy } from './app-types-CPQeirCC.mjs';
|
|
16
16
|
|
|
17
17
|
declare const zGovernableAction: z$1.ZodEnum<{
|
|
18
18
|
SEND: "SEND";
|
|
@@ -6433,9 +6433,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6433
6433
|
createdAt: Date;
|
|
6434
6434
|
updatedAt: Date;
|
|
6435
6435
|
createdById: string;
|
|
6436
|
-
meta?: {
|
|
6437
|
-
hash: string | null;
|
|
6438
|
-
} | null | undefined;
|
|
6439
6436
|
expiredAt?: Date | undefined;
|
|
6440
6437
|
inflight?: {
|
|
6441
6438
|
lastError: string | null;
|
|
@@ -6626,9 +6623,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6626
6623
|
createdAt: Date;
|
|
6627
6624
|
updatedAt: Date;
|
|
6628
6625
|
createdById: string;
|
|
6629
|
-
meta?: {
|
|
6630
|
-
hash: string | null;
|
|
6631
|
-
} | null | undefined;
|
|
6632
6626
|
expiredAt?: Date | undefined;
|
|
6633
6627
|
inflight?: {
|
|
6634
6628
|
lastError: string | null;
|
|
@@ -6782,9 +6776,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6782
6776
|
createdAt: Date;
|
|
6783
6777
|
updatedAt: Date;
|
|
6784
6778
|
createdById: string;
|
|
6785
|
-
meta?: {
|
|
6786
|
-
hash: string | null;
|
|
6787
|
-
} | null | undefined;
|
|
6788
6779
|
expiredAt?: Date | undefined;
|
|
6789
6780
|
inflight?: {
|
|
6790
6781
|
lastError: string | null;
|
|
@@ -7301,9 +7292,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
7301
7292
|
createdAt: Date;
|
|
7302
7293
|
updatedAt: Date;
|
|
7303
7294
|
createdById: string;
|
|
7304
|
-
meta?: {
|
|
7305
|
-
hash: string | null;
|
|
7306
|
-
} | null | undefined;
|
|
7307
7295
|
expiredAt?: Date | undefined;
|
|
7308
7296
|
inflight?: {
|
|
7309
7297
|
lastError: string | null;
|
|
@@ -8966,9 +8954,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8966
8954
|
createdAt: Date;
|
|
8967
8955
|
updatedAt: Date;
|
|
8968
8956
|
createdById: string;
|
|
8969
|
-
meta?: {
|
|
8970
|
-
hash: string | null;
|
|
8971
|
-
} | null | undefined;
|
|
8972
8957
|
expiredAt?: Date | undefined;
|
|
8973
8958
|
inflight?: {
|
|
8974
8959
|
lastError: string | null;
|
|
@@ -9159,9 +9144,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9159
9144
|
createdAt: Date;
|
|
9160
9145
|
updatedAt: Date;
|
|
9161
9146
|
createdById: string;
|
|
9162
|
-
meta?: {
|
|
9163
|
-
hash: string | null;
|
|
9164
|
-
} | null | undefined;
|
|
9165
9147
|
expiredAt?: Date | undefined;
|
|
9166
9148
|
inflight?: {
|
|
9167
9149
|
lastError: string | null;
|
|
@@ -9315,9 +9297,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9315
9297
|
createdAt: Date;
|
|
9316
9298
|
updatedAt: Date;
|
|
9317
9299
|
createdById: string;
|
|
9318
|
-
meta?: {
|
|
9319
|
-
hash: string | null;
|
|
9320
|
-
} | null | undefined;
|
|
9321
9300
|
expiredAt?: Date | undefined;
|
|
9322
9301
|
inflight?: {
|
|
9323
9302
|
lastError: string | null;
|
|
@@ -9834,9 +9813,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9834
9813
|
createdAt: Date;
|
|
9835
9814
|
updatedAt: Date;
|
|
9836
9815
|
createdById: string;
|
|
9837
|
-
meta?: {
|
|
9838
|
-
hash: string | null;
|
|
9839
|
-
} | null | undefined;
|
|
9840
9816
|
expiredAt?: Date | undefined;
|
|
9841
9817
|
inflight?: {
|
|
9842
9818
|
lastError: string | null;
|
|
@@ -11279,9 +11255,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11279
11255
|
};
|
|
11280
11256
|
};
|
|
11281
11257
|
};
|
|
11282
|
-
meta?: {
|
|
11283
|
-
hash: string | null;
|
|
11284
|
-
} | null | undefined;
|
|
11285
11258
|
note?: {
|
|
11286
11259
|
title: string;
|
|
11287
11260
|
content: string;
|
|
@@ -11418,9 +11391,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11418
11391
|
};
|
|
11419
11392
|
};
|
|
11420
11393
|
};
|
|
11421
|
-
meta?: {
|
|
11422
|
-
hash: string | null;
|
|
11423
|
-
} | null | undefined;
|
|
11424
11394
|
note?: {
|
|
11425
11395
|
title: string;
|
|
11426
11396
|
content: string;
|
|
@@ -11547,9 +11517,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11547
11517
|
};
|
|
11548
11518
|
};
|
|
11549
11519
|
};
|
|
11550
|
-
meta?: {
|
|
11551
|
-
hash: string | null;
|
|
11552
|
-
} | null | undefined;
|
|
11553
11520
|
note?: {
|
|
11554
11521
|
title: string;
|
|
11555
11522
|
content: string;
|
|
@@ -12012,9 +11979,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12012
11979
|
};
|
|
12013
11980
|
};
|
|
12014
11981
|
};
|
|
12015
|
-
meta?: {
|
|
12016
|
-
hash: string | null;
|
|
12017
|
-
} | null | undefined;
|
|
12018
11982
|
note?: {
|
|
12019
11983
|
title: string;
|
|
12020
11984
|
content: string;
|
|
@@ -12884,9 +12848,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12884
12848
|
createdAt: Date;
|
|
12885
12849
|
updatedAt: Date;
|
|
12886
12850
|
createdById: string;
|
|
12887
|
-
meta?: {
|
|
12888
|
-
hash: string | null;
|
|
12889
|
-
} | null | undefined;
|
|
12890
12851
|
expiredAt?: Date | undefined;
|
|
12891
12852
|
inflight?: {
|
|
12892
12853
|
lastError: string | null;
|
|
@@ -13077,9 +13038,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
13077
13038
|
createdAt: Date;
|
|
13078
13039
|
updatedAt: Date;
|
|
13079
13040
|
createdById: string;
|
|
13080
|
-
meta?: {
|
|
13081
|
-
hash: string | null;
|
|
13082
|
-
} | null | undefined;
|
|
13083
13041
|
expiredAt?: Date | undefined;
|
|
13084
13042
|
inflight?: {
|
|
13085
13043
|
lastError: string | null;
|
|
@@ -13233,9 +13191,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
13233
13191
|
createdAt: Date;
|
|
13234
13192
|
updatedAt: Date;
|
|
13235
13193
|
createdById: string;
|
|
13236
|
-
meta?: {
|
|
13237
|
-
hash: string | null;
|
|
13238
|
-
} | null | undefined;
|
|
13239
13194
|
expiredAt?: Date | undefined;
|
|
13240
13195
|
inflight?: {
|
|
13241
13196
|
lastError: string | null;
|
|
@@ -13752,9 +13707,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
13752
13707
|
createdAt: Date;
|
|
13753
13708
|
updatedAt: Date;
|
|
13754
13709
|
createdById: string;
|
|
13755
|
-
meta?: {
|
|
13756
|
-
hash: string | null;
|
|
13757
|
-
} | null | undefined;
|
|
13758
13710
|
expiredAt?: Date | undefined;
|
|
13759
13711
|
inflight?: {
|
|
13760
13712
|
lastError: string | null;
|
|
@@ -15737,9 +15689,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
15737
15689
|
createdAt: Date;
|
|
15738
15690
|
updatedAt: Date;
|
|
15739
15691
|
createdById: string;
|
|
15740
|
-
meta?: {
|
|
15741
|
-
hash: string | null;
|
|
15742
|
-
} | null | undefined;
|
|
15743
15692
|
expiredAt?: Date | undefined;
|
|
15744
15693
|
inflight?: {
|
|
15745
15694
|
lastError: string | null;
|
|
@@ -15930,9 +15879,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
15930
15879
|
createdAt: Date;
|
|
15931
15880
|
updatedAt: Date;
|
|
15932
15881
|
createdById: string;
|
|
15933
|
-
meta?: {
|
|
15934
|
-
hash: string | null;
|
|
15935
|
-
} | null | undefined;
|
|
15936
15882
|
expiredAt?: Date | undefined;
|
|
15937
15883
|
inflight?: {
|
|
15938
15884
|
lastError: string | null;
|
|
@@ -16086,9 +16032,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
16086
16032
|
createdAt: Date;
|
|
16087
16033
|
updatedAt: Date;
|
|
16088
16034
|
createdById: string;
|
|
16089
|
-
meta?: {
|
|
16090
|
-
hash: string | null;
|
|
16091
|
-
} | null | undefined;
|
|
16092
16035
|
expiredAt?: Date | undefined;
|
|
16093
16036
|
inflight?: {
|
|
16094
16037
|
lastError: string | null;
|
|
@@ -16605,9 +16548,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
16605
16548
|
createdAt: Date;
|
|
16606
16549
|
updatedAt: Date;
|
|
16607
16550
|
createdById: string;
|
|
16608
|
-
meta?: {
|
|
16609
|
-
hash: string | null;
|
|
16610
|
-
} | null | undefined;
|
|
16611
16551
|
expiredAt?: Date | undefined;
|
|
16612
16552
|
inflight?: {
|
|
16613
16553
|
lastError: string | null;
|
|
@@ -18272,9 +18212,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
18272
18212
|
createdAt: Date;
|
|
18273
18213
|
updatedAt: Date;
|
|
18274
18214
|
createdById: string;
|
|
18275
|
-
meta?: {
|
|
18276
|
-
hash: string | null;
|
|
18277
|
-
} | null | undefined;
|
|
18278
18215
|
expiredAt?: Date | undefined;
|
|
18279
18216
|
inflight?: {
|
|
18280
18217
|
lastError: string | null;
|
|
@@ -18465,9 +18402,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
18465
18402
|
createdAt: Date;
|
|
18466
18403
|
updatedAt: Date;
|
|
18467
18404
|
createdById: string;
|
|
18468
|
-
meta?: {
|
|
18469
|
-
hash: string | null;
|
|
18470
|
-
} | null | undefined;
|
|
18471
18405
|
expiredAt?: Date | undefined;
|
|
18472
18406
|
inflight?: {
|
|
18473
18407
|
lastError: string | null;
|
|
@@ -18621,9 +18555,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
18621
18555
|
createdAt: Date;
|
|
18622
18556
|
updatedAt: Date;
|
|
18623
18557
|
createdById: string;
|
|
18624
|
-
meta?: {
|
|
18625
|
-
hash: string | null;
|
|
18626
|
-
} | null | undefined;
|
|
18627
18558
|
expiredAt?: Date | undefined;
|
|
18628
18559
|
inflight?: {
|
|
18629
18560
|
lastError: string | null;
|
|
@@ -19140,9 +19071,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
19140
19071
|
createdAt: Date;
|
|
19141
19072
|
updatedAt: Date;
|
|
19142
19073
|
createdById: string;
|
|
19143
|
-
meta?: {
|
|
19144
|
-
hash: string | null;
|
|
19145
|
-
} | null | undefined;
|
|
19146
19074
|
expiredAt?: Date | undefined;
|
|
19147
19075
|
inflight?: {
|
|
19148
19076
|
lastError: string | null;
|
|
@@ -20809,9 +20737,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
20809
20737
|
createdAt: Date;
|
|
20810
20738
|
updatedAt: Date;
|
|
20811
20739
|
createdById: string;
|
|
20812
|
-
meta?: {
|
|
20813
|
-
hash: string | null;
|
|
20814
|
-
} | null | undefined;
|
|
20815
20740
|
expiredAt?: Date | undefined;
|
|
20816
20741
|
inflight?: {
|
|
20817
20742
|
lastError: string | null;
|
|
@@ -21002,9 +20927,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21002
20927
|
createdAt: Date;
|
|
21003
20928
|
updatedAt: Date;
|
|
21004
20929
|
createdById: string;
|
|
21005
|
-
meta?: {
|
|
21006
|
-
hash: string | null;
|
|
21007
|
-
} | null | undefined;
|
|
21008
20930
|
expiredAt?: Date | undefined;
|
|
21009
20931
|
inflight?: {
|
|
21010
20932
|
lastError: string | null;
|
|
@@ -21158,9 +21080,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21158
21080
|
createdAt: Date;
|
|
21159
21081
|
updatedAt: Date;
|
|
21160
21082
|
createdById: string;
|
|
21161
|
-
meta?: {
|
|
21162
|
-
hash: string | null;
|
|
21163
|
-
} | null | undefined;
|
|
21164
21083
|
expiredAt?: Date | undefined;
|
|
21165
21084
|
inflight?: {
|
|
21166
21085
|
lastError: string | null;
|
|
@@ -21677,9 +21596,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21677
21596
|
createdAt: Date;
|
|
21678
21597
|
updatedAt: Date;
|
|
21679
21598
|
createdById: string;
|
|
21680
|
-
meta?: {
|
|
21681
|
-
hash: string | null;
|
|
21682
|
-
} | null | undefined;
|
|
21683
21599
|
expiredAt?: Date | undefined;
|
|
21684
21600
|
inflight?: {
|
|
21685
21601
|
lastError: string | null;
|
|
@@ -23344,9 +23260,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
23344
23260
|
createdAt: Date;
|
|
23345
23261
|
updatedAt: Date;
|
|
23346
23262
|
createdById: string;
|
|
23347
|
-
meta?: {
|
|
23348
|
-
hash: string | null;
|
|
23349
|
-
} | null | undefined;
|
|
23350
23263
|
expiredAt?: Date | undefined;
|
|
23351
23264
|
inflight?: {
|
|
23352
23265
|
lastError: string | null;
|
|
@@ -23537,9 +23450,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
23537
23450
|
createdAt: Date;
|
|
23538
23451
|
updatedAt: Date;
|
|
23539
23452
|
createdById: string;
|
|
23540
|
-
meta?: {
|
|
23541
|
-
hash: string | null;
|
|
23542
|
-
} | null | undefined;
|
|
23543
23453
|
expiredAt?: Date | undefined;
|
|
23544
23454
|
inflight?: {
|
|
23545
23455
|
lastError: string | null;
|
|
@@ -23693,9 +23603,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
23693
23603
|
createdAt: Date;
|
|
23694
23604
|
updatedAt: Date;
|
|
23695
23605
|
createdById: string;
|
|
23696
|
-
meta?: {
|
|
23697
|
-
hash: string | null;
|
|
23698
|
-
} | null | undefined;
|
|
23699
23606
|
expiredAt?: Date | undefined;
|
|
23700
23607
|
inflight?: {
|
|
23701
23608
|
lastError: string | null;
|
|
@@ -24212,9 +24119,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
24212
24119
|
createdAt: Date;
|
|
24213
24120
|
updatedAt: Date;
|
|
24214
24121
|
createdById: string;
|
|
24215
|
-
meta?: {
|
|
24216
|
-
hash: string | null;
|
|
24217
|
-
} | null | undefined;
|
|
24218
24122
|
expiredAt?: Date | undefined;
|
|
24219
24123
|
inflight?: {
|
|
24220
24124
|
lastError: string | null;
|
|
@@ -25875,9 +25779,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
25875
25779
|
createdAt: Date;
|
|
25876
25780
|
updatedAt: Date;
|
|
25877
25781
|
createdById: string;
|
|
25878
|
-
meta?: {
|
|
25879
|
-
hash: string | null;
|
|
25880
|
-
} | null | undefined;
|
|
25881
25782
|
expiredAt?: Date | undefined;
|
|
25882
25783
|
inflight?: {
|
|
25883
25784
|
lastError: string | null;
|
|
@@ -26068,9 +25969,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
26068
25969
|
createdAt: Date;
|
|
26069
25970
|
updatedAt: Date;
|
|
26070
25971
|
createdById: string;
|
|
26071
|
-
meta?: {
|
|
26072
|
-
hash: string | null;
|
|
26073
|
-
} | null | undefined;
|
|
26074
25972
|
expiredAt?: Date | undefined;
|
|
26075
25973
|
inflight?: {
|
|
26076
25974
|
lastError: string | null;
|
|
@@ -26224,9 +26122,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
26224
26122
|
createdAt: Date;
|
|
26225
26123
|
updatedAt: Date;
|
|
26226
26124
|
createdById: string;
|
|
26227
|
-
meta?: {
|
|
26228
|
-
hash: string | null;
|
|
26229
|
-
} | null | undefined;
|
|
26230
26125
|
expiredAt?: Date | undefined;
|
|
26231
26126
|
inflight?: {
|
|
26232
26127
|
lastError: string | null;
|
|
@@ -26743,9 +26638,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
26743
26638
|
createdAt: Date;
|
|
26744
26639
|
updatedAt: Date;
|
|
26745
26640
|
createdById: string;
|
|
26746
|
-
meta?: {
|
|
26747
|
-
hash: string | null;
|
|
26748
|
-
} | null | undefined;
|
|
26749
26641
|
expiredAt?: Date | undefined;
|
|
26750
26642
|
inflight?: {
|
|
26751
26643
|
lastError: string | null;
|
|
@@ -34427,6 +34319,72 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
34427
34319
|
} & RateLimitMetricsMeta;
|
|
34428
34320
|
}>;
|
|
34429
34321
|
}>>;
|
|
34322
|
+
workspaces: _trpc_server.TRPCBuiltRouter<{
|
|
34323
|
+
ctx: {
|
|
34324
|
+
req?: fastify.FastifyRequest<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown, fastify.FastifyBaseLogger, fastify_types_type_provider.ResolveFastifyRequestType<fastify.FastifyTypeProviderDefault, fastify.FastifySchema, fastify.RouteGenericInterface>> | undefined;
|
|
34325
|
+
res?: fastify.FastifyReply<fastify.RouteGenericInterface, fastify.RawServerDefault, http.IncomingMessage, http.ServerResponse<http.IncomingMessage>, unknown, fastify.FastifySchema, fastify.FastifyTypeProviderDefault, unknown> | undefined;
|
|
34326
|
+
info?: _trpc_server_unstable_core_do_not_import.TRPCRequestInfo | undefined;
|
|
34327
|
+
user: _prisma_client.User | null;
|
|
34328
|
+
authorization: string | null;
|
|
34329
|
+
activityTracer: ActivityTracer;
|
|
34330
|
+
debugAuthToken?: string;
|
|
34331
|
+
rootAuthToken?: string;
|
|
34332
|
+
prisma: ExtendedPrismaClient;
|
|
34333
|
+
io: socket_io.Server<socket_io.DefaultEventsMap, socket_io.DefaultEventsMap, socket_io.DefaultEventsMap, any> | null;
|
|
34334
|
+
};
|
|
34335
|
+
meta: {
|
|
34336
|
+
[x: string]: unknown;
|
|
34337
|
+
} & {
|
|
34338
|
+
openapi?: {
|
|
34339
|
+
enabled?: boolean;
|
|
34340
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
34341
|
+
path: `/${string}`;
|
|
34342
|
+
operationId?: string;
|
|
34343
|
+
summary?: string;
|
|
34344
|
+
description?: string;
|
|
34345
|
+
protect?: boolean;
|
|
34346
|
+
tags?: string[];
|
|
34347
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
34348
|
+
deprecated?: boolean;
|
|
34349
|
+
requestHeaders?: z.ZodObject;
|
|
34350
|
+
responseHeaders?: z.ZodObject;
|
|
34351
|
+
successDescription?: string;
|
|
34352
|
+
errorResponses?: number[] | Record<number, string>;
|
|
34353
|
+
};
|
|
34354
|
+
} & RateLimitMetricsMeta;
|
|
34355
|
+
errorShape: _trpc_server.TRPCDefaultErrorShape;
|
|
34356
|
+
transformer: true;
|
|
34357
|
+
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
34358
|
+
getCurrent: _trpc_server.TRPCQueryProcedure<{
|
|
34359
|
+
input: void;
|
|
34360
|
+
output: {
|
|
34361
|
+
name: string;
|
|
34362
|
+
mode: "GATE_COMPAT" | "STANDALONE";
|
|
34363
|
+
createdAt: Date;
|
|
34364
|
+
updatedAt: Date;
|
|
34365
|
+
};
|
|
34366
|
+
meta: {
|
|
34367
|
+
[x: string]: unknown;
|
|
34368
|
+
} & {
|
|
34369
|
+
openapi?: {
|
|
34370
|
+
enabled?: boolean;
|
|
34371
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
34372
|
+
path: `/${string}`;
|
|
34373
|
+
operationId?: string;
|
|
34374
|
+
summary?: string;
|
|
34375
|
+
description?: string;
|
|
34376
|
+
protect?: boolean;
|
|
34377
|
+
tags?: string[];
|
|
34378
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
34379
|
+
deprecated?: boolean;
|
|
34380
|
+
requestHeaders?: z.ZodObject;
|
|
34381
|
+
responseHeaders?: z.ZodObject;
|
|
34382
|
+
successDescription?: string;
|
|
34383
|
+
errorResponses?: number[] | Record<number, string>;
|
|
34384
|
+
};
|
|
34385
|
+
} & RateLimitMetricsMeta;
|
|
34386
|
+
}>;
|
|
34387
|
+
}>>;
|
|
34430
34388
|
}>>;
|
|
34431
34389
|
type AppRouter = typeof appRouter;
|
|
34432
34390
|
|
|
@@ -35400,6 +35358,10 @@ type UserRegistrationResponse = z$1.infer<typeof zUserRegistrationResponse>;
|
|
|
35400
35358
|
|
|
35401
35359
|
declare const zWorkspaceResponse: z__default.ZodObject<{
|
|
35402
35360
|
name: z__default.ZodString;
|
|
35361
|
+
mode: z__default.ZodEnum<{
|
|
35362
|
+
GATE_COMPAT: "GATE_COMPAT";
|
|
35363
|
+
STANDALONE: "STANDALONE";
|
|
35364
|
+
}>;
|
|
35403
35365
|
createdAt: z__default.ZodDate;
|
|
35404
35366
|
updatedAt: z__default.ZodDate;
|
|
35405
35367
|
}, z__default.core.$strip>;
|