@tmdjr/document-contracts 0.0.16 → 0.0.21

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.
@@ -299,24 +299,15 @@ export interface components {
299
299
  /** @description Serialized JSON of the document blocks */
300
300
  html?: string;
301
301
  };
302
- WorkshopPageDto: {
302
+ DeletePageParamsDto: {
303
303
  _id: string;
304
- workshopGroupId: string;
305
- /** @default Page */
304
+ workshopId: string;
306
305
  name: string;
307
- /** @default 0 */
308
- sortId: number;
309
- /** @default PAGE */
310
- pageType: string;
311
- /** Format: date-time */
312
- lastUpdated: string;
313
- /** @description Serialized JSON of the document blocks */
314
- html: string;
315
- __v: number;
316
306
  };
317
- PageParamsDto: {
318
- page: components["schemas"]["WorkshopPageDto"];
319
- workshopId: string;
307
+ EditPageNameUpdateWorkshopDto: {
308
+ _id: string;
309
+ name: string;
310
+ workshopGroupId: string;
320
311
  };
321
312
  WorkshopDto: {
322
313
  _id: string;
@@ -332,6 +323,21 @@ export interface components {
332
323
  /** Format: date-time */
333
324
  workshopDocumentsLastUpdated: string;
334
325
  };
326
+ WorkshopPageDto: {
327
+ _id: string;
328
+ workshopGroupId: string;
329
+ /** @default Page */
330
+ name: string;
331
+ /** @default 0 */
332
+ sortId: number;
333
+ /** @default PAGE */
334
+ pageType: string;
335
+ /** Format: date-time */
336
+ lastUpdated: string;
337
+ /** @description Serialized JSON of the document blocks */
338
+ html: string;
339
+ __v: number;
340
+ };
335
341
  };
336
342
  responses: never;
337
343
  parameters: never;
@@ -501,7 +507,7 @@ export interface operations {
501
507
  };
502
508
  requestBody: {
503
509
  content: {
504
- "application/json": components["schemas"]["PageParamsDto"];
510
+ "application/json": components["schemas"]["DeletePageParamsDto"];
505
511
  };
506
512
  };
507
513
  responses: {
@@ -524,7 +530,7 @@ export interface operations {
524
530
  };
525
531
  requestBody: {
526
532
  content: {
527
- "application/json": components["schemas"]["WorkshopPageDto"];
533
+ "application/json": components["schemas"]["EditPageNameUpdateWorkshopDto"];
528
534
  };
529
535
  };
530
536
  responses: {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  export type { CreateWorkshopDto } from './models/CreateWorkshopDto';
2
2
  export type { CreateWorkshopPageDto } from './models/CreateWorkshopPageDto';
3
+ export type { DeletePageParamsDto } from './models/DeletePageParamsDto';
3
4
  export type { DeleteResultDto } from './models/DeleteResultDto';
4
- export type { PageParamsDto } from './models/PageParamsDto';
5
+ export type { EditPageNameUpdateWorkshopDto } from './models/EditPageNameUpdateWorkshopDto';
5
6
  export type { SectionDto } from './models/SectionDto';
6
7
  export type { SectionsMapDto } from './models/SectionsMapDto';
7
8
  export type { UpdateWorkshopDto } from './models/UpdateWorkshopDto';
@@ -0,0 +1,5 @@
1
+ export type DeletePageParamsDto = {
2
+ _id: string;
3
+ workshopId: string;
4
+ name: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ export type EditPageNameUpdateWorkshopDto = {
2
+ _id: string;
3
+ name: string;
4
+ workshopGroupId: string;
5
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmdjr/document-contracts",
3
- "version": "0.0.16",
3
+ "version": "0.0.21",
4
4
  "description": "Types & runtime enums generated from NGX document spec",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -1,5 +0,0 @@
1
- import type { WorkshopPageDto } from './WorkshopPageDto';
2
- export type PageParamsDto = {
3
- page: WorkshopPageDto;
4
- workshopId: string;
5
- };