doxum 0.1.2 → 0.1.3

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 (48) hide show
  1. package/README.md +59 -27
  2. package/dist/{contract-DGkZcTiP.d.cts → contract-BsY1XLiG.d.ts} +2 -1
  3. package/dist/{contract-Dh3az8aN.d.ts → contract-D8kjdfqT.d.cts} +2 -1
  4. package/dist/{access-5D4KKFm7.js → dependency-C5_R1tvQ.js} +40 -262
  5. package/dist/dependency-C5_R1tvQ.js.map +1 -0
  6. package/dist/{access-z56fVqZ2.cjs → dependency-Dfzs3khk.cjs} +62 -344
  7. package/dist/dependency-Dfzs3khk.cjs.map +1 -0
  8. package/dist/driver-CNxqMVFH.cjs +69 -0
  9. package/dist/driver-CNxqMVFH.cjs.map +1 -0
  10. package/dist/driver-CbzfW5MR.js +46 -0
  11. package/dist/driver-CbzfW5MR.js.map +1 -0
  12. package/dist/index.cjs +2636 -46
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +2594 -4
  17. package/dist/index.js.map +1 -1
  18. package/dist/integration.cjs +2 -3
  19. package/dist/integration.cjs.map +1 -1
  20. package/dist/integration.d.cts +1 -1
  21. package/dist/integration.d.ts +1 -1
  22. package/dist/integration.js +1 -2
  23. package/dist/integration.js.map +1 -1
  24. package/dist/local-sync.cjs +154 -329
  25. package/dist/local-sync.cjs.map +1 -1
  26. package/dist/local-sync.d.cts +17 -22
  27. package/dist/local-sync.d.ts +17 -22
  28. package/dist/local-sync.js +149 -326
  29. package/dist/local-sync.js.map +1 -1
  30. package/dist/ownership-B-VAPcce.js +242 -0
  31. package/dist/ownership-B-VAPcce.js.map +1 -0
  32. package/dist/ownership-CU-9DKJQ.cjs +301 -0
  33. package/dist/ownership-CU-9DKJQ.cjs.map +1 -0
  34. package/package.json +1 -1
  35. package/skills/doxum-runtime/references/guide.en.md +52 -1
  36. package/skills/doxum-runtime/references/guide.zh-CN.md +46 -1
  37. package/skills/doxum-runtime/references/invariants.en.md +14 -4
  38. package/skills/doxum-runtime/references/invariants.zh-CN.md +1 -1
  39. package/dist/access-5D4KKFm7.js.map +0 -1
  40. package/dist/access-z56fVqZ2.cjs.map +0 -1
  41. package/dist/dependency-BRn1TRDi.js +0 -20
  42. package/dist/dependency-BRn1TRDi.js.map +0 -1
  43. package/dist/dependency-DmQXyj7q.cjs +0 -25
  44. package/dist/dependency-DmQXyj7q.cjs.map +0 -1
  45. package/dist/readable-B8E3FMq6.cjs +0 -2614
  46. package/dist/readable-B8E3FMq6.cjs.map +0 -1
  47. package/dist/readable-CIj02gIj.js +0 -2579
  48. package/dist/readable-CIj02gIj.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as DocumentOperationUnion, $t as variant, A as MutationIssue, At as ObjectNode, B as WriterOfNode, Bt as VariantNode, C as contains, Ct as DocumentTreeValue, D as resolveAddress, Dt as ImpactTarget, E as read, Et as FieldNode, F as EntityWriter, Ft as SchemaPath, G as ListReader, Gt as map, H as DocumentReader, Ht as dict, I as FieldWriter, It as SingleNode, J as DictDeleteOperation, Jt as record, K as ReaderOfNode, Kt as object, L as ListWriter, Lt as TableNode, M as CollectionWriter, Mt as OptionalNode, N as DictionaryWriter, Nt as ReadonlyDocument, O as CollectionImpact, Ot as ListNode, P as DocumentWriter, Pt as RecordNode, Q as DocumentOperation, Qt as tree, R as MapWriter, Rt as TreeNode, S as AddressRef, St as DocumentTreeNode, T as overlaps, Tt as DocumentValueOfShape, U as EntityReader, Ut as field, V as CollectionReader, Vt as VariantShape, W as FieldReader, Wt as list, X as DictSetOperation, Xt as single, Y as DictReplaceOperation, Yt as schema, Z as DocumentAnchor, Zt as table, _ as CommandFootprint, _t as DictNode, a as DocumentProblem, at as FieldSetOperation, b as decodeCommandFootprint, bt as DocumentNode, c as DocumentRuntime, ct as ListRemoveOperation, d as LocalHistory, dt as TreeMoveOperation, et as EntityCreateOperation, f as ObserverError, ft as TreeRemoveOperation, g as Unsubscribe, gt as CollectionSelector, h as TransactionResult, ht as VariantReplaceOperation, i as DocumentDisposedError, it as FieldClearOperation, j as MutationIssueCode, jt as ObjectShape, k as DocumentImpact, kt as MapNode, l as DocumentTransaction, lt as ListReplaceOperation, m as PreparedUpdateResult, mt as TreeSetOperation, n as DocumentCommit, nt as EntityMoveOperation, o as DocumentReadable, ot as ListInsertOperation, p as OperationResult, pt as TreeReplaceOperation, q as TreeReader, qt as optional, r as DocumentDiagnostic, rt as EntityRemoveOperation, s as DocumentReentrancyError, st as ListMoveOperation, t as CommitSource, tt as EntityEntry, u as HistoryState, ut as TreeInsertOperation, v as CommandFootprintTarget, vt as DocumentAddress, w as debugKey, wt as DocumentValueOfNode, x as footprintsOverlap, xt as DocumentSchema, y as commandFootprint, yt as DocumentListConfig, z as TreeWriter, zt as ValueSelector } from "./contract-DGkZcTiP.cjs";
