@tmdjr/user-metadata-contracts 0.0.5 → 0.0.7
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.ts +3 -5
- package/dist/models/CreateUserMetadataDto.d.ts +8 -0
- package/dist/models/UpdateUserMetadataDto.d.ts +8 -0
- package/dist/models/UserMetadataDto.d.ts +10 -0
- package/dist/service-user-metadata.types.d.ts +37 -218
- package/package.json +1 -1
- package/dist/models/AuthTestDto.d.ts +0 -3
- package/dist/models/CreateExampleMongodbDocDto.d.ts +0 -9
- package/dist/models/ExampleMongodbDocDto.d.ts +0 -12
- package/dist/models/ExampleMongodbDocObjectDto.d.ts +0 -6
- package/dist/models/ExampleMongodbDocObjectDto.js +0 -1
- package/dist/models/UpdateExampleMongodbDocDto.d.ts +0 -9
- package/dist/models/UpdateExampleMongodbDocDto.js +0 -1
- /package/dist/models/{AuthTestDto.js → CreateUserMetadataDto.js} +0 -0
- /package/dist/models/{CreateExampleMongodbDocDto.js → UpdateUserMetadataDto.js} +0 -0
- /package/dist/models/{ExampleMongodbDocDto.js → UserMetadataDto.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type {
|
|
3
|
-
export type {
|
|
4
|
-
export type { ExampleMongodbDocObjectDto } from './models/ExampleMongodbDocObjectDto';
|
|
5
|
-
export type { UpdateExampleMongodbDocDto } from './models/UpdateExampleMongodbDocDto';
|
|
1
|
+
export type { CreateUserMetadataDto } from './models/CreateUserMetadataDto';
|
|
2
|
+
export type { UpdateUserMetadataDto } from './models/UpdateUserMetadataDto';
|
|
3
|
+
export type { UserMetadataDto } from './models/UserMetadataDto';
|
|
@@ -3,22 +3,6 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
"/example-crud/auth-test": {
|
|
7
|
-
parameters: {
|
|
8
|
-
query?: never;
|
|
9
|
-
header?: never;
|
|
10
|
-
path?: never;
|
|
11
|
-
cookie?: never;
|
|
12
|
-
};
|
|
13
|
-
get: operations["ExampleCrudController_authTest"];
|
|
14
|
-
put?: never;
|
|
15
|
-
post?: never;
|
|
16
|
-
delete?: never;
|
|
17
|
-
options?: never;
|
|
18
|
-
head?: never;
|
|
19
|
-
patch?: never;
|
|
20
|
-
trace?: never;
|
|
21
|
-
};
|
|
22
6
|
"/example-crud": {
|
|
23
7
|
parameters: {
|
|
24
8
|
query?: never;
|
|
@@ -26,9 +10,9 @@ export interface paths {
|
|
|
26
10
|
path?: never;
|
|
27
11
|
cookie?: never;
|
|
28
12
|
};
|
|
29
|
-
get
|
|
13
|
+
get?: never;
|
|
30
14
|
put?: never;
|
|
31
|
-
post: operations["
|
|
15
|
+
post: operations["UserMetadataController_create"];
|
|
32
16
|
delete?: never;
|
|
33
17
|
options?: never;
|
|
34
18
|
head?: never;
|
|
@@ -42,108 +26,47 @@ export interface paths {
|
|
|
42
26
|
path?: never;
|
|
43
27
|
cookie?: never;
|
|
44
28
|
};
|
|
45
|
-
get: operations["
|
|
46
|
-
put?: never;
|
|
47
|
-
post?: never;
|
|
48
|
-
delete: operations["ExampleCrudController_remove"];
|
|
49
|
-
options?: never;
|
|
50
|
-
head?: never;
|
|
51
|
-
patch: operations["ExampleCrudController_update"];
|
|
52
|
-
trace?: never;
|
|
53
|
-
};
|
|
54
|
-
"/example-crud/name/{name}": {
|
|
55
|
-
parameters: {
|
|
56
|
-
query?: never;
|
|
57
|
-
header?: never;
|
|
58
|
-
path?: never;
|
|
59
|
-
cookie?: never;
|
|
60
|
-
};
|
|
61
|
-
get: operations["ExampleCrudController_findByName"];
|
|
62
|
-
put?: never;
|
|
63
|
-
post?: never;
|
|
64
|
-
delete?: never;
|
|
65
|
-
options?: never;
|
|
66
|
-
head?: never;
|
|
67
|
-
patch?: never;
|
|
68
|
-
trace?: never;
|
|
69
|
-
};
|
|
70
|
-
"/example-crud/{id}/archive": {
|
|
71
|
-
parameters: {
|
|
72
|
-
query?: never;
|
|
73
|
-
header?: never;
|
|
74
|
-
path?: never;
|
|
75
|
-
cookie?: never;
|
|
76
|
-
};
|
|
77
|
-
get?: never;
|
|
29
|
+
get: operations["UserMetadataController_findOne"];
|
|
78
30
|
put?: never;
|
|
79
31
|
post?: never;
|
|
80
|
-
delete
|
|
81
|
-
options?: never;
|
|
82
|
-
head?: never;
|
|
83
|
-
patch: operations["ExampleCrudController_archive"];
|
|
84
|
-
trace?: never;
|
|
85
|
-
};
|
|
86
|
-
"/example-crud/{id}/unarchive": {
|
|
87
|
-
parameters: {
|
|
88
|
-
query?: never;
|
|
89
|
-
header?: never;
|
|
90
|
-
path?: never;
|
|
91
|
-
cookie?: never;
|
|
92
|
-
};
|
|
93
|
-
get?: never;
|
|
94
|
-
put?: never;
|
|
95
|
-
post?: never;
|
|
96
|
-
delete?: never;
|
|
32
|
+
delete: operations["UserMetadataController_remove"];
|
|
97
33
|
options?: never;
|
|
98
34
|
head?: never;
|
|
99
|
-
patch: operations["
|
|
35
|
+
patch: operations["UserMetadataController_update"];
|
|
100
36
|
trace?: never;
|
|
101
37
|
};
|
|
102
38
|
}
|
|
103
39
|
export type webhooks = Record<string, never>;
|
|
104
40
|
export interface components {
|
|
105
41
|
schemas: {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
};
|
|
115
|
-
CreateExampleMongodbDocDto: {
|
|
116
|
-
name: string;
|
|
117
|
-
/** @enum {string} */
|
|
118
|
-
type: "SOME_ENUM" | "SOME_OTHER_ENUM";
|
|
119
|
-
description?: string;
|
|
120
|
-
archived?: boolean;
|
|
121
|
-
exampleMongodbDocObject?: components["schemas"]["ExampleMongodbDocObjectDto"];
|
|
122
|
-
/** Format: date-time */
|
|
123
|
-
lastUpdated?: string;
|
|
42
|
+
CreateUserMetadataDto: {
|
|
43
|
+
uuid: string;
|
|
44
|
+
firstName?: string;
|
|
45
|
+
lastName?: string;
|
|
46
|
+
email?: string;
|
|
47
|
+
avatarUrl?: string;
|
|
48
|
+
/** @default No description provided */
|
|
49
|
+
description: string;
|
|
124
50
|
};
|
|
125
|
-
|
|
51
|
+
UserMetadataDto: {
|
|
126
52
|
_id: string;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
53
|
+
uuid: string;
|
|
54
|
+
firstName?: string;
|
|
55
|
+
lastName?: string;
|
|
56
|
+
email?: string;
|
|
57
|
+
avatarUrl?: string;
|
|
58
|
+
/** @default No description provided */
|
|
131
59
|
description: string;
|
|
132
|
-
/** Format: date-time */
|
|
133
|
-
lastUpdated: string;
|
|
134
|
-
archived: boolean;
|
|
135
|
-
exampleMongodbDocObject?: components["schemas"]["ExampleMongodbDocObjectDto"];
|
|
136
60
|
__v: number;
|
|
137
61
|
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
lastUpdated?: string;
|
|
62
|
+
UpdateUserMetadataDto: {
|
|
63
|
+
uuid?: string;
|
|
64
|
+
firstName?: string;
|
|
65
|
+
lastName?: string;
|
|
66
|
+
email?: string;
|
|
67
|
+
avatarUrl?: string;
|
|
68
|
+
/** @default No description provided */
|
|
69
|
+
description: string;
|
|
147
70
|
};
|
|
148
71
|
};
|
|
149
72
|
responses: never;
|
|
@@ -154,48 +77,7 @@ export interface components {
|
|
|
154
77
|
}
|
|
155
78
|
export type $defs = Record<string, never>;
|
|
156
79
|
export interface operations {
|
|
157
|
-
|
|
158
|
-
parameters: {
|
|
159
|
-
query?: never;
|
|
160
|
-
header?: never;
|
|
161
|
-
path?: never;
|
|
162
|
-
cookie?: never;
|
|
163
|
-
};
|
|
164
|
-
requestBody?: never;
|
|
165
|
-
responses: {
|
|
166
|
-
200: {
|
|
167
|
-
headers: {
|
|
168
|
-
[name: string]: unknown;
|
|
169
|
-
};
|
|
170
|
-
content: {
|
|
171
|
-
"application/json": components["schemas"]["AuthTestDto"];
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
ExampleCrudController_findAll: {
|
|
177
|
-
parameters: {
|
|
178
|
-
query?: {
|
|
179
|
-
/** @description Filter by archived status */
|
|
180
|
-
archived?: boolean;
|
|
181
|
-
};
|
|
182
|
-
header?: never;
|
|
183
|
-
path?: never;
|
|
184
|
-
cookie?: never;
|
|
185
|
-
};
|
|
186
|
-
requestBody?: never;
|
|
187
|
-
responses: {
|
|
188
|
-
200: {
|
|
189
|
-
headers: {
|
|
190
|
-
[name: string]: unknown;
|
|
191
|
-
};
|
|
192
|
-
content: {
|
|
193
|
-
"application/json": components["schemas"]["ExampleMongodbDocDto"][];
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
ExampleCrudController_create: {
|
|
80
|
+
UserMetadataController_create: {
|
|
199
81
|
parameters: {
|
|
200
82
|
query?: never;
|
|
201
83
|
header?: never;
|
|
@@ -204,7 +86,7 @@ export interface operations {
|
|
|
204
86
|
};
|
|
205
87
|
requestBody: {
|
|
206
88
|
content: {
|
|
207
|
-
"application/json": components["schemas"]["
|
|
89
|
+
"application/json": components["schemas"]["CreateUserMetadataDto"];
|
|
208
90
|
};
|
|
209
91
|
};
|
|
210
92
|
responses: {
|
|
@@ -213,12 +95,12 @@ export interface operations {
|
|
|
213
95
|
[name: string]: unknown;
|
|
214
96
|
};
|
|
215
97
|
content: {
|
|
216
|
-
"application/json": components["schemas"]["
|
|
98
|
+
"application/json": components["schemas"]["CreateUserMetadataDto"];
|
|
217
99
|
};
|
|
218
100
|
};
|
|
219
101
|
};
|
|
220
102
|
};
|
|
221
|
-
|
|
103
|
+
UserMetadataController_findOne: {
|
|
222
104
|
parameters: {
|
|
223
105
|
query?: never;
|
|
224
106
|
header?: never;
|
|
@@ -234,12 +116,12 @@ export interface operations {
|
|
|
234
116
|
[name: string]: unknown;
|
|
235
117
|
};
|
|
236
118
|
content: {
|
|
237
|
-
"application/json": components["schemas"]["
|
|
119
|
+
"application/json": components["schemas"]["UserMetadataDto"];
|
|
238
120
|
};
|
|
239
121
|
};
|
|
240
122
|
};
|
|
241
123
|
};
|
|
242
|
-
|
|
124
|
+
UserMetadataController_remove: {
|
|
243
125
|
parameters: {
|
|
244
126
|
query?: never;
|
|
245
127
|
header?: never;
|
|
@@ -258,7 +140,7 @@ export interface operations {
|
|
|
258
140
|
};
|
|
259
141
|
};
|
|
260
142
|
};
|
|
261
|
-
|
|
143
|
+
UserMetadataController_update: {
|
|
262
144
|
parameters: {
|
|
263
145
|
query?: never;
|
|
264
146
|
header?: never;
|
|
@@ -269,7 +151,7 @@ export interface operations {
|
|
|
269
151
|
};
|
|
270
152
|
requestBody: {
|
|
271
153
|
content: {
|
|
272
|
-
"application/json": components["schemas"]["
|
|
154
|
+
"application/json": components["schemas"]["UpdateUserMetadataDto"];
|
|
273
155
|
};
|
|
274
156
|
};
|
|
275
157
|
responses: {
|
|
@@ -278,70 +160,7 @@ export interface operations {
|
|
|
278
160
|
[name: string]: unknown;
|
|
279
161
|
};
|
|
280
162
|
content: {
|
|
281
|
-
"application/json": components["schemas"]["
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
ExampleCrudController_findByName: {
|
|
287
|
-
parameters: {
|
|
288
|
-
query?: never;
|
|
289
|
-
header?: never;
|
|
290
|
-
path: {
|
|
291
|
-
name: string;
|
|
292
|
-
};
|
|
293
|
-
cookie?: never;
|
|
294
|
-
};
|
|
295
|
-
requestBody?: never;
|
|
296
|
-
responses: {
|
|
297
|
-
200: {
|
|
298
|
-
headers: {
|
|
299
|
-
[name: string]: unknown;
|
|
300
|
-
};
|
|
301
|
-
content: {
|
|
302
|
-
"application/json": components["schemas"]["ExampleMongodbDocDto"];
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
ExampleCrudController_archive: {
|
|
308
|
-
parameters: {
|
|
309
|
-
query?: never;
|
|
310
|
-
header?: never;
|
|
311
|
-
path: {
|
|
312
|
-
id: string;
|
|
313
|
-
};
|
|
314
|
-
cookie?: never;
|
|
315
|
-
};
|
|
316
|
-
requestBody?: never;
|
|
317
|
-
responses: {
|
|
318
|
-
200: {
|
|
319
|
-
headers: {
|
|
320
|
-
[name: string]: unknown;
|
|
321
|
-
};
|
|
322
|
-
content: {
|
|
323
|
-
"application/json": components["schemas"]["ExampleMongodbDocDto"];
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
ExampleCrudController_unarchive: {
|
|
329
|
-
parameters: {
|
|
330
|
-
query?: never;
|
|
331
|
-
header?: never;
|
|
332
|
-
path: {
|
|
333
|
-
id: string;
|
|
334
|
-
};
|
|
335
|
-
cookie?: never;
|
|
336
|
-
};
|
|
337
|
-
requestBody?: never;
|
|
338
|
-
responses: {
|
|
339
|
-
200: {
|
|
340
|
-
headers: {
|
|
341
|
-
[name: string]: unknown;
|
|
342
|
-
};
|
|
343
|
-
content: {
|
|
344
|
-
"application/json": components["schemas"]["ExampleMongodbDocDto"];
|
|
163
|
+
"application/json": components["schemas"]["UpdateUserMetadataDto"];
|
|
345
164
|
};
|
|
346
165
|
};
|
|
347
166
|
};
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ExampleMongodbDocObjectDto } from './ExampleMongodbDocObjectDto';
|
|
2
|
-
export type CreateExampleMongodbDocDto = {
|
|
3
|
-
name: string;
|
|
4
|
-
type: 'SOME_ENUM' | 'SOME_OTHER_ENUM';
|
|
5
|
-
description?: string;
|
|
6
|
-
archived?: boolean;
|
|
7
|
-
exampleMongodbDocObject?: ExampleMongodbDocObjectDto;
|
|
8
|
-
lastUpdated?: string;
|
|
9
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ExampleMongodbDocObjectDto } from './ExampleMongodbDocObjectDto';
|
|
2
|
-
export type ExampleMongodbDocDto = {
|
|
3
|
-
_id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: 'SOME_ENUM' | 'SOME_OTHER_ENUM';
|
|
6
|
-
version: number;
|
|
7
|
-
description: string;
|
|
8
|
-
lastUpdated: string;
|
|
9
|
-
archived: boolean;
|
|
10
|
-
exampleMongodbDocObject?: ExampleMongodbDocObjectDto;
|
|
11
|
-
__v: number;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ExampleMongodbDocObjectDto } from './ExampleMongodbDocObjectDto';
|
|
2
|
-
export type UpdateExampleMongodbDocDto = {
|
|
3
|
-
name?: string;
|
|
4
|
-
type?: 'SOME_ENUM' | 'SOME_OTHER_ENUM';
|
|
5
|
-
description?: string;
|
|
6
|
-
archived?: boolean;
|
|
7
|
-
exampleMongodbDocObject?: ExampleMongodbDocObjectDto;
|
|
8
|
-
lastUpdated?: string;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|