@nicia-ai/typegraph 0.73.0 → 0.73.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/CHANGELOG.md +15 -0
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/postgres/working-copy.cjs +85 -85
- package/dist/backend/postgres/working-copy.js +4 -4
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/{chunk-7QQ3ICAZ.cjs → chunk-BZ5EXHZX.cjs} +11 -11
- package/dist/{chunk-7QQ3ICAZ.cjs.map → chunk-BZ5EXHZX.cjs.map} +1 -1
- package/dist/{chunk-ZN24TFVZ.cjs → chunk-GLDGT3L3.cjs} +6 -3
- package/dist/chunk-GLDGT3L3.cjs.map +1 -0
- package/dist/{chunk-ORTKLAAU.js → chunk-LJG2TYCN.js} +3 -3
- package/dist/{chunk-ORTKLAAU.js.map → chunk-LJG2TYCN.js.map} +1 -1
- package/dist/{chunk-VKMLQTXP.cjs → chunk-MPCF5XBW.cjs} +159 -159
- package/dist/{chunk-VKMLQTXP.cjs.map → chunk-MPCF5XBW.cjs.map} +1 -1
- package/dist/{chunk-5RTWCMBC.js → chunk-OA4PF2QI.js} +6 -3
- package/dist/chunk-OA4PF2QI.js.map +1 -0
- package/dist/{chunk-XGYVKBI5.cjs → chunk-P52FOZSI.cjs} +8 -8
- package/dist/{chunk-XGYVKBI5.cjs.map → chunk-P52FOZSI.cjs.map} +1 -1
- package/dist/{chunk-KI7VMCOG.cjs → chunk-QJGQ3FN2.cjs} +16 -16
- package/dist/{chunk-KI7VMCOG.cjs.map → chunk-QJGQ3FN2.cjs.map} +1 -1
- package/dist/{chunk-MSUUUG5B.js → chunk-TI2O2U4G.js} +4 -4
- package/dist/{chunk-MSUUUG5B.js.map → chunk-TI2O2U4G.js.map} +1 -1
- package/dist/{chunk-FC7INRDS.js → chunk-WX7BQELV.js} +4 -4
- package/dist/{chunk-FC7INRDS.js.map → chunk-WX7BQELV.js.map} +1 -1
- package/dist/{chunk-NMLLXBGF.js → chunk-XIFBU27X.js} +3 -3
- package/dist/{chunk-NMLLXBGF.js.map → chunk-XIFBU27X.js.map} +1 -1
- package/dist/graph-merge/index.cjs +531 -531
- package/dist/graph-merge/index.js +6 -6
- package/dist/index.cjs +43 -43
- package/dist/index.js +2 -2
- package/dist/interchange/index.cjs +26 -26
- package/dist/interchange/index.js +3 -3
- package/dist/{local-store-impl-ALYCG7CX.js → local-store-impl-HPNBERU4.js} +4 -4
- package/dist/{local-store-impl-ALYCG7CX.js.map → local-store-impl-HPNBERU4.js.map} +1 -1
- package/dist/{local-store-impl-2HTGPM6A.cjs → local-store-impl-WIVQ5HDM.cjs} +5 -5
- package/dist/{local-store-impl-2HTGPM6A.cjs.map → local-store-impl-WIVQ5HDM.cjs.map} +1 -1
- package/dist/{pglite-store-impl-F2WHYIM7.cjs → pglite-store-impl-IXKIXLH6.cjs} +5 -5
- package/dist/{pglite-store-impl-F2WHYIM7.cjs.map → pglite-store-impl-IXKIXLH6.cjs.map} +1 -1
- package/dist/{pglite-store-impl-3UUTJLGP.js → pglite-store-impl-U3TW3Z4C.js} +4 -4
- package/dist/{pglite-store-impl-3UUTJLGP.js.map → pglite-store-impl-U3TW3Z4C.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-5RTWCMBC.js.map +0 -1
- package/dist/chunk-ZN24TFVZ.cjs.map +0 -1
|
@@ -3193,8 +3193,11 @@ async function executeNodeUpdate(ctx, input, backend, options) {
|
|
|
3193
3193
|
);
|
|
3194
3194
|
}
|
|
3195
3195
|
function validateNodePropertySubset(schema, properties, context) {
|
|
3196
|
+
const suppliedProperties = Object.fromEntries(
|
|
3197
|
+
Object.keys(properties).map((property) => [property, true])
|
|
3198
|
+
);
|
|
3196
3199
|
return validateNodeProps(
|
|
3197
|
-
z.object(schema.shape).partial(),
|
|
3200
|
+
z.object(schema.shape).pick(suppliedProperties).partial(),
|
|
3198
3201
|
properties,
|
|
3199
3202
|
context
|
|
3200
3203
|
);
|
|
@@ -4518,5 +4521,5 @@ async function executeNodeBulkGetOrCreateByConstraint(ctx, kind, constraintName,
|
|
|
4518
4521
|
}
|
|
4519
4522
|
|
|
4520
4523
|
export { AutocommitWriteRequiresTransaction, ResolvedMutationSetMoved, appliedResolvedMutationSet, assertAtomicDeleteSchemaFenceMatched, assertClearValidToSupported, assertValidityEndMutation, assertsStoredWindowState, atomicResolvedUpdateAttemptBudget, buildEdgeMatchKey, canFuseSchemaFenceInFirstWrite, canonicalPersistedJsonValue, checkCardinalityConstraint, checkDisjointnessConstraint, classifyDurableEdgeBatchOutcomes, createEdgeBatchValidationBackend, createNodeBatchValidationSeams, edgeMatchIdentityUpdateRefusal, edgeWriteNeedsConstraintFence, edgeWritePlan, executeNodeBulkFindByConstraint, executeNodeBulkFindByIndex, executeNodeBulkGetOrCreateByConstraint, executeNodeCreate, executeNodeCreateBatch, executeNodeCreateNoReturnBatch, executeNodeDelete, executeNodeDeleteBatch, executeNodeFindByConstraint, executeNodeGetOrCreateByConstraint, executeNodeHardDelete, executeNodeReplacementBatch, executeNodeResolvedMutationSet, executeNodeSetUpdate, executeNodeUpdate, executeNodeUpsertUpdateBatch, graphOwesClaims, isAutocommitSingleStatementWrite, mixedWritePlan, nestedManagedWriteTarget, nodeUpsertDirtyCheck, normalizePersistedEdgeMatchProps, prepareNodeReplacement, primeBatchValidationCaches, resolveAtomicEdgeBatchExecutor, resolveAtomicEdgeConvergenceExecutor, resolveAtomicEdgeDeleteBatchExecutor, resolveAtomicEdgeResolvedMutationSetExecutor, resolveAtomicEdgeResolvedUpdateBatchExecutor, resolveEdgeMatchIdentityStorage, rowToEdge, rowToEdgeMeta, rowToNode, rowToNodeMeta, runAtomicProgramWithHooks, runAutocommitSingleStatementWritePlan, runHookedWritePlan, runResolvedMutationSetConverging, runWritePlan, unfencedTarget, unsupportedResolvedMutationSet, validityEndAfterMutation, withAlreadyExistsTranslation, writeResultAlwaysChanges };
|
|
4521
|
-
//# sourceMappingURL=chunk-
|
|
4522
|
-
//# sourceMappingURL=chunk-
|
|
4524
|
+
//# sourceMappingURL=chunk-OA4PF2QI.js.map
|
|
4525
|
+
//# sourceMappingURL=chunk-OA4PF2QI.js.map
|