kleisterjs 1.0.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.
Files changed (121) hide show
  1. package/.codacy.yml +6 -0
  2. package/.editorconfig +24 -0
  3. package/.github/issue_template.md +9 -0
  4. package/.github/pull_request_template.md +8 -0
  5. package/.github/renovate.json +6 -0
  6. package/.github/semantic.yml +23 -0
  7. package/.github/settings.yml +44 -0
  8. package/.github/workflows/automerge.yml +49 -0
  9. package/.github/workflows/flake.yml +56 -0
  10. package/.github/workflows/general.yml +39 -0
  11. package/.github/workflows/openapi.yml +74 -0
  12. package/.github/workflows/release.yml +56 -0
  13. package/.openapi-generator/FILES +94 -0
  14. package/.openapi-generator/VERSION +1 -0
  15. package/.openapi-generator-ignore +3 -0
  16. package/.releaserc +195 -0
  17. package/CHANGELOG.md +17 -0
  18. package/CONTRIBUTING.md +121 -0
  19. package/DCO +34 -0
  20. package/LICENSE +202 -0
  21. package/README.md +88 -0
  22. package/api/auth-api.ts +743 -0
  23. package/api/fabric-api.ts +943 -0
  24. package/api/forge-api.ts +942 -0
  25. package/api/minecraft-api.ts +949 -0
  26. package/api/mod-api.ts +4028 -0
  27. package/api/neoforge-api.ts +945 -0
  28. package/api/pack-api.ts +4007 -0
  29. package/api/profile-api.ts +431 -0
  30. package/api/quilt-api.ts +942 -0
  31. package/api/team-api.ts +3216 -0
  32. package/api/user-api.ts +3210 -0
  33. package/api.ts +25 -0
  34. package/base.ts +91 -0
  35. package/common.ts +203 -0
  36. package/configuration.ts +132 -0
  37. package/flake.lock +472 -0
  38. package/flake.nix +59 -0
  39. package/hack/generate-client.sh +36 -0
  40. package/hack/openapi/templates/README.mustache +93 -0
  41. package/hack/openapi/templates/gitignore +6 -0
  42. package/index.ts +17 -0
  43. package/model/auth-login.ts +33 -0
  44. package/model/auth-token.ts +33 -0
  45. package/model/auth-verify.ts +33 -0
  46. package/model/build-version-params.ts +33 -0
  47. package/model/build-version.ts +64 -0
  48. package/model/build-versions.ts +55 -0
  49. package/model/build.ts +169 -0
  50. package/model/builds.ts +46 -0
  51. package/model/fabric-build-params.ts +33 -0
  52. package/model/fabric-builds.ts +46 -0
  53. package/model/fabric.ts +45 -0
  54. package/model/fabrics.ts +37 -0
  55. package/model/forge-build-params.ts +33 -0
  56. package/model/forge-builds.ts +46 -0
  57. package/model/forge.ts +51 -0
  58. package/model/forges.ts +37 -0
  59. package/model/index.ts +73 -0
  60. package/model/minecraft-build-params.ts +33 -0
  61. package/model/minecraft-builds.ts +46 -0
  62. package/model/minecraft.ts +51 -0
  63. package/model/minecrafts.ts +37 -0
  64. package/model/mod-team-params.ts +42 -0
  65. package/model/mod-teams.ts +46 -0
  66. package/model/mod-user-params.ts +42 -0
  67. package/model/mod-users.ts +46 -0
  68. package/model/mod.ts +123 -0
  69. package/model/mods.ts +37 -0
  70. package/model/neoforge-build-params.ts +33 -0
  71. package/model/neoforge-builds.ts +46 -0
  72. package/model/neoforge.ts +51 -0
  73. package/model/neoforges.ts +37 -0
  74. package/model/notification.ts +43 -0
  75. package/model/pack-back.ts +91 -0
  76. package/model/pack-icon.ts +91 -0
  77. package/model/pack-logo.ts +91 -0
  78. package/model/pack-team-params.ts +42 -0
  79. package/model/pack-teams.ts +46 -0
  80. package/model/pack-user-params.ts +42 -0
  81. package/model/pack-users.ts +46 -0
  82. package/model/pack.ts +142 -0
  83. package/model/packs.ts +37 -0
  84. package/model/profile.ts +118 -0
  85. package/model/quilt-build-params.ts +33 -0
  86. package/model/quilt-builds.ts +46 -0
  87. package/model/quilt.ts +45 -0
  88. package/model/quilts.ts +37 -0
  89. package/model/team-mod-params.ts +42 -0
  90. package/model/team-mod.ts +79 -0
  91. package/model/team-mods.ts +46 -0
  92. package/model/team-pack-params.ts +42 -0
  93. package/model/team-pack.ts +79 -0
  94. package/model/team-packs.ts +46 -0
  95. package/model/team-user-params.ts +42 -0
  96. package/model/team-users.ts +46 -0
  97. package/model/team.ts +79 -0
  98. package/model/teams.ts +37 -0
  99. package/model/user-auth.ts +45 -0
  100. package/model/user-mod-params.ts +42 -0
  101. package/model/user-mod.ts +79 -0
  102. package/model/user-mods.ts +46 -0
  103. package/model/user-pack-params.ts +42 -0
  104. package/model/user-pack.ts +79 -0
  105. package/model/user-packs.ts +46 -0
  106. package/model/user-team-params.ts +42 -0
  107. package/model/user-team.ts +79 -0
  108. package/model/user-teams.ts +46 -0
  109. package/model/user.ts +118 -0
  110. package/model/users.ts +37 -0
  111. package/model/validation.ts +33 -0
  112. package/model/version-build-params.ts +33 -0
  113. package/model/version-builds.ts +55 -0
  114. package/model/version-file.ts +91 -0
  115. package/model/version.ts +91 -0
  116. package/model/versions.ts +46 -0
  117. package/openapi.yml +12 -0
  118. package/openapitools.json +7 -0
  119. package/package.json +41 -0
  120. package/tsconfig.esm.json +7 -0
  121. package/tsconfig.json +18 -0
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface AuthLogin
19
+ */
20
+ export interface AuthLogin {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AuthLogin
25
+ */
26
+ username: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof AuthLogin
31
+ */
32
+ password: string;
33
+ }
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface AuthToken
19
+ */
20
+ export interface AuthToken {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AuthToken
25
+ */
26
+ token: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof AuthToken
31
+ */
32
+ expires_at?: string | null;
33
+ }
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface AuthVerify
19
+ */
20
+ export interface AuthVerify {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AuthVerify
25
+ */
26
+ username: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof AuthVerify
31
+ */
32
+ created_at?: string | null;
33
+ }
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ * Parameters to attach or unlink build version
17
+ * @export
18
+ * @interface BuildVersionParams
19
+ */
20
+ export interface BuildVersionParams {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof BuildVersionParams
25
+ */
26
+ mod: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof BuildVersionParams
31
+ */
32
+ version: string;
33
+ }
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import type { Build } from "./build";
18
+ // May contain unused imports in some cases
19
+ // @ts-ignore
20
+ import type { Version } from "./version";
21
+
22
+ /**
23
+ * Model to represent build version
24
+ * @export
25
+ * @interface BuildVersion
26
+ */
27
+ export interface BuildVersion {
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof BuildVersion
32
+ */
33
+ build_id: string;
34
+ /**
35
+ *
36
+ * @type {Build}
37
+ * @memberof BuildVersion
38
+ */
39
+ build?: Build;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof BuildVersion
44
+ */
45
+ version_id: string;
46
+ /**
47
+ *
48
+ * @type {Version}
49
+ * @memberof BuildVersion
50
+ */
51
+ version?: Version;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof BuildVersion
56
+ */
57
+ created_at?: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof BuildVersion
62
+ */
63
+ updated_at?: string;
64
+ }
@@ -0,0 +1,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import type { Build } from "./build";
18
+ // May contain unused imports in some cases
19
+ // @ts-ignore
20
+ import type { BuildVersion } from "./build-version";
21
+ // May contain unused imports in some cases
22
+ // @ts-ignore
23
+ import type { Pack } from "./pack";
24
+
25
+ /**
26
+ * Model to represent build versions
27
+ * @export
28
+ * @interface BuildVersions
29
+ */
30
+ export interface BuildVersions {
31
+ /**
32
+ *
33
+ * @type {Pack}
34
+ * @memberof BuildVersions
35
+ */
36
+ pack?: Pack;
37
+ /**
38
+ *
39
+ * @type {Build}
40
+ * @memberof BuildVersions
41
+ */
42
+ build?: Build;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof BuildVersions
47
+ */
48
+ total?: number;
49
+ /**
50
+ *
51
+ * @type {Array<BuildVersion>}
52
+ * @memberof BuildVersions
53
+ */
54
+ versions?: Array<BuildVersion>;
55
+ }
package/model/build.ts ADDED
@@ -0,0 +1,169 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import type { BuildVersion } from "./build-version";
18
+ // May contain unused imports in some cases
19
+ // @ts-ignore
20
+ import type { Fabric } from "./fabric";
21
+ // May contain unused imports in some cases
22
+ // @ts-ignore
23
+ import type { Forge } from "./forge";
24
+ // May contain unused imports in some cases
25
+ // @ts-ignore
26
+ import type { Minecraft } from "./minecraft";
27
+ // May contain unused imports in some cases
28
+ // @ts-ignore
29
+ import type { Neoforge } from "./neoforge";
30
+ // May contain unused imports in some cases
31
+ // @ts-ignore
32
+ import type { Pack } from "./pack";
33
+ // May contain unused imports in some cases
34
+ // @ts-ignore
35
+ import type { Quilt } from "./quilt";
36
+
37
+ /**
38
+ * Model to represent build
39
+ * @export
40
+ * @interface Build
41
+ */
42
+ export interface Build {
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof Build
47
+ */
48
+ id?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof Build
53
+ */
54
+ pack_id?: string;
55
+ /**
56
+ *
57
+ * @type {Pack}
58
+ * @memberof Build
59
+ */
60
+ pack?: Pack;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof Build
65
+ */
66
+ minecraft_id?: string | null;
67
+ /**
68
+ *
69
+ * @type {Minecraft}
70
+ * @memberof Build
71
+ */
72
+ minecraft?: Minecraft;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof Build
77
+ */
78
+ forge_id?: string | null;
79
+ /**
80
+ *
81
+ * @type {Forge}
82
+ * @memberof Build
83
+ */
84
+ forge?: Forge;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof Build
89
+ */
90
+ neoforge_id?: string | null;
91
+ /**
92
+ *
93
+ * @type {Neoforge}
94
+ * @memberof Build
95
+ */
96
+ neoforge?: Neoforge;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof Build
101
+ */
102
+ quilt_id?: string | null;
103
+ /**
104
+ *
105
+ * @type {Quilt}
106
+ * @memberof Build
107
+ */
108
+ quilt?: Quilt;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof Build
113
+ */
114
+ fabric_id?: string | null;
115
+ /**
116
+ *
117
+ * @type {Fabric}
118
+ * @memberof Build
119
+ */
120
+ fabric?: Fabric;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof Build
125
+ */
126
+ slug?: string | null;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof Build
131
+ */
132
+ name?: string | null;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof Build
137
+ */
138
+ java?: string | null;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof Build
143
+ */
144
+ memory?: string | null;
145
+ /**
146
+ *
147
+ * @type {boolean}
148
+ * @memberof Build
149
+ */
150
+ public?: boolean | null;
151
+ /**
152
+ *
153
+ * @type {string}
154
+ * @memberof Build
155
+ */
156
+ created_at?: string;
157
+ /**
158
+ *
159
+ * @type {string}
160
+ * @memberof Build
161
+ */
162
+ updated_at?: string;
163
+ /**
164
+ *
165
+ * @type {Array<BuildVersion>}
166
+ * @memberof Build
167
+ */
168
+ versions?: Array<BuildVersion> | null;
169
+ }
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import type { Build } from "./build";
18
+ // May contain unused imports in some cases
19
+ // @ts-ignore
20
+ import type { Pack } from "./pack";
21
+
22
+ /**
23
+ * Model to represent list of builds
24
+ * @export
25
+ * @interface Builds
26
+ */
27
+ export interface Builds {
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof Builds
32
+ */
33
+ total?: number;
34
+ /**
35
+ *
36
+ * @type {Pack}
37
+ * @memberof Builds
38
+ */
39
+ pack?: Pack;
40
+ /**
41
+ *
42
+ * @type {Array<Build>}
43
+ * @memberof Builds
44
+ */
45
+ builds?: Array<Build>;
46
+ }
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ * Model to represent params for fabric builds
17
+ * @export
18
+ * @interface FabricBuildParams
19
+ */
20
+ export interface FabricBuildParams {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof FabricBuildParams
25
+ */
26
+ pack: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof FabricBuildParams
31
+ */
32
+ build: string;
33
+ }
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import type { Build } from "./build";
18
+ // May contain unused imports in some cases
19
+ // @ts-ignore
20
+ import type { Fabric } from "./fabric";
21
+
22
+ /**
23
+ * Model to represent fabric builds
24
+ * @export
25
+ * @interface FabricBuilds
26
+ */
27
+ export interface FabricBuilds {
28
+ /**
29
+ *
30
+ * @type {Fabric}
31
+ * @memberof FabricBuilds
32
+ */
33
+ fabric?: Fabric;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof FabricBuilds
38
+ */
39
+ total?: number;
40
+ /**
41
+ *
42
+ * @type {Array<Build>}
43
+ * @memberof FabricBuilds
44
+ */
45
+ builds?: Array<Build>;
46
+ }
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ * Model to represent fabric
17
+ * @export
18
+ * @interface Fabric
19
+ */
20
+ export interface Fabric {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof Fabric
25
+ */
26
+ id?: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof Fabric
31
+ */
32
+ name?: string | null;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof Fabric
37
+ */
38
+ created_at?: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof Fabric
43
+ */
44
+ updated_at?: string;
45
+ }
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import type { Fabric } from "./fabric";
18
+
19
+ /**
20
+ * Model to represent list of fabrics
21
+ * @export
22
+ * @interface Fabrics
23
+ */
24
+ export interface Fabrics {
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof Fabrics
29
+ */
30
+ total?: number;
31
+ /**
32
+ *
33
+ * @type {Array<Fabric>}
34
+ * @memberof Fabrics
35
+ */
36
+ versions?: Array<Fabric>;
37
+ }
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ * Model to represent params for forge builds
17
+ * @export
18
+ * @interface ForgeBuildParams
19
+ */
20
+ export interface ForgeBuildParams {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ForgeBuildParams
25
+ */
26
+ pack: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof ForgeBuildParams
31
+ */
32
+ build: string;
33
+ }
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kleister OpenAPI
5
+ * API definition for Kleister, manage mod packs for Minecraft
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0-alpha1
8
+ * Contact: kleister@webhippie.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ // May contain unused imports in some cases
16
+ // @ts-ignore
17
+ import type { Build } from "./build";
18
+ // May contain unused imports in some cases
19
+ // @ts-ignore
20
+ import type { Forge } from "./forge";
21
+
22
+ /**
23
+ * Model to represent forge builds
24
+ * @export
25
+ * @interface ForgeBuilds
26
+ */
27
+ export interface ForgeBuilds {
28
+ /**
29
+ *
30
+ * @type {Forge}
31
+ * @memberof ForgeBuilds
32
+ */
33
+ forge?: Forge;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ForgeBuilds
38
+ */
39
+ total?: number;
40
+ /**
41
+ *
42
+ * @type {Array<Build>}
43
+ * @memberof ForgeBuilds
44
+ */
45
+ builds?: Array<Build>;
46
+ }