@contrail/flexplm 1.8.0-alpha.95a3ea2 → 1.8.0-alpha.c79113f

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Core model for contrail, which establishes the base peristence services (without dependency on a persistence implementaiton) and core NestJS elements such as the InvocationContext.
1
+ Core model for contrail, which establishes the base persistence services (without dependency on a persistence implementaiton) and core NestJS elements such as the InvocationContext.
2
2
 
3
3
  ## LCSCountry defaults
4
4
  `LCSCountry` <-> VibeIQ `custom-entity:country` works with built-in defaults for the type mapping. The built-in conventions are:
@@ -20,7 +20,7 @@ export declare class TypeDefaults {
20
20
  static applyConfig(config: any): void;
21
21
  static isPropertyTrue(value: any): boolean;
22
22
  /** True when the VibeIQ entity is a Country: a custom-entity whose typePath is
23
- * exactly 'custom-entity:country' (compared case-sensitively, as on inbound).
23
+ * exactly 'custom-entity:country'.
24
24
  *
25
25
  * @param entity VibeIQ entity
26
26
  * @returns boolean
@@ -19,7 +19,7 @@ class TypeDefaults {
19
19
  return value === true || (typeof value === 'string' && value.toLowerCase() === 'true');
20
20
  }
21
21
  /** True when the VibeIQ entity is a Country: a custom-entity whose typePath is
22
- * exactly 'custom-entity:country' (compared case-sensitively, as on inbound).
22
+ * exactly 'custom-entity:country'.
23
23
  *
24
24
  * @param entity VibeIQ entity
25
25
  * @returns boolean
@@ -53,9 +53,9 @@ describe('TypeUtils.getEventObjectClass() tests', () => {
53
53
  const objectClass = tu.getEventObjectClass(entityType, newData);
54
54
  expect(objectClass).toEqual('LCSCountry');
55
55
  });
56
- it('should return LCSCountry when the Country typePath uses different casing', () => {
56
+ it('should return LCSRevisableEntity when the Country typePath uses different casing', () => {
57
57
  const objectClass = tu.getEventObjectClass('custom-entity', { typePath: 'custom-entity:Country' });
58
- expect(objectClass).toEqual('LCSCountry');
58
+ expect(objectClass).toEqual('LCSRevisableEntity');
59
59
  });
60
60
  it('should return LCSRevisableEntity for a custom entity that is not a Country', () => {
61
61
  const objectClass = tu.getEventObjectClass('custom-entity', { typePath: 'custom-entity:exchangeRate' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/flexplm",
3
- "version": "1.8.0-alpha.95a3ea2",
3
+ "version": "1.8.0-alpha.c79113f",
4
4
  "description": "Library used for integration with flexplm.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@contrail/app-framework": "^1.4.3",
60
- "@contrail/sdk": "^1.5.10",
60
+ "@contrail/sdk": "^1.6.1",
61
61
  "@contrail/transform-data": "^1.3.2",
62
62
  "@contrail/util": "^1.3.1",
63
63
  "axios": "^1.4.0",