@nicia-ai/typegraph 0.23.0 → 0.24.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.
Files changed (45) hide show
  1. package/dist/backend/postgres/index.cjs +32 -32
  2. package/dist/backend/postgres/index.js +3 -3
  3. package/dist/backend/sqlite/index.cjs +13 -13
  4. package/dist/backend/sqlite/index.js +3 -3
  5. package/dist/backend/sqlite/libsql.cjs +6 -6
  6. package/dist/backend/sqlite/libsql.js +3 -3
  7. package/dist/backend/sqlite/local.cjs +7 -7
  8. package/dist/backend/sqlite/local.js +3 -3
  9. package/dist/{chunk-7OD2EPN4.cjs → chunk-5HVDOPZU.cjs} +70 -5
  10. package/dist/chunk-5HVDOPZU.cjs.map +1 -0
  11. package/dist/{chunk-H2CAJ4ZV.js → chunk-EY4LBX3F.js} +70 -5
  12. package/dist/chunk-EY4LBX3F.js.map +1 -0
  13. package/dist/{chunk-JYUQA77I.js → chunk-GFGVREHH.js} +3 -3
  14. package/dist/{chunk-JYUQA77I.js.map → chunk-GFGVREHH.js.map} +1 -1
  15. package/dist/{chunk-7TU5EWQ7.js → chunk-GUTQTMOV.js} +2 -2
  16. package/dist/chunk-GUTQTMOV.js.map +1 -0
  17. package/dist/{chunk-RS5OLGEW.js → chunk-LBORRUNJ.js} +2 -2
  18. package/dist/chunk-LBORRUNJ.js.map +1 -0
  19. package/dist/{chunk-WRWVWKQL.cjs → chunk-OLROXS2S.cjs} +2 -2
  20. package/dist/chunk-OLROXS2S.cjs.map +1 -0
  21. package/dist/{chunk-O5BRZEIZ.cjs → chunk-OVJ2BE5Q.cjs} +55 -27
  22. package/dist/chunk-OVJ2BE5Q.cjs.map +1 -0
  23. package/dist/{chunk-HRNQ3DVJ.cjs → chunk-PAUN562Y.cjs} +6 -6
  24. package/dist/{chunk-HRNQ3DVJ.cjs.map → chunk-PAUN562Y.cjs.map} +1 -1
  25. package/dist/{chunk-EP2KSSD5.js → chunk-QOLTW7OZ.js} +38 -10
  26. package/dist/chunk-QOLTW7OZ.js.map +1 -0
  27. package/dist/{chunk-RNUNP5JD.cjs → chunk-SUHW2UYL.cjs} +2 -2
  28. package/dist/chunk-SUHW2UYL.cjs.map +1 -0
  29. package/dist/index.cjs +61 -61
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.js +5 -5
  32. package/dist/index.js.map +1 -1
  33. package/dist/interchange/index.cjs +6 -6
  34. package/dist/interchange/index.js +1 -1
  35. package/dist/schema/index.cjs +21 -21
  36. package/dist/schema/index.js +3 -3
  37. package/package.json +5 -5
  38. package/dist/chunk-7OD2EPN4.cjs.map +0 -1
  39. package/dist/chunk-7TU5EWQ7.js.map +0 -1
  40. package/dist/chunk-EP2KSSD5.js.map +0 -1
  41. package/dist/chunk-H2CAJ4ZV.js.map +0 -1
  42. package/dist/chunk-O5BRZEIZ.cjs.map +0 -1
  43. package/dist/chunk-RNUNP5JD.cjs.map +0 -1
  44. package/dist/chunk-RS5OLGEW.js.map +0 -1
  45. package/dist/chunk-WRWVWKQL.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { quoteIdentifier, EMPTY_REQUIRED_COLUMNS, addRequiredColumn, markSelectiveFieldAsRequired, markFieldRefAsRequired, NODE_COLUMNS, shouldProjectColumn, mapSelectiveSystemFieldToColumn, isIdFieldRef, isAggregateExpr, EDGE_COLUMNS } from './chunk-3EUKJEQ3.js';
