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