1
+ import { $ as DocumentOperationUnion, $t as variant, A as MutationIssue, At as ObjectNode, B as WriterOfNode, Bt as VariantNode, C as contains, Ct as DocumentTreeValue, D as resolveAddress, Dt as ImpactTarget, E as read, Et as FieldNode, F as EntityWriter, Ft as SchemaPath, G as ListReader, Gt as map, H as DocumentReader, Ht as dict, I as FieldWriter, It as SingleNode, J as DictDeleteOperation, Jt as record, K as ReaderOfNode, Kt as object, L as ListWriter, Lt as TableNode, M as CollectionWriter, Mt as OptionalNode, N as DictionaryWriter, Nt as ReadonlyDocument, O as CollectionImpact, Ot as ListNode, P as DocumentWriter, Pt as RecordNode, Q as DocumentOperation, Qt as tree, R as MapWriter, Rt as TreeNode, S as AddressRef, St as DocumentTreeNode, T as overlaps, Tt as DocumentValueOfShape, U as EntityReader, Ut as field, V as CollectionReader, Vt as VariantShape, W as FieldReader, Wt as list, X as DictSetOperation, Xt as single, Y as DictReplaceOperation, Yt as schema, Z as DocumentAnchor, Zt as table, _ as CommandFootprint, _t as DictNode, a as DocumentProblem, at as FieldSetOperation, b as decodeCommandFootprint, bt as DocumentNode, c as DocumentRuntime, ct as ListRemoveOperation, d as LocalHistory, dt as TreeMoveOperation, et as EntityCreateOperation, f as ObserverError, ft as TreeRemoveOperation, g as Unsubscribe, gt as CollectionSelector, h as TransactionResult, ht as VariantReplaceOperation, i as DocumentDisposedError, it as FieldClearOperation, j as MutationIssueCode, jt as ObjectShape, k as DocumentImpact, kt as MapNode, l as DocumentTransaction, lt as ListReplaceOperation, m as PreparedUpdateResult, mt as TreeSetOperation, n as DocumentCommit, nt as EntityMoveOperation, o as DocumentReadable, ot as ListInsertOperation, p as OperationResult, pt as TreeReplaceOperation, q as TreeReader, qt as optional, r as DocumentDiagnostic, rt as EntityRemoveOperation, s as DocumentReentrancyError, st as ListMoveOperation, t as CommitSource, tt as EntityEntry, u as HistoryState, ut as TreeInsertOperation, v as CommandFootprintTarget, vt as DocumentAddress, w as debugKey, wt as DocumentValueOfNode, x as footprintsOverlap, xt as DocumentSchema, y as commandFootprint, yt as DocumentListConfig, z as TreeWriter, zt as ValueSelector } from "./contract-D8kjdfqT.cjs";
2
2
 
3
3
  //#region \0rolldown/runtime.js