2
- import { META_EDGE_BRAND, META_EDGE_SUB_CLASS_OF, META_EDGE_NARROWER, META_EDGE_BROADER, META_EDGE_RELATED_TO, META_EDGE_EQUIVALENT_TO, META_EDGE_SAME_AS, META_EDGE_DIFFERENT_FROM, META_EDGE_DISJOINT_WITH, META_EDGE_HAS_PART, META_EDGE_PART_OF, META_EDGE_INVERSE_OF, META_EDGE_IMPLIES, ensureSchema, computeClosuresFromOntology, createEmptyClosures, KindRegistry, validateNodeProps, validateEdgeProps } from './chunk-JYUQA77I.js';
3
- export { isMetaEdge } from './chunk-JYUQA77I.js';
4
- import { NODE_TYPE_BRAND, EDGE_TYPE_BRAND, nowIso, validateOptionalIsoDate, getNodeKinds, getEdgeKinds } from './chunk-RS5OLGEW.js';
5
- export { defineGraph, getEdgeKinds, getNodeKinds, isEdgeType, isEdgeTypeWithEndpoints, isGraphDef, isNodeType } from './chunk-RS5OLGEW.js';
6
- import { runOptionallyInTransaction } from './chunk-7TU5EWQ7.js';
2
+ import { META_EDGE_BRAND, META_EDGE_SUB_CLASS_OF, META_EDGE_NARROWER, META_EDGE_BROADER, META_EDGE_RELATED_TO, META_EDGE_EQUIVALENT_TO, META_EDGE_SAME_AS, META_EDGE_DIFFERENT_FROM, META_EDGE_DISJOINT_WITH, META_EDGE_HAS_PART, META_EDGE_PART_OF, META_EDGE_INVERSE_OF, META_EDGE_IMPLIES, ensureSchema, computeClosuresFromOntology, createEmptyClosures, KindRegistry, validateNodeProps, validateEdgeProps } from './chunk-GFGVREHH.js';
3
+ export { isMetaEdge } from './chunk-GFGVREHH.js';
4
+ import { NODE_TYPE_BRAND, EDGE_TYPE_BRAND, nowIso, validateOptionalIsoDate, getNodeKinds, getEdgeKinds } from './chunk-LBORRUNJ.js';
5
+ export { defineGraph, getEdgeKinds, getNodeKinds, isEdgeType, isEdgeTypeWithEndpoints, isGraphDef, isNodeType } from './chunk-LBORRUNJ.js';
6
+ import { runOptionallyInTransaction } from './chunk-GUTQTMOV.js';
7
7
  import { ConfigurationError, UnsupportedPredicateError, ValidationError, CompilerInvariantError, KindNotFoundError, DatabaseOperationError, EdgeNotFoundError, NodeConstraintNotFoundError, RestrictedDeleteError, NodeNotFoundError, EndpointNotFoundError, UniquenessError, CardinalityError, EndpointError, DisjointError } from './chunk-WFMTAEEN.js';
8
8
  export { BackendDisposedError, CardinalityError, CompilerInvariantError, ConfigurationError, DatabaseOperationError, DisjointError, EdgeNotFoundError, EndpointError, EndpointNotFoundError, KindNotFoundError, MigrationError, NodeConstraintNotFoundError, NodeNotFoundError, RestrictedDeleteError, SchemaMismatchError, TypeGraphError, UniquenessError, UnsupportedPredicateError, ValidationError, VersionConflictError, getErrorSuggestion, isConstraintError, isSystemError, isTypeGraphError, isUserRecoverable } from './chunk-WFMTAEEN.js';
9
9
  import { MAX_PG_IDENTIFIER_LENGTH, DEFAULT_PAGINATION_LIMIT, getDialect, DEFAULT_STREAM_BATCH_SIZE, NODE_META_KEYS, EDGE_META_KEYS, SQLITE_PATH_DELIMITER, PG_ARRAY_START, PG_ARRAY_END, PG_PATH_ELEMENT_SEPARATOR, fnv1aBase36 } from './chunk-753F33CV.js';