@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.d.cts CHANGED
@@ -179,9 +179,9 @@ declare const ServiceCategoryKeys: {
179
179
  };
180
180
  type ServiceCategoryKey = keyof typeof ServiceCategoryKeys;
181
181
  /**
182
- * Key → positional code map for the `service_state` CVC domain.
182
+ * Key → positional code map for the `service_states` CVC domain.
183
183
  *
184
- * Domain: `service_state` · Version: 1.0.0 · Entries: 14
184
+ * Domain: `service_states` · Version: 1.0.0 · Entries: 14
185
185
  */
186
186
  declare const ServiceStateKeys: {
187
187
  readonly missingness_root: "049-000-000-000-000-000-000";
package/dist/index.d.ts CHANGED
@@ -179,9 +179,9 @@ declare const ServiceCategoryKeys: {
179
179
  };
180
180
  type ServiceCategoryKey = keyof typeof ServiceCategoryKeys;
181
181
  /**
182
- * Key → positional code map for the `service_state` CVC domain.
182
+ * Key → positional code map for the `service_states` CVC domain.
183
183
  *
184
- * Domain: `service_state` · Version: 1.0.0 · Entries: 14
184
+ * Domain: `service_states` · Version: 1.0.0 · Entries: 14
185
185
  */
186
186
  declare const ServiceStateKeys: {
187
187
  readonly missingness_root: "049-000-000-000-000-000-000";
package/dist/index.js CHANGED
@@ -6581,7 +6581,7 @@ __export(cvcRegistryModel_exports, {
6581
6581
  compileModel: () => compileModel7
6582
6582
  });
6583
6583
  function compileModel7(connection, schema = buildCvcRegistrySchema()) {
6584
- return connection.models.CvcRegistry ?? connection.model("CvcRegistry", schema);
6584
+ return connection.models?.CvcRegistry ?? connection.model("CvcRegistry", schema);
6585
6585
  }
6586
6586
 
6587
6587
  // src/models/cvcEntryModel.ts
@@ -6591,7 +6591,7 @@ __export(cvcEntryModel_exports, {
6591
6591
  compileModel: () => compileModel8
6592
6592
  });
6593
6593
  function compileModel8(connection, schema = buildCvcEntrySchema()) {
6594
- return connection.models.CvcEntry ?? connection.model("CvcEntry", schema);
6594
+ return connection.models?.CvcEntry ?? connection.model("CvcEntry", schema);
6595
6595
  }
6596
6596
 
6597
6597
  // src/models/index.ts
@@ -9247,7 +9247,7 @@ var serviceCategories_v1_0_0_default = {
9247
9247
 
9248
9248
  // src/cvcs/serviceStates.v1.0.0.json
9249
9249
  var serviceStates_v1_0_0_default = {
9250
- domain: "service_state",
9250
+ domain: "service_states",
9251
9251
  name: "Core Service State",
9252
9252
  version: "1.0.0",
9253
9253
  levels: {