@coast/core-api-types 1.2.155 → 1.2.157

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.
@@ -0,0 +1,5 @@
1
+ import { ViewTemplateLayout } from './ViewTemplateLayout';
2
+ import { ViewTemplateLayoutOneOf } from './ViewTemplateLayoutOneOf';
3
+ export interface CreateViewTemplateLayout extends Omit<ViewTemplateLayout, 'id' | 'items' | 'createdAt' | 'updatedAt'> {
4
+ items: ViewTemplateLayoutOneOf[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateViewTemplateLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateViewTemplateLayout.js","sourceRoot":"","sources":["../../../src/models/view-template-layout/CreateViewTemplateLayout.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { ViewTemplateLayout } from './ViewTemplateLayout';
2
+ export interface DeleteViewTemplateLayout extends Pick<ViewTemplateLayout, 'id'> {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DeleteViewTemplateLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteViewTemplateLayout.js","sourceRoot":"","sources":["../../../src/models/view-template-layout/DeleteViewTemplateLayout.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { ViewTemplateLayout } from './ViewTemplateLayout';
2
+ import { ViewTemplateLayoutOneOf } from './ViewTemplateLayoutOneOf';
3
+ export interface UpdateViewTemplateLayout extends Omit<ViewTemplateLayout, 'viewTemplateId' | 'workflowTemplateId' | 'items' | 'createdAt' | 'updatedAt'> {
4
+ items: ViewTemplateLayoutOneOf[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateViewTemplateLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateViewTemplateLayout.js","sourceRoot":"","sources":["../../../src/models/view-template-layout/UpdateViewTemplateLayout.ts"],"names":[],"mappings":""}
@@ -2,8 +2,8 @@ import { ViewTemplateLayout } from './ViewTemplateLayout';
2
2
  import { ViewTemplateLayoutItemId } from './ViewTemplateLayoutItemId';
3
3
  import { ViewTemplateLayoutItemType } from './ViewTemplateLayoutItemType';
4
4
  export interface ViewTemplateLayoutItem {
5
- id: ViewTemplateLayoutItemId;
6
- viewTemplateLayout: ViewTemplateLayout;
7
- displayOrder: number;
5
+ id?: ViewTemplateLayoutItemId;
6
+ viewTemplateLayout?: ViewTemplateLayout;
7
+ displayOrder?: number;
8
8
  type: ViewTemplateLayoutItemType;
9
9
  }
@@ -0,0 +1,8 @@
1
+ import { Optional } from '../utils/Optional';
2
+ import { ViewTemplateLayoutComponent } from './items/ViewTemplateLayoutComponent';
3
+ import { ViewTemplateLayoutSection } from './items/ViewTemplateLayoutSection';
4
+ import { ViewTemplateLayoutRegistry } from './ViewTemplateLayoutRegistry';
5
+ export interface ViewTemplateLayoutOneOf extends ViewTemplateLayoutRegistry.OneOfInput {
6
+ single_component: Optional<ViewTemplateLayoutComponent>;
7
+ section: Optional<ViewTemplateLayoutSection>;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ViewTemplateLayoutOneOf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewTemplateLayoutOneOf.js","sourceRoot":"","sources":["../../../src/models/view-template-layout/ViewTemplateLayoutOneOf.ts"],"names":[],"mappings":""}
@@ -1,2 +1,14 @@
1
+ import { Type } from '@nestjs/common';
2
+ import { Optional } from '../utils/Optional';
3
+ import { ViewTemplateLayoutComponent } from './items/ViewTemplateLayoutComponent';
4
+ import { ViewTemplateLayoutSection } from './items/ViewTemplateLayoutSection';
5
+ import { ViewTemplateLayoutItem } from './ViewTemplateLayoutItem';
6
+ import { ViewTemplateLayoutItemType } from './ViewTemplateLayoutItemType';
1
7
  export declare namespace ViewTemplateLayoutRegistry {
8
+ type Registry = Record<ViewTemplateLayoutItemType, Type<ViewTemplateLayoutItem>>;
9
+ export type OneOfInput = {
10
+ [K in keyof Registry as Lowercase<K & string>]: Optional<InstanceType<Registry[K]>>;
11
+ };
12
+ export type Any = ViewTemplateLayoutComponent | ViewTemplateLayoutSection;
13
+ export {};
2
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.155",
3
+ "version": "1.2.157",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {