@uniformdev/files 19.195.0 → 19.195.1-alpha.2
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/dist/index.d.mts +143 -85
- package/dist/index.d.ts +143 -85
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
import { ApiClient, ClientOptions } from '@uniformdev/context/api';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* This file was auto-generated by openapi-typescript.
|
|
5
|
-
* Do not make direct changes to the file.
|
|
6
|
-
*/
|
|
7
3
|
interface paths {
|
|
8
4
|
"/api/v1/files": {
|
|
9
|
-
|
|
5
|
+
parameters: {
|
|
6
|
+
query?: never;
|
|
7
|
+
header?: never;
|
|
8
|
+
path?: never;
|
|
9
|
+
cookie?: never;
|
|
10
|
+
};
|
|
11
|
+
/** @description Gets a single file */
|
|
10
12
|
get: {
|
|
11
13
|
parameters: {
|
|
12
|
-
query
|
|
14
|
+
query?: {
|
|
13
15
|
id?: string;
|
|
14
16
|
url?: string;
|
|
15
17
|
sourceId?: string;
|
|
16
18
|
projectId?: string;
|
|
17
19
|
};
|
|
20
|
+
header?: never;
|
|
21
|
+
path?: never;
|
|
22
|
+
cookie?: never;
|
|
18
23
|
};
|
|
24
|
+
requestBody?: never;
|
|
19
25
|
responses: {
|
|
20
|
-
/** 200 response */
|
|
26
|
+
/** @description 200 response */
|
|
21
27
|
200: {
|
|
28
|
+
headers: {
|
|
29
|
+
[name: string]: unknown;
|
|
30
|
+
};
|
|
22
31
|
content: {
|
|
23
32
|
"application/json": {
|
|
24
33
|
/** Format: uuid */
|
|
@@ -27,43 +36,34 @@ interface paths {
|
|
|
27
36
|
url?: string;
|
|
28
37
|
name: string;
|
|
29
38
|
mediaType: string;
|
|
30
|
-
metadata?: unknown
|
|
39
|
+
metadata?: unknown;
|
|
31
40
|
size: number;
|
|
32
41
|
sourceId?: string;
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
};
|
|
36
|
-
400:
|
|
37
|
-
401:
|
|
38
|
-
403:
|
|
39
|
-
/** 404 response */
|
|
40
|
-
404:
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
400: components["responses"]["BadRequestError"];
|
|
46
|
+
401: components["responses"]["UnauthorizedError"];
|
|
47
|
+
403: components["responses"]["ForbiddenError"];
|
|
48
|
+
/** @description 404 response */
|
|
49
|
+
404: {
|
|
50
|
+
headers: {
|
|
51
|
+
[name: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
content?: never;
|
|
54
|
+
};
|
|
55
|
+
429: components["responses"]["RateLimitError"];
|
|
56
|
+
500: components["responses"]["InternalServerError"];
|
|
43
57
|
};
|
|
44
58
|
};
|
|
45
|
-
|
|
59
|
+
put?: never;
|
|
60
|
+
/** @description Creates a new file */
|
|
46
61
|
post: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/** Format: uuid */
|
|
53
|
-
id: string;
|
|
54
|
-
uploadUrl: string;
|
|
55
|
-
/** @enum {string} */
|
|
56
|
-
method: "POST" | "PUT";
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
|
|
61
|
-
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
|
62
|
-
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
|
63
|
-
/** 404 response */
|
|
64
|
-
404: unknown;
|
|
65
|
-
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
|
|
66
|
-
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
|
|
62
|
+
parameters: {
|
|
63
|
+
query?: never;
|
|
64
|
+
header?: never;
|
|
65
|
+
path?: never;
|
|
66
|
+
cookie?: never;
|
|
67
67
|
};
|
|
68
68
|
requestBody: {
|
|
69
69
|
content: {
|
|
@@ -81,26 +81,43 @@ interface paths {
|
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
};
|
|
85
|
-
/** Deletes a file */
|
|
86
|
-
delete: {
|
|
87
84
|
responses: {
|
|
88
|
-
/**
|
|
89
|
-
|
|
85
|
+
/** @description 202 response */
|
|
86
|
+
202: {
|
|
87
|
+
headers: {
|
|
88
|
+
[name: string]: unknown;
|
|
89
|
+
};
|
|
90
90
|
content: {
|
|
91
91
|
"application/json": {
|
|
92
92
|
/** Format: uuid */
|
|
93
93
|
id: string;
|
|
94
|
+
uploadUrl: string;
|
|
95
|
+
/** @enum {string} */
|
|
96
|
+
method: "POST" | "PUT";
|
|
94
97
|
};
|
|
95
98
|
};
|
|
96
99
|
};
|
|
97
|
-
400:
|
|
98
|
-
401:
|
|
99
|
-
403:
|
|
100
|
-
/** 404 response */
|
|
101
|
-
404:
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
400: components["responses"]["BadRequestError"];
|
|
101
|
+
401: components["responses"]["UnauthorizedError"];
|
|
102
|
+
403: components["responses"]["ForbiddenError"];
|
|
103
|
+
/** @description 404 response */
|
|
104
|
+
404: {
|
|
105
|
+
headers: {
|
|
106
|
+
[name: string]: unknown;
|
|
107
|
+
};
|
|
108
|
+
content?: never;
|
|
109
|
+
};
|
|
110
|
+
429: components["responses"]["RateLimitError"];
|
|
111
|
+
500: components["responses"]["InternalServerError"];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
/** @description Deletes a file */
|
|
115
|
+
delete: {
|
|
116
|
+
parameters: {
|
|
117
|
+
query?: never;
|
|
118
|
+
header?: never;
|
|
119
|
+
path?: never;
|
|
120
|
+
cookie?: never;
|
|
104
121
|
};
|
|
105
122
|
requestBody: {
|
|
106
123
|
content: {
|
|
@@ -113,59 +130,100 @@ interface paths {
|
|
|
113
130
|
};
|
|
114
131
|
};
|
|
115
132
|
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
interface external {
|
|
120
|
-
"swagger.yml": {
|
|
121
|
-
paths: {};
|
|
122
|
-
components: {
|
|
123
|
-
schemas: {
|
|
124
|
-
Error: {
|
|
125
|
-
/** @description Error message(s) that occurred while processing the request */
|
|
126
|
-
errorMessage?: string[] | string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
133
|
responses: {
|
|
130
|
-
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
/** API key or token was not valid */
|
|
137
|
-
UnauthorizedError: {
|
|
138
|
-
content: {
|
|
139
|
-
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
|
|
134
|
+
/** @description 200 response */
|
|
135
|
+
200: {
|
|
136
|
+
headers: {
|
|
137
|
+
[name: string]: unknown;
|
|
140
138
|
};
|
|
141
|
-
};
|
|
142
|
-
/** Permission was denied */
|
|
143
|
-
ForbiddenError: {
|
|
144
139
|
content: {
|
|
145
|
-
"application/json":
|
|
140
|
+
"application/json": {
|
|
141
|
+
/** Format: uuid */
|
|
142
|
+
id: string;
|
|
143
|
+
};
|
|
146
144
|
};
|
|
147
145
|
};
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
146
|
+
400: components["responses"]["BadRequestError"];
|
|
147
|
+
401: components["responses"]["UnauthorizedError"];
|
|
148
|
+
403: components["responses"]["ForbiddenError"];
|
|
149
|
+
/** @description 404 response */
|
|
150
|
+
404: {
|
|
151
|
+
headers: {
|
|
152
|
+
[name: string]: unknown;
|
|
152
153
|
};
|
|
154
|
+
content?: never;
|
|
153
155
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
429: components["responses"]["RateLimitError"];
|
|
157
|
+
500: components["responses"]["InternalServerError"];
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
options?: never;
|
|
161
|
+
head?: never;
|
|
162
|
+
patch?: never;
|
|
163
|
+
trace?: never;
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
interface components {
|
|
167
|
+
schemas: {
|
|
168
|
+
Error: {
|
|
169
|
+
/** @description Error message(s) that occurred while processing the request */
|
|
170
|
+
errorMessage?: string[] | string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
responses: {
|
|
174
|
+
/** @description Request input validation failed */
|
|
175
|
+
BadRequestError: {
|
|
176
|
+
headers: {
|
|
177
|
+
[name: string]: unknown;
|
|
178
|
+
};
|
|
179
|
+
content: {
|
|
180
|
+
"application/json": components["schemas"]["Error"];
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
/** @description API key or token was not valid */
|
|
184
|
+
UnauthorizedError: {
|
|
185
|
+
headers: {
|
|
186
|
+
[name: string]: unknown;
|
|
187
|
+
};
|
|
188
|
+
content: {
|
|
189
|
+
"application/json": components["schemas"]["Error"];
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
/** @description Permission was denied */
|
|
193
|
+
ForbiddenError: {
|
|
194
|
+
headers: {
|
|
195
|
+
[name: string]: unknown;
|
|
196
|
+
};
|
|
197
|
+
content: {
|
|
198
|
+
"application/json": components["schemas"]["Error"];
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
/** @description Too many requests in allowed time period */
|
|
202
|
+
RateLimitError: {
|
|
203
|
+
headers: {
|
|
204
|
+
[name: string]: unknown;
|
|
205
|
+
};
|
|
206
|
+
content?: never;
|
|
207
|
+
};
|
|
208
|
+
/** @description Execution error occurred */
|
|
209
|
+
InternalServerError: {
|
|
210
|
+
headers: {
|
|
211
|
+
[name: string]: unknown;
|
|
158
212
|
};
|
|
213
|
+
content?: never;
|
|
159
214
|
};
|
|
160
|
-
operations: {};
|
|
161
215
|
};
|
|
216
|
+
parameters: never;
|
|
217
|
+
requestBodies: never;
|
|
218
|
+
headers: never;
|
|
219
|
+
pathItems: never;
|
|
162
220
|
}
|
|
163
221
|
|
|
164
222
|
type FileInsertRequest = paths['/api/v1/files']['post']['requestBody']['content']['application/json'];
|
|
165
223
|
type FileInsertResponse = paths['/api/v1/files']['post']['responses']['202']['content']['application/json'];
|
|
166
224
|
type FileDeleteRequest = paths['/api/v1/files']['delete']['requestBody']['content']['application/json'];
|
|
167
225
|
type FileDeleteResponse = paths['/api/v1/files']['delete']['responses']['200']['content']['application/json'];
|
|
168
|
-
type FileGetRequest = paths['/api/v1/files']['get']['parameters']['query'];
|
|
226
|
+
type FileGetRequest = Required<paths['/api/v1/files']['get']['parameters']>['query'];
|
|
169
227
|
type FileGetByIDRequest = Pick<FileGetRequest, 'id'>;
|
|
170
228
|
type FileGetByURLRequest = Pick<FileGetRequest, 'url' | 'projectId'>;
|
|
171
229
|
type FileGetBySourceIDRequest = Pick<FileGetRequest, 'sourceId' | 'projectId'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
import { ApiClient, ClientOptions } from '@uniformdev/context/api';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* This file was auto-generated by openapi-typescript.
|
|
5
|
-
* Do not make direct changes to the file.
|
|
6
|
-
*/
|
|
7
3
|
interface paths {
|
|
8
4
|
"/api/v1/files": {
|
|
9
|
-
|
|
5
|
+
parameters: {
|
|
6
|
+
query?: never;
|
|
7
|
+
header?: never;
|
|
8
|
+
path?: never;
|
|
9
|
+
cookie?: never;
|
|
10
|
+
};
|
|
11
|
+
/** @description Gets a single file */
|
|
10
12
|
get: {
|
|
11
13
|
parameters: {
|
|
12
|
-
query
|
|
14
|
+
query?: {
|
|
13
15
|
id?: string;
|
|
14
16
|
url?: string;
|
|
15
17
|
sourceId?: string;
|
|
16
18
|
projectId?: string;
|
|
17
19
|
};
|
|
20
|
+
header?: never;
|
|
21
|
+
path?: never;
|
|
22
|
+
cookie?: never;
|
|
18
23
|
};
|
|
24
|
+
requestBody?: never;
|
|
19
25
|
responses: {
|
|
20
|
-
/** 200 response */
|
|
26
|
+
/** @description 200 response */
|
|
21
27
|
200: {
|
|
28
|
+
headers: {
|
|
29
|
+
[name: string]: unknown;
|
|
30
|
+
};
|
|
22
31
|
content: {
|
|
23
32
|
"application/json": {
|
|
24
33
|
/** Format: uuid */
|
|
@@ -27,43 +36,34 @@ interface paths {
|
|
|
27
36
|
url?: string;
|
|
28
37
|
name: string;
|
|
29
38
|
mediaType: string;
|
|
30
|
-
metadata?: unknown
|
|
39
|
+
metadata?: unknown;
|
|
31
40
|
size: number;
|
|
32
41
|
sourceId?: string;
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
};
|
|
36
|
-
400:
|
|
37
|
-
401:
|
|
38
|
-
403:
|
|
39
|
-
/** 404 response */
|
|
40
|
-
404:
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
400: components["responses"]["BadRequestError"];
|
|
46
|
+
401: components["responses"]["UnauthorizedError"];
|
|
47
|
+
403: components["responses"]["ForbiddenError"];
|
|
48
|
+
/** @description 404 response */
|
|
49
|
+
404: {
|
|
50
|
+
headers: {
|
|
51
|
+
[name: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
content?: never;
|
|
54
|
+
};
|
|
55
|
+
429: components["responses"]["RateLimitError"];
|
|
56
|
+
500: components["responses"]["InternalServerError"];
|
|
43
57
|
};
|
|
44
58
|
};
|
|
45
|
-
|
|
59
|
+
put?: never;
|
|
60
|
+
/** @description Creates a new file */
|
|
46
61
|
post: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/** Format: uuid */
|
|
53
|
-
id: string;
|
|
54
|
-
uploadUrl: string;
|
|
55
|
-
/** @enum {string} */
|
|
56
|
-
method: "POST" | "PUT";
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"];
|
|
61
|
-
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
|
|
62
|
-
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"];
|
|
63
|
-
/** 404 response */
|
|
64
|
-
404: unknown;
|
|
65
|
-
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"];
|
|
66
|
-
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"];
|
|
62
|
+
parameters: {
|
|
63
|
+
query?: never;
|
|
64
|
+
header?: never;
|
|
65
|
+
path?: never;
|
|
66
|
+
cookie?: never;
|
|
67
67
|
};
|
|
68
68
|
requestBody: {
|
|
69
69
|
content: {
|
|
@@ -81,26 +81,43 @@ interface paths {
|
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
};
|
|
85
|
-
/** Deletes a file */
|
|
86
|
-
delete: {
|
|
87
84
|
responses: {
|
|
88
|
-
/**
|
|
89
|
-
|
|
85
|
+
/** @description 202 response */
|
|
86
|
+
202: {
|
|
87
|
+
headers: {
|
|
88
|
+
[name: string]: unknown;
|
|
89
|
+
};
|
|
90
90
|
content: {
|
|
91
91
|
"application/json": {
|
|
92
92
|
/** Format: uuid */
|
|
93
93
|
id: string;
|
|
94
|
+
uploadUrl: string;
|
|
95
|
+
/** @enum {string} */
|
|
96
|
+
method: "POST" | "PUT";
|
|
94
97
|
};
|
|
95
98
|
};
|
|
96
99
|
};
|
|
97
|
-
400:
|
|
98
|
-
401:
|
|
99
|
-
403:
|
|
100
|
-
/** 404 response */
|
|
101
|
-
404:
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
400: components["responses"]["BadRequestError"];
|
|
101
|
+
401: components["responses"]["UnauthorizedError"];
|
|
102
|
+
403: components["responses"]["ForbiddenError"];
|
|
103
|
+
/** @description 404 response */
|
|
104
|
+
404: {
|
|
105
|
+
headers: {
|
|
106
|
+
[name: string]: unknown;
|
|
107
|
+
};
|
|
108
|
+
content?: never;
|
|
109
|
+
};
|
|
110
|
+
429: components["responses"]["RateLimitError"];
|
|
111
|
+
500: components["responses"]["InternalServerError"];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
/** @description Deletes a file */
|
|
115
|
+
delete: {
|
|
116
|
+
parameters: {
|
|
117
|
+
query?: never;
|
|
118
|
+
header?: never;
|
|
119
|
+
path?: never;
|
|
120
|
+
cookie?: never;
|
|
104
121
|
};
|
|
105
122
|
requestBody: {
|
|
106
123
|
content: {
|
|
@@ -113,59 +130,100 @@ interface paths {
|
|
|
113
130
|
};
|
|
114
131
|
};
|
|
115
132
|
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
interface external {
|
|
120
|
-
"swagger.yml": {
|
|
121
|
-
paths: {};
|
|
122
|
-
components: {
|
|
123
|
-
schemas: {
|
|
124
|
-
Error: {
|
|
125
|
-
/** @description Error message(s) that occurred while processing the request */
|
|
126
|
-
errorMessage?: string[] | string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
133
|
responses: {
|
|
130
|
-
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
/** API key or token was not valid */
|
|
137
|
-
UnauthorizedError: {
|
|
138
|
-
content: {
|
|
139
|
-
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
|
|
134
|
+
/** @description 200 response */
|
|
135
|
+
200: {
|
|
136
|
+
headers: {
|
|
137
|
+
[name: string]: unknown;
|
|
140
138
|
};
|
|
141
|
-
};
|
|
142
|
-
/** Permission was denied */
|
|
143
|
-
ForbiddenError: {
|
|
144
139
|
content: {
|
|
145
|
-
"application/json":
|
|
140
|
+
"application/json": {
|
|
141
|
+
/** Format: uuid */
|
|
142
|
+
id: string;
|
|
143
|
+
};
|
|
146
144
|
};
|
|
147
145
|
};
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
146
|
+
400: components["responses"]["BadRequestError"];
|
|
147
|
+
401: components["responses"]["UnauthorizedError"];
|
|
148
|
+
403: components["responses"]["ForbiddenError"];
|
|
149
|
+
/** @description 404 response */
|
|
150
|
+
404: {
|
|
151
|
+
headers: {
|
|
152
|
+
[name: string]: unknown;
|
|
152
153
|
};
|
|
154
|
+
content?: never;
|
|
153
155
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
429: components["responses"]["RateLimitError"];
|
|
157
|
+
500: components["responses"]["InternalServerError"];
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
options?: never;
|
|
161
|
+
head?: never;
|
|
162
|
+
patch?: never;
|
|
163
|
+
trace?: never;
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
interface components {
|
|
167
|
+
schemas: {
|
|
168
|
+
Error: {
|
|
169
|
+
/** @description Error message(s) that occurred while processing the request */
|
|
170
|
+
errorMessage?: string[] | string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
responses: {
|
|
174
|
+
/** @description Request input validation failed */
|
|
175
|
+
BadRequestError: {
|
|
176
|
+
headers: {
|
|
177
|
+
[name: string]: unknown;
|
|
178
|
+
};
|
|
179
|
+
content: {
|
|
180
|
+
"application/json": components["schemas"]["Error"];
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
/** @description API key or token was not valid */
|
|
184
|
+
UnauthorizedError: {
|
|
185
|
+
headers: {
|
|
186
|
+
[name: string]: unknown;
|
|
187
|
+
};
|
|
188
|
+
content: {
|
|
189
|
+
"application/json": components["schemas"]["Error"];
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
/** @description Permission was denied */
|
|
193
|
+
ForbiddenError: {
|
|
194
|
+
headers: {
|
|
195
|
+
[name: string]: unknown;
|
|
196
|
+
};
|
|
197
|
+
content: {
|
|
198
|
+
"application/json": components["schemas"]["Error"];
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
/** @description Too many requests in allowed time period */
|
|
202
|
+
RateLimitError: {
|
|
203
|
+
headers: {
|
|
204
|
+
[name: string]: unknown;
|
|
205
|
+
};
|
|
206
|
+
content?: never;
|
|
207
|
+
};
|
|
208
|
+
/** @description Execution error occurred */
|
|
209
|
+
InternalServerError: {
|
|
210
|
+
headers: {
|
|
211
|
+
[name: string]: unknown;
|
|
158
212
|
};
|
|
213
|
+
content?: never;
|
|
159
214
|
};
|
|
160
|
-
operations: {};
|
|
161
215
|
};
|
|
216
|
+
parameters: never;
|
|
217
|
+
requestBodies: never;
|
|
218
|
+
headers: never;
|
|
219
|
+
pathItems: never;
|
|
162
220
|
}
|
|
163
221
|
|
|
164
222
|
type FileInsertRequest = paths['/api/v1/files']['post']['requestBody']['content']['application/json'];
|
|
165
223
|
type FileInsertResponse = paths['/api/v1/files']['post']['responses']['202']['content']['application/json'];
|
|
166
224
|
type FileDeleteRequest = paths['/api/v1/files']['delete']['requestBody']['content']['application/json'];
|
|
167
225
|
type FileDeleteResponse = paths['/api/v1/files']['delete']['responses']['200']['content']['application/json'];
|
|
168
|
-
type FileGetRequest = paths['/api/v1/files']['get']['parameters']['query'];
|
|
226
|
+
type FileGetRequest = Required<paths['/api/v1/files']['get']['parameters']>['query'];
|
|
169
227
|
type FileGetByIDRequest = Pick<FileGetRequest, 'id'>;
|
|
170
228
|
type FileGetByURLRequest = Pick<FileGetRequest, 'url' | 'projectId'>;
|
|
171
229
|
type FileGetBySourceIDRequest = Pick<FileGetRequest, 'sourceId' | 'projectId'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/files",
|
|
3
|
-
"version": "19.195.
|
|
3
|
+
"version": "19.195.1-alpha.2+f70c499178",
|
|
4
4
|
"description": "Uniform Files helpers",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@uniformdev/context": "19.195.
|
|
39
|
+
"@uniformdev/context": "19.195.1-alpha.2+f70c499178"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f70c49917880b1aba91884760926f6ea66700a97"
|
|
42
42
|
}
|