@coast/core-api-types 1.5.2 → 1.5.3
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/models/view-template-layout/ViewTemplateLayoutOneOfGql.d.ts +4 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutImageGql.d.ts +6 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutImageGql.js +3 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutImageGql.js.map +1 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutVideoGql.d.ts +9 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutVideoGql.js +3 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutVideoGql.js.map +1 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutVideoMetadataGql.d.ts +3 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutVideoMetadataGql.js +3 -0
- package/dist/models/view-template-layout/items/ViewTemplateLayoutVideoMetadataGql.js.map +1 -0
- package/dist/models/view-template-layout/registry/AnyViewTemplateLayoutItem.d.ts +3 -1
- package/dist/models/view-template-layout/registry/ViewTemplateLayoutItemOneOfInput.d.ts +4 -0
- package/package.json +2 -2
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { ViewTemplateLayoutComponentGql } from './items/ViewTemplateLayoutComponentGql';
|
|
2
|
+
import { ViewTemplateLayoutImageGql } from './items/ViewTemplateLayoutImageGql';
|
|
2
3
|
import { ViewTemplateLayoutSectionGql } from './items/ViewTemplateLayoutSectionGql';
|
|
3
4
|
import { ViewTemplateLayoutTextGql } from './items/ViewTemplateLayoutTextGql';
|
|
5
|
+
import { ViewTemplateLayoutVideoGql } from './items/ViewTemplateLayoutVideoGql';
|
|
4
6
|
import { ViewTemplateLayoutItemOneOfInput } from './registry/ViewTemplateLayoutItemOneOfInput';
|
|
5
7
|
export interface ViewTemplateLayoutOneOfGql extends ViewTemplateLayoutItemOneOfInput {
|
|
6
8
|
single_component: ViewTemplateLayoutComponentGql | undefined;
|
|
7
9
|
section: ViewTemplateLayoutSectionGql | undefined;
|
|
8
10
|
text: ViewTemplateLayoutTextGql | undefined;
|
|
11
|
+
image: ViewTemplateLayoutImageGql | undefined;
|
|
12
|
+
video: ViewTemplateLayoutVideoGql | undefined;
|
|
9
13
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
2
|
+
import { FileDataValueGql } from '../../workflow-template/components/common/FileDataValueGql';
|
|
3
|
+
import { ViewTemplateLayoutItemGql } from '../ViewTemplateLayoutItemGql';
|
|
4
|
+
export interface ViewTemplateLayoutImageGql extends ViewTemplateLayoutItemGql<ViewTemplateLayoutItemType.IMAGE> {
|
|
5
|
+
images?: FileDataValueGql[];
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewTemplateLayoutImageGql.js","sourceRoot":"","sources":["../../../../src/models/view-template-layout/items/ViewTemplateLayoutImageGql.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
2
|
+
import { ViewTemplateLayoutItemGql } from '../ViewTemplateLayoutItemGql';
|
|
3
|
+
import { ViewTemplateLayoutVideoMetadataGql } from './ViewTemplateLayoutVideoMetadataGql';
|
|
4
|
+
export interface ViewTemplateLayoutVideoGql extends ViewTemplateLayoutItemGql<ViewTemplateLayoutItemType.VIDEO> {
|
|
5
|
+
contentType?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
metadata?: ViewTemplateLayoutVideoMetadataGql;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewTemplateLayoutVideoGql.js","sourceRoot":"","sources":["../../../../src/models/view-template-layout/items/ViewTemplateLayoutVideoGql.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewTemplateLayoutVideoMetadataGql.js","sourceRoot":"","sources":["../../../../src/models/view-template-layout/items/ViewTemplateLayoutVideoMetadataGql.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ViewTemplateLayoutComponentGql } from '../items/ViewTemplateLayoutComponentGql';
|
|
2
|
+
import { ViewTemplateLayoutImageGql } from '../items/ViewTemplateLayoutImageGql';
|
|
2
3
|
import { ViewTemplateLayoutSectionGql } from '../items/ViewTemplateLayoutSectionGql';
|
|
3
4
|
import { ViewTemplateLayoutTextGql } from '../items/ViewTemplateLayoutTextGql';
|
|
4
|
-
|
|
5
|
+
import { ViewTemplateLayoutVideoGql } from '../items/ViewTemplateLayoutVideoGql';
|
|
6
|
+
export type AnyViewTemplateLayoutItem = ViewTemplateLayoutComponentGql | ViewTemplateLayoutImageGql | ViewTemplateLayoutSectionGql | ViewTemplateLayoutTextGql | ViewTemplateLayoutVideoGql;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { ViewTemplateLayoutComponentGql } from '../items/ViewTemplateLayoutComponentGql';
|
|
2
|
+
import { ViewTemplateLayoutImageGql } from '../items/ViewTemplateLayoutImageGql';
|
|
2
3
|
import { ViewTemplateLayoutSectionGql } from '../items/ViewTemplateLayoutSectionGql';
|
|
3
4
|
import { ViewTemplateLayoutTextGql } from '../items/ViewTemplateLayoutTextGql';
|
|
5
|
+
import { ViewTemplateLayoutVideoGql } from '../items/ViewTemplateLayoutVideoGql';
|
|
4
6
|
export type ViewTemplateLayoutItemOneOfInput = {
|
|
5
7
|
section: ViewTemplateLayoutSectionGql | undefined;
|
|
6
8
|
single_component: ViewTemplateLayoutComponentGql | undefined;
|
|
7
9
|
text: ViewTemplateLayoutTextGql | undefined;
|
|
10
|
+
image: ViewTemplateLayoutImageGql | undefined;
|
|
11
|
+
video: ViewTemplateLayoutVideoGql | undefined;
|
|
8
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.112",
|
|
27
27
|
"@coast/core-utils": "0.0.27",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.81",
|