@anvil-js/client 0.0.1 → 0.0.2
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/README.md +15 -2
- package/dist/factory-6sY9ZEqy.d.cts +1932 -0
- package/dist/factory-6sY9ZEqy.d.ts +1932 -0
- package/dist/index.cjs +892 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +1 -4
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +55 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/{provider-2AIXk8yy.d.ts → react/index.d.cts} +18 -1929
- package/dist/react/index.d.ts +13673 -8
- package/dist/react/index.js +37 -3
- package/dist/react/index.js.map +1 -1
- package/dist/schemas/index.cjs +850 -0
- package/dist/schemas/index.cjs.map +1 -0
- package/dist/schemas/index.d.cts +2584 -0
- package/dist/schemas/index.d.ts +185 -185
- package/dist/server.cjs +1038 -0
- package/dist/server.cjs.map +1 -0
- package/dist/server.d.cts +3869 -0
- package/dist/server.d.ts +247 -247
- package/dist/ws/index.cjs +613 -0
- package/dist/ws/index.cjs.map +1 -0
- package/dist/ws/index.d.cts +298 -0
- package/package.json +54 -15
- package/dist/chunk-DV6XOONA.js +0 -41
- package/dist/chunk-DV6XOONA.js.map +0 -1
package/dist/server.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
39
39
|
meta: object;
|
|
40
40
|
errorShape: {
|
|
41
41
|
data: {
|
|
42
|
-
code: "
|
|
42
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
43
43
|
httpStatus: number;
|
|
44
44
|
};
|
|
45
45
|
message: string;
|
|
@@ -56,7 +56,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
56
56
|
meta: object;
|
|
57
57
|
errorShape: {
|
|
58
58
|
data: {
|
|
59
|
-
code: "
|
|
59
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
60
60
|
httpStatus: number;
|
|
61
61
|
};
|
|
62
62
|
message: string;
|
|
@@ -73,7 +73,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
73
73
|
meta: object;
|
|
74
74
|
errorShape: {
|
|
75
75
|
data: {
|
|
76
|
-
code: "
|
|
76
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
77
77
|
httpStatus: number;
|
|
78
78
|
};
|
|
79
79
|
message: string;
|
|
@@ -110,7 +110,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
110
110
|
meta: object;
|
|
111
111
|
errorShape: {
|
|
112
112
|
data: {
|
|
113
|
-
code: "
|
|
113
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
114
114
|
httpStatus: number;
|
|
115
115
|
};
|
|
116
116
|
message: string;
|
|
@@ -124,6 +124,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
124
124
|
password: string;
|
|
125
125
|
};
|
|
126
126
|
output: {
|
|
127
|
+
accessToken: string;
|
|
128
|
+
refreshToken: string;
|
|
129
|
+
expiresAt: string;
|
|
127
130
|
user: {
|
|
128
131
|
email: string;
|
|
129
132
|
uuid: string;
|
|
@@ -132,19 +135,19 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
132
135
|
avatarUrl: string | null;
|
|
133
136
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
134
137
|
};
|
|
135
|
-
accessToken: string;
|
|
136
|
-
refreshToken: string;
|
|
137
|
-
expiresAt: string;
|
|
138
138
|
};
|
|
139
139
|
meta: object;
|
|
140
140
|
}>;
|
|
141
141
|
signUp: _trpc_server.TRPCMutationProcedure<{
|
|
142
142
|
input: {
|
|
143
143
|
email: string;
|
|
144
|
-
username: string;
|
|
145
144
|
password: string;
|
|
145
|
+
username: string;
|
|
146
146
|
};
|
|
147
147
|
output: {
|
|
148
|
+
accessToken: string;
|
|
149
|
+
refreshToken: string;
|
|
150
|
+
expiresAt: string;
|
|
148
151
|
user: {
|
|
149
152
|
email: string;
|
|
150
153
|
uuid: string;
|
|
@@ -153,9 +156,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
153
156
|
avatarUrl: string | null;
|
|
154
157
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
155
158
|
};
|
|
156
|
-
accessToken: string;
|
|
157
|
-
refreshToken: string;
|
|
158
|
-
expiresAt: string;
|
|
159
159
|
};
|
|
160
160
|
meta: object;
|
|
161
161
|
}>;
|
|
@@ -176,6 +176,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
176
176
|
};
|
|
177
177
|
output: {
|
|
178
178
|
valid: boolean;
|
|
179
|
+
expiresAt?: string | undefined;
|
|
179
180
|
user?: {
|
|
180
181
|
email: string;
|
|
181
182
|
uuid: string;
|
|
@@ -184,7 +185,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
184
185
|
avatarUrl: string | null;
|
|
185
186
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
186
187
|
} | undefined;
|
|
187
|
-
expiresAt?: string | undefined;
|
|
188
188
|
};
|
|
189
189
|
meta: object;
|
|
190
190
|
}>;
|
|
@@ -217,7 +217,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
217
217
|
meta: object;
|
|
218
218
|
errorShape: {
|
|
219
219
|
data: {
|
|
220
|
-
code: "
|
|
220
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
221
221
|
httpStatus: number;
|
|
222
222
|
};
|
|
223
223
|
message: string;
|
|
@@ -229,6 +229,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
229
229
|
input: void;
|
|
230
230
|
output: {
|
|
231
231
|
anvil: {
|
|
232
|
+
accessToken: string;
|
|
233
|
+
refreshToken: string;
|
|
234
|
+
expiresAt: string;
|
|
232
235
|
user: {
|
|
233
236
|
email: string;
|
|
234
237
|
uuid: string;
|
|
@@ -237,15 +240,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
237
240
|
avatarUrl: string | null;
|
|
238
241
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
239
242
|
};
|
|
240
|
-
accessToken: string;
|
|
241
|
-
refreshToken: string;
|
|
242
|
-
expiresAt: string;
|
|
243
243
|
};
|
|
244
244
|
mojang: {
|
|
245
|
-
uuid: string;
|
|
246
|
-
username: string;
|
|
247
245
|
accessToken: string;
|
|
248
246
|
expiresAt: string;
|
|
247
|
+
uuid: string;
|
|
248
|
+
username: string;
|
|
249
249
|
} | null;
|
|
250
250
|
};
|
|
251
251
|
meta: object;
|
|
@@ -260,7 +260,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
260
260
|
meta: object;
|
|
261
261
|
errorShape: {
|
|
262
262
|
data: {
|
|
263
|
-
code: "
|
|
263
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
264
264
|
httpStatus: number;
|
|
265
265
|
};
|
|
266
266
|
message: string;
|
|
@@ -271,11 +271,11 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
271
271
|
startDeviceCode: _trpc_server.TRPCMutationProcedure<{
|
|
272
272
|
input: void;
|
|
273
273
|
output: {
|
|
274
|
-
interval: number;
|
|
275
274
|
deviceCode: string;
|
|
276
275
|
userCode: string;
|
|
277
276
|
verificationUri: string;
|
|
278
277
|
expiresIn: number;
|
|
278
|
+
interval: number;
|
|
279
279
|
};
|
|
280
280
|
meta: object;
|
|
281
281
|
}>;
|
|
@@ -295,7 +295,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
295
295
|
} | {
|
|
296
296
|
kind: "pending";
|
|
297
297
|
} | {
|
|
298
|
-
code: "
|
|
298
|
+
code: "authorization_declined" | "expired" | "slow_down";
|
|
299
299
|
kind: "error";
|
|
300
300
|
};
|
|
301
301
|
meta: object;
|
|
@@ -311,7 +311,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
311
311
|
meta: object;
|
|
312
312
|
errorShape: {
|
|
313
313
|
data: {
|
|
314
|
-
code: "
|
|
314
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
315
315
|
httpStatus: number;
|
|
316
316
|
};
|
|
317
317
|
message: string;
|
|
@@ -346,7 +346,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
346
346
|
meta: object;
|
|
347
347
|
errorShape: {
|
|
348
348
|
data: {
|
|
349
|
-
code: "
|
|
349
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
350
350
|
httpStatus: number;
|
|
351
351
|
};
|
|
352
352
|
message: string;
|
|
@@ -356,28 +356,29 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
356
356
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
357
357
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
358
358
|
input: {
|
|
359
|
-
sort?: "
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
sort?: "popular" | "recent" | "name" | undefined;
|
|
360
|
+
search?: string | undefined;
|
|
361
|
+
tags?: string[] | undefined;
|
|
362
362
|
mcVersions?: string[] | undefined;
|
|
363
363
|
loaders?: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[] | undefined;
|
|
364
364
|
visibility?: ("public" | "private" | "unlisted")[] | undefined;
|
|
365
365
|
source?: ("anvil" | "modrinth")[] | undefined;
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
page?: number | undefined;
|
|
367
|
+
pageSize?: number | undefined;
|
|
368
368
|
};
|
|
369
369
|
output: {
|
|
370
370
|
page: number;
|
|
371
371
|
pageSize: number;
|
|
372
372
|
items: {
|
|
373
|
+
mcVersions: string[];
|
|
374
|
+
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
375
|
+
visibility: "public" | "private" | "unlisted";
|
|
376
|
+
source: "anvil" | "modrinth";
|
|
377
|
+
name: string;
|
|
373
378
|
id: string;
|
|
374
379
|
slug: string;
|
|
375
|
-
name: string;
|
|
376
380
|
shortDescription: string;
|
|
377
381
|
iconUrl: string | null;
|
|
378
|
-
mcVersions: string[];
|
|
379
|
-
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
380
|
-
visibility: "public" | "private" | "unlisted";
|
|
381
382
|
pricing: {
|
|
382
383
|
model: "free";
|
|
383
384
|
} | {
|
|
@@ -387,10 +388,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
387
388
|
} | {
|
|
388
389
|
model: "subscription";
|
|
389
390
|
tiers: {
|
|
390
|
-
|
|
391
|
+
interval: "month" | "year";
|
|
391
392
|
name: string;
|
|
393
|
+
id: string;
|
|
392
394
|
priceCents: number;
|
|
393
|
-
interval: "month" | "year";
|
|
394
395
|
}[];
|
|
395
396
|
};
|
|
396
397
|
stats: {
|
|
@@ -398,7 +399,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
398
399
|
favorites: number;
|
|
399
400
|
updatedAt: string;
|
|
400
401
|
};
|
|
401
|
-
source: "anvil" | "modrinth";
|
|
402
402
|
}[];
|
|
403
403
|
total: number;
|
|
404
404
|
};
|
|
@@ -409,14 +409,15 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
409
409
|
idOrSlug: string;
|
|
410
410
|
};
|
|
411
411
|
output: {
|
|
412
|
+
mcVersions: string[];
|
|
413
|
+
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
414
|
+
visibility: "public" | "private" | "unlisted";
|
|
415
|
+
source: "anvil" | "modrinth";
|
|
416
|
+
name: string;
|
|
412
417
|
id: string;
|
|
413
418
|
slug: string;
|
|
414
|
-
name: string;
|
|
415
419
|
shortDescription: string;
|
|
416
420
|
iconUrl: string | null;
|
|
417
|
-
mcVersions: string[];
|
|
418
|
-
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
419
|
-
visibility: "public" | "private" | "unlisted";
|
|
420
421
|
pricing: {
|
|
421
422
|
model: "free";
|
|
422
423
|
} | {
|
|
@@ -426,10 +427,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
426
427
|
} | {
|
|
427
428
|
model: "subscription";
|
|
428
429
|
tiers: {
|
|
429
|
-
|
|
430
|
+
interval: "month" | "year";
|
|
430
431
|
name: string;
|
|
432
|
+
id: string;
|
|
431
433
|
priceCents: number;
|
|
432
|
-
interval: "month" | "year";
|
|
433
434
|
}[];
|
|
434
435
|
};
|
|
435
436
|
stats: {
|
|
@@ -437,10 +438,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
437
438
|
favorites: number;
|
|
438
439
|
updatedAt: string;
|
|
439
440
|
};
|
|
440
|
-
source: "anvil" | "modrinth";
|
|
441
441
|
versions: {
|
|
442
|
-
id: string;
|
|
443
442
|
name: string;
|
|
443
|
+
id: string;
|
|
444
444
|
buildId: string;
|
|
445
445
|
mcVersion: string;
|
|
446
446
|
loader: "vanilla" | "fabric" | "forge" | "neoforge" | "quilt";
|
|
@@ -495,7 +495,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
495
495
|
meta: object;
|
|
496
496
|
errorShape: {
|
|
497
497
|
data: {
|
|
498
|
-
code: "
|
|
498
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
499
499
|
httpStatus: number;
|
|
500
500
|
};
|
|
501
501
|
message: string;
|
|
@@ -505,14 +505,14 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
505
505
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
506
506
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
507
507
|
input: {
|
|
508
|
-
status?: "
|
|
508
|
+
status?: "expired" | "active" | "revoked" | undefined;
|
|
509
509
|
buildId?: string | undefined;
|
|
510
510
|
};
|
|
511
511
|
output: {
|
|
512
|
-
status: "
|
|
512
|
+
status: "expired" | "active" | "revoked";
|
|
513
513
|
expiresAt: string | null;
|
|
514
|
-
id: string;
|
|
515
514
|
source: "subscription" | "purchase" | "gift" | "promo" | "dev_grant";
|
|
515
|
+
id: string;
|
|
516
516
|
buildId: string;
|
|
517
517
|
buildName: string;
|
|
518
518
|
grantedAt: string;
|
|
@@ -526,10 +526,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
526
526
|
output: {
|
|
527
527
|
hasAccess: boolean;
|
|
528
528
|
license?: {
|
|
529
|
-
status: "
|
|
529
|
+
status: "expired" | "active" | "revoked";
|
|
530
530
|
expiresAt: string | null;
|
|
531
|
-
id: string;
|
|
532
531
|
source: "subscription" | "purchase" | "gift" | "promo" | "dev_grant";
|
|
532
|
+
id: string;
|
|
533
533
|
buildId: string;
|
|
534
534
|
buildName: string;
|
|
535
535
|
grantedAt: string;
|
|
@@ -548,7 +548,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
548
548
|
meta: object;
|
|
549
549
|
errorShape: {
|
|
550
550
|
data: {
|
|
551
|
-
code: "
|
|
551
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
552
552
|
httpStatus: number;
|
|
553
553
|
};
|
|
554
554
|
message: string;
|
|
@@ -565,7 +565,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
565
565
|
meta: object;
|
|
566
566
|
errorShape: {
|
|
567
567
|
data: {
|
|
568
|
-
code: "
|
|
568
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
569
569
|
httpStatus: number;
|
|
570
570
|
};
|
|
571
571
|
message: string;
|
|
@@ -676,7 +676,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
676
676
|
meta: object;
|
|
677
677
|
errorShape: {
|
|
678
678
|
data: {
|
|
679
|
-
code: "
|
|
679
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
680
680
|
httpStatus: number;
|
|
681
681
|
};
|
|
682
682
|
message: string;
|
|
@@ -708,7 +708,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
708
708
|
meta: object;
|
|
709
709
|
errorShape: {
|
|
710
710
|
data: {
|
|
711
|
-
code: "
|
|
711
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
712
712
|
httpStatus: number;
|
|
713
713
|
};
|
|
714
714
|
message: string;
|
|
@@ -749,7 +749,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
749
749
|
meta: object;
|
|
750
750
|
errorShape: {
|
|
751
751
|
data: {
|
|
752
|
-
code: "
|
|
752
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
753
753
|
httpStatus: number;
|
|
754
754
|
};
|
|
755
755
|
message: string;
|
|
@@ -775,7 +775,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
775
775
|
meta: object;
|
|
776
776
|
errorShape: {
|
|
777
777
|
data: {
|
|
778
|
-
code: "
|
|
778
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
779
779
|
httpStatus: number;
|
|
780
780
|
};
|
|
781
781
|
message: string;
|
|
@@ -803,7 +803,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
803
803
|
meta: object;
|
|
804
804
|
errorShape: {
|
|
805
805
|
data: {
|
|
806
|
-
code: "
|
|
806
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
807
807
|
httpStatus: number;
|
|
808
808
|
};
|
|
809
809
|
message: string;
|
|
@@ -815,8 +815,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
815
815
|
input: void;
|
|
816
816
|
output: {
|
|
817
817
|
items: {
|
|
818
|
-
id: string;
|
|
819
818
|
name: string;
|
|
819
|
+
id: string;
|
|
820
820
|
domains: string[];
|
|
821
821
|
addedAt: string;
|
|
822
822
|
}[];
|
|
@@ -830,8 +830,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
830
830
|
};
|
|
831
831
|
output: {
|
|
832
832
|
host: {
|
|
833
|
-
id: string;
|
|
834
833
|
name: string;
|
|
834
|
+
id: string;
|
|
835
835
|
domains: string[];
|
|
836
836
|
addedAt: string;
|
|
837
837
|
};
|
|
@@ -857,7 +857,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
857
857
|
meta: object;
|
|
858
858
|
errorShape: {
|
|
859
859
|
data: {
|
|
860
|
-
code: "
|
|
860
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
861
861
|
httpStatus: number;
|
|
862
862
|
};
|
|
863
863
|
message: string;
|
|
@@ -868,8 +868,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
868
868
|
get: _trpc_server.TRPCQueryProcedure<{
|
|
869
869
|
input: void;
|
|
870
870
|
output: {
|
|
871
|
-
updatedAt: string;
|
|
872
871
|
version: string;
|
|
872
|
+
updatedAt: string;
|
|
873
873
|
accepted: boolean;
|
|
874
874
|
rules: {
|
|
875
875
|
locale: string;
|
|
@@ -896,7 +896,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
896
896
|
meta: object;
|
|
897
897
|
errorShape: {
|
|
898
898
|
data: {
|
|
899
|
-
code: "
|
|
899
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
900
900
|
httpStatus: number;
|
|
901
901
|
};
|
|
902
902
|
message: string;
|
|
@@ -924,7 +924,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
924
924
|
meta: object;
|
|
925
925
|
errorShape: {
|
|
926
926
|
data: {
|
|
927
|
-
code: "
|
|
927
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
928
928
|
httpStatus: number;
|
|
929
929
|
};
|
|
930
930
|
message: string;
|
|
@@ -935,19 +935,19 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
935
935
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
936
936
|
input: {
|
|
937
937
|
type?: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote" | undefined;
|
|
938
|
-
offset?: number | undefined;
|
|
939
|
-
limit?: number | undefined;
|
|
940
938
|
owned?: boolean | undefined;
|
|
939
|
+
limit?: number | undefined;
|
|
940
|
+
offset?: number | undefined;
|
|
941
941
|
};
|
|
942
942
|
output: {
|
|
943
943
|
items: {
|
|
944
944
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
945
|
-
id: string;
|
|
946
945
|
name: Record<string, string>;
|
|
946
|
+
id: string;
|
|
947
947
|
iconUrl: string | null;
|
|
948
|
+
owned: boolean;
|
|
948
949
|
rarity: "common" | "uncommon" | "rare" | "epic" | "legendary";
|
|
949
950
|
modelUrl: string | null;
|
|
950
|
-
owned: boolean;
|
|
951
951
|
equipped: boolean;
|
|
952
952
|
description?: Record<string, string> | undefined;
|
|
953
953
|
}[];
|
|
@@ -975,7 +975,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
975
975
|
meta: object;
|
|
976
976
|
errorShape: {
|
|
977
977
|
data: {
|
|
978
|
-
code: "
|
|
978
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
979
979
|
httpStatus: number;
|
|
980
980
|
};
|
|
981
981
|
message: string;
|
|
@@ -992,7 +992,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
992
992
|
meta: object;
|
|
993
993
|
errorShape: {
|
|
994
994
|
data: {
|
|
995
|
-
code: "
|
|
995
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
996
996
|
httpStatus: number;
|
|
997
997
|
};
|
|
998
998
|
message: string;
|
|
@@ -1002,9 +1002,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1002
1002
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
1003
1003
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
1004
1004
|
input: {
|
|
1005
|
-
offset?: number | undefined;
|
|
1006
1005
|
search?: string | undefined;
|
|
1007
1006
|
limit?: number | undefined;
|
|
1007
|
+
offset?: number | undefined;
|
|
1008
1008
|
} | undefined;
|
|
1009
1009
|
output: never;
|
|
1010
1010
|
meta: object;
|
|
@@ -1041,7 +1041,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1041
1041
|
meta: object;
|
|
1042
1042
|
errorShape: {
|
|
1043
1043
|
data: {
|
|
1044
|
-
code: "
|
|
1044
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1045
1045
|
httpStatus: number;
|
|
1046
1046
|
};
|
|
1047
1047
|
message: string;
|
|
@@ -1056,11 +1056,11 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1056
1056
|
}>;
|
|
1057
1057
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
1058
1058
|
input: {
|
|
1059
|
-
slug: string;
|
|
1060
1059
|
name: string;
|
|
1060
|
+
slug: string;
|
|
1061
|
+
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
1061
1062
|
shortDescription?: string | undefined;
|
|
1062
1063
|
iconUrl?: string | undefined;
|
|
1063
|
-
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
1064
1064
|
};
|
|
1065
1065
|
output: never;
|
|
1066
1066
|
meta: object;
|
|
@@ -1068,10 +1068,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1068
1068
|
update: _trpc_server.TRPCMutationProcedure<{
|
|
1069
1069
|
input: {
|
|
1070
1070
|
id: string;
|
|
1071
|
+
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
1071
1072
|
name?: string | undefined;
|
|
1072
1073
|
shortDescription?: string | undefined;
|
|
1073
1074
|
iconUrl?: string | null | undefined;
|
|
1074
|
-
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
1075
1075
|
};
|
|
1076
1076
|
output: never;
|
|
1077
1077
|
meta: object;
|
|
@@ -1096,8 +1096,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1096
1096
|
buildId: string;
|
|
1097
1097
|
mcVersion: string;
|
|
1098
1098
|
loader: "VANILLA" | "FABRIC" | "FORGE" | "NEOFORGE" | "QUILT";
|
|
1099
|
-
sha256?: string | undefined;
|
|
1100
1099
|
loaderVersion?: string | undefined;
|
|
1100
|
+
sha256?: string | undefined;
|
|
1101
1101
|
changelog?: string | undefined;
|
|
1102
1102
|
downloadUrl?: string | undefined;
|
|
1103
1103
|
bytes?: number | undefined;
|
|
@@ -1122,7 +1122,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1122
1122
|
meta: object;
|
|
1123
1123
|
errorShape: {
|
|
1124
1124
|
data: {
|
|
1125
|
-
code: "
|
|
1125
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1126
1126
|
httpStatus: number;
|
|
1127
1127
|
};
|
|
1128
1128
|
message: string;
|
|
@@ -1151,7 +1151,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1151
1151
|
meta: object;
|
|
1152
1152
|
errorShape: {
|
|
1153
1153
|
data: {
|
|
1154
|
-
code: "
|
|
1154
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1155
1155
|
httpStatus: number;
|
|
1156
1156
|
};
|
|
1157
1157
|
message: string;
|
|
@@ -1163,8 +1163,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1163
1163
|
input: void;
|
|
1164
1164
|
output: {
|
|
1165
1165
|
items: {
|
|
1166
|
-
id: string;
|
|
1167
1166
|
name: string;
|
|
1167
|
+
id: string;
|
|
1168
1168
|
updatedAt: string;
|
|
1169
1169
|
slots: {
|
|
1170
1170
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
@@ -1185,8 +1185,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1185
1185
|
};
|
|
1186
1186
|
output: {
|
|
1187
1187
|
outfit: {
|
|
1188
|
-
id: string;
|
|
1189
1188
|
name: string;
|
|
1189
|
+
id: string;
|
|
1190
1190
|
updatedAt: string;
|
|
1191
1191
|
slots: {
|
|
1192
1192
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
@@ -1208,8 +1208,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1208
1208
|
};
|
|
1209
1209
|
output: {
|
|
1210
1210
|
outfit: {
|
|
1211
|
-
id: string;
|
|
1212
1211
|
name: string;
|
|
1212
|
+
id: string;
|
|
1213
1213
|
updatedAt: string;
|
|
1214
1214
|
slots: {
|
|
1215
1215
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
@@ -1239,7 +1239,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1239
1239
|
meta: object;
|
|
1240
1240
|
errorShape: {
|
|
1241
1241
|
data: {
|
|
1242
|
-
code: "
|
|
1242
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1243
1243
|
httpStatus: number;
|
|
1244
1244
|
};
|
|
1245
1245
|
message: string;
|
|
@@ -1251,8 +1251,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1251
1251
|
input: void;
|
|
1252
1252
|
output: {
|
|
1253
1253
|
items: {
|
|
1254
|
-
id: string;
|
|
1255
1254
|
name: string;
|
|
1255
|
+
id: string;
|
|
1256
1256
|
slots: {
|
|
1257
1257
|
position: number;
|
|
1258
1258
|
emoteId: string | null;
|
|
@@ -1264,8 +1264,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1264
1264
|
}>;
|
|
1265
1265
|
save: _trpc_server.TRPCMutationProcedure<{
|
|
1266
1266
|
input: {
|
|
1267
|
-
id: string | null;
|
|
1268
1267
|
name: string;
|
|
1268
|
+
id: string | null;
|
|
1269
1269
|
slots: {
|
|
1270
1270
|
position: number;
|
|
1271
1271
|
emoteId: string | null;
|
|
@@ -1273,8 +1273,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1273
1273
|
};
|
|
1274
1274
|
output: {
|
|
1275
1275
|
wheel: {
|
|
1276
|
-
id: string;
|
|
1277
1276
|
name: string;
|
|
1277
|
+
id: string;
|
|
1278
1278
|
slots: {
|
|
1279
1279
|
position: number;
|
|
1280
1280
|
emoteId: string | null;
|
|
@@ -1294,7 +1294,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1294
1294
|
meta: object;
|
|
1295
1295
|
errorShape: {
|
|
1296
1296
|
data: {
|
|
1297
|
-
code: "
|
|
1297
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1298
1298
|
httpStatus: number;
|
|
1299
1299
|
};
|
|
1300
1300
|
message: string;
|
|
@@ -1306,9 +1306,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1306
1306
|
input: void;
|
|
1307
1307
|
output: {
|
|
1308
1308
|
items: {
|
|
1309
|
-
id: string;
|
|
1310
|
-
name: string;
|
|
1311
1309
|
source: "mojang" | "uploaded";
|
|
1310
|
+
name: string;
|
|
1311
|
+
id: string;
|
|
1312
1312
|
sha256: string;
|
|
1313
1313
|
sizeBytes: number;
|
|
1314
1314
|
active: boolean;
|
|
@@ -1327,9 +1327,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1327
1327
|
};
|
|
1328
1328
|
output: {
|
|
1329
1329
|
skin: {
|
|
1330
|
-
id: string;
|
|
1331
|
-
name: string;
|
|
1332
1330
|
source: "mojang" | "uploaded";
|
|
1331
|
+
name: string;
|
|
1332
|
+
id: string;
|
|
1333
1333
|
sha256: string;
|
|
1334
1334
|
sizeBytes: number;
|
|
1335
1335
|
active: boolean;
|
|
@@ -1359,7 +1359,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1359
1359
|
meta: object;
|
|
1360
1360
|
errorShape: {
|
|
1361
1361
|
data: {
|
|
1362
|
-
code: "
|
|
1362
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1363
1363
|
httpStatus: number;
|
|
1364
1364
|
};
|
|
1365
1365
|
message: string;
|
|
@@ -1376,7 +1376,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1376
1376
|
meta: object;
|
|
1377
1377
|
errorShape: {
|
|
1378
1378
|
data: {
|
|
1379
|
-
code: "
|
|
1379
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1380
1380
|
httpStatus: number;
|
|
1381
1381
|
};
|
|
1382
1382
|
message: string;
|
|
@@ -1390,12 +1390,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1390
1390
|
};
|
|
1391
1391
|
output: {
|
|
1392
1392
|
items: {
|
|
1393
|
-
id: string;
|
|
1394
|
-
name: string | null;
|
|
1395
1393
|
kind: "DM" | "GROUP" | "ANNOUNCEMENT";
|
|
1394
|
+
name: string | null;
|
|
1395
|
+
id: string;
|
|
1396
1396
|
createdAt: string;
|
|
1397
1397
|
members: {
|
|
1398
|
-
role: "
|
|
1398
|
+
role: "admin" | "owner" | "member";
|
|
1399
1399
|
user: {
|
|
1400
1400
|
email: string;
|
|
1401
1401
|
uuid: string;
|
|
@@ -1420,12 +1420,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1420
1420
|
};
|
|
1421
1421
|
output: {
|
|
1422
1422
|
channel: {
|
|
1423
|
-
id: string;
|
|
1424
|
-
name: string | null;
|
|
1425
1423
|
kind: "DM" | "GROUP" | "ANNOUNCEMENT";
|
|
1424
|
+
name: string | null;
|
|
1425
|
+
id: string;
|
|
1426
1426
|
createdAt: string;
|
|
1427
1427
|
members: {
|
|
1428
|
-
role: "
|
|
1428
|
+
role: "admin" | "owner" | "member";
|
|
1429
1429
|
user: {
|
|
1430
1430
|
email: string;
|
|
1431
1431
|
uuid: string;
|
|
@@ -1451,12 +1451,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1451
1451
|
};
|
|
1452
1452
|
output: {
|
|
1453
1453
|
channel: {
|
|
1454
|
-
id: string;
|
|
1455
|
-
name: string | null;
|
|
1456
1454
|
kind: "DM" | "GROUP" | "ANNOUNCEMENT";
|
|
1455
|
+
name: string | null;
|
|
1456
|
+
id: string;
|
|
1457
1457
|
createdAt: string;
|
|
1458
1458
|
members: {
|
|
1459
|
-
role: "
|
|
1459
|
+
role: "admin" | "owner" | "member";
|
|
1460
1460
|
user: {
|
|
1461
1461
|
email: string;
|
|
1462
1462
|
uuid: string;
|
|
@@ -1485,7 +1485,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1485
1485
|
meta: object;
|
|
1486
1486
|
errorShape: {
|
|
1487
1487
|
data: {
|
|
1488
|
-
code: "
|
|
1488
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1489
1489
|
httpStatus: number;
|
|
1490
1490
|
};
|
|
1491
1491
|
message: string;
|
|
@@ -1610,7 +1610,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1610
1610
|
meta: object;
|
|
1611
1611
|
errorShape: {
|
|
1612
1612
|
data: {
|
|
1613
|
-
code: "
|
|
1613
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1614
1614
|
httpStatus: number;
|
|
1615
1615
|
};
|
|
1616
1616
|
message: string;
|
|
@@ -1620,17 +1620,17 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1620
1620
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
1621
1621
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
1622
1622
|
input: {
|
|
1623
|
-
|
|
1624
|
-
kind?: "world" | "screenshot" | "video" | "skin" | undefined;
|
|
1623
|
+
kind?: "skin" | "screenshot" | "video" | "world" | undefined;
|
|
1625
1624
|
limit?: number | undefined;
|
|
1625
|
+
offset?: number | undefined;
|
|
1626
1626
|
};
|
|
1627
1627
|
output: {
|
|
1628
1628
|
items: {
|
|
1629
|
-
|
|
1629
|
+
kind: "skin" | "screenshot" | "video" | "world";
|
|
1630
1630
|
id: string;
|
|
1631
|
+
url: string;
|
|
1631
1632
|
sha256: string;
|
|
1632
1633
|
sizeBytes: number;
|
|
1633
|
-
kind: "world" | "screenshot" | "video" | "skin";
|
|
1634
1634
|
createdAt: string;
|
|
1635
1635
|
thumbnailUrl: string | null;
|
|
1636
1636
|
width?: number | undefined;
|
|
@@ -1642,7 +1642,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1642
1642
|
}>;
|
|
1643
1643
|
upload: _trpc_server.TRPCMutationProcedure<{
|
|
1644
1644
|
input: {
|
|
1645
|
-
kind: "
|
|
1645
|
+
kind: "skin" | "screenshot" | "video" | "world";
|
|
1646
1646
|
data: string;
|
|
1647
1647
|
filename: string;
|
|
1648
1648
|
width?: number | undefined;
|
|
@@ -1650,11 +1650,11 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1650
1650
|
};
|
|
1651
1651
|
output: {
|
|
1652
1652
|
item: {
|
|
1653
|
-
|
|
1653
|
+
kind: "skin" | "screenshot" | "video" | "world";
|
|
1654
1654
|
id: string;
|
|
1655
|
+
url: string;
|
|
1655
1656
|
sha256: string;
|
|
1656
1657
|
sizeBytes: number;
|
|
1657
|
-
kind: "world" | "screenshot" | "video" | "skin";
|
|
1658
1658
|
createdAt: string;
|
|
1659
1659
|
thumbnailUrl: string | null;
|
|
1660
1660
|
width?: number | undefined;
|
|
@@ -1683,7 +1683,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1683
1683
|
meta: object;
|
|
1684
1684
|
errorShape: {
|
|
1685
1685
|
data: {
|
|
1686
|
-
code: "
|
|
1686
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1687
1687
|
httpStatus: number;
|
|
1688
1688
|
};
|
|
1689
1689
|
message: string;
|
|
@@ -1699,8 +1699,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1699
1699
|
};
|
|
1700
1700
|
output: {
|
|
1701
1701
|
message: {
|
|
1702
|
-
id: string;
|
|
1703
1702
|
kind: "offer" | "answer" | "candidate";
|
|
1703
|
+
id: string;
|
|
1704
1704
|
fromUuid: string;
|
|
1705
1705
|
toUuid: string;
|
|
1706
1706
|
createdAt: string;
|
|
@@ -1716,8 +1716,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1716
1716
|
};
|
|
1717
1717
|
output: {
|
|
1718
1718
|
items: {
|
|
1719
|
-
id: string;
|
|
1720
1719
|
kind: "offer" | "answer" | "candidate";
|
|
1720
|
+
id: string;
|
|
1721
1721
|
fromUuid: string;
|
|
1722
1722
|
toUuid: string;
|
|
1723
1723
|
createdAt: string;
|
|
@@ -1736,7 +1736,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1736
1736
|
meta: object;
|
|
1737
1737
|
errorShape: {
|
|
1738
1738
|
data: {
|
|
1739
|
-
code: "
|
|
1739
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1740
1740
|
httpStatus: number;
|
|
1741
1741
|
};
|
|
1742
1742
|
message: string;
|
|
@@ -1748,7 +1748,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1748
1748
|
input: void;
|
|
1749
1749
|
output: {
|
|
1750
1750
|
items: {
|
|
1751
|
-
status: "
|
|
1751
|
+
status: "pending" | "error" | "active" | "closed";
|
|
1752
1752
|
id: string;
|
|
1753
1753
|
createdAt: string;
|
|
1754
1754
|
ownerUuid: string;
|
|
@@ -1771,7 +1771,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1771
1771
|
};
|
|
1772
1772
|
output: {
|
|
1773
1773
|
session: {
|
|
1774
|
-
status: "
|
|
1774
|
+
status: "pending" | "error" | "active" | "closed";
|
|
1775
1775
|
id: string;
|
|
1776
1776
|
createdAt: string;
|
|
1777
1777
|
ownerUuid: string;
|
|
@@ -1805,7 +1805,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1805
1805
|
meta: object;
|
|
1806
1806
|
errorShape: {
|
|
1807
1807
|
data: {
|
|
1808
|
-
code: "
|
|
1808
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1809
1809
|
httpStatus: number;
|
|
1810
1810
|
};
|
|
1811
1811
|
message: string;
|
|
@@ -1817,11 +1817,11 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1817
1817
|
input: void;
|
|
1818
1818
|
output: {
|
|
1819
1819
|
items: {
|
|
1820
|
-
|
|
1820
|
+
version: string | null;
|
|
1821
|
+
source: "anvil" | "community";
|
|
1821
1822
|
name: string;
|
|
1823
|
+
id: string;
|
|
1822
1824
|
iconUrl: string | null;
|
|
1823
|
-
source: "anvil" | "community";
|
|
1824
|
-
version: string | null;
|
|
1825
1825
|
address: string;
|
|
1826
1826
|
playerCount: number | null;
|
|
1827
1827
|
maxPlayers: number | null;
|
|
@@ -1841,7 +1841,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1841
1841
|
meta: object;
|
|
1842
1842
|
errorShape: {
|
|
1843
1843
|
data: {
|
|
1844
|
-
code: "
|
|
1844
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1845
1845
|
httpStatus: number;
|
|
1846
1846
|
};
|
|
1847
1847
|
message: string;
|
|
@@ -1868,7 +1868,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1868
1868
|
meta: object;
|
|
1869
1869
|
errorShape: {
|
|
1870
1870
|
data: {
|
|
1871
|
-
code: "
|
|
1871
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1872
1872
|
httpStatus: number;
|
|
1873
1873
|
};
|
|
1874
1874
|
message: string;
|
|
@@ -1881,12 +1881,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1881
1881
|
output: {
|
|
1882
1882
|
items: {
|
|
1883
1883
|
path: string;
|
|
1884
|
-
id: string;
|
|
1885
1884
|
name: string;
|
|
1886
|
-
|
|
1885
|
+
id: string;
|
|
1887
1886
|
mcVersion: string;
|
|
1888
1887
|
loader: "vanilla" | "fabric" | "forge" | "neoforge" | "quilt";
|
|
1889
1888
|
loaderVersion: string;
|
|
1889
|
+
sizeBytes: number;
|
|
1890
1890
|
lastPlayedAt: string | null;
|
|
1891
1891
|
installedAt: string;
|
|
1892
1892
|
}[];
|
|
@@ -1903,7 +1903,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1903
1903
|
meta: object;
|
|
1904
1904
|
errorShape: {
|
|
1905
1905
|
data: {
|
|
1906
|
-
code: "
|
|
1906
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1907
1907
|
httpStatus: number;
|
|
1908
1908
|
};
|
|
1909
1909
|
message: string;
|
|
@@ -1931,7 +1931,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1931
1931
|
meta: object;
|
|
1932
1932
|
errorShape: {
|
|
1933
1933
|
data: {
|
|
1934
|
-
code: "
|
|
1934
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1935
1935
|
httpStatus: number;
|
|
1936
1936
|
};
|
|
1937
1937
|
message: string;
|
|
@@ -1968,7 +1968,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
1968
1968
|
meta: object;
|
|
1969
1969
|
errorShape: {
|
|
1970
1970
|
data: {
|
|
1971
|
-
code: "
|
|
1971
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1972
1972
|
httpStatus: number;
|
|
1973
1973
|
};
|
|
1974
1974
|
message: string;
|
|
@@ -1985,7 +1985,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
1985
1985
|
meta: object;
|
|
1986
1986
|
errorShape: {
|
|
1987
1987
|
data: {
|
|
1988
|
-
code: "
|
|
1988
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
1989
1989
|
httpStatus: number;
|
|
1990
1990
|
};
|
|
1991
1991
|
message: string;
|
|
@@ -2022,7 +2022,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2022
2022
|
meta: object;
|
|
2023
2023
|
errorShape: {
|
|
2024
2024
|
data: {
|
|
2025
|
-
code: "
|
|
2025
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2026
2026
|
httpStatus: number;
|
|
2027
2027
|
};
|
|
2028
2028
|
message: string;
|
|
@@ -2036,6 +2036,9 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2036
2036
|
password: string;
|
|
2037
2037
|
};
|
|
2038
2038
|
output: {
|
|
2039
|
+
accessToken: string;
|
|
2040
|
+
refreshToken: string;
|
|
2041
|
+
expiresAt: string;
|
|
2039
2042
|
user: {
|
|
2040
2043
|
email: string;
|
|
2041
2044
|
uuid: string;
|
|
@@ -2044,19 +2047,19 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2044
2047
|
avatarUrl: string | null;
|
|
2045
2048
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
2046
2049
|
};
|
|
2047
|
-
accessToken: string;
|
|
2048
|
-
refreshToken: string;
|
|
2049
|
-
expiresAt: string;
|
|
2050
2050
|
};
|
|
2051
2051
|
meta: object;
|
|
2052
2052
|
}>;
|
|
2053
2053
|
signUp: _trpc_server.TRPCMutationProcedure<{
|
|
2054
2054
|
input: {
|
|
2055
2055
|
email: string;
|
|
2056
|
-
username: string;
|
|
2057
2056
|
password: string;
|
|
2057
|
+
username: string;
|
|
2058
2058
|
};
|
|
2059
2059
|
output: {
|
|
2060
|
+
accessToken: string;
|
|
2061
|
+
refreshToken: string;
|
|
2062
|
+
expiresAt: string;
|
|
2060
2063
|
user: {
|
|
2061
2064
|
email: string;
|
|
2062
2065
|
uuid: string;
|
|
@@ -2065,9 +2068,6 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2065
2068
|
avatarUrl: string | null;
|
|
2066
2069
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
2067
2070
|
};
|
|
2068
|
-
accessToken: string;
|
|
2069
|
-
refreshToken: string;
|
|
2070
|
-
expiresAt: string;
|
|
2071
2071
|
};
|
|
2072
2072
|
meta: object;
|
|
2073
2073
|
}>;
|
|
@@ -2088,6 +2088,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2088
2088
|
};
|
|
2089
2089
|
output: {
|
|
2090
2090
|
valid: boolean;
|
|
2091
|
+
expiresAt?: string | undefined;
|
|
2091
2092
|
user?: {
|
|
2092
2093
|
email: string;
|
|
2093
2094
|
uuid: string;
|
|
@@ -2096,7 +2097,6 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2096
2097
|
avatarUrl: string | null;
|
|
2097
2098
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
2098
2099
|
} | undefined;
|
|
2099
|
-
expiresAt?: string | undefined;
|
|
2100
2100
|
};
|
|
2101
2101
|
meta: object;
|
|
2102
2102
|
}>;
|
|
@@ -2129,7 +2129,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2129
2129
|
meta: object;
|
|
2130
2130
|
errorShape: {
|
|
2131
2131
|
data: {
|
|
2132
|
-
code: "
|
|
2132
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2133
2133
|
httpStatus: number;
|
|
2134
2134
|
};
|
|
2135
2135
|
message: string;
|
|
@@ -2141,6 +2141,9 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2141
2141
|
input: void;
|
|
2142
2142
|
output: {
|
|
2143
2143
|
anvil: {
|
|
2144
|
+
accessToken: string;
|
|
2145
|
+
refreshToken: string;
|
|
2146
|
+
expiresAt: string;
|
|
2144
2147
|
user: {
|
|
2145
2148
|
email: string;
|
|
2146
2149
|
uuid: string;
|
|
@@ -2149,15 +2152,12 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2149
2152
|
avatarUrl: string | null;
|
|
2150
2153
|
role: "USER" | "MODERATOR" | "ADMIN";
|
|
2151
2154
|
};
|
|
2152
|
-
accessToken: string;
|
|
2153
|
-
refreshToken: string;
|
|
2154
|
-
expiresAt: string;
|
|
2155
2155
|
};
|
|
2156
2156
|
mojang: {
|
|
2157
|
-
uuid: string;
|
|
2158
|
-
username: string;
|
|
2159
2157
|
accessToken: string;
|
|
2160
2158
|
expiresAt: string;
|
|
2159
|
+
uuid: string;
|
|
2160
|
+
username: string;
|
|
2161
2161
|
} | null;
|
|
2162
2162
|
};
|
|
2163
2163
|
meta: object;
|
|
@@ -2172,7 +2172,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2172
2172
|
meta: object;
|
|
2173
2173
|
errorShape: {
|
|
2174
2174
|
data: {
|
|
2175
|
-
code: "
|
|
2175
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2176
2176
|
httpStatus: number;
|
|
2177
2177
|
};
|
|
2178
2178
|
message: string;
|
|
@@ -2183,11 +2183,11 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2183
2183
|
startDeviceCode: _trpc_server.TRPCMutationProcedure<{
|
|
2184
2184
|
input: void;
|
|
2185
2185
|
output: {
|
|
2186
|
-
interval: number;
|
|
2187
2186
|
deviceCode: string;
|
|
2188
2187
|
userCode: string;
|
|
2189
2188
|
verificationUri: string;
|
|
2190
2189
|
expiresIn: number;
|
|
2190
|
+
interval: number;
|
|
2191
2191
|
};
|
|
2192
2192
|
meta: object;
|
|
2193
2193
|
}>;
|
|
@@ -2207,7 +2207,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2207
2207
|
} | {
|
|
2208
2208
|
kind: "pending";
|
|
2209
2209
|
} | {
|
|
2210
|
-
code: "
|
|
2210
|
+
code: "authorization_declined" | "expired" | "slow_down";
|
|
2211
2211
|
kind: "error";
|
|
2212
2212
|
};
|
|
2213
2213
|
meta: object;
|
|
@@ -2223,7 +2223,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2223
2223
|
meta: object;
|
|
2224
2224
|
errorShape: {
|
|
2225
2225
|
data: {
|
|
2226
|
-
code: "
|
|
2226
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2227
2227
|
httpStatus: number;
|
|
2228
2228
|
};
|
|
2229
2229
|
message: string;
|
|
@@ -2258,7 +2258,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2258
2258
|
meta: object;
|
|
2259
2259
|
errorShape: {
|
|
2260
2260
|
data: {
|
|
2261
|
-
code: "
|
|
2261
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2262
2262
|
httpStatus: number;
|
|
2263
2263
|
};
|
|
2264
2264
|
message: string;
|
|
@@ -2268,28 +2268,29 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2268
2268
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
2269
2269
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
2270
2270
|
input: {
|
|
2271
|
-
sort?: "
|
|
2272
|
-
|
|
2273
|
-
|
|
2271
|
+
sort?: "popular" | "recent" | "name" | undefined;
|
|
2272
|
+
search?: string | undefined;
|
|
2273
|
+
tags?: string[] | undefined;
|
|
2274
2274
|
mcVersions?: string[] | undefined;
|
|
2275
2275
|
loaders?: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[] | undefined;
|
|
2276
2276
|
visibility?: ("public" | "private" | "unlisted")[] | undefined;
|
|
2277
2277
|
source?: ("anvil" | "modrinth")[] | undefined;
|
|
2278
|
-
|
|
2279
|
-
|
|
2278
|
+
page?: number | undefined;
|
|
2279
|
+
pageSize?: number | undefined;
|
|
2280
2280
|
};
|
|
2281
2281
|
output: {
|
|
2282
2282
|
page: number;
|
|
2283
2283
|
pageSize: number;
|
|
2284
2284
|
items: {
|
|
2285
|
+
mcVersions: string[];
|
|
2286
|
+
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
2287
|
+
visibility: "public" | "private" | "unlisted";
|
|
2288
|
+
source: "anvil" | "modrinth";
|
|
2289
|
+
name: string;
|
|
2285
2290
|
id: string;
|
|
2286
2291
|
slug: string;
|
|
2287
|
-
name: string;
|
|
2288
2292
|
shortDescription: string;
|
|
2289
2293
|
iconUrl: string | null;
|
|
2290
|
-
mcVersions: string[];
|
|
2291
|
-
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
2292
|
-
visibility: "public" | "private" | "unlisted";
|
|
2293
2294
|
pricing: {
|
|
2294
2295
|
model: "free";
|
|
2295
2296
|
} | {
|
|
@@ -2299,10 +2300,10 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2299
2300
|
} | {
|
|
2300
2301
|
model: "subscription";
|
|
2301
2302
|
tiers: {
|
|
2302
|
-
|
|
2303
|
+
interval: "month" | "year";
|
|
2303
2304
|
name: string;
|
|
2305
|
+
id: string;
|
|
2304
2306
|
priceCents: number;
|
|
2305
|
-
interval: "month" | "year";
|
|
2306
2307
|
}[];
|
|
2307
2308
|
};
|
|
2308
2309
|
stats: {
|
|
@@ -2310,7 +2311,6 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2310
2311
|
favorites: number;
|
|
2311
2312
|
updatedAt: string;
|
|
2312
2313
|
};
|
|
2313
|
-
source: "anvil" | "modrinth";
|
|
2314
2314
|
}[];
|
|
2315
2315
|
total: number;
|
|
2316
2316
|
};
|
|
@@ -2321,14 +2321,15 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2321
2321
|
idOrSlug: string;
|
|
2322
2322
|
};
|
|
2323
2323
|
output: {
|
|
2324
|
+
mcVersions: string[];
|
|
2325
|
+
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
2326
|
+
visibility: "public" | "private" | "unlisted";
|
|
2327
|
+
source: "anvil" | "modrinth";
|
|
2328
|
+
name: string;
|
|
2324
2329
|
id: string;
|
|
2325
2330
|
slug: string;
|
|
2326
|
-
name: string;
|
|
2327
2331
|
shortDescription: string;
|
|
2328
2332
|
iconUrl: string | null;
|
|
2329
|
-
mcVersions: string[];
|
|
2330
|
-
loaders: ("vanilla" | "fabric" | "forge" | "neoforge" | "quilt")[];
|
|
2331
|
-
visibility: "public" | "private" | "unlisted";
|
|
2332
2333
|
pricing: {
|
|
2333
2334
|
model: "free";
|
|
2334
2335
|
} | {
|
|
@@ -2338,10 +2339,10 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2338
2339
|
} | {
|
|
2339
2340
|
model: "subscription";
|
|
2340
2341
|
tiers: {
|
|
2341
|
-
|
|
2342
|
+
interval: "month" | "year";
|
|
2342
2343
|
name: string;
|
|
2344
|
+
id: string;
|
|
2343
2345
|
priceCents: number;
|
|
2344
|
-
interval: "month" | "year";
|
|
2345
2346
|
}[];
|
|
2346
2347
|
};
|
|
2347
2348
|
stats: {
|
|
@@ -2349,10 +2350,9 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2349
2350
|
favorites: number;
|
|
2350
2351
|
updatedAt: string;
|
|
2351
2352
|
};
|
|
2352
|
-
source: "anvil" | "modrinth";
|
|
2353
2353
|
versions: {
|
|
2354
|
-
id: string;
|
|
2355
2354
|
name: string;
|
|
2355
|
+
id: string;
|
|
2356
2356
|
buildId: string;
|
|
2357
2357
|
mcVersion: string;
|
|
2358
2358
|
loader: "vanilla" | "fabric" | "forge" | "neoforge" | "quilt";
|
|
@@ -2407,7 +2407,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2407
2407
|
meta: object;
|
|
2408
2408
|
errorShape: {
|
|
2409
2409
|
data: {
|
|
2410
|
-
code: "
|
|
2410
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2411
2411
|
httpStatus: number;
|
|
2412
2412
|
};
|
|
2413
2413
|
message: string;
|
|
@@ -2417,14 +2417,14 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2417
2417
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
2418
2418
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
2419
2419
|
input: {
|
|
2420
|
-
status?: "
|
|
2420
|
+
status?: "expired" | "active" | "revoked" | undefined;
|
|
2421
2421
|
buildId?: string | undefined;
|
|
2422
2422
|
};
|
|
2423
2423
|
output: {
|
|
2424
|
-
status: "
|
|
2424
|
+
status: "expired" | "active" | "revoked";
|
|
2425
2425
|
expiresAt: string | null;
|
|
2426
|
-
id: string;
|
|
2427
2426
|
source: "subscription" | "purchase" | "gift" | "promo" | "dev_grant";
|
|
2427
|
+
id: string;
|
|
2428
2428
|
buildId: string;
|
|
2429
2429
|
buildName: string;
|
|
2430
2430
|
grantedAt: string;
|
|
@@ -2438,10 +2438,10 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2438
2438
|
output: {
|
|
2439
2439
|
hasAccess: boolean;
|
|
2440
2440
|
license?: {
|
|
2441
|
-
status: "
|
|
2441
|
+
status: "expired" | "active" | "revoked";
|
|
2442
2442
|
expiresAt: string | null;
|
|
2443
|
-
id: string;
|
|
2444
2443
|
source: "subscription" | "purchase" | "gift" | "promo" | "dev_grant";
|
|
2444
|
+
id: string;
|
|
2445
2445
|
buildId: string;
|
|
2446
2446
|
buildName: string;
|
|
2447
2447
|
grantedAt: string;
|
|
@@ -2460,7 +2460,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2460
2460
|
meta: object;
|
|
2461
2461
|
errorShape: {
|
|
2462
2462
|
data: {
|
|
2463
|
-
code: "
|
|
2463
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2464
2464
|
httpStatus: number;
|
|
2465
2465
|
};
|
|
2466
2466
|
message: string;
|
|
@@ -2477,7 +2477,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2477
2477
|
meta: object;
|
|
2478
2478
|
errorShape: {
|
|
2479
2479
|
data: {
|
|
2480
|
-
code: "
|
|
2480
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2481
2481
|
httpStatus: number;
|
|
2482
2482
|
};
|
|
2483
2483
|
message: string;
|
|
@@ -2588,7 +2588,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2588
2588
|
meta: object;
|
|
2589
2589
|
errorShape: {
|
|
2590
2590
|
data: {
|
|
2591
|
-
code: "
|
|
2591
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2592
2592
|
httpStatus: number;
|
|
2593
2593
|
};
|
|
2594
2594
|
message: string;
|
|
@@ -2620,7 +2620,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2620
2620
|
meta: object;
|
|
2621
2621
|
errorShape: {
|
|
2622
2622
|
data: {
|
|
2623
|
-
code: "
|
|
2623
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2624
2624
|
httpStatus: number;
|
|
2625
2625
|
};
|
|
2626
2626
|
message: string;
|
|
@@ -2661,7 +2661,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2661
2661
|
meta: object;
|
|
2662
2662
|
errorShape: {
|
|
2663
2663
|
data: {
|
|
2664
|
-
code: "
|
|
2664
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2665
2665
|
httpStatus: number;
|
|
2666
2666
|
};
|
|
2667
2667
|
message: string;
|
|
@@ -2687,7 +2687,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2687
2687
|
meta: object;
|
|
2688
2688
|
errorShape: {
|
|
2689
2689
|
data: {
|
|
2690
|
-
code: "
|
|
2690
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2691
2691
|
httpStatus: number;
|
|
2692
2692
|
};
|
|
2693
2693
|
message: string;
|
|
@@ -2715,7 +2715,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2715
2715
|
meta: object;
|
|
2716
2716
|
errorShape: {
|
|
2717
2717
|
data: {
|
|
2718
|
-
code: "
|
|
2718
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2719
2719
|
httpStatus: number;
|
|
2720
2720
|
};
|
|
2721
2721
|
message: string;
|
|
@@ -2727,8 +2727,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2727
2727
|
input: void;
|
|
2728
2728
|
output: {
|
|
2729
2729
|
items: {
|
|
2730
|
-
id: string;
|
|
2731
2730
|
name: string;
|
|
2731
|
+
id: string;
|
|
2732
2732
|
domains: string[];
|
|
2733
2733
|
addedAt: string;
|
|
2734
2734
|
}[];
|
|
@@ -2742,8 +2742,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2742
2742
|
};
|
|
2743
2743
|
output: {
|
|
2744
2744
|
host: {
|
|
2745
|
-
id: string;
|
|
2746
2745
|
name: string;
|
|
2746
|
+
id: string;
|
|
2747
2747
|
domains: string[];
|
|
2748
2748
|
addedAt: string;
|
|
2749
2749
|
};
|
|
@@ -2769,7 +2769,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2769
2769
|
meta: object;
|
|
2770
2770
|
errorShape: {
|
|
2771
2771
|
data: {
|
|
2772
|
-
code: "
|
|
2772
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2773
2773
|
httpStatus: number;
|
|
2774
2774
|
};
|
|
2775
2775
|
message: string;
|
|
@@ -2780,8 +2780,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2780
2780
|
get: _trpc_server.TRPCQueryProcedure<{
|
|
2781
2781
|
input: void;
|
|
2782
2782
|
output: {
|
|
2783
|
-
updatedAt: string;
|
|
2784
2783
|
version: string;
|
|
2784
|
+
updatedAt: string;
|
|
2785
2785
|
accepted: boolean;
|
|
2786
2786
|
rules: {
|
|
2787
2787
|
locale: string;
|
|
@@ -2808,7 +2808,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2808
2808
|
meta: object;
|
|
2809
2809
|
errorShape: {
|
|
2810
2810
|
data: {
|
|
2811
|
-
code: "
|
|
2811
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2812
2812
|
httpStatus: number;
|
|
2813
2813
|
};
|
|
2814
2814
|
message: string;
|
|
@@ -2836,7 +2836,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2836
2836
|
meta: object;
|
|
2837
2837
|
errorShape: {
|
|
2838
2838
|
data: {
|
|
2839
|
-
code: "
|
|
2839
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2840
2840
|
httpStatus: number;
|
|
2841
2841
|
};
|
|
2842
2842
|
message: string;
|
|
@@ -2847,19 +2847,19 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2847
2847
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
2848
2848
|
input: {
|
|
2849
2849
|
type?: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote" | undefined;
|
|
2850
|
-
offset?: number | undefined;
|
|
2851
|
-
limit?: number | undefined;
|
|
2852
2850
|
owned?: boolean | undefined;
|
|
2851
|
+
limit?: number | undefined;
|
|
2852
|
+
offset?: number | undefined;
|
|
2853
2853
|
};
|
|
2854
2854
|
output: {
|
|
2855
2855
|
items: {
|
|
2856
2856
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
2857
|
-
id: string;
|
|
2858
2857
|
name: Record<string, string>;
|
|
2858
|
+
id: string;
|
|
2859
2859
|
iconUrl: string | null;
|
|
2860
|
+
owned: boolean;
|
|
2860
2861
|
rarity: "common" | "uncommon" | "rare" | "epic" | "legendary";
|
|
2861
2862
|
modelUrl: string | null;
|
|
2862
|
-
owned: boolean;
|
|
2863
2863
|
equipped: boolean;
|
|
2864
2864
|
description?: Record<string, string> | undefined;
|
|
2865
2865
|
}[];
|
|
@@ -2887,7 +2887,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2887
2887
|
meta: object;
|
|
2888
2888
|
errorShape: {
|
|
2889
2889
|
data: {
|
|
2890
|
-
code: "
|
|
2890
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2891
2891
|
httpStatus: number;
|
|
2892
2892
|
};
|
|
2893
2893
|
message: string;
|
|
@@ -2904,7 +2904,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2904
2904
|
meta: object;
|
|
2905
2905
|
errorShape: {
|
|
2906
2906
|
data: {
|
|
2907
|
-
code: "
|
|
2907
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2908
2908
|
httpStatus: number;
|
|
2909
2909
|
};
|
|
2910
2910
|
message: string;
|
|
@@ -2914,9 +2914,9 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2914
2914
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
2915
2915
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
2916
2916
|
input: {
|
|
2917
|
-
offset?: number | undefined;
|
|
2918
2917
|
search?: string | undefined;
|
|
2919
2918
|
limit?: number | undefined;
|
|
2919
|
+
offset?: number | undefined;
|
|
2920
2920
|
} | undefined;
|
|
2921
2921
|
output: never;
|
|
2922
2922
|
meta: object;
|
|
@@ -2953,7 +2953,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2953
2953
|
meta: object;
|
|
2954
2954
|
errorShape: {
|
|
2955
2955
|
data: {
|
|
2956
|
-
code: "
|
|
2956
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2957
2957
|
httpStatus: number;
|
|
2958
2958
|
};
|
|
2959
2959
|
message: string;
|
|
@@ -2968,11 +2968,11 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2968
2968
|
}>;
|
|
2969
2969
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
2970
2970
|
input: {
|
|
2971
|
-
slug: string;
|
|
2972
2971
|
name: string;
|
|
2972
|
+
slug: string;
|
|
2973
|
+
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
2973
2974
|
shortDescription?: string | undefined;
|
|
2974
2975
|
iconUrl?: string | undefined;
|
|
2975
|
-
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
2976
2976
|
};
|
|
2977
2977
|
output: never;
|
|
2978
2978
|
meta: object;
|
|
@@ -2980,10 +2980,10 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
2980
2980
|
update: _trpc_server.TRPCMutationProcedure<{
|
|
2981
2981
|
input: {
|
|
2982
2982
|
id: string;
|
|
2983
|
+
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
2983
2984
|
name?: string | undefined;
|
|
2984
2985
|
shortDescription?: string | undefined;
|
|
2985
2986
|
iconUrl?: string | null | undefined;
|
|
2986
|
-
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
2987
2987
|
};
|
|
2988
2988
|
output: never;
|
|
2989
2989
|
meta: object;
|
|
@@ -3008,8 +3008,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3008
3008
|
buildId: string;
|
|
3009
3009
|
mcVersion: string;
|
|
3010
3010
|
loader: "VANILLA" | "FABRIC" | "FORGE" | "NEOFORGE" | "QUILT";
|
|
3011
|
-
sha256?: string | undefined;
|
|
3012
3011
|
loaderVersion?: string | undefined;
|
|
3012
|
+
sha256?: string | undefined;
|
|
3013
3013
|
changelog?: string | undefined;
|
|
3014
3014
|
downloadUrl?: string | undefined;
|
|
3015
3015
|
bytes?: number | undefined;
|
|
@@ -3034,7 +3034,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3034
3034
|
meta: object;
|
|
3035
3035
|
errorShape: {
|
|
3036
3036
|
data: {
|
|
3037
|
-
code: "
|
|
3037
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3038
3038
|
httpStatus: number;
|
|
3039
3039
|
};
|
|
3040
3040
|
message: string;
|
|
@@ -3063,7 +3063,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3063
3063
|
meta: object;
|
|
3064
3064
|
errorShape: {
|
|
3065
3065
|
data: {
|
|
3066
|
-
code: "
|
|
3066
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3067
3067
|
httpStatus: number;
|
|
3068
3068
|
};
|
|
3069
3069
|
message: string;
|
|
@@ -3075,8 +3075,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3075
3075
|
input: void;
|
|
3076
3076
|
output: {
|
|
3077
3077
|
items: {
|
|
3078
|
-
id: string;
|
|
3079
3078
|
name: string;
|
|
3079
|
+
id: string;
|
|
3080
3080
|
updatedAt: string;
|
|
3081
3081
|
slots: {
|
|
3082
3082
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
@@ -3097,8 +3097,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3097
3097
|
};
|
|
3098
3098
|
output: {
|
|
3099
3099
|
outfit: {
|
|
3100
|
-
id: string;
|
|
3101
3100
|
name: string;
|
|
3101
|
+
id: string;
|
|
3102
3102
|
updatedAt: string;
|
|
3103
3103
|
slots: {
|
|
3104
3104
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
@@ -3120,8 +3120,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3120
3120
|
};
|
|
3121
3121
|
output: {
|
|
3122
3122
|
outfit: {
|
|
3123
|
-
id: string;
|
|
3124
3123
|
name: string;
|
|
3124
|
+
id: string;
|
|
3125
3125
|
updatedAt: string;
|
|
3126
3126
|
slots: {
|
|
3127
3127
|
type: "body" | "hat" | "back" | "face" | "hand" | "feet" | "particle" | "emote";
|
|
@@ -3151,7 +3151,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3151
3151
|
meta: object;
|
|
3152
3152
|
errorShape: {
|
|
3153
3153
|
data: {
|
|
3154
|
-
code: "
|
|
3154
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3155
3155
|
httpStatus: number;
|
|
3156
3156
|
};
|
|
3157
3157
|
message: string;
|
|
@@ -3163,8 +3163,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3163
3163
|
input: void;
|
|
3164
3164
|
output: {
|
|
3165
3165
|
items: {
|
|
3166
|
-
id: string;
|
|
3167
3166
|
name: string;
|
|
3167
|
+
id: string;
|
|
3168
3168
|
slots: {
|
|
3169
3169
|
position: number;
|
|
3170
3170
|
emoteId: string | null;
|
|
@@ -3176,8 +3176,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3176
3176
|
}>;
|
|
3177
3177
|
save: _trpc_server.TRPCMutationProcedure<{
|
|
3178
3178
|
input: {
|
|
3179
|
-
id: string | null;
|
|
3180
3179
|
name: string;
|
|
3180
|
+
id: string | null;
|
|
3181
3181
|
slots: {
|
|
3182
3182
|
position: number;
|
|
3183
3183
|
emoteId: string | null;
|
|
@@ -3185,8 +3185,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3185
3185
|
};
|
|
3186
3186
|
output: {
|
|
3187
3187
|
wheel: {
|
|
3188
|
-
id: string;
|
|
3189
3188
|
name: string;
|
|
3189
|
+
id: string;
|
|
3190
3190
|
slots: {
|
|
3191
3191
|
position: number;
|
|
3192
3192
|
emoteId: string | null;
|
|
@@ -3206,7 +3206,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3206
3206
|
meta: object;
|
|
3207
3207
|
errorShape: {
|
|
3208
3208
|
data: {
|
|
3209
|
-
code: "
|
|
3209
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3210
3210
|
httpStatus: number;
|
|
3211
3211
|
};
|
|
3212
3212
|
message: string;
|
|
@@ -3218,9 +3218,9 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3218
3218
|
input: void;
|
|
3219
3219
|
output: {
|
|
3220
3220
|
items: {
|
|
3221
|
-
id: string;
|
|
3222
|
-
name: string;
|
|
3223
3221
|
source: "mojang" | "uploaded";
|
|
3222
|
+
name: string;
|
|
3223
|
+
id: string;
|
|
3224
3224
|
sha256: string;
|
|
3225
3225
|
sizeBytes: number;
|
|
3226
3226
|
active: boolean;
|
|
@@ -3239,9 +3239,9 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3239
3239
|
};
|
|
3240
3240
|
output: {
|
|
3241
3241
|
skin: {
|
|
3242
|
-
id: string;
|
|
3243
|
-
name: string;
|
|
3244
3242
|
source: "mojang" | "uploaded";
|
|
3243
|
+
name: string;
|
|
3244
|
+
id: string;
|
|
3245
3245
|
sha256: string;
|
|
3246
3246
|
sizeBytes: number;
|
|
3247
3247
|
active: boolean;
|
|
@@ -3271,7 +3271,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3271
3271
|
meta: object;
|
|
3272
3272
|
errorShape: {
|
|
3273
3273
|
data: {
|
|
3274
|
-
code: "
|
|
3274
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3275
3275
|
httpStatus: number;
|
|
3276
3276
|
};
|
|
3277
3277
|
message: string;
|
|
@@ -3288,7 +3288,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3288
3288
|
meta: object;
|
|
3289
3289
|
errorShape: {
|
|
3290
3290
|
data: {
|
|
3291
|
-
code: "
|
|
3291
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3292
3292
|
httpStatus: number;
|
|
3293
3293
|
};
|
|
3294
3294
|
message: string;
|
|
@@ -3302,12 +3302,12 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3302
3302
|
};
|
|
3303
3303
|
output: {
|
|
3304
3304
|
items: {
|
|
3305
|
-
id: string;
|
|
3306
|
-
name: string | null;
|
|
3307
3305
|
kind: "DM" | "GROUP" | "ANNOUNCEMENT";
|
|
3306
|
+
name: string | null;
|
|
3307
|
+
id: string;
|
|
3308
3308
|
createdAt: string;
|
|
3309
3309
|
members: {
|
|
3310
|
-
role: "
|
|
3310
|
+
role: "admin" | "owner" | "member";
|
|
3311
3311
|
user: {
|
|
3312
3312
|
email: string;
|
|
3313
3313
|
uuid: string;
|
|
@@ -3332,12 +3332,12 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3332
3332
|
};
|
|
3333
3333
|
output: {
|
|
3334
3334
|
channel: {
|
|
3335
|
-
id: string;
|
|
3336
|
-
name: string | null;
|
|
3337
3335
|
kind: "DM" | "GROUP" | "ANNOUNCEMENT";
|
|
3336
|
+
name: string | null;
|
|
3337
|
+
id: string;
|
|
3338
3338
|
createdAt: string;
|
|
3339
3339
|
members: {
|
|
3340
|
-
role: "
|
|
3340
|
+
role: "admin" | "owner" | "member";
|
|
3341
3341
|
user: {
|
|
3342
3342
|
email: string;
|
|
3343
3343
|
uuid: string;
|
|
@@ -3363,12 +3363,12 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3363
3363
|
};
|
|
3364
3364
|
output: {
|
|
3365
3365
|
channel: {
|
|
3366
|
-
id: string;
|
|
3367
|
-
name: string | null;
|
|
3368
3366
|
kind: "DM" | "GROUP" | "ANNOUNCEMENT";
|
|
3367
|
+
name: string | null;
|
|
3368
|
+
id: string;
|
|
3369
3369
|
createdAt: string;
|
|
3370
3370
|
members: {
|
|
3371
|
-
role: "
|
|
3371
|
+
role: "admin" | "owner" | "member";
|
|
3372
3372
|
user: {
|
|
3373
3373
|
email: string;
|
|
3374
3374
|
uuid: string;
|
|
@@ -3397,7 +3397,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3397
3397
|
meta: object;
|
|
3398
3398
|
errorShape: {
|
|
3399
3399
|
data: {
|
|
3400
|
-
code: "
|
|
3400
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3401
3401
|
httpStatus: number;
|
|
3402
3402
|
};
|
|
3403
3403
|
message: string;
|
|
@@ -3522,7 +3522,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3522
3522
|
meta: object;
|
|
3523
3523
|
errorShape: {
|
|
3524
3524
|
data: {
|
|
3525
|
-
code: "
|
|
3525
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3526
3526
|
httpStatus: number;
|
|
3527
3527
|
};
|
|
3528
3528
|
message: string;
|
|
@@ -3532,17 +3532,17 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3532
3532
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
3533
3533
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
3534
3534
|
input: {
|
|
3535
|
-
|
|
3536
|
-
kind?: "world" | "screenshot" | "video" | "skin" | undefined;
|
|
3535
|
+
kind?: "skin" | "screenshot" | "video" | "world" | undefined;
|
|
3537
3536
|
limit?: number | undefined;
|
|
3537
|
+
offset?: number | undefined;
|
|
3538
3538
|
};
|
|
3539
3539
|
output: {
|
|
3540
3540
|
items: {
|
|
3541
|
-
|
|
3541
|
+
kind: "skin" | "screenshot" | "video" | "world";
|
|
3542
3542
|
id: string;
|
|
3543
|
+
url: string;
|
|
3543
3544
|
sha256: string;
|
|
3544
3545
|
sizeBytes: number;
|
|
3545
|
-
kind: "world" | "screenshot" | "video" | "skin";
|
|
3546
3546
|
createdAt: string;
|
|
3547
3547
|
thumbnailUrl: string | null;
|
|
3548
3548
|
width?: number | undefined;
|
|
@@ -3554,7 +3554,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3554
3554
|
}>;
|
|
3555
3555
|
upload: _trpc_server.TRPCMutationProcedure<{
|
|
3556
3556
|
input: {
|
|
3557
|
-
kind: "
|
|
3557
|
+
kind: "skin" | "screenshot" | "video" | "world";
|
|
3558
3558
|
data: string;
|
|
3559
3559
|
filename: string;
|
|
3560
3560
|
width?: number | undefined;
|
|
@@ -3562,11 +3562,11 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3562
3562
|
};
|
|
3563
3563
|
output: {
|
|
3564
3564
|
item: {
|
|
3565
|
-
|
|
3565
|
+
kind: "skin" | "screenshot" | "video" | "world";
|
|
3566
3566
|
id: string;
|
|
3567
|
+
url: string;
|
|
3567
3568
|
sha256: string;
|
|
3568
3569
|
sizeBytes: number;
|
|
3569
|
-
kind: "world" | "screenshot" | "video" | "skin";
|
|
3570
3570
|
createdAt: string;
|
|
3571
3571
|
thumbnailUrl: string | null;
|
|
3572
3572
|
width?: number | undefined;
|
|
@@ -3595,7 +3595,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3595
3595
|
meta: object;
|
|
3596
3596
|
errorShape: {
|
|
3597
3597
|
data: {
|
|
3598
|
-
code: "
|
|
3598
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3599
3599
|
httpStatus: number;
|
|
3600
3600
|
};
|
|
3601
3601
|
message: string;
|
|
@@ -3611,8 +3611,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3611
3611
|
};
|
|
3612
3612
|
output: {
|
|
3613
3613
|
message: {
|
|
3614
|
-
id: string;
|
|
3615
3614
|
kind: "offer" | "answer" | "candidate";
|
|
3615
|
+
id: string;
|
|
3616
3616
|
fromUuid: string;
|
|
3617
3617
|
toUuid: string;
|
|
3618
3618
|
createdAt: string;
|
|
@@ -3628,8 +3628,8 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3628
3628
|
};
|
|
3629
3629
|
output: {
|
|
3630
3630
|
items: {
|
|
3631
|
-
id: string;
|
|
3632
3631
|
kind: "offer" | "answer" | "candidate";
|
|
3632
|
+
id: string;
|
|
3633
3633
|
fromUuid: string;
|
|
3634
3634
|
toUuid: string;
|
|
3635
3635
|
createdAt: string;
|
|
@@ -3648,7 +3648,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3648
3648
|
meta: object;
|
|
3649
3649
|
errorShape: {
|
|
3650
3650
|
data: {
|
|
3651
|
-
code: "
|
|
3651
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3652
3652
|
httpStatus: number;
|
|
3653
3653
|
};
|
|
3654
3654
|
message: string;
|
|
@@ -3660,7 +3660,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3660
3660
|
input: void;
|
|
3661
3661
|
output: {
|
|
3662
3662
|
items: {
|
|
3663
|
-
status: "
|
|
3663
|
+
status: "pending" | "error" | "active" | "closed";
|
|
3664
3664
|
id: string;
|
|
3665
3665
|
createdAt: string;
|
|
3666
3666
|
ownerUuid: string;
|
|
@@ -3683,7 +3683,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3683
3683
|
};
|
|
3684
3684
|
output: {
|
|
3685
3685
|
session: {
|
|
3686
|
-
status: "
|
|
3686
|
+
status: "pending" | "error" | "active" | "closed";
|
|
3687
3687
|
id: string;
|
|
3688
3688
|
createdAt: string;
|
|
3689
3689
|
ownerUuid: string;
|
|
@@ -3717,7 +3717,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3717
3717
|
meta: object;
|
|
3718
3718
|
errorShape: {
|
|
3719
3719
|
data: {
|
|
3720
|
-
code: "
|
|
3720
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3721
3721
|
httpStatus: number;
|
|
3722
3722
|
};
|
|
3723
3723
|
message: string;
|
|
@@ -3729,11 +3729,11 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3729
3729
|
input: void;
|
|
3730
3730
|
output: {
|
|
3731
3731
|
items: {
|
|
3732
|
-
|
|
3732
|
+
version: string | null;
|
|
3733
|
+
source: "anvil" | "community";
|
|
3733
3734
|
name: string;
|
|
3735
|
+
id: string;
|
|
3734
3736
|
iconUrl: string | null;
|
|
3735
|
-
source: "anvil" | "community";
|
|
3736
|
-
version: string | null;
|
|
3737
3737
|
address: string;
|
|
3738
3738
|
playerCount: number | null;
|
|
3739
3739
|
maxPlayers: number | null;
|
|
@@ -3753,7 +3753,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3753
3753
|
meta: object;
|
|
3754
3754
|
errorShape: {
|
|
3755
3755
|
data: {
|
|
3756
|
-
code: "
|
|
3756
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3757
3757
|
httpStatus: number;
|
|
3758
3758
|
};
|
|
3759
3759
|
message: string;
|
|
@@ -3780,7 +3780,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3780
3780
|
meta: object;
|
|
3781
3781
|
errorShape: {
|
|
3782
3782
|
data: {
|
|
3783
|
-
code: "
|
|
3783
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3784
3784
|
httpStatus: number;
|
|
3785
3785
|
};
|
|
3786
3786
|
message: string;
|
|
@@ -3793,12 +3793,12 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3793
3793
|
output: {
|
|
3794
3794
|
items: {
|
|
3795
3795
|
path: string;
|
|
3796
|
-
id: string;
|
|
3797
3796
|
name: string;
|
|
3798
|
-
|
|
3797
|
+
id: string;
|
|
3799
3798
|
mcVersion: string;
|
|
3800
3799
|
loader: "vanilla" | "fabric" | "forge" | "neoforge" | "quilt";
|
|
3801
3800
|
loaderVersion: string;
|
|
3801
|
+
sizeBytes: number;
|
|
3802
3802
|
lastPlayedAt: string | null;
|
|
3803
3803
|
installedAt: string;
|
|
3804
3804
|
}[];
|
|
@@ -3815,7 +3815,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3815
3815
|
meta: object;
|
|
3816
3816
|
errorShape: {
|
|
3817
3817
|
data: {
|
|
3818
|
-
code: "
|
|
3818
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3819
3819
|
httpStatus: number;
|
|
3820
3820
|
};
|
|
3821
3821
|
message: string;
|
|
@@ -3843,7 +3843,7 @@ declare const createCaller: (ctx: CreateContextOptions) => Promise<_trpc_server_
|
|
|
3843
3843
|
meta: object;
|
|
3844
3844
|
errorShape: {
|
|
3845
3845
|
data: {
|
|
3846
|
-
code: "
|
|
3846
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_CONTENT" | "PRECONDITION_REQUIRED" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3847
3847
|
httpStatus: number;
|
|
3848
3848
|
};
|
|
3849
3849
|
message: string;
|