kleisterjs 2.7.0 → 2.9.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/.codacy.yml +3 -0
- package/.github/RELEASE +1 -1
- package/.github/settings.yml +3 -0
- package/.openapi-generator/FILES +87 -0
- package/.openapi-generator/VERSION +1 -1
- package/CHANGELOG.md +15 -0
- package/README.md +2 -2
- package/docs/AttachBuildToVersionRequest.md +22 -0
- package/docs/AttachMinecraftToBuildRequest.md +22 -0
- package/docs/AuthApi.md +366 -0
- package/docs/AuthToken.md +22 -0
- package/docs/AuthVerify.md +22 -0
- package/docs/Build.md +59 -0
- package/docs/BuildVersion.md +31 -0
- package/docs/CreateBuildRequest.md +40 -0
- package/docs/CreateGroupRequest.md +22 -0
- package/docs/CreateModRequest.md +34 -0
- package/docs/CreatePackRequest.md +26 -0
- package/docs/CreateUserRequest.md +30 -0
- package/docs/CreateVersionRequest.md +24 -0
- package/docs/DeleteGroupFromModRequest.md +20 -0
- package/docs/DeleteGroupFromPackRequest.md +20 -0
- package/docs/DeletePackFromGroupRequest.md +20 -0
- package/docs/DeletePackFromUserRequest.md +20 -0
- package/docs/Fabric.md +27 -0
- package/docs/FabricApi.md +297 -0
- package/docs/Forge.md +29 -0
- package/docs/ForgeApi.md +297 -0
- package/docs/Group.md +29 -0
- package/docs/GroupApi.md +1050 -0
- package/docs/GroupMod.md +33 -0
- package/docs/GroupPack.md +33 -0
- package/docs/ListBuildVersions200Response.md +30 -0
- package/docs/ListBuilds200Response.md +28 -0
- package/docs/ListFabricBuilds200Response.md +28 -0
- package/docs/ListFabrics200Response.md +26 -0
- package/docs/ListForgeBuilds200Response.md +28 -0
- package/docs/ListForges200Response.md +26 -0
- package/docs/ListGroupMods200Response.md +28 -0
- package/docs/ListGroupPacks200Response.md +28 -0
- package/docs/ListGroupUsers200Response.md +28 -0
- package/docs/ListGroups200Response.md +26 -0
- package/docs/ListMinecraftBuilds200Response.md +28 -0
- package/docs/ListMinecrafts200Response.md +26 -0
- package/docs/ListModGroups200Response.md +28 -0
- package/docs/ListModUsers200Response.md +28 -0
- package/docs/ListMods200Response.md +26 -0
- package/docs/ListNeoforgeBuilds200Response.md +28 -0
- package/docs/ListNeoforges200Response.md +26 -0
- package/docs/ListPackGroups200Response.md +28 -0
- package/docs/ListPackUsers200Response.md +28 -0
- package/docs/ListPacks200Response.md +26 -0
- package/docs/ListProviders200Response.md +22 -0
- package/docs/ListQuiltBuilds200Response.md +28 -0
- package/docs/ListQuilts200Response.md +26 -0
- package/docs/ListUserGroups200Response.md +28 -0
- package/docs/ListUserMods200Response.md +28 -0
- package/docs/ListUserPacks200Response.md +28 -0
- package/docs/ListUsers200Response.md +26 -0
- package/docs/ListVersionBuilds200Response.md +30 -0
- package/docs/ListVersions200Response.md +28 -0
- package/docs/LoginAuthRequest.md +22 -0
- package/docs/Minecraft.md +29 -0
- package/docs/MinecraftApi.md +297 -0
- package/docs/Mod.md +43 -0
- package/docs/ModApi.md +1533 -0
- package/docs/ModAvatar.md +27 -0
- package/docs/Neoforge.md +27 -0
- package/docs/NeoforgeApi.md +297 -0
- package/docs/Notification.md +25 -0
- package/docs/Pack.md +35 -0
- package/docs/PackApi.md +1305 -0
- package/docs/PackAvatar.md +27 -0
- package/docs/PermitGroupModRequest.md +22 -0
- package/docs/PermitGroupPackRequest.md +22 -0
- package/docs/PermitPackGroupRequest.md +22 -0
- package/docs/PermitPackUserRequest.md +22 -0
- package/docs/Profile.md +47 -0
- package/docs/ProfileApi.md +155 -0
- package/docs/Provider.md +27 -0
- package/docs/Quilt.md +27 -0
- package/docs/QuiltApi.md +297 -0
- package/docs/RedirectAuthRequest.md +20 -0
- package/docs/UpdateProfileRequest.md +26 -0
- package/docs/UpdateUserRequest.md +30 -0
- package/docs/User.md +41 -0
- package/docs/UserApi.md +1050 -0
- package/docs/UserAuth.md +27 -0
- package/docs/UserGroup.md +33 -0
- package/docs/UserMod.md +33 -0
- package/docs/UserPack.md +33 -0
- package/docs/Validation.md +23 -0
- package/docs/Version.md +33 -0
- package/docs/VersionFile.md +33 -0
- package/flake.lock +9 -9
- package/openapi.yml +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# ModAvatar
|
|
2
|
+
|
|
3
|
+
Model to represent mod avatar
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**slug** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
12
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ModAvatar } from 'kleisterjs';
|
|
18
|
+
|
|
19
|
+
const instance: ModAvatar = {
|
|
20
|
+
slug,
|
|
21
|
+
url,
|
|
22
|
+
created_at,
|
|
23
|
+
updated_at,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Neoforge.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Neoforge
|
|
2
|
+
|
|
3
|
+
Model to represent neoforge
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [readonly] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
12
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { Neoforge } from 'kleisterjs';
|
|
18
|
+
|
|
19
|
+
const instance: Neoforge = {
|
|
20
|
+
id,
|
|
21
|
+
name,
|
|
22
|
+
created_at,
|
|
23
|
+
updated_at,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
# NeoforgeApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://try.kleister.eu/api/v1*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**attachNeoforgeToBuild**](#attachneoforgetobuild) | **POST** /neoforge/{neoforge_id}/builds | Attach a build to a Neoforge version|
|
|
8
|
+
|[**deleteNeoforgeFromBuild**](#deleteneoforgefrombuild) | **DELETE** /neoforge/{neoforge_id}/builds | Unlink a build from a Neoforge version|
|
|
9
|
+
|[**listNeoforgeBuilds**](#listneoforgebuilds) | **GET** /neoforge/{neoforge_id}/builds | Fetch the builds attached to a Neoforge version|
|
|
10
|
+
|[**listNeoforges**](#listneoforges) | **GET** /neoforge | Fetch the available Neoforge versions|
|
|
11
|
+
|[**updateNeoforge**](#updateneoforge) | **PUT** /neoforge | Update the available Neoforge versions|
|
|
12
|
+
|
|
13
|
+
# **attachNeoforgeToBuild**
|
|
14
|
+
> Notification attachNeoforgeToBuild(attachMinecraftToBuildRequest)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
NeoforgeApi,
|
|
22
|
+
Configuration,
|
|
23
|
+
AttachMinecraftToBuildRequest
|
|
24
|
+
} from 'kleisterjs';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new NeoforgeApi(configuration);
|
|
28
|
+
|
|
29
|
+
let neoforgeId: string; //A neoforge identifier or slug (default to undefined)
|
|
30
|
+
let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The neoforge build data to create or update
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.attachNeoforgeToBuild(
|
|
33
|
+
neoforgeId,
|
|
34
|
+
attachMinecraftToBuildRequest
|
|
35
|
+
);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
|Name | Type | Description | Notes|
|
|
41
|
+
|------------- | ------------- | ------------- | -------------|
|
|
42
|
+
| **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The neoforge build data to create or update | |
|
|
43
|
+
| **neoforgeId** | [**string**] | A neoforge identifier or slug | defaults to undefined|
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
**Notification**
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
[Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: application/json
|
|
57
|
+
- **Accept**: application/json
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### HTTP response details
|
|
61
|
+
| Status code | Description | Response headers |
|
|
62
|
+
|-------------|-------------|------------------|
|
|
63
|
+
|**200** | Plain success message | - |
|
|
64
|
+
|**400** | Failed to parse request | - |
|
|
65
|
+
|**403** | User is not authorized | - |
|
|
66
|
+
|**404** | Resource not found | - |
|
|
67
|
+
|**412** | Resource is already attached | - |
|
|
68
|
+
|**422** | Failed to validate request | - |
|
|
69
|
+
|**500** | Some internal server error | - |
|
|
70
|
+
|
|
71
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
72
|
+
|
|
73
|
+
# **deleteNeoforgeFromBuild**
|
|
74
|
+
> Notification deleteNeoforgeFromBuild(attachMinecraftToBuildRequest)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
NeoforgeApi,
|
|
82
|
+
Configuration,
|
|
83
|
+
AttachMinecraftToBuildRequest
|
|
84
|
+
} from 'kleisterjs';
|
|
85
|
+
|
|
86
|
+
const configuration = new Configuration();
|
|
87
|
+
const apiInstance = new NeoforgeApi(configuration);
|
|
88
|
+
|
|
89
|
+
let neoforgeId: string; //A neoforge identifier or slug (default to undefined)
|
|
90
|
+
let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The neoforge build data to create or update
|
|
91
|
+
|
|
92
|
+
const { status, data } = await apiInstance.deleteNeoforgeFromBuild(
|
|
93
|
+
neoforgeId,
|
|
94
|
+
attachMinecraftToBuildRequest
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The neoforge build data to create or update | |
|
|
103
|
+
| **neoforgeId** | [**string**] | A neoforge identifier or slug | defaults to undefined|
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Return type
|
|
107
|
+
|
|
108
|
+
**Notification**
|
|
109
|
+
|
|
110
|
+
### Authorization
|
|
111
|
+
|
|
112
|
+
[Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
|
|
113
|
+
|
|
114
|
+
### HTTP request headers
|
|
115
|
+
|
|
116
|
+
- **Content-Type**: application/json
|
|
117
|
+
- **Accept**: application/json
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### HTTP response details
|
|
121
|
+
| Status code | Description | Response headers |
|
|
122
|
+
|-------------|-------------|------------------|
|
|
123
|
+
|**200** | Plain success message | - |
|
|
124
|
+
|**400** | Failed to parse request | - |
|
|
125
|
+
|**403** | User is not authorized | - |
|
|
126
|
+
|**404** | Resource not found | - |
|
|
127
|
+
|**412** | Resource is not attached | - |
|
|
128
|
+
|**500** | Some internal server error | - |
|
|
129
|
+
|
|
130
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
131
|
+
|
|
132
|
+
# **listNeoforgeBuilds**
|
|
133
|
+
> ListNeoforgeBuilds200Response listNeoforgeBuilds()
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Example
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
import {
|
|
140
|
+
NeoforgeApi,
|
|
141
|
+
Configuration
|
|
142
|
+
} from 'kleisterjs';
|
|
143
|
+
|
|
144
|
+
const configuration = new Configuration();
|
|
145
|
+
const apiInstance = new NeoforgeApi(configuration);
|
|
146
|
+
|
|
147
|
+
let neoforgeId: string; //A neoforge identifier or slug (default to undefined)
|
|
148
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
149
|
+
let sort: string; //Sorting column (optional) (default to undefined)
|
|
150
|
+
let order: 'asc' | 'desc'; //Sorting order (optional) (default to 'asc')
|
|
151
|
+
let limit: number; //Paging limit (optional) (default to 100)
|
|
152
|
+
let offset: number; //Paging offset (optional) (default to 0)
|
|
153
|
+
|
|
154
|
+
const { status, data } = await apiInstance.listNeoforgeBuilds(
|
|
155
|
+
neoforgeId,
|
|
156
|
+
search,
|
|
157
|
+
sort,
|
|
158
|
+
order,
|
|
159
|
+
limit,
|
|
160
|
+
offset
|
|
161
|
+
);
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Parameters
|
|
165
|
+
|
|
166
|
+
|Name | Type | Description | Notes|
|
|
167
|
+
|------------- | ------------- | ------------- | -------------|
|
|
168
|
+
| **neoforgeId** | [**string**] | A neoforge identifier or slug | defaults to undefined|
|
|
169
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
170
|
+
| **sort** | [**string**] | Sorting column | (optional) defaults to undefined|
|
|
171
|
+
| **order** | [**'asc' | 'desc'**]**Array<'asc' | 'desc'>** | Sorting order | (optional) defaults to 'asc'|
|
|
172
|
+
| **limit** | [**number**] | Paging limit | (optional) defaults to 100|
|
|
173
|
+
| **offset** | [**number**] | Paging offset | (optional) defaults to 0|
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### Return type
|
|
177
|
+
|
|
178
|
+
**ListNeoforgeBuilds200Response**
|
|
179
|
+
|
|
180
|
+
### Authorization
|
|
181
|
+
|
|
182
|
+
[Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
|
|
183
|
+
|
|
184
|
+
### HTTP request headers
|
|
185
|
+
|
|
186
|
+
- **Content-Type**: Not defined
|
|
187
|
+
- **Accept**: application/json
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
### HTTP response details
|
|
191
|
+
| Status code | Description | Response headers |
|
|
192
|
+
|-------------|-------------|------------------|
|
|
193
|
+
|**200** | A collection of neoforge builds | - |
|
|
194
|
+
|**403** | User is not authorized | - |
|
|
195
|
+
|**404** | Resource not found | - |
|
|
196
|
+
|**500** | Some internal server error | - |
|
|
197
|
+
|
|
198
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
199
|
+
|
|
200
|
+
# **listNeoforges**
|
|
201
|
+
> ListNeoforges200Response listNeoforges()
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Example
|
|
205
|
+
|
|
206
|
+
```typescript
|
|
207
|
+
import {
|
|
208
|
+
NeoforgeApi,
|
|
209
|
+
Configuration
|
|
210
|
+
} from 'kleisterjs';
|
|
211
|
+
|
|
212
|
+
const configuration = new Configuration();
|
|
213
|
+
const apiInstance = new NeoforgeApi(configuration);
|
|
214
|
+
|
|
215
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
216
|
+
|
|
217
|
+
const { status, data } = await apiInstance.listNeoforges(
|
|
218
|
+
search
|
|
219
|
+
);
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Parameters
|
|
223
|
+
|
|
224
|
+
|Name | Type | Description | Notes|
|
|
225
|
+
|------------- | ------------- | ------------- | -------------|
|
|
226
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### Return type
|
|
230
|
+
|
|
231
|
+
**ListNeoforges200Response**
|
|
232
|
+
|
|
233
|
+
### Authorization
|
|
234
|
+
|
|
235
|
+
[Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
|
|
236
|
+
|
|
237
|
+
### HTTP request headers
|
|
238
|
+
|
|
239
|
+
- **Content-Type**: Not defined
|
|
240
|
+
- **Accept**: application/json
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### HTTP response details
|
|
244
|
+
| Status code | Description | Response headers |
|
|
245
|
+
|-------------|-------------|------------------|
|
|
246
|
+
|**200** | A collection of neoforges | - |
|
|
247
|
+
|**403** | User is not authorized | - |
|
|
248
|
+
|**500** | Some internal server error | - |
|
|
249
|
+
|
|
250
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
251
|
+
|
|
252
|
+
# **updateNeoforge**
|
|
253
|
+
> Notification updateNeoforge()
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
### Example
|
|
257
|
+
|
|
258
|
+
```typescript
|
|
259
|
+
import {
|
|
260
|
+
NeoforgeApi,
|
|
261
|
+
Configuration
|
|
262
|
+
} from 'kleisterjs';
|
|
263
|
+
|
|
264
|
+
const configuration = new Configuration();
|
|
265
|
+
const apiInstance = new NeoforgeApi(configuration);
|
|
266
|
+
|
|
267
|
+
const { status, data } = await apiInstance.updateNeoforge();
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### Parameters
|
|
271
|
+
This endpoint does not have any parameters.
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
### Return type
|
|
275
|
+
|
|
276
|
+
**Notification**
|
|
277
|
+
|
|
278
|
+
### Authorization
|
|
279
|
+
|
|
280
|
+
[Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
|
|
281
|
+
|
|
282
|
+
### HTTP request headers
|
|
283
|
+
|
|
284
|
+
- **Content-Type**: Not defined
|
|
285
|
+
- **Accept**: application/json
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
### HTTP response details
|
|
289
|
+
| Status code | Description | Response headers |
|
|
290
|
+
|-------------|-------------|------------------|
|
|
291
|
+
|**200** | Plain success message | - |
|
|
292
|
+
|**503** | Remote source is nit available | - |
|
|
293
|
+
|**403** | User is not authorized | - |
|
|
294
|
+
|**500** | Some internal server error | - |
|
|
295
|
+
|
|
296
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
297
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Notification
|
|
2
|
+
|
|
3
|
+
Generic response for errors and validations
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**status** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**errors** | [**Array<Validation>**](Validation.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { Notification } from 'kleisterjs';
|
|
17
|
+
|
|
18
|
+
const instance: Notification = {
|
|
19
|
+
status,
|
|
20
|
+
message,
|
|
21
|
+
errors,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Pack.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Pack
|
|
2
|
+
|
|
3
|
+
Model to represent pack
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [readonly] [default to undefined]
|
|
10
|
+
**avatar** | [**PackAvatar**](PackAvatar.md) | | [optional] [default to undefined]
|
|
11
|
+
**slug** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**website** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**_public** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**created_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
16
|
+
**updated_at** | **string** | | [optional] [readonly] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { Pack } from 'kleisterjs';
|
|
22
|
+
|
|
23
|
+
const instance: Pack = {
|
|
24
|
+
id,
|
|
25
|
+
avatar,
|
|
26
|
+
slug,
|
|
27
|
+
name,
|
|
28
|
+
website,
|
|
29
|
+
_public,
|
|
30
|
+
created_at,
|
|
31
|
+
updated_at,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|