@elevasis/core 0.33.0 → 0.34.1
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/test-utils/index.js +5 -5
- package/package.json +1 -1
- package/src/business/acquisition/ontology-validation.ts +1 -1
- package/src/organization-model/__tests__/schema.test.ts +428 -399
- package/src/platform/constants/versions.ts +1 -1
- package/src/platform/registry/__tests__/resource-registry.nested-systems.test.ts +257 -245
- package/src/platform/registry/resource-registry.ts +881 -888
- package/src/platform/registry/validation.ts +721 -712
- package/src/reference/_generated/contracts.md +25 -30
package/dist/test-utils/index.js
CHANGED
|
@@ -14322,7 +14322,7 @@ function recordAsyncAnnotation(test5, promise) {
|
|
|
14322
14322
|
return promise;
|
|
14323
14323
|
}
|
|
14324
14324
|
|
|
14325
|
-
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+
|
|
14325
|
+
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+_d1cccf33043c821cd797d4ac11d33b3e/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
|
|
14326
14326
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
14327
14327
|
function getWorkerState() {
|
|
14328
14328
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -14370,7 +14370,7 @@ async function waitForImportsToResolve() {
|
|
|
14370
14370
|
await waitForImportsToResolve();
|
|
14371
14371
|
}
|
|
14372
14372
|
|
|
14373
|
-
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+
|
|
14373
|
+
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+_d1cccf33043c821cd797d4ac11d33b3e/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
|
|
14374
14374
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
14375
14375
|
function getDefaultExportFromCjs3(x2) {
|
|
14376
14376
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -16403,7 +16403,7 @@ var SnapshotClient = class {
|
|
|
16403
16403
|
}
|
|
16404
16404
|
};
|
|
16405
16405
|
|
|
16406
|
-
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+
|
|
16406
|
+
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+_d1cccf33043c821cd797d4ac11d33b3e/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
|
|
16407
16407
|
var RealDate = Date;
|
|
16408
16408
|
var now2 = null;
|
|
16409
16409
|
var MockDate = class _MockDate extends RealDate {
|
|
@@ -16451,7 +16451,7 @@ function resetDate() {
|
|
|
16451
16451
|
globalThis.Date = RealDate;
|
|
16452
16452
|
}
|
|
16453
16453
|
|
|
16454
|
-
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+
|
|
16454
|
+
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+_d1cccf33043c821cd797d4ac11d33b3e/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
|
|
16455
16455
|
var unsupported = [
|
|
16456
16456
|
"matchSnapshot",
|
|
16457
16457
|
"toMatchSnapshot",
|
|
@@ -19132,7 +19132,7 @@ function getImporter(name) {
|
|
|
19132
19132
|
return stack?.file || "";
|
|
19133
19133
|
}
|
|
19134
19134
|
|
|
19135
|
-
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+
|
|
19135
|
+
// ../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime+_d1cccf33043c821cd797d4ac11d33b3e/node_modules/vitest/dist/index.js
|
|
19136
19136
|
__toESM(require_dist());
|
|
19137
19137
|
|
|
19138
19138
|
// src/test-utils/mocks/supabase.ts
|
package/package.json
CHANGED
|
@@ -176,7 +176,7 @@ export function getCrmStatesForStage(
|
|
|
176
176
|
* organization model's `sales.lead-gen` stage records). Hosts that own a
|
|
177
177
|
* populated tenant model (e.g. `apps/api` with the Elevasis canonical model)
|
|
178
178
|
* MUST build their own index via `compileBusinessOntologyValidationIndex(model)`
|
|
179
|
-
* and call `createLeadGenStageValidators(index)`.
|
|
179
|
+
* and call `createLeadGenStageValidators(index)`. The core package stays generic;
|
|
180
180
|
* it must never import a tenant model.
|
|
181
181
|
*/
|
|
182
182
|
export type LeadGenStageValidators = {
|