@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/cvcs/index.cjs +1 -1
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +1 -1
- package/dist/cvcs/index.d.ts +1 -1
- package/dist/cvcs/index.js +1 -1
- package/dist/cvcs/index.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +2 -2
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.js +2 -2
- package/dist/models/index.js.map +1 -1
- package/dist/services/index.cjs +2 -2
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.js +2 -2
- package/dist/services/index.js.map +1 -1
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +2 -2
- package/src/__tests__/cvc-sot-snapshot.test.ts +1 -1
- package/src/__tests__/cvc-structural.test.ts +1 -1
- package/src/cvcs/serviceStates.v1.0.0.json +1 -1
- package/src/generated/cvc-enums.ts +2 -2
- package/src/models/cvcEntryModel.ts +1 -1
- package/src/models/cvcRegistryModel.ts +1 -1
- package/src/validation/cvc.ts +6 -3
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 `
|
|
182
|
+
* Key → positional code map for the `service_states` CVC domain.
|
|
183
183
|
*
|
|
184
|
-
* Domain: `
|
|
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 `
|
|
182
|
+
* Key → positional code map for the `service_states` CVC domain.
|
|
183
183
|
*
|
|
184
|
-
* Domain: `
|
|
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
|
|
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
|
|
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: "
|
|
9250
|
+
domain: "service_states",
|
|
9251
9251
|
name: "Core Service State",
|
|
9252
9252
|
version: "1.0.0",
|
|
9253
9253
|
levels: {
|