4
4
  //#endregion
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as DocumentOperationUnion, $t as variant, A as MutationIssue, At as ObjectNode, B as WriterOfNode, Bt as VariantNode, C as contains, Ct as DocumentTreeValue, D as resolveAddress, Dt as ImpactTarget, E as read, Et as FieldNode, F as EntityWriter, Ft as SchemaPath, G as ListReader, Gt as map, H as DocumentReader, Ht as dict, I as FieldWriter, It as SingleNode, J as DictDeleteOperation, Jt as record, K as ReaderOfNode, Kt as object, L as ListWriter, Lt as TableNode, M as CollectionWriter, Mt as OptionalNode, N as DictionaryWriter, Nt as ReadonlyDocument, O as CollectionImpact, Ot as ListNode, P as DocumentWriter, Pt as RecordNode, Q as DocumentOperation, Qt as tree, R as MapWriter, Rt as TreeNode, S as AddressRef, St as DocumentTreeNode, T as overlaps, Tt as DocumentValueOfShape, U as EntityReader, Ut as field, V as CollectionReader, Vt as VariantShape, W as FieldReader, Wt as list, X as DictSetOperation, Xt as single, Y as DictReplaceOperation, Yt as schema, Z as DocumentAnchor, Zt as table, _ as CommandFootprint, _t as DictNode, a as DocumentProblem, at as FieldSetOperation, b as decodeCommandFootprint, bt as DocumentNode, c as DocumentRuntime, ct as ListRemoveOperation, d as LocalHistory, dt as TreeMoveOperation, et as EntityCreateOperation, f as ObserverError, ft as TreeRemoveOperation, g as Unsubscribe, gt as CollectionSelector, h as TransactionResult, ht as VariantReplaceOperation, i as DocumentDisposedError, it as FieldClearOperation, j as MutationIssueCode, jt as ObjectShape, k as DocumentImpact, kt as MapNode, l as DocumentTransaction, lt as ListReplaceOperation, m as PreparedUpdateResult, mt as TreeSetOperation, n as DocumentCommit, nt as EntityMoveOperation, o as DocumentReadable, ot as ListInsertOperation, p as OperationResult, pt as TreeReplaceOperation, q as TreeReader, qt as optional, r as DocumentDiagnostic, rt as EntityRemoveOperation, s as DocumentReentrancyError, st as ListMoveOperation, t as CommitSource, tt as EntityEntry, u as HistoryState, ut as TreeInsertOperation, v as CommandFootprintTarget, vt as DocumentAddress, w as debugKey, wt as DocumentValueOfNode, x as footprintsOverlap, xt as DocumentSchema, y as commandFootprint, yt as DocumentListConfig, z as TreeWriter, zt as ValueSelector } from "./contract-Dh3az8aN.js";
1
+ import { $ as DocumentOperationUnion, $t as variant, A as MutationIssue, At as ObjectNode, B as WriterOfNode, Bt as VariantNode, C as contains, Ct as DocumentTreeValue, D as resolveAddress, Dt as ImpactTarget, E as read, Et as FieldNode, F as EntityWriter, Ft as SchemaPath, G as ListReader, Gt as map, H as DocumentReader, Ht as dict, I as FieldWriter, It as SingleNode, J as DictDeleteOperation, Jt as record, K as ReaderOfNode, Kt as object, L as ListWriter, Lt as TableNode, M as CollectionWriter, Mt as OptionalNode, N as DictionaryWriter, Nt as ReadonlyDocument, O as CollectionImpact, Ot as ListNode, P as DocumentWriter, Pt as RecordNode, Q as DocumentOperation, Qt as tree, R as MapWriter, Rt as TreeNode, S as AddressRef, St as DocumentTreeNode, T as overlaps, Tt as DocumentValueOfShape, U as EntityReader, Ut as field, V as CollectionReader, Vt as VariantShape, W as FieldReader, Wt as list, X as DictSetOperation, Xt as single, Y as DictReplaceOperation, Yt as schema, Z as DocumentAnchor, Zt as table, _ as CommandFootprint, _t as DictNode, a as DocumentProblem, at as FieldSetOperation, b as decodeCommandFootprint, bt as DocumentNode, c as DocumentRuntime, ct as ListRemoveOperation, d as LocalHistory, dt as TreeMoveOperation, et as EntityCreateOperation, f as ObserverError, ft as TreeRemoveOperation, g as Unsubscribe, gt as CollectionSelector, h as TransactionResult, ht as VariantReplaceOperation, i as DocumentDisposedError, it as FieldClearOperation, j as MutationIssueCode, jt as ObjectShape, k as DocumentImpact, kt as MapNode, l as DocumentTransaction, lt as ListReplaceOperation, m as PreparedUpdateResult, mt as TreeSetOperation, n as DocumentCommit, nt as EntityMoveOperation, o as DocumentReadable, ot as ListInsertOperation, p as OperationResult, pt as TreeReplaceOperation, q as TreeReader, qt as optional, r as DocumentDiagnostic, rt as EntityRemoveOperation, s as DocumentReentrancyError, st as ListMoveOperation, t as CommitSource, tt as EntityEntry, u as HistoryState, ut as TreeInsertOperation, v as CommandFootprintTarget, vt as DocumentAddress, w as debugKey, wt as DocumentValueOfNode, x as footprintsOverlap, xt as DocumentSchema, y as commandFootprint, yt as DocumentListConfig, z as TreeWriter, zt as ValueSelector } from "./contract-BsY1XLiG.js";
2
2
 
3
3
  //#region core/src/runtime.d.ts
4
4
  declare const createDocument: <TSchema extends DocumentSchema>(input: {