@htilabs/platform-common-models 0.4.0-beta.1 → 0.4.0-beta.2

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/index.cjs CHANGED
@@ -6959,7 +6959,7 @@ __export(cvcRegistryModel_exports, {
6959
6959
  compileModel: () => compileModel7
6960
6960
  });
6961
6961
  function compileModel7(connection, schema = buildCvcRegistrySchema()) {
6962
- return connection.models.CvcRegistry ?? connection.model("CvcRegistry", schema);
6962
+ return connection.models?.CvcRegistry ?? connection.model("CvcRegistry", schema);
6963
6963
  }
6964
6964
 
6965
6965
  // src/models/cvcEntryModel.ts
@@ -6969,7 +6969,7 @@ __export(cvcEntryModel_exports, {
6969
6969
  compileModel: () => compileModel8
6970
6970
  });
6971
6971
  function compileModel8(connection, schema = buildCvcEntrySchema()) {
6972
- return connection.models.CvcEntry ?? connection.model("CvcEntry", schema);
6972
+ return connection.models?.CvcEntry ?? connection.model("CvcEntry", schema);
6973
6973
  }
6974
6974
 
6975
6975
  // src/models/index.ts
@@ -9625,7 +9625,7 @@ var serviceCategories_v1_0_0_default = {
9625
9625
 
9626
9626
  // src/cvcs/serviceStates.v1.0.0.json
9627
9627
  var serviceStates_v1_0_0_default = {
9628
- domain: "service_state",
9628
+ domain: "service_states",
9629
9629
  name: "Core Service State",
9630
9630
  version: "1.0.0",
9631
9631
  levels: {