kleisterjs 2.5.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/RELEASE +1 -1
- package/.github/workflows/flake.yml +1 -1
- package/.github/workflows/general.yml +1 -1
- package/.github/workflows/openapi.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.openapi-generator/FILES +56 -55
- package/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/api/auth-api.ts +251 -147
- package/api/fabric-api.ts +47 -67
- package/api/forge-api.ts +47 -67
- package/api/{team-api.ts → group-api.ts} +921 -936
- package/api/minecraft-api.ts +44 -67
- package/api/mod-api.ts +1016 -461
- package/api/neoforge-api.ts +47 -67
- package/api/pack-api.ts +378 -419
- package/api/profile-api.ts +18 -21
- package/api/quilt-api.ts +48 -68
- package/api/user-api.ts +554 -580
- package/api.ts +1 -1
- package/flake.lock +9 -9
- package/model/attach-build-to-version-request.ts +33 -0
- package/model/attach-minecraft-to-build-request.ts +33 -0
- package/model/build.ts +0 -6
- package/model/create-build-request.ts +87 -0
- package/model/{quilt-build-params.ts → create-group-request.ts} +7 -7
- package/model/{pack-icon.ts → create-mod-request.ts} +19 -25
- package/model/create-pack-request.ts +45 -0
- package/model/create-user-request.ts +57 -0
- package/model/create-version-request.ts +39 -0
- package/model/delete-group-from-mod-request.ts +27 -0
- package/model/delete-group-from-pack-request.ts +27 -0
- package/model/delete-pack-from-group-request.ts +27 -0
- package/model/delete-pack-from-user-request.ts +27 -0
- package/model/{team-mod.ts → group-mod.ts} +19 -19
- package/model/{team-pack.ts → group-pack.ts} +19 -19
- package/model/{team.ts → group.ts} +8 -8
- package/model/index.ts +55 -54
- package/model/{build-versions.ts → list-build-versions200-response.ts} +25 -13
- package/model/{builds.ts → list-builds200-response.ts} +20 -8
- package/model/{fabric-builds.ts → list-fabric-builds200-response.ts} +22 -10
- package/model/{fabrics.ts → list-fabrics200-response.ts} +19 -7
- package/model/{forge-builds.ts → list-forge-builds200-response.ts} +22 -10
- package/model/{forges.ts → list-forges200-response.ts} +19 -7
- package/model/list-group-mods200-response.ts +58 -0
- package/model/list-group-packs200-response.ts +58 -0
- package/model/list-group-users200-response.ts +58 -0
- package/model/list-groups200-response.ts +49 -0
- package/model/{minecraft-builds.ts → list-minecraft-builds200-response.ts} +22 -10
- package/model/{minecrafts.ts → list-minecrafts200-response.ts} +19 -7
- package/model/{mod-teams.ts → list-mod-groups200-response.ts} +25 -13
- package/model/{mod-users.ts → list-mod-users200-response.ts} +22 -10
- package/model/{mods.ts → list-mods200-response.ts} +19 -7
- package/model/{neoforge-builds.ts → list-neoforge-builds200-response.ts} +22 -10
- package/model/{neoforges.ts → list-neoforges200-response.ts} +19 -7
- package/model/{pack-teams.ts → list-pack-groups200-response.ts} +25 -13
- package/model/{pack-users.ts → list-pack-users200-response.ts} +22 -10
- package/model/{packs.ts → list-packs200-response.ts} +19 -7
- package/model/{providers.ts → list-providers200-response.ts} +7 -7
- package/model/{quilt-builds.ts → list-quilt-builds200-response.ts} +22 -10
- package/model/{quilts.ts → list-quilts200-response.ts} +19 -7
- package/model/{user-teams.ts → list-user-groups200-response.ts} +24 -12
- package/model/{user-mods.ts → list-user-mods200-response.ts} +22 -10
- package/model/{user-packs.ts → list-user-packs200-response.ts} +22 -10
- package/model/{users.ts → list-users200-response.ts} +19 -7
- package/model/{version-builds.ts → list-version-builds200-response.ts} +25 -13
- package/model/{versions.ts → list-versions200-response.ts} +20 -8
- package/model/{auth-login.ts → login-auth-request.ts} +4 -4
- package/model/mod-avatar.ts +45 -0
- package/model/mod.ts +10 -0
- package/model/pack-avatar.ts +45 -0
- package/model/pack.ts +3 -21
- package/model/{build-version-params.ts → permit-group-mod-request.ts} +6 -6
- package/model/{forge-build-params.ts → permit-group-pack-request.ts} +6 -6
- package/model/{fabric-build-params.ts → permit-pack-group-request.ts} +7 -7
- package/model/permit-pack-user-request.ts +33 -0
- package/model/profile.ts +9 -9
- package/model/redirect-auth-request.ts +27 -0
- package/model/update-profile-request.ts +45 -0
- package/model/update-user-request.ts +57 -0
- package/model/{user-team.ts → user-group.ts} +19 -19
- package/model/version-file.ts +0 -12
- package/model/version.ts +0 -6
- package/openapi.yml +1 -1
- package/package.json +1 -1
- package/model/minecraft-build-params.ts +0 -33
- package/model/mod-team-params.ts +0 -42
- package/model/mod-user-params.ts +0 -42
- package/model/neoforge-build-params.ts +0 -33
- package/model/pack-back.ts +0 -75
- package/model/pack-logo.ts +0 -75
- package/model/pack-team-params.ts +0 -42
- package/model/pack-user-params.ts +0 -42
- package/model/team-mod-params.ts +0 -42
- package/model/team-mods.ts +0 -46
- package/model/team-pack-params.ts +0 -42
- package/model/team-packs.ts +0 -46
- package/model/team-user-params.ts +0 -42
- package/model/team-users.ts +0 -46
- package/model/teams.ts +0 -37
- package/model/user-mod-params.ts +0 -42
- package/model/user-pack-params.ts +0 -42
- package/model/user-team-params.ts +0 -42
- package/model/version-build-params.ts +0 -33
package/api/fabric-api.ts
CHANGED
|
@@ -42,11 +42,11 @@ import {
|
|
|
42
42
|
operationServerMap,
|
|
43
43
|
} from "../base";
|
|
44
44
|
// @ts-ignore
|
|
45
|
-
import type {
|
|
45
|
+
import type { AttachMinecraftToBuildRequest } from "../model";
|
|
46
46
|
// @ts-ignore
|
|
47
|
-
import type {
|
|
47
|
+
import type { ListFabricBuilds200Response } from "../model";
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
49
|
+
import type { ListFabrics200Response } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { Notification } from "../model";
|
|
52
52
|
/**
|
|
@@ -61,22 +61,22 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
61
61
|
*
|
|
62
62
|
* @summary Attach a build to a Fabric version
|
|
63
63
|
* @param {string} fabricId A fabric identifier or slug
|
|
64
|
-
* @param {
|
|
64
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The fabric build data to create or update
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
68
|
attachFabricToBuild: async (
|
|
69
69
|
fabricId: string,
|
|
70
|
-
|
|
70
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
71
71
|
options: RawAxiosRequestConfig = {},
|
|
72
72
|
): Promise<RequestArgs> => {
|
|
73
73
|
// verify required parameter 'fabricId' is not null or undefined
|
|
74
74
|
assertParamExists("attachFabricToBuild", "fabricId", fabricId);
|
|
75
|
-
// verify required parameter '
|
|
75
|
+
// verify required parameter 'attachMinecraftToBuildRequest' is not null or undefined
|
|
76
76
|
assertParamExists(
|
|
77
77
|
"attachFabricToBuild",
|
|
78
|
-
"
|
|
79
|
-
|
|
78
|
+
"attachMinecraftToBuildRequest",
|
|
79
|
+
attachMinecraftToBuildRequest,
|
|
80
80
|
);
|
|
81
81
|
const localVarPath = `/fabric/{fabric_id}/builds`.replace(
|
|
82
82
|
`{${"fabric_id"}}`,
|
|
@@ -97,9 +97,6 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
97
97
|
const localVarHeaderParameter = {} as any;
|
|
98
98
|
const localVarQueryParameter = {} as any;
|
|
99
99
|
|
|
100
|
-
// authentication Cookie required
|
|
101
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
102
|
-
|
|
103
100
|
// authentication Basic required
|
|
104
101
|
// http basic authentication required
|
|
105
102
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -126,7 +123,7 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
126
123
|
...options.headers,
|
|
127
124
|
};
|
|
128
125
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
129
|
-
|
|
126
|
+
attachMinecraftToBuildRequest,
|
|
130
127
|
localVarRequestOptions,
|
|
131
128
|
configuration,
|
|
132
129
|
);
|
|
@@ -140,22 +137,22 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
140
137
|
*
|
|
141
138
|
* @summary Unlink a build from a Fabric version
|
|
142
139
|
* @param {string} fabricId A fabric identifier or slug
|
|
143
|
-
* @param {
|
|
140
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The fabric build data to create or update
|
|
144
141
|
* @param {*} [options] Override http request option.
|
|
145
142
|
* @throws {RequiredError}
|
|
146
143
|
*/
|
|
147
144
|
deleteFabricFromBuild: async (
|
|
148
145
|
fabricId: string,
|
|
149
|
-
|
|
146
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
150
147
|
options: RawAxiosRequestConfig = {},
|
|
151
148
|
): Promise<RequestArgs> => {
|
|
152
149
|
// verify required parameter 'fabricId' is not null or undefined
|
|
153
150
|
assertParamExists("deleteFabricFromBuild", "fabricId", fabricId);
|
|
154
|
-
// verify required parameter '
|
|
151
|
+
// verify required parameter 'attachMinecraftToBuildRequest' is not null or undefined
|
|
155
152
|
assertParamExists(
|
|
156
153
|
"deleteFabricFromBuild",
|
|
157
|
-
"
|
|
158
|
-
|
|
154
|
+
"attachMinecraftToBuildRequest",
|
|
155
|
+
attachMinecraftToBuildRequest,
|
|
159
156
|
);
|
|
160
157
|
const localVarPath = `/fabric/{fabric_id}/builds`.replace(
|
|
161
158
|
`{${"fabric_id"}}`,
|
|
@@ -176,9 +173,6 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
176
173
|
const localVarHeaderParameter = {} as any;
|
|
177
174
|
const localVarQueryParameter = {} as any;
|
|
178
175
|
|
|
179
|
-
// authentication Cookie required
|
|
180
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
181
|
-
|
|
182
176
|
// authentication Basic required
|
|
183
177
|
// http basic authentication required
|
|
184
178
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -205,7 +199,7 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
205
199
|
...options.headers,
|
|
206
200
|
};
|
|
207
201
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
208
|
-
|
|
202
|
+
attachMinecraftToBuildRequest,
|
|
209
203
|
localVarRequestOptions,
|
|
210
204
|
configuration,
|
|
211
205
|
);
|
|
@@ -220,7 +214,7 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
220
214
|
* @summary Fetch the builds attached to a Fabric version
|
|
221
215
|
* @param {string} fabricId A fabric identifier or slug
|
|
222
216
|
* @param {string} [search] Search query
|
|
223
|
-
* @param {
|
|
217
|
+
* @param {string} [sort] Sorting column
|
|
224
218
|
* @param {ListFabricBuildsOrderEnum} [order] Sorting order
|
|
225
219
|
* @param {number} [limit] Paging limit
|
|
226
220
|
* @param {number} [offset] Paging offset
|
|
@@ -230,7 +224,7 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
230
224
|
listFabricBuilds: async (
|
|
231
225
|
fabricId: string,
|
|
232
226
|
search?: string,
|
|
233
|
-
sort?:
|
|
227
|
+
sort?: string,
|
|
234
228
|
order?: ListFabricBuildsOrderEnum,
|
|
235
229
|
limit?: number,
|
|
236
230
|
offset?: number,
|
|
@@ -257,9 +251,6 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
257
251
|
const localVarHeaderParameter = {} as any;
|
|
258
252
|
const localVarQueryParameter = {} as any;
|
|
259
253
|
|
|
260
|
-
// authentication Cookie required
|
|
261
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
262
|
-
|
|
263
254
|
// authentication Basic required
|
|
264
255
|
// http basic authentication required
|
|
265
256
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -336,9 +327,6 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
336
327
|
const localVarHeaderParameter = {} as any;
|
|
337
328
|
const localVarQueryParameter = {} as any;
|
|
338
329
|
|
|
339
|
-
// authentication Cookie required
|
|
340
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
341
|
-
|
|
342
330
|
// authentication Basic required
|
|
343
331
|
// http basic authentication required
|
|
344
332
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -397,9 +385,6 @@ export const FabricApiAxiosParamCreator = function (
|
|
|
397
385
|
const localVarHeaderParameter = {} as any;
|
|
398
386
|
const localVarQueryParameter = {} as any;
|
|
399
387
|
|
|
400
|
-
// authentication Cookie required
|
|
401
|
-
await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
|
|
402
|
-
|
|
403
388
|
// authentication Basic required
|
|
404
389
|
// http basic authentication required
|
|
405
390
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -443,13 +428,13 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
443
428
|
*
|
|
444
429
|
* @summary Attach a build to a Fabric version
|
|
445
430
|
* @param {string} fabricId A fabric identifier or slug
|
|
446
|
-
* @param {
|
|
431
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The fabric build data to create or update
|
|
447
432
|
* @param {*} [options] Override http request option.
|
|
448
433
|
* @throws {RequiredError}
|
|
449
434
|
*/
|
|
450
435
|
async attachFabricToBuild(
|
|
451
436
|
fabricId: string,
|
|
452
|
-
|
|
437
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
453
438
|
options?: RawAxiosRequestConfig,
|
|
454
439
|
): Promise<
|
|
455
440
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
@@ -457,7 +442,7 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
457
442
|
const localVarAxiosArgs =
|
|
458
443
|
await localVarAxiosParamCreator.attachFabricToBuild(
|
|
459
444
|
fabricId,
|
|
460
|
-
|
|
445
|
+
attachMinecraftToBuildRequest,
|
|
461
446
|
options,
|
|
462
447
|
);
|
|
463
448
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -477,13 +462,13 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
477
462
|
*
|
|
478
463
|
* @summary Unlink a build from a Fabric version
|
|
479
464
|
* @param {string} fabricId A fabric identifier or slug
|
|
480
|
-
* @param {
|
|
465
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The fabric build data to create or update
|
|
481
466
|
* @param {*} [options] Override http request option.
|
|
482
467
|
* @throws {RequiredError}
|
|
483
468
|
*/
|
|
484
469
|
async deleteFabricFromBuild(
|
|
485
470
|
fabricId: string,
|
|
486
|
-
|
|
471
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
487
472
|
options?: RawAxiosRequestConfig,
|
|
488
473
|
): Promise<
|
|
489
474
|
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>
|
|
@@ -491,7 +476,7 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
491
476
|
const localVarAxiosArgs =
|
|
492
477
|
await localVarAxiosParamCreator.deleteFabricFromBuild(
|
|
493
478
|
fabricId,
|
|
494
|
-
|
|
479
|
+
attachMinecraftToBuildRequest,
|
|
495
480
|
options,
|
|
496
481
|
);
|
|
497
482
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -512,7 +497,7 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
512
497
|
* @summary Fetch the builds attached to a Fabric version
|
|
513
498
|
* @param {string} fabricId A fabric identifier or slug
|
|
514
499
|
* @param {string} [search] Search query
|
|
515
|
-
* @param {
|
|
500
|
+
* @param {string} [sort] Sorting column
|
|
516
501
|
* @param {ListFabricBuildsOrderEnum} [order] Sorting order
|
|
517
502
|
* @param {number} [limit] Paging limit
|
|
518
503
|
* @param {number} [offset] Paging offset
|
|
@@ -522,13 +507,16 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
522
507
|
async listFabricBuilds(
|
|
523
508
|
fabricId: string,
|
|
524
509
|
search?: string,
|
|
525
|
-
sort?:
|
|
510
|
+
sort?: string,
|
|
526
511
|
order?: ListFabricBuildsOrderEnum,
|
|
527
512
|
limit?: number,
|
|
528
513
|
offset?: number,
|
|
529
514
|
options?: RawAxiosRequestConfig,
|
|
530
515
|
): Promise<
|
|
531
|
-
(
|
|
516
|
+
(
|
|
517
|
+
axios?: AxiosInstance,
|
|
518
|
+
basePath?: string,
|
|
519
|
+
) => AxiosPromise<ListFabricBuilds200Response>
|
|
532
520
|
> {
|
|
533
521
|
const localVarAxiosArgs =
|
|
534
522
|
await localVarAxiosParamCreator.listFabricBuilds(
|
|
@@ -564,7 +552,10 @@ export const FabricApiFp = function (configuration?: Configuration) {
|
|
|
564
552
|
search?: string,
|
|
565
553
|
options?: RawAxiosRequestConfig,
|
|
566
554
|
): Promise<
|
|
567
|
-
(
|
|
555
|
+
(
|
|
556
|
+
axios?: AxiosInstance,
|
|
557
|
+
basePath?: string,
|
|
558
|
+
) => AxiosPromise<ListFabrics200Response>
|
|
568
559
|
> {
|
|
569
560
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFabrics(
|
|
570
561
|
search,
|
|
@@ -637,7 +628,7 @@ export const FabricApiFactory = function (
|
|
|
637
628
|
return localVarFp
|
|
638
629
|
.attachFabricToBuild(
|
|
639
630
|
requestParameters.fabricId,
|
|
640
|
-
requestParameters.
|
|
631
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
641
632
|
options,
|
|
642
633
|
)
|
|
643
634
|
.then((request) => request(axios, basePath));
|
|
@@ -656,7 +647,7 @@ export const FabricApiFactory = function (
|
|
|
656
647
|
return localVarFp
|
|
657
648
|
.deleteFabricFromBuild(
|
|
658
649
|
requestParameters.fabricId,
|
|
659
|
-
requestParameters.
|
|
650
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
660
651
|
options,
|
|
661
652
|
)
|
|
662
653
|
.then((request) => request(axios, basePath));
|
|
@@ -671,7 +662,7 @@ export const FabricApiFactory = function (
|
|
|
671
662
|
listFabricBuilds(
|
|
672
663
|
requestParameters: FabricApiListFabricBuildsRequest,
|
|
673
664
|
options?: RawAxiosRequestConfig,
|
|
674
|
-
): AxiosPromise<
|
|
665
|
+
): AxiosPromise<ListFabricBuilds200Response> {
|
|
675
666
|
return localVarFp
|
|
676
667
|
.listFabricBuilds(
|
|
677
668
|
requestParameters.fabricId,
|
|
@@ -694,7 +685,7 @@ export const FabricApiFactory = function (
|
|
|
694
685
|
listFabrics(
|
|
695
686
|
requestParameters: FabricApiListFabricsRequest = {},
|
|
696
687
|
options?: RawAxiosRequestConfig,
|
|
697
|
-
): AxiosPromise<
|
|
688
|
+
): AxiosPromise<ListFabrics200Response> {
|
|
698
689
|
return localVarFp
|
|
699
690
|
.listFabrics(requestParameters.search, options)
|
|
700
691
|
.then((request) => request(axios, basePath));
|
|
@@ -727,11 +718,11 @@ export interface FabricApiAttachFabricToBuildRequest {
|
|
|
727
718
|
readonly fabricId: string;
|
|
728
719
|
|
|
729
720
|
/**
|
|
730
|
-
* The build data to
|
|
731
|
-
* @type {
|
|
721
|
+
* The fabric build data to create or update
|
|
722
|
+
* @type {AttachMinecraftToBuildRequest}
|
|
732
723
|
* @memberof FabricApiAttachFabricToBuild
|
|
733
724
|
*/
|
|
734
|
-
readonly
|
|
725
|
+
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
735
726
|
}
|
|
736
727
|
|
|
737
728
|
/**
|
|
@@ -748,11 +739,11 @@ export interface FabricApiDeleteFabricFromBuildRequest {
|
|
|
748
739
|
readonly fabricId: string;
|
|
749
740
|
|
|
750
741
|
/**
|
|
751
|
-
* The build data to
|
|
752
|
-
* @type {
|
|
742
|
+
* The fabric build data to create or update
|
|
743
|
+
* @type {AttachMinecraftToBuildRequest}
|
|
753
744
|
* @memberof FabricApiDeleteFabricFromBuild
|
|
754
745
|
*/
|
|
755
|
-
readonly
|
|
746
|
+
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
756
747
|
}
|
|
757
748
|
|
|
758
749
|
/**
|
|
@@ -777,10 +768,10 @@ export interface FabricApiListFabricBuildsRequest {
|
|
|
777
768
|
|
|
778
769
|
/**
|
|
779
770
|
* Sorting column
|
|
780
|
-
* @type {
|
|
771
|
+
* @type {string}
|
|
781
772
|
* @memberof FabricApiListFabricBuilds
|
|
782
773
|
*/
|
|
783
|
-
readonly sort?:
|
|
774
|
+
readonly sort?: string;
|
|
784
775
|
|
|
785
776
|
/**
|
|
786
777
|
* Sorting order
|
|
@@ -840,7 +831,7 @@ export class FabricApi extends BaseAPI {
|
|
|
840
831
|
return FabricApiFp(this.configuration)
|
|
841
832
|
.attachFabricToBuild(
|
|
842
833
|
requestParameters.fabricId,
|
|
843
|
-
requestParameters.
|
|
834
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
844
835
|
options,
|
|
845
836
|
)
|
|
846
837
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -861,7 +852,7 @@ export class FabricApi extends BaseAPI {
|
|
|
861
852
|
return FabricApiFp(this.configuration)
|
|
862
853
|
.deleteFabricFromBuild(
|
|
863
854
|
requestParameters.fabricId,
|
|
864
|
-
requestParameters.
|
|
855
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
865
856
|
options,
|
|
866
857
|
)
|
|
867
858
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -923,17 +914,6 @@ export class FabricApi extends BaseAPI {
|
|
|
923
914
|
}
|
|
924
915
|
}
|
|
925
916
|
|
|
926
|
-
/**
|
|
927
|
-
* @export
|
|
928
|
-
*/
|
|
929
|
-
export const ListFabricBuildsSortEnum = {
|
|
930
|
-
BuildName: "build_name",
|
|
931
|
-
BuildPublic: "build_public",
|
|
932
|
-
PackSlug: "pack_slug",
|
|
933
|
-
PackName: "pack_name",
|
|
934
|
-
} as const;
|
|
935
|
-
export type ListFabricBuildsSortEnum =
|
|
936
|
-
(typeof ListFabricBuildsSortEnum)[keyof typeof ListFabricBuildsSortEnum];
|
|
937
917
|
/**
|
|
938
918
|
* @export
|
|
939
919
|
*/
|