@tmdjr/document-contracts 0.0.17 → 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,10 @@ 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 */
306
- 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
- };
317
- PageParamsDto: {
318
- page: components["schemas"]["WorkshopPageDto"];
319
304
  workshopId: string;
305
+ name: string;
320
306
  };
321
307
  EditPageNameUpdateWorkshopDto: {
322
308
  _id: string;
@@ -337,6 +323,21 @@ export interface components {
337
323
  /** Format: date-time */
338
324
  workshopDocumentsLastUpdated: string;
339
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
+ };
340
341
  };
341
342
  responses: never;
342
343
  parameters: never;
@@ -506,7 +507,7 @@ export interface operations {
506
507
  };
507
508
  requestBody: {
508
509
  content: {
509
- "application/json": components["schemas"]["PageParamsDto"];
510
+ "application/json": components["schemas"]["DeletePageParamsDto"];
510
511
  };
511
512
  };
512
513
  responses: {
package/dist/index.d.ts CHANGED
@@ -1,8 +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
5
  export type { EditPageNameUpdateWorkshopDto } from './models/EditPageNameUpdateWorkshopDto';
5
- export type { PageParamsDto } from './models/PageParamsDto';
6
6
  export type { SectionDto } from './models/SectionDto';
7
7
  export type { SectionsMapDto } from './models/SectionsMapDto';
8
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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmdjr/document-contracts",
3
- "version": "0.0.17",
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
- };