@coast/core-api-types 1.2.292 → 1.2.293

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.
@@ -1,4 +1,3 @@
1
- import { BundleId } from '@coast/core-types/workflow-app/bundle/BundleId';
2
1
  import { BundleListingId } from '@coast/core-types/workflow-library/BundleListingId';
3
2
  import { Audit } from '../application/Audit';
4
3
  import { Bundle } from '../workflow-app/bundle/Bundle';
@@ -6,10 +5,9 @@ import { BundleListingTagAssociation } from './BundleListingTagAssociation';
6
5
  export interface BundleListing extends Audit {
7
6
  id: BundleListingId;
8
7
  name: string;
9
- bundleId: BundleId;
10
- bundle?: Bundle;
8
+ bundle: Bundle;
11
9
  description: string;
12
10
  defaultDisplayOrder?: number;
13
- tagAssociations: BundleListingTagAssociation[];
11
+ tags: BundleListingTagAssociation[];
14
12
  deletedAt?: Date;
15
13
  }
@@ -1,7 +1,9 @@
1
+ import type { TagValue } from '@coast/core-types/workflow-library/TagValue';
2
+ import { TagType } from '@coast/core-types/workflow-library/TagType';
1
3
  import { BundleListing } from './BundleListing';
2
4
  export interface BundleListingTagAssociation {
3
5
  id: string;
4
6
  bundleListing?: BundleListing;
5
- tagType: string;
6
- tagValue: string;
7
+ tagType: TagType;
8
+ tagValue: TagValue;
7
9
  }
@@ -0,0 +1,13 @@
1
+ import { BundleId } from '@coast/core-types/workflow-app/bundle/BundleId';
2
+ import { Category } from '@coast/core-types/workflow-library/Category';
3
+ import { Industry } from '@coast/core-types/workflow-library/Industry';
4
+ import { PackageType } from '@coast/core-types/workflow-library/PackageType';
5
+ export interface CreateBundleListing {
6
+ bundleId: BundleId;
7
+ name: string;
8
+ description: string;
9
+ defaultDisplayOrder?: number;
10
+ categories?: Category[];
11
+ industries?: Industry[];
12
+ packageTypes?: PackageType[];
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateBundleListing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBundleListing.js","sourceRoot":"","sources":["../../../src/models/workflow-library/CreateBundleListing.ts"],"names":[],"mappings":""}
@@ -1,11 +1,11 @@
1
1
  import { BundleListingId } from '@coast/core-types/workflow-library/BundleListingId';
2
2
  import { PublicBundle } from '../workflow-app/bundle/public-bundle/PublicBundle';
3
- import { TagOption } from './TagOption';
3
+ import { BundleListingTagAssociation } from './BundleListingTagAssociation';
4
4
  export interface PublicBundleListing {
5
5
  id: BundleListingId;
6
6
  name: string;
7
7
  bundle: PublicBundle;
8
8
  description: string;
9
9
  defaultDisplayOrder?: number;
10
- tags: TagOption[];
10
+ tags: BundleListingTagAssociation[];
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.292",
3
+ "version": "1.2.293",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -23,8 +23,8 @@
23
23
  "author": "Coast Engineering",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@coast/core-types": "0.0.35",
27
- "@coast/core-utils": "0.0.13",
26
+ "@coast/core-types": "0.0.36",
27
+ "@coast/core-utils": "0.0.14",
28
28
  "@coast/schemas": "^4.0.0",
29
29
  "@coast/service-common": "^2.0.69",
30
30
  "@paradoxical-io/types": "^2.1.0",