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/forge-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 { ListForgeBuilds200Response } from "../model";
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
49
|
+
import type { ListForges200Response } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { Notification } from "../model";
|
|
52
52
|
/**
|
|
@@ -61,22 +61,22 @@ export const ForgeApiAxiosParamCreator = function (
|
|
|
61
61
|
*
|
|
62
62
|
* @summary Attach a build to a Forge version
|
|
63
63
|
* @param {string} forgeId A forge identifier or slug
|
|
64
|
-
* @param {
|
|
64
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The forge build data to create or update
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
68
|
attachForgeToBuild: async (
|
|
69
69
|
forgeId: string,
|
|
70
|
-
|
|
70
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
71
71
|
options: RawAxiosRequestConfig = {},
|
|
72
72
|
): Promise<RequestArgs> => {
|
|
73
73
|
// verify required parameter 'forgeId' is not null or undefined
|
|
74
74
|
assertParamExists("attachForgeToBuild", "forgeId", forgeId);
|
|
75
|
-
// verify required parameter '
|
|
75
|
+
// verify required parameter 'attachMinecraftToBuildRequest' is not null or undefined
|
|
76
76
|
assertParamExists(
|
|
77
77
|
"attachForgeToBuild",
|
|
78
|
-
"
|
|
79
|
-
|
|
78
|
+
"attachMinecraftToBuildRequest",
|
|
79
|
+
attachMinecraftToBuildRequest,
|
|
80
80
|
);
|
|
81
81
|
const localVarPath = `/forge/{forge_id}/builds`.replace(
|
|
82
82
|
`{${"forge_id"}}`,
|
|
@@ -97,9 +97,6 @@ export const ForgeApiAxiosParamCreator = 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 ForgeApiAxiosParamCreator = 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 ForgeApiAxiosParamCreator = function (
|
|
|
140
137
|
*
|
|
141
138
|
* @summary Unlink a build from a Forge version
|
|
142
139
|
* @param {string} forgeId A forge identifier or slug
|
|
143
|
-
* @param {
|
|
140
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The forge build data to create or update
|
|
144
141
|
* @param {*} [options] Override http request option.
|
|
145
142
|
* @throws {RequiredError}
|
|
146
143
|
*/
|
|
147
144
|
deleteForgeFromBuild: async (
|
|
148
145
|
forgeId: string,
|
|
149
|
-
|
|
146
|
+
attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest,
|
|
150
147
|
options: RawAxiosRequestConfig = {},
|
|
151
148
|
): Promise<RequestArgs> => {
|
|
152
149
|
// verify required parameter 'forgeId' is not null or undefined
|
|
153
150
|
assertParamExists("deleteForgeFromBuild", "forgeId", forgeId);
|
|
154
|
-
// verify required parameter '
|
|
151
|
+
// verify required parameter 'attachMinecraftToBuildRequest' is not null or undefined
|
|
155
152
|
assertParamExists(
|
|
156
153
|
"deleteForgeFromBuild",
|
|
157
|
-
"
|
|
158
|
-
|
|
154
|
+
"attachMinecraftToBuildRequest",
|
|
155
|
+
attachMinecraftToBuildRequest,
|
|
159
156
|
);
|
|
160
157
|
const localVarPath = `/forge/{forge_id}/builds`.replace(
|
|
161
158
|
`{${"forge_id"}}`,
|
|
@@ -176,9 +173,6 @@ export const ForgeApiAxiosParamCreator = 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 ForgeApiAxiosParamCreator = 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 ForgeApiAxiosParamCreator = function (
|
|
|
220
214
|
* @summary Fetch the builds attached to a Forge version
|
|
221
215
|
* @param {string} forgeId A forge identifier or slug
|
|
222
216
|
* @param {string} [search] Search query
|
|
223
|
-
* @param {
|
|
217
|
+
* @param {string} [sort] Sorting column
|
|
224
218
|
* @param {ListForgeBuildsOrderEnum} [order] Sorting order
|
|
225
219
|
* @param {number} [limit] Paging limit
|
|
226
220
|
* @param {number} [offset] Paging offset
|
|
@@ -230,7 +224,7 @@ export const ForgeApiAxiosParamCreator = function (
|
|
|
230
224
|
listForgeBuilds: async (
|
|
231
225
|
forgeId: string,
|
|
232
226
|
search?: string,
|
|
233
|
-
sort?:
|
|
227
|
+
sort?: string,
|
|
234
228
|
order?: ListForgeBuildsOrderEnum,
|
|
235
229
|
limit?: number,
|
|
236
230
|
offset?: number,
|
|
@@ -257,9 +251,6 @@ export const ForgeApiAxiosParamCreator = 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 ForgeApiAxiosParamCreator = 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 ForgeApiAxiosParamCreator = 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 ForgeApiFp = function (configuration?: Configuration) {
|
|
|
443
428
|
*
|
|
444
429
|
* @summary Attach a build to a Forge version
|
|
445
430
|
* @param {string} forgeId A forge identifier or slug
|
|
446
|
-
* @param {
|
|
431
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The forge build data to create or update
|
|
447
432
|
* @param {*} [options] Override http request option.
|
|
448
433
|
* @throws {RequiredError}
|
|
449
434
|
*/
|
|
450
435
|
async attachForgeToBuild(
|
|
451
436
|
forgeId: 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 ForgeApiFp = function (configuration?: Configuration) {
|
|
|
457
442
|
const localVarAxiosArgs =
|
|
458
443
|
await localVarAxiosParamCreator.attachForgeToBuild(
|
|
459
444
|
forgeId,
|
|
460
|
-
|
|
445
|
+
attachMinecraftToBuildRequest,
|
|
461
446
|
options,
|
|
462
447
|
);
|
|
463
448
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -477,13 +462,13 @@ export const ForgeApiFp = function (configuration?: Configuration) {
|
|
|
477
462
|
*
|
|
478
463
|
* @summary Unlink a build from a Forge version
|
|
479
464
|
* @param {string} forgeId A forge identifier or slug
|
|
480
|
-
* @param {
|
|
465
|
+
* @param {AttachMinecraftToBuildRequest} attachMinecraftToBuildRequest The forge build data to create or update
|
|
481
466
|
* @param {*} [options] Override http request option.
|
|
482
467
|
* @throws {RequiredError}
|
|
483
468
|
*/
|
|
484
469
|
async deleteForgeFromBuild(
|
|
485
470
|
forgeId: 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 ForgeApiFp = function (configuration?: Configuration) {
|
|
|
491
476
|
const localVarAxiosArgs =
|
|
492
477
|
await localVarAxiosParamCreator.deleteForgeFromBuild(
|
|
493
478
|
forgeId,
|
|
494
|
-
|
|
479
|
+
attachMinecraftToBuildRequest,
|
|
495
480
|
options,
|
|
496
481
|
);
|
|
497
482
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -512,7 +497,7 @@ export const ForgeApiFp = function (configuration?: Configuration) {
|
|
|
512
497
|
* @summary Fetch the builds attached to a Forge version
|
|
513
498
|
* @param {string} forgeId A forge identifier or slug
|
|
514
499
|
* @param {string} [search] Search query
|
|
515
|
-
* @param {
|
|
500
|
+
* @param {string} [sort] Sorting column
|
|
516
501
|
* @param {ListForgeBuildsOrderEnum} [order] Sorting order
|
|
517
502
|
* @param {number} [limit] Paging limit
|
|
518
503
|
* @param {number} [offset] Paging offset
|
|
@@ -522,13 +507,16 @@ export const ForgeApiFp = function (configuration?: Configuration) {
|
|
|
522
507
|
async listForgeBuilds(
|
|
523
508
|
forgeId: string,
|
|
524
509
|
search?: string,
|
|
525
|
-
sort?:
|
|
510
|
+
sort?: string,
|
|
526
511
|
order?: ListForgeBuildsOrderEnum,
|
|
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<ListForgeBuilds200Response>
|
|
532
520
|
> {
|
|
533
521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listForgeBuilds(
|
|
534
522
|
forgeId,
|
|
@@ -563,7 +551,10 @@ export const ForgeApiFp = function (configuration?: Configuration) {
|
|
|
563
551
|
search?: string,
|
|
564
552
|
options?: RawAxiosRequestConfig,
|
|
565
553
|
): Promise<
|
|
566
|
-
(
|
|
554
|
+
(
|
|
555
|
+
axios?: AxiosInstance,
|
|
556
|
+
basePath?: string,
|
|
557
|
+
) => AxiosPromise<ListForges200Response>
|
|
567
558
|
> {
|
|
568
559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listForges(
|
|
569
560
|
search,
|
|
@@ -636,7 +627,7 @@ export const ForgeApiFactory = function (
|
|
|
636
627
|
return localVarFp
|
|
637
628
|
.attachForgeToBuild(
|
|
638
629
|
requestParameters.forgeId,
|
|
639
|
-
requestParameters.
|
|
630
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
640
631
|
options,
|
|
641
632
|
)
|
|
642
633
|
.then((request) => request(axios, basePath));
|
|
@@ -655,7 +646,7 @@ export const ForgeApiFactory = function (
|
|
|
655
646
|
return localVarFp
|
|
656
647
|
.deleteForgeFromBuild(
|
|
657
648
|
requestParameters.forgeId,
|
|
658
|
-
requestParameters.
|
|
649
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
659
650
|
options,
|
|
660
651
|
)
|
|
661
652
|
.then((request) => request(axios, basePath));
|
|
@@ -670,7 +661,7 @@ export const ForgeApiFactory = function (
|
|
|
670
661
|
listForgeBuilds(
|
|
671
662
|
requestParameters: ForgeApiListForgeBuildsRequest,
|
|
672
663
|
options?: RawAxiosRequestConfig,
|
|
673
|
-
): AxiosPromise<
|
|
664
|
+
): AxiosPromise<ListForgeBuilds200Response> {
|
|
674
665
|
return localVarFp
|
|
675
666
|
.listForgeBuilds(
|
|
676
667
|
requestParameters.forgeId,
|
|
@@ -693,7 +684,7 @@ export const ForgeApiFactory = function (
|
|
|
693
684
|
listForges(
|
|
694
685
|
requestParameters: ForgeApiListForgesRequest = {},
|
|
695
686
|
options?: RawAxiosRequestConfig,
|
|
696
|
-
): AxiosPromise<
|
|
687
|
+
): AxiosPromise<ListForges200Response> {
|
|
697
688
|
return localVarFp
|
|
698
689
|
.listForges(requestParameters.search, options)
|
|
699
690
|
.then((request) => request(axios, basePath));
|
|
@@ -726,11 +717,11 @@ export interface ForgeApiAttachForgeToBuildRequest {
|
|
|
726
717
|
readonly forgeId: string;
|
|
727
718
|
|
|
728
719
|
/**
|
|
729
|
-
* The build data to
|
|
730
|
-
* @type {
|
|
720
|
+
* The forge build data to create or update
|
|
721
|
+
* @type {AttachMinecraftToBuildRequest}
|
|
731
722
|
* @memberof ForgeApiAttachForgeToBuild
|
|
732
723
|
*/
|
|
733
|
-
readonly
|
|
724
|
+
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
734
725
|
}
|
|
735
726
|
|
|
736
727
|
/**
|
|
@@ -747,11 +738,11 @@ export interface ForgeApiDeleteForgeFromBuildRequest {
|
|
|
747
738
|
readonly forgeId: string;
|
|
748
739
|
|
|
749
740
|
/**
|
|
750
|
-
* The build data to
|
|
751
|
-
* @type {
|
|
741
|
+
* The forge build data to create or update
|
|
742
|
+
* @type {AttachMinecraftToBuildRequest}
|
|
752
743
|
* @memberof ForgeApiDeleteForgeFromBuild
|
|
753
744
|
*/
|
|
754
|
-
readonly
|
|
745
|
+
readonly attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest;
|
|
755
746
|
}
|
|
756
747
|
|
|
757
748
|
/**
|
|
@@ -776,10 +767,10 @@ export interface ForgeApiListForgeBuildsRequest {
|
|
|
776
767
|
|
|
777
768
|
/**
|
|
778
769
|
* Sorting column
|
|
779
|
-
* @type {
|
|
770
|
+
* @type {string}
|
|
780
771
|
* @memberof ForgeApiListForgeBuilds
|
|
781
772
|
*/
|
|
782
|
-
readonly sort?:
|
|
773
|
+
readonly sort?: string;
|
|
783
774
|
|
|
784
775
|
/**
|
|
785
776
|
* Sorting order
|
|
@@ -839,7 +830,7 @@ export class ForgeApi extends BaseAPI {
|
|
|
839
830
|
return ForgeApiFp(this.configuration)
|
|
840
831
|
.attachForgeToBuild(
|
|
841
832
|
requestParameters.forgeId,
|
|
842
|
-
requestParameters.
|
|
833
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
843
834
|
options,
|
|
844
835
|
)
|
|
845
836
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -860,7 +851,7 @@ export class ForgeApi extends BaseAPI {
|
|
|
860
851
|
return ForgeApiFp(this.configuration)
|
|
861
852
|
.deleteForgeFromBuild(
|
|
862
853
|
requestParameters.forgeId,
|
|
863
|
-
requestParameters.
|
|
854
|
+
requestParameters.attachMinecraftToBuildRequest,
|
|
864
855
|
options,
|
|
865
856
|
)
|
|
866
857
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -922,17 +913,6 @@ export class ForgeApi extends BaseAPI {
|
|
|
922
913
|
}
|
|
923
914
|
}
|
|
924
915
|
|
|
925
|
-
/**
|
|
926
|
-
* @export
|
|
927
|
-
*/
|
|
928
|
-
export const ListForgeBuildsSortEnum = {
|
|
929
|
-
BuildName: "build_name",
|
|
930
|
-
BuildPublic: "build_public",
|
|
931
|
-
PackSlug: "pack_slug",
|
|
932
|
-
PackName: "pack_name",
|
|
933
|
-
} as const;
|
|
934
|
-
export type ListForgeBuildsSortEnum =
|
|
935
|
-
(typeof ListForgeBuildsSortEnum)[keyof typeof ListForgeBuildsSortEnum];
|
|
936
916
|
/**
|
|
937
917
|
* @export
|
|
938
918
|
*/
|