@nicia-ai/typegraph 0.66.1 → 0.67.0
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/CHANGELOG.md +18 -0
- package/README.md +15 -0
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/{chunk-TR7QTODF.js → chunk-55DGFZYC.js} +3 -3
- package/dist/{chunk-TR7QTODF.js.map → chunk-55DGFZYC.js.map} +1 -1
- package/dist/{chunk-WB55URNM.js → chunk-6CKSTY2D.js} +7 -3
- package/dist/chunk-6CKSTY2D.js.map +1 -0
- package/dist/{chunk-SSDHR2C2.js → chunk-EFSXK3DW.js} +3 -3
- package/dist/{chunk-SSDHR2C2.js.map → chunk-EFSXK3DW.js.map} +1 -1
- package/dist/{chunk-Y4X6ODVY.cjs → chunk-FS2GVO2T.cjs} +56 -56
- package/dist/{chunk-Y4X6ODVY.cjs.map → chunk-FS2GVO2T.cjs.map} +1 -1
- package/dist/{chunk-K7YACILO.cjs → chunk-GXHEGNI6.cjs} +9 -9
- package/dist/{chunk-K7YACILO.cjs.map → chunk-GXHEGNI6.cjs.map} +1 -1
- package/dist/{chunk-BX42F7IJ.cjs → chunk-SSDLQPMY.cjs} +7 -2
- package/dist/chunk-SSDLQPMY.cjs.map +1 -0
- package/dist/graph-merge/index.cjs +500 -26
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +384 -2
- package/dist/graph-merge/index.d.ts +384 -2
- package/dist/graph-merge/index.js +485 -15
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/index.cjs +63 -63
- package/dist/index.js +3 -3
- package/dist/{local-store-impl-OUINMCYI.cjs → local-store-impl-7SPBIS4M.cjs} +5 -5
- package/dist/{local-store-impl-OUINMCYI.cjs.map → local-store-impl-7SPBIS4M.cjs.map} +1 -1
- package/dist/{local-store-impl-ERPNYOCL.js → local-store-impl-E23EDYPV.js} +4 -4
- package/dist/{local-store-impl-ERPNYOCL.js.map → local-store-impl-E23EDYPV.js.map} +1 -1
- package/dist/{pglite-store-impl-Z3SOOP75.cjs → pglite-store-impl-U55HQ5ZY.cjs} +5 -5
- package/dist/{pglite-store-impl-Z3SOOP75.cjs.map → pglite-store-impl-U55HQ5ZY.cjs.map} +1 -1
- package/dist/{pglite-store-impl-DUJBQZS5.js → pglite-store-impl-VAIEJZOU.js} +4 -4
- package/dist/{pglite-store-impl-DUJBQZS5.js.map → pglite-store-impl-VAIEJZOU.js.map} +1 -1
- package/dist/schema/index.cjs +27 -27
- package/dist/schema/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-BX42F7IJ.cjs.map +0 -1
- package/dist/chunk-WB55URNM.js.map +0 -1
|
@@ -571,6 +571,10 @@ async function getSchemaHash(graph, version) {
|
|
|
571
571
|
}
|
|
572
572
|
return hash;
|
|
573
573
|
}
|
|
574
|
+
var DEFINITION_HASH_VERSION = 1;
|
|
575
|
+
async function getGraphDefinitionHash(graph) {
|
|
576
|
+
return getSchemaHash(graph, DEFINITION_HASH_VERSION);
|
|
577
|
+
}
|
|
574
578
|
async function computeSchemaHash(schema) {
|
|
575
579
|
const hashable = {
|
|
576
580
|
graphId: schema.graphId,
|
|
@@ -3784,6 +3788,6 @@ async function getCommittedSchemaVersion(backend, graphId) {
|
|
|
3784
3788
|
return row?.version;
|
|
3785
3789
|
}
|
|
3786
3790
|
|
|
3787
|
-
export { applyDeprecatedKinds, assertSchemaCurrent, broader, buildGraphExtensionOntologyKeySet, buildKindRegistry, buildValidatedKindRegistry, classifySchemaChanges, commitNewSchemaVersion, commitNewSchemaVersionIfKindsEmpty, commitNewSchemaVersionWithPreflight, compileTimeOntologyKey, computeSchemaDiff, computeSchemaHash, core, deserializeWherePredicate, differentFrom, disjointWith, ensureIdentitySchemaStorage, ensureSchema, equivalentTo, extensionKindNames, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, hasPart, identityKindCascadeNeeded, identitySchemaCommitPreflight, implies, initializeSchema, inspectAdoptedIdentityStorage, inverseOf, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, loadAndVerifyGraph, mergeGraphExtension, migrateSchema, narrower, parseSerializedSchema, partOf, planRemovals, prepareNewSchemaVersion, relatedTo, requiresMigration, rollbackSchema, sameAs, serializeIndexDeclaration, serializeSchema, serializeSchemaProperties, stripGraphExtension, subClassOf };
|
|
3788
|
-
//# sourceMappingURL=chunk-
|
|
3789
|
-
//# sourceMappingURL=chunk-
|
|
3791
|
+
export { applyDeprecatedKinds, assertSchemaCurrent, broader, buildGraphExtensionOntologyKeySet, buildKindRegistry, buildValidatedKindRegistry, classifySchemaChanges, commitNewSchemaVersion, commitNewSchemaVersionIfKindsEmpty, commitNewSchemaVersionWithPreflight, compileTimeOntologyKey, computeSchemaDiff, computeSchemaHash, core, deserializeWherePredicate, differentFrom, disjointWith, ensureIdentitySchemaStorage, ensureSchema, equivalentTo, extensionKindNames, getActiveSchema, getCommittedSchemaVersion, getGraphDefinitionHash, getMigrationActions, getSchemaChanges, hasPart, identityKindCascadeNeeded, identitySchemaCommitPreflight, implies, initializeSchema, inspectAdoptedIdentityStorage, inverseOf, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, loadAndVerifyGraph, mergeGraphExtension, migrateSchema, narrower, parseSerializedSchema, partOf, planRemovals, prepareNewSchemaVersion, relatedTo, requiresMigration, rollbackSchema, sameAs, serializeIndexDeclaration, serializeSchema, serializeSchemaProperties, stripGraphExtension, subClassOf };
|
|
3792
|
+
//# sourceMappingURL=chunk-6CKSTY2D.js.map
|
|
3793
|
+
//# sourceMappingURL=chunk-6CKSTY2D.js.map
|