@tmdjr/document-contracts 0.0.17 → 0.0.22

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.
@@ -287,7 +287,6 @@ export interface components {
287
287
  };
288
288
  CreateWorkshopPageDto: {
289
289
  workshopId: string;
290
- workshopGroupId: string;
291
290
  /** @default Page */
292
291
  name: string;
293
292
  /** @default 0 */
@@ -299,29 +298,15 @@ export interface components {
299
298
  /** @description Serialized JSON of the document blocks */
300
299
  html?: string;
301
300
  };
302
- WorkshopPageDto: {
301
+ DeletePageParamsDto: {
303
302
  _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
303
  workshopId: string;
304
+ name: string;
320
305
  };
321
306
  EditPageNameUpdateWorkshopDto: {
322
307
  _id: string;
323
308
  name: string;
324
- workshopGroupId: string;
309
+ workshopId: string;
325
310
  };
326
311
  WorkshopDto: {
327
312
  _id: string;
@@ -337,6 +322,21 @@ export interface components {
337
322
  /** Format: date-time */
338
323
  workshopDocumentsLastUpdated: string;
339
324
  };
325
+ WorkshopPageDto: {
326
+ _id: string;
327
+ workshopGroupId: string;
328
+ /** @default Page */
329
+ name: string;
330
+ /** @default 0 */
331
+ sortId: number;
332
+ /** @default PAGE */
333
+ pageType: string;
334
+ /** Format: date-time */
335
+ lastUpdated: string;
336
+ /** @description Serialized JSON of the document blocks */
337
+ html: string;
338
+ __v: number;
339
+ };
340
340
  };
341
341
  responses: never;
342
342
  parameters: never;
@@ -506,7 +506,7 @@ export interface operations {
506
506
  };
507
507
  requestBody: {
508
508
  content: {
509
- "application/json": components["schemas"]["PageParamsDto"];
509
+ "application/json": components["schemas"]["DeletePageParamsDto"];
510
510
  };
511
511
  };
512
512
  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';
@@ -1,6 +1,5 @@
1
1
  export type CreateWorkshopPageDto = {
2
2
  workshopId: string;
3
- workshopGroupId: string;
4
3
  name?: string;
5
4
  sortId?: number;
6
5
  pageType?: string;
@@ -0,0 +1,5 @@
1
+ export type DeletePageParamsDto = {
2
+ _id: string;
3
+ workshopId: string;
4
+ name: string;
5
+ };
@@ -1,5 +1,5 @@
1
1
  export type EditPageNameUpdateWorkshopDto = {
2
2
  _id: string;
3
3
  name: string;
4
- workshopGroupId: string;
4
+ workshopId: string;
5
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.22",
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
- };