@apaleo/angular-api-proxy-catalog
Advanced tools
Comparing version 0.2.13 to 0.2.14
@@ -32,5 +32,5 @@ /** | ||
/** | ||
* The included inventory items. They all need to have the same time slice definition. | ||
* The id of the base inventory item, used for filtering and grouping catalog items. | ||
*/ | ||
inventoryIds: Array<string>; | ||
baseInventoryId: string; | ||
/** | ||
@@ -51,3 +51,3 @@ * The included services | ||
description: Readonly<ApaleoPropertyMetaData>; | ||
inventoryIds: Readonly<ApaleoPropertyMetaData>; | ||
baseInventoryId: Readonly<ApaleoPropertyMetaData>; | ||
serviceIds: Readonly<ApaleoPropertyMetaData>; | ||
@@ -54,0 +54,0 @@ propertyId: Readonly<ApaleoPropertyMetaData>; |
@@ -35,7 +35,6 @@ /** | ||
}), | ||
inventoryIds: Object.freeze({ | ||
baseInventoryId: Object.freeze({ | ||
isRequired: true, | ||
type: 'Array<string>', | ||
type: 'string', | ||
isPrimitiveType: true, | ||
isListContainer: true, | ||
}), | ||
@@ -56,2 +55,3 @@ serviceIds: Object.freeze({ | ||
code: getControl(CreatePackageModel.$metaData.code, options, 'code'), | ||
baseInventoryId: getControl(CreatePackageModel.$metaData.baseInventoryId, options, 'baseInventoryId'), | ||
propertyId: getControl(CreatePackageModel.$metaData.propertyId, options, 'propertyId'), | ||
@@ -58,0 +58,0 @@ }; |
@@ -39,5 +39,5 @@ /** | ||
/** | ||
* Included inventory usage | ||
* Included inventory | ||
*/ | ||
inventory?: Array<EmbeddedInventoryModel>; | ||
baseInventory: EmbeddedInventoryModel; | ||
/** | ||
@@ -59,3 +59,3 @@ * Included services | ||
description: Readonly<ApaleoPropertyMetaData>; | ||
inventory: Readonly<ApaleoPropertyMetaData>; | ||
baseInventory: Readonly<ApaleoPropertyMetaData>; | ||
services: Readonly<ApaleoPropertyMetaData>; | ||
@@ -62,0 +62,0 @@ property: Readonly<ApaleoPropertyMetaData>; |
@@ -12,2 +12,3 @@ /** | ||
*/ | ||
import { EmbeddedInventoryModel } from './embeddedInventoryModel'; | ||
import { EmbeddedPropertyModel } from './embeddedPropertyModel'; | ||
@@ -40,5 +41,5 @@ import { adjustDefaultControls, getControl, prepareFormGroup } from '@apaleo/angular-api-proxy-common'; | ||
}), | ||
inventory: Object.freeze({ | ||
type: 'Array<EmbeddedInventoryModel>', | ||
isListContainer: true, | ||
baseInventory: Object.freeze({ | ||
isRequired: true, | ||
type: 'EmbeddedInventoryModel', | ||
}), | ||
@@ -57,2 +58,3 @@ services: Object.freeze({ | ||
code: getControl(PackageModel.$metaData.code, options, 'code'), | ||
baseInventory: EmbeddedInventoryModel.$buildForm(fb), | ||
property: EmbeddedPropertyModel.$buildForm(fb), | ||
@@ -59,0 +61,0 @@ }; |
{ | ||
"name": "@apaleo/angular-api-proxy-catalog", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"@angular/platform-browser": "^4.3.5", | ||
"@apaleo/angular-api-proxy-common": "^0.2.13", | ||
"@apaleo/angular-api-proxy-common": "^0.2.14", | ||
"rxjs": "^5.4.2", | ||
@@ -28,3 +28,3 @@ "tslib": "^1.7.1", | ||
"@angular/platform-server": "^4.3.5", | ||
"@apaleo/angular-api-proxy-common": "^0.2.13", | ||
"@apaleo/angular-api-proxy-common": "^0.2.14", | ||
"rxjs": "^5.4.2", | ||
@@ -31,0 +31,0 @@ "tslib": "^1.7.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
320517
4246