ffmpeglab-sdk 0.3.20 → 0.3.25
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/.openapi-generator/FILES +20 -0
- package/dist/apis/FilesApi.d.ts +115 -0
- package/dist/apis/FilesApi.js +179 -0
- package/dist/apis/PipelinesApi.d.ts +147 -0
- package/dist/apis/PipelinesApi.js +209 -0
- package/dist/apis/RendersApi.d.ts +77 -0
- package/dist/apis/RendersApi.js +109 -1
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/FilesApi.d.ts +115 -0
- package/dist/esm/apis/FilesApi.js +175 -0
- package/dist/esm/apis/PipelinesApi.d.ts +147 -0
- package/dist/esm/apis/PipelinesApi.js +205 -0
- package/dist/esm/apis/RendersApi.d.ts +77 -0
- package/dist/esm/apis/RendersApi.js +108 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/CreatePipelineDto.d.ts +50 -0
- package/dist/esm/models/CreatePipelineDto.js +55 -0
- package/dist/esm/models/EditorProjectConfiguration.d.ts +2 -0
- package/dist/esm/models/EditorProjectConfiguration.js +3 -1
- package/dist/esm/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/esm/models/EncoderProjectEncoding.js +3 -1
- package/dist/esm/models/FileListDto.d.ts +33 -0
- package/dist/esm/models/FileListDto.js +44 -0
- package/dist/esm/models/FileObject.d.ts +50 -0
- package/dist/esm/models/FileObject.js +55 -0
- package/dist/esm/models/FileResponseDto.d.ts +32 -0
- package/dist/esm/models/FileResponseDto.js +43 -0
- package/dist/esm/models/LogPiece.d.ts +56 -0
- package/dist/esm/models/LogPiece.js +59 -0
- package/dist/esm/models/LogsResponse.d.ts +33 -0
- package/dist/esm/models/LogsResponse.js +44 -0
- package/dist/esm/models/Pipeline.d.ts +80 -0
- package/dist/esm/models/Pipeline.js +75 -0
- package/dist/esm/models/UpdatePipelineDto.d.ts +56 -0
- package/dist/esm/models/UpdatePipelineDto.js +59 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/CreatePipelineDto.d.ts +50 -0
- package/dist/models/CreatePipelineDto.js +62 -0
- package/dist/models/EditorProjectConfiguration.d.ts +2 -0
- package/dist/models/EditorProjectConfiguration.js +3 -1
- package/dist/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/models/EncoderProjectEncoding.js +3 -1
- package/dist/models/FileListDto.d.ts +33 -0
- package/dist/models/FileListDto.js +51 -0
- package/dist/models/FileObject.d.ts +50 -0
- package/dist/models/FileObject.js +62 -0
- package/dist/models/FileResponseDto.d.ts +32 -0
- package/dist/models/FileResponseDto.js +50 -0
- package/dist/models/LogPiece.d.ts +56 -0
- package/dist/models/LogPiece.js +66 -0
- package/dist/models/LogsResponse.d.ts +33 -0
- package/dist/models/LogsResponse.js +51 -0
- package/dist/models/Pipeline.d.ts +80 -0
- package/dist/models/Pipeline.js +82 -0
- package/dist/models/UpdatePipelineDto.d.ts +56 -0
- package/dist/models/UpdatePipelineDto.js +66 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/CreatePipelineDto.md +40 -0
- package/docs/FileListDto.md +34 -0
- package/docs/FileObject.md +40 -0
- package/docs/FileResponseDto.md +34 -0
- package/docs/FilesApi.md +210 -0
- package/docs/LogPiece.md +42 -0
- package/docs/LogsResponse.md +34 -0
- package/docs/Pipeline.md +50 -0
- package/docs/PipelinesApi.md +280 -0
- package/docs/RendersApi.md +146 -0
- package/docs/UpdatePipelineDto.md +42 -0
- package/package.json +1 -1
- package/src/apis/FilesApi.ts +274 -0
- package/src/apis/PipelinesApi.ts +340 -0
- package/src/apis/RendersApi.ts +194 -0
- package/src/apis/index.ts +2 -0
- package/src/models/CreatePipelineDto.ts +93 -0
- package/src/models/EditorProjectConfiguration.ts +3 -1
- package/src/models/EncoderProjectEncoding.ts +3 -1
- package/src/models/FileListDto.ts +74 -0
- package/src/models/FileObject.ts +93 -0
- package/src/models/FileResponseDto.ts +66 -0
- package/src/models/LogPiece.ts +102 -0
- package/src/models/LogsResponse.ts +74 -0
- package/src/models/Pipeline.ts +138 -0
- package/src/models/UpdatePipelineDto.ts +102 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# CreatePipelineDto
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`title` | string
|
|
10
|
+
`downsql` | string
|
|
11
|
+
`upsql` | string
|
|
12
|
+
`yml` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { CreatePipelineDto } from 'ffmpeglab-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"title": null,
|
|
22
|
+
"downsql": null,
|
|
23
|
+
"upsql": null,
|
|
24
|
+
"yml": null,
|
|
25
|
+
} satisfies CreatePipelineDto
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as CreatePipelineDto
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# FileListDto
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`list` | [Array<FileObject>](FileObject.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { FileListDto } from 'ffmpeglab-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"list": null,
|
|
19
|
+
} satisfies FileListDto
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as FileListDto
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# FileObject
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`key` | string
|
|
10
|
+
`lastModified` | Date
|
|
11
|
+
`eTag` | string
|
|
12
|
+
`size` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { FileObject } from 'ffmpeglab-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"key": null,
|
|
22
|
+
"lastModified": null,
|
|
23
|
+
"eTag": null,
|
|
24
|
+
"size": null,
|
|
25
|
+
} satisfies FileObject
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as FileObject
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# FileResponseDto
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`link` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { FileResponseDto } from 'ffmpeglab-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"link": null,
|
|
19
|
+
} satisfies FileResponseDto
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as FileResponseDto
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
package/docs/FilesApi.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
# FilesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**filesControllerFile**](FilesApi.md#filescontrollerfile) | **GET** /files/file/{id} | |
|
|
8
|
+
| [**filesControllerList**](FilesApi.md#filescontrollerlist) | **GET** /files/list | |
|
|
9
|
+
| [**filesControllerUpload**](FilesApi.md#filescontrollerupload) | **POST** /files/upload | |
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## filesControllerFile
|
|
14
|
+
|
|
15
|
+
> FileResponseDto filesControllerFile(id)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import {
|
|
23
|
+
Configuration,
|
|
24
|
+
FilesApi,
|
|
25
|
+
} from 'ffmpeglab-sdk';
|
|
26
|
+
import type { FilesControllerFileRequest } from 'ffmpeglab-sdk';
|
|
27
|
+
|
|
28
|
+
async function example() {
|
|
29
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
30
|
+
const config = new Configuration({
|
|
31
|
+
// Configure HTTP bearer authorization: bearer
|
|
32
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
33
|
+
});
|
|
34
|
+
const api = new FilesApi(config);
|
|
35
|
+
|
|
36
|
+
const body = {
|
|
37
|
+
// string | The ID of the file
|
|
38
|
+
id: id_example,
|
|
39
|
+
} satisfies FilesControllerFileRequest;
|
|
40
|
+
|
|
41
|
+
try {
|
|
42
|
+
const data = await api.filesControllerFile(body);
|
|
43
|
+
console.log(data);
|
|
44
|
+
} catch (error) {
|
|
45
|
+
console.error(error);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Run the test
|
|
50
|
+
example().catch(console.error);
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Parameters
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
| Name | Type | Description | Notes |
|
|
57
|
+
|------------- | ------------- | ------------- | -------------|
|
|
58
|
+
| **id** | `string` | The ID of the file | [Defaults to `undefined`] |
|
|
59
|
+
|
|
60
|
+
### Return type
|
|
61
|
+
|
|
62
|
+
[**FileResponseDto**](FileResponseDto.md)
|
|
63
|
+
|
|
64
|
+
### Authorization
|
|
65
|
+
|
|
66
|
+
[bearer](../README.md#bearer)
|
|
67
|
+
|
|
68
|
+
### HTTP request headers
|
|
69
|
+
|
|
70
|
+
- **Content-Type**: Not defined
|
|
71
|
+
- **Accept**: `application/json`
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### HTTP response details
|
|
75
|
+
| Status code | Description | Response headers |
|
|
76
|
+
|-------------|-------------|------------------|
|
|
77
|
+
| **0** | | - |
|
|
78
|
+
|
|
79
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## filesControllerList
|
|
83
|
+
|
|
84
|
+
> Array<FileListDto> filesControllerList()
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Example
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
import {
|
|
92
|
+
Configuration,
|
|
93
|
+
FilesApi,
|
|
94
|
+
} from 'ffmpeglab-sdk';
|
|
95
|
+
import type { FilesControllerListRequest } from 'ffmpeglab-sdk';
|
|
96
|
+
|
|
97
|
+
async function example() {
|
|
98
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
99
|
+
const config = new Configuration({
|
|
100
|
+
// Configure HTTP bearer authorization: bearer
|
|
101
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
102
|
+
});
|
|
103
|
+
const api = new FilesApi(config);
|
|
104
|
+
|
|
105
|
+
try {
|
|
106
|
+
const data = await api.filesControllerList();
|
|
107
|
+
console.log(data);
|
|
108
|
+
} catch (error) {
|
|
109
|
+
console.error(error);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Run the test
|
|
114
|
+
example().catch(console.error);
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Parameters
|
|
118
|
+
|
|
119
|
+
This endpoint does not need any parameter.
|
|
120
|
+
|
|
121
|
+
### Return type
|
|
122
|
+
|
|
123
|
+
[**Array<FileListDto>**](FileListDto.md)
|
|
124
|
+
|
|
125
|
+
### Authorization
|
|
126
|
+
|
|
127
|
+
[bearer](../README.md#bearer)
|
|
128
|
+
|
|
129
|
+
### HTTP request headers
|
|
130
|
+
|
|
131
|
+
- **Content-Type**: Not defined
|
|
132
|
+
- **Accept**: `application/json`
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### HTTP response details
|
|
136
|
+
| Status code | Description | Response headers |
|
|
137
|
+
|-------------|-------------|------------------|
|
|
138
|
+
| **0** | | - |
|
|
139
|
+
|
|
140
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
## filesControllerUpload
|
|
144
|
+
|
|
145
|
+
> filesControllerUpload(file)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Example
|
|
150
|
+
|
|
151
|
+
```ts
|
|
152
|
+
import {
|
|
153
|
+
Configuration,
|
|
154
|
+
FilesApi,
|
|
155
|
+
} from 'ffmpeglab-sdk';
|
|
156
|
+
import type { FilesControllerUploadRequest } from 'ffmpeglab-sdk';
|
|
157
|
+
|
|
158
|
+
async function example() {
|
|
159
|
+
console.log("🚀 Testing ffmpeglab-sdk SDK...");
|
|
160
|
+
const config = new Configuration({
|
|
161
|
+
// Configure HTTP bearer authorization: bearer
|
|
162
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
163
|
+
});
|
|
164
|
+
const api = new FilesApi(config);
|
|
165
|
+
|
|
166
|
+
const body = {
|
|
167
|
+
// Blob
|
|
168
|
+
file: BINARY_DATA_HERE,
|
|
169
|
+
} satisfies FilesControllerUploadRequest;
|
|
170
|
+
|
|
171
|
+
try {
|
|
172
|
+
const data = await api.filesControllerUpload(body);
|
|
173
|
+
console.log(data);
|
|
174
|
+
} catch (error) {
|
|
175
|
+
console.error(error);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Run the test
|
|
180
|
+
example().catch(console.error);
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Parameters
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
| Name | Type | Description | Notes |
|
|
187
|
+
|------------- | ------------- | ------------- | -------------|
|
|
188
|
+
| **file** | `Blob` | | [Defaults to `undefined`] |
|
|
189
|
+
|
|
190
|
+
### Return type
|
|
191
|
+
|
|
192
|
+
`void` (Empty response body)
|
|
193
|
+
|
|
194
|
+
### Authorization
|
|
195
|
+
|
|
196
|
+
[bearer](../README.md#bearer)
|
|
197
|
+
|
|
198
|
+
### HTTP request headers
|
|
199
|
+
|
|
200
|
+
- **Content-Type**: `multipart/form-data`
|
|
201
|
+
- **Accept**: Not defined
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### HTTP response details
|
|
205
|
+
| Status code | Description | Response headers |
|
|
206
|
+
|-------------|-------------|------------------|
|
|
207
|
+
| **201** | | - |
|
|
208
|
+
|
|
209
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
210
|
+
|
package/docs/LogPiece.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# LogPiece
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`date` | Date
|
|
11
|
+
`logs` | string
|
|
12
|
+
`render` | string
|
|
13
|
+
`userId` | string
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { LogPiece } from 'ffmpeglab-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"id": null,
|
|
23
|
+
"date": null,
|
|
24
|
+
"logs": null,
|
|
25
|
+
"render": null,
|
|
26
|
+
"userId": null,
|
|
27
|
+
} satisfies LogPiece
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as LogPiece
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# LogsResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`logs` | [Array<LogPiece>](LogPiece.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { LogsResponse } from 'ffmpeglab-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"logs": null,
|
|
19
|
+
} satisfies LogsResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as LogsResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
package/docs/Pipeline.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
# Pipeline
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`title` | string
|
|
11
|
+
`status` | string
|
|
12
|
+
`userId` | string
|
|
13
|
+
`downsql` | string
|
|
14
|
+
`upsql` | string
|
|
15
|
+
`yml` | string
|
|
16
|
+
`date` | Date
|
|
17
|
+
`version` | number
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import type { Pipeline } from 'ffmpeglab-sdk'
|
|
23
|
+
|
|
24
|
+
// TODO: Update the object below with actual values
|
|
25
|
+
const example = {
|
|
26
|
+
"id": null,
|
|
27
|
+
"title": null,
|
|
28
|
+
"status": null,
|
|
29
|
+
"userId": null,
|
|
30
|
+
"downsql": null,
|
|
31
|
+
"upsql": null,
|
|
32
|
+
"yml": null,
|
|
33
|
+
"date": null,
|
|
34
|
+
"version": null,
|
|
35
|
+
} satisfies Pipeline
|
|
36
|
+
|
|
37
|
+
console.log(example)
|
|
38
|
+
|
|
39
|
+
// Convert the instance to a JSON string
|
|
40
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
+
console.log(exampleJSON)
|
|
42
|
+
|
|
43
|
+
// Parse the JSON string back to an object
|
|
44
|
+
const exampleParsed = JSON.parse(exampleJSON) as Pipeline
|
|
45
|
+
console.log(exampleParsed)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
+
|
|
50
|
+
|