@tmdjr/document-contracts 0.0.13 → 0.0.15
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/document.types.d.ts +32 -19
- package/dist/index.d.ts +4 -3
- package/dist/models/CreateWorkshopDto.d.ts +2 -2
- package/dist/models/CreateWorkshopPageDto.d.ts +11 -0
- package/dist/models/PageParamsDto.d.ts +2 -2
- package/dist/models/UpdateWorkshopDto.d.ts +2 -2
- package/dist/models/Workshop.d.ts +1 -0
- package/dist/models/WorkshopDto.d.ts +2 -2
- package/dist/models/{WorkshopDocumentDto.d.ts → WorkshopPageDto.d.ts} +1 -1
- package/dist/models/{WorkshopDocumentIdentifierDto.d.ts → WorkshopPageIdentifierDto.d.ts} +3 -3
- package/dist/models/WorkshopPageIdentifierDto.js +1 -0
- package/package.json +1 -1
- package/dist/models/WorkshopDoc.d.ts +0 -1
- /package/dist/models/{WorkshopDoc.js → CreateWorkshopPageDto.js} +0 -0
- /package/dist/models/{WorkshopDocumentDto.js → Workshop.js} +0 -0
- /package/dist/models/{WorkshopDocumentIdentifierDto.js → WorkshopPageDto.js} +0 -0
package/dist/document.types.d.ts
CHANGED
|
@@ -244,11 +244,11 @@ export interface components {
|
|
|
244
244
|
[key: string]: components["schemas"]["SectionDto"];
|
|
245
245
|
};
|
|
246
246
|
};
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
/** @description Object id of the workshop-
|
|
247
|
+
Workshop: Record<string, never>;
|
|
248
|
+
WorkshopPageIdentifierDto: {
|
|
249
|
+
/** @description Object id of the workshop-page. */
|
|
250
250
|
_id: string;
|
|
251
|
-
/** @description Display name of the workshop-
|
|
251
|
+
/** @description Display name of the workshop-page. */
|
|
252
252
|
name: string;
|
|
253
253
|
/** @description Position of the doc item in the section's list */
|
|
254
254
|
sortId: number;
|
|
@@ -263,7 +263,7 @@ export interface components {
|
|
|
263
263
|
summary: string;
|
|
264
264
|
/** @default https://via.placeholder.com/250/400 */
|
|
265
265
|
thumbnail: string;
|
|
266
|
-
workshopDocuments?: components["schemas"]["
|
|
266
|
+
workshopDocuments?: components["schemas"]["WorkshopPageIdentifierDto"][];
|
|
267
267
|
/** Format: date-time */
|
|
268
268
|
workshopDocumentsLastUpdated?: string;
|
|
269
269
|
};
|
|
@@ -277,7 +277,7 @@ export interface components {
|
|
|
277
277
|
summary?: string;
|
|
278
278
|
/** @default https://via.placeholder.com/250/400 */
|
|
279
279
|
thumbnail: string;
|
|
280
|
-
workshopDocuments?: components["schemas"]["
|
|
280
|
+
workshopDocuments?: components["schemas"]["WorkshopPageIdentifierDto"][];
|
|
281
281
|
/** Format: date-time */
|
|
282
282
|
workshopDocumentsLastUpdated?: string;
|
|
283
283
|
};
|
|
@@ -285,7 +285,20 @@ export interface components {
|
|
|
285
285
|
acknowledged: boolean;
|
|
286
286
|
deletedCount: number;
|
|
287
287
|
};
|
|
288
|
-
|
|
288
|
+
CreateWorkshopPageDto: {
|
|
289
|
+
workshopGroupId: string;
|
|
290
|
+
/** @default Page */
|
|
291
|
+
name: string;
|
|
292
|
+
/** @default 0 */
|
|
293
|
+
sortId: number;
|
|
294
|
+
/** @default PAGE */
|
|
295
|
+
pageType: string;
|
|
296
|
+
/** Format: date-time */
|
|
297
|
+
lastUpdated?: string;
|
|
298
|
+
/** @description Serialized JSON of the document blocks */
|
|
299
|
+
html?: string;
|
|
300
|
+
};
|
|
301
|
+
WorkshopPageDto: {
|
|
289
302
|
_id: string;
|
|
290
303
|
workshopGroupId: string;
|
|
291
304
|
/** @default Page */
|
|
@@ -301,7 +314,7 @@ export interface components {
|
|
|
301
314
|
__v: number;
|
|
302
315
|
};
|
|
303
316
|
PageParamsDto: {
|
|
304
|
-
page: components["schemas"]["
|
|
317
|
+
page: components["schemas"]["WorkshopPageDto"];
|
|
305
318
|
workshopId: string;
|
|
306
319
|
};
|
|
307
320
|
WorkshopDto: {
|
|
@@ -314,7 +327,7 @@ export interface components {
|
|
|
314
327
|
summary: string;
|
|
315
328
|
/** @default https://via.placeholder.com/250/400 */
|
|
316
329
|
thumbnail: string;
|
|
317
|
-
workshopDocuments: components["schemas"]["
|
|
330
|
+
workshopDocuments: components["schemas"]["WorkshopPageIdentifierDto"][];
|
|
318
331
|
/** Format: date-time */
|
|
319
332
|
workshopDocumentsLastUpdated: string;
|
|
320
333
|
};
|
|
@@ -362,7 +375,7 @@ export interface operations {
|
|
|
362
375
|
[name: string]: unknown;
|
|
363
376
|
};
|
|
364
377
|
content: {
|
|
365
|
-
"application/json": components["schemas"]["
|
|
378
|
+
"application/json": components["schemas"]["Workshop"][];
|
|
366
379
|
};
|
|
367
380
|
};
|
|
368
381
|
};
|
|
@@ -385,7 +398,7 @@ export interface operations {
|
|
|
385
398
|
[name: string]: unknown;
|
|
386
399
|
};
|
|
387
400
|
content: {
|
|
388
|
-
"application/json": components["schemas"]["
|
|
401
|
+
"application/json": components["schemas"]["Workshop"];
|
|
389
402
|
};
|
|
390
403
|
};
|
|
391
404
|
};
|
|
@@ -408,7 +421,7 @@ export interface operations {
|
|
|
408
421
|
[name: string]: unknown;
|
|
409
422
|
};
|
|
410
423
|
content: {
|
|
411
|
-
"application/json": components["schemas"]["
|
|
424
|
+
"application/json": components["schemas"]["Workshop"];
|
|
412
425
|
};
|
|
413
426
|
};
|
|
414
427
|
};
|
|
@@ -450,7 +463,7 @@ export interface operations {
|
|
|
450
463
|
[name: string]: unknown;
|
|
451
464
|
};
|
|
452
465
|
content: {
|
|
453
|
-
"application/json": components["schemas"]["
|
|
466
|
+
"application/json": components["schemas"]["Workshop"][];
|
|
454
467
|
};
|
|
455
468
|
};
|
|
456
469
|
};
|
|
@@ -464,7 +477,7 @@ export interface operations {
|
|
|
464
477
|
};
|
|
465
478
|
requestBody: {
|
|
466
479
|
content: {
|
|
467
|
-
"application/json": components["schemas"]["
|
|
480
|
+
"application/json": components["schemas"]["CreateWorkshopPageDto"];
|
|
468
481
|
};
|
|
469
482
|
};
|
|
470
483
|
responses: {
|
|
@@ -473,7 +486,7 @@ export interface operations {
|
|
|
473
486
|
[name: string]: unknown;
|
|
474
487
|
};
|
|
475
488
|
content: {
|
|
476
|
-
"application/json": components["schemas"]["
|
|
489
|
+
"application/json": components["schemas"]["Workshop"];
|
|
477
490
|
};
|
|
478
491
|
};
|
|
479
492
|
};
|
|
@@ -510,7 +523,7 @@ export interface operations {
|
|
|
510
523
|
};
|
|
511
524
|
requestBody: {
|
|
512
525
|
content: {
|
|
513
|
-
"application/json": components["schemas"]["
|
|
526
|
+
"application/json": components["schemas"]["WorkshopPageDto"];
|
|
514
527
|
};
|
|
515
528
|
};
|
|
516
529
|
responses: {
|
|
@@ -580,7 +593,7 @@ export interface operations {
|
|
|
580
593
|
[name: string]: unknown;
|
|
581
594
|
};
|
|
582
595
|
content: {
|
|
583
|
-
"application/json": components["schemas"]["
|
|
596
|
+
"application/json": components["schemas"]["WorkshopPageDto"][];
|
|
584
597
|
};
|
|
585
598
|
};
|
|
586
599
|
};
|
|
@@ -599,7 +612,7 @@ export interface operations {
|
|
|
599
612
|
[name: string]: unknown;
|
|
600
613
|
};
|
|
601
614
|
content: {
|
|
602
|
-
"application/json": components["schemas"]["
|
|
615
|
+
"application/json": components["schemas"]["WorkshopPageDto"];
|
|
603
616
|
};
|
|
604
617
|
};
|
|
605
618
|
};
|
|
@@ -618,7 +631,7 @@ export interface operations {
|
|
|
618
631
|
[name: string]: unknown;
|
|
619
632
|
};
|
|
620
633
|
content: {
|
|
621
|
-
"application/json": components["schemas"]["
|
|
634
|
+
"application/json": components["schemas"]["WorkshopPageDto"];
|
|
622
635
|
};
|
|
623
636
|
};
|
|
624
637
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export type { CreateWorkshopDto } from './models/CreateWorkshopDto';
|
|
2
|
+
export type { CreateWorkshopPageDto } from './models/CreateWorkshopPageDto';
|
|
2
3
|
export type { DeleteResultDto } from './models/DeleteResultDto';
|
|
3
4
|
export type { PageParamsDto } from './models/PageParamsDto';
|
|
4
5
|
export type { SectionDto } from './models/SectionDto';
|
|
5
6
|
export type { SectionsMapDto } from './models/SectionsMapDto';
|
|
6
7
|
export type { UpdateWorkshopDto } from './models/UpdateWorkshopDto';
|
|
7
|
-
export type {
|
|
8
|
-
export type { WorkshopDocumentDto } from './models/WorkshopDocumentDto';
|
|
9
|
-
export type { WorkshopDocumentIdentifierDto } from './models/WorkshopDocumentIdentifierDto';
|
|
8
|
+
export type { Workshop } from './models/Workshop';
|
|
10
9
|
export type { WorkshopDto } from './models/WorkshopDto';
|
|
10
|
+
export type { WorkshopPageDto } from './models/WorkshopPageDto';
|
|
11
|
+
export type { WorkshopPageIdentifierDto } from './models/WorkshopPageIdentifierDto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WorkshopPageIdentifierDto } from './WorkshopPageIdentifierDto';
|
|
2
2
|
export type CreateWorkshopDto = {
|
|
3
3
|
_id: string;
|
|
4
4
|
sectionId: string;
|
|
@@ -7,6 +7,6 @@ export type CreateWorkshopDto = {
|
|
|
7
7
|
name: string;
|
|
8
8
|
summary: string;
|
|
9
9
|
thumbnail?: string;
|
|
10
|
-
workshopDocuments?: Array<
|
|
10
|
+
workshopDocuments?: Array<WorkshopPageIdentifierDto>;
|
|
11
11
|
workshopDocumentsLastUpdated?: string;
|
|
12
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WorkshopPageIdentifierDto } from './WorkshopPageIdentifierDto';
|
|
2
2
|
export type UpdateWorkshopDto = {
|
|
3
3
|
_id?: string;
|
|
4
4
|
sectionId?: string;
|
|
@@ -7,6 +7,6 @@ export type UpdateWorkshopDto = {
|
|
|
7
7
|
name?: string;
|
|
8
8
|
summary?: string;
|
|
9
9
|
thumbnail?: string;
|
|
10
|
-
workshopDocuments?: Array<
|
|
10
|
+
workshopDocuments?: Array<WorkshopPageIdentifierDto>;
|
|
11
11
|
workshopDocumentsLastUpdated?: string;
|
|
12
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Workshop = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WorkshopPageIdentifierDto } from './WorkshopPageIdentifierDto';
|
|
2
2
|
export type WorkshopDto = {
|
|
3
3
|
_id: string;
|
|
4
4
|
workshopDocumentGroupId: string;
|
|
@@ -7,6 +7,6 @@ export type WorkshopDto = {
|
|
|
7
7
|
name: string;
|
|
8
8
|
summary: string;
|
|
9
9
|
thumbnail: string;
|
|
10
|
-
workshopDocuments: Array<
|
|
10
|
+
workshopDocuments: Array<WorkshopPageIdentifierDto>;
|
|
11
11
|
workshopDocumentsLastUpdated: string;
|
|
12
12
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type WorkshopPageIdentifierDto = {
|
|
2
2
|
/**
|
|
3
|
-
* Object id of the workshop-
|
|
3
|
+
* Object id of the workshop-page.
|
|
4
4
|
*/
|
|
5
5
|
_id: string;
|
|
6
6
|
/**
|
|
7
|
-
* Display name of the workshop-
|
|
7
|
+
* Display name of the workshop-page.
|
|
8
8
|
*/
|
|
9
9
|
name: string;
|
|
10
10
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type WorkshopDoc = {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|