doxum 0.1.4 → 0.1.6

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 +46 -5
  2. package/dist/{contract-BsY1XLiG.d.ts → contract-I99DUMbN.d.ts} +53 -40
  3. package/dist/{contract-D8kjdfqT.d.cts → contract-uYJTmT8o.d.cts} +53 -40
  4. package/dist/index.cjs +244 -630
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +3 -64
  7. package/dist/index.d.ts +3 -64
  8. package/dist/index.js +182 -569
  9. package/dist/index.js.map +1 -1
  10. package/dist/integration-Bs3pOk65.cjs +35 -0
  11. package/dist/integration-Bs3pOk65.cjs.map +1 -0
  12. package/dist/integration-xupBIKjU.js +30 -0
  13. package/dist/integration-xupBIKjU.js.map +1 -0
  14. package/dist/integration.cjs +4 -14
  15. package/dist/integration.d.cts +3 -2
  16. package/dist/integration.d.ts +3 -2
  17. package/dist/integration.js +3 -14
  18. package/dist/local-sync.cjs +1 -1
  19. package/dist/local-sync.d.cts +1 -1
  20. package/dist/local-sync.d.ts +1 -1
  21. package/dist/local-sync.js +1 -1
  22. package/dist/{ownership-CU-9DKJQ.cjs → ownership-CY0nPXGF.cjs} +4 -1
  23. package/dist/ownership-CY0nPXGF.cjs.map +1 -0
  24. package/dist/{ownership-B-VAPcce.js → ownership-CduRygE7.js} +4 -1
  25. package/dist/ownership-CduRygE7.js.map +1 -0
  26. package/dist/react.cjs +1 -1
  27. package/dist/react.js +1 -1
  28. package/dist/runtime-BJRXF0gq.js +1735 -0
  29. package/dist/runtime-BJRXF0gq.js.map +1 -0
  30. package/dist/runtime-CRijXjYp.cjs +1991 -0
  31. package/dist/runtime-CRijXjYp.cjs.map +1 -0
  32. package/dist/runtime-CUcvhFNP.d.ts +152 -0
  33. package/dist/runtime-C_vKHmhy.d.cts +152 -0
  34. package/package.json +1 -1
  35. package/skills/doxum-runtime/references/guide.en.md +35 -18
  36. package/skills/doxum-runtime/references/guide.zh-CN.md +26 -14
  37. package/skills/doxum-runtime/references/invariants.en.md +12 -9
  38. package/skills/doxum-runtime/references/invariants.zh-CN.md +2 -2
  39. package/skills/doxum-runtime/references/patterns.en.md +36 -56
  40. package/skills/doxum-runtime/references/patterns.zh-CN.md +27 -45
  41. package/dist/dependency-C5_R1tvQ.js +0 -496
  42. package/dist/dependency-C5_R1tvQ.js.map +0 -1
  43. package/dist/dependency-Dfzs3khk.cjs +0 -722
  44. package/dist/dependency-Dfzs3khk.cjs.map +0 -1
  45. package/dist/integration.cjs.map +0 -1
  46. package/dist/integration.js.map +0 -1
  47. package/dist/ownership-B-VAPcce.js.map +0 -1
  48. package/dist/ownership-CU-9DKJQ.cjs.map +0 -1
@@ -1,722 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __exportAll = (all, no_symbols) => {
4
- let target = {};
5
- for (var name in all) __defProp(target, name, {
6
- get: all[name],
7
- enumerable: true
8
- });
9
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
- return target;
11
- };
12
- //#endregion
13
- const require_ownership = require("./ownership-CU-9DKJQ.cjs");
14
- //#region core/src/schema.ts
15
- const node = (value) => Object.freeze(value);
16
- const field = () => node({ kind: "field" });
17
- const optional = (value) => node({
18
- ...value,
19
- optional: true
20
- });
21
- const object = (shape) => node({
22
- kind: "object",
23
- shape
24
- });
25
- const variant = (tag, variants) => node({
26
- kind: "variant",
27
- tag,
28
- variants
29
- });
30
- const single = (value) => node({
31
- kind: "single",
32
- value
33
- });
34
- const table = (value) => node({
35
- kind: "table",
36
- value
37
- });
38
- const map = (value) => node({
39
- kind: "map",
40
- value
41
- });
42
- const record = () => node({ kind: "record" });
43
- const dict = () => node({ kind: "dict" });
44
- const list = (config) => ({
45
- kind: "list",
46
- keyOf: config.keyOf
47
- });
48
- const tree = () => node({ kind: "tree" });
49
- const pathProxy = (address) => new Proxy({ address }, { get: (_target, property) => {
50
- if (property === "address") return address;
51
- if (property === "item") return (id) => pathProxy([...address, id]);
52
- if (typeof property === "symbol") return void 0;
53
- return pathProxy([...address, property]);
54
- } });
55
- const select = (owner, kind, pick) => {
56
- const selected = pick(pathProxy([]));
57
- return Object.freeze({
58
- kind,
59
- schema: owner,
60
- address: Object.freeze([...selected.address ?? []])
61
- });
62
- };
63
- const schema = (shape) => {
64
- const result = {
65
- kind: "schema",
66
- shape,
67
- collection: (pick) => select(result, "collection", pick),
68
- value: (pick) => select(result, "value", pick)
69
- };
70
- return Object.freeze(result);
71
- };
72
- //#endregion
73
- //#region core/src/address.ts
74
- const registries = /* @__PURE__ */ new WeakMap();
75
- const registryNode = () => ({ static: /* @__PURE__ */ new Map() });
76
- const registryFor = (schema) => {
77
- const cached = registries.get(schema);
78
- if (cached) return cached;
79
- const registry = {
80
- root: registryNode(),
81
- nextPath: 0
82
- };
83
- registries.set(schema, registry);
84
- return registry;
85
- };
86
- const hashText = (value, seed) => {
87
- let hash = seed;
88
- for (let index = 0; index < value.length; index += 1) hash = Math.imul(hash ^ value.charCodeAt(index), 16777619);
89
- return hash >>> 0;
90
- };
91
- const appendAddressHash = (hash, segment) => hashText(segment, hashText("/", hash));
92
- const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
93
- const unwrap = (node) => {
94
- let current = node;
95
- while (current?.kind === "single") current = current.value;
96
- return current;
97
- };
98
- const variantNode = (node, value) => {
99
- const tag = isRecord(value) && typeof value[node.tag] === "string" ? value[node.tag] : void 0;
100
- return node.variants[String(tag ?? Object.keys(node.variants)[0] ?? "")];
101
- };
102
- const schemaRoot$1 = (schema) => ({
103
- kind: "object",
104
- shape: schema.shape
105
- });
106
- const step = (nodeInput, value, segment) => {
107
- let node = unwrap(nodeInput);
108
- if (!node) return {
109
- node: void 0,
110
- dynamic: false
111
- };
112
- if (node.kind === "variant") node = unwrap(variantNode(node, value));
113
- if (!node) return {
114
- node: void 0,
115
- dynamic: false
116
- };
117
- if (node.kind === "object") return {
118
- node: node.shape[segment],
119
- dynamic: false
120
- };
121
- if (node.kind === "table" || node.kind === "map") return {
122
- node: node.value,
123
- dynamic: true
124
- };
125
- if (node.kind === "record" || node.kind === "dict" || node.kind === "list" || node.kind === "tree") return {
126
- node,
127
- dynamic: true
128
- };
129
- return {
130
- node: void 0,
131
- dynamic: false
132
- };
133
- };
134
- const pathFor = (schema, address, document) => {
135
- const registry = registryFor(schema);
136
- let trie = registry.root;
137
- let node = schemaRoot$1(schema);
138
- let value = document;
139
- for (const segment of address) {
140
- require_ownership.profile.address.schemaStep();
141
- require_ownership.profile.address.documentStep();
142
- const resolved = step(node, value, segment);
143
- if (!resolved.node) return void 0;
144
- trie = resolved.dynamic ? trie.dynamic ??= registryNode() : (() => {
145
- const existing = trie.static.get(segment);
146
- if (existing) return existing;
147
- const created = registryNode();
148
- trie.static.set(segment, created);
149
- return created;
150
- })();
151
- node = resolved.node;
152
- value = readSegment(value, segment);
153
- }
154
- if (trie.path === void 0) trie.path = registry.nextPath++;
155
- return trie.path;
156
- };
157
- const resolveAddress = (schema, address, document) => {
158
- if (!Array.isArray(address)) return void 0;
159
- for (const segment of address) if (typeof segment !== "string") return void 0;
160
- require_ownership.profile.address.arrayCopied();
161
- const owned = Object.freeze(address.slice());
162
- const path = pathFor(schema, owned, document);
163
- return path === void 0 ? void 0 : {
164
- path,
165
- address: owned
166
- };
167
- };
168
- const nodeAt = (schema, address, document) => {
169
- let node = schemaRoot$1(schema);
170
- let value = document;
171
- for (const segment of address) {
172
- node = step(node, value, segment).node;
173
- value = readSegment(value, segment);
174
- if (!node) return void 0;
175
- }
176
- return unwrap(node);
177
- };
178
- const readSegment = (value, segment) => {
179
- if (!isRecord(value) && !Array.isArray(value)) return void 0;
180
- if (isRecord(value) && "byId" in value && isRecord(value.byId)) {
181
- const entity = value.byId[segment];
182
- if (entity !== void 0 || Object.prototype.hasOwnProperty.call(value.byId, segment)) return entity;
183
- }
184
- return value[segment];
185
- };
186
- const read = (root, address) => {
187
- let value = root;
188
- for (const segment of address) {
189
- value = readSegment(value, segment);
190
- if (value === void 0) return void 0;
191
- }
192
- return value;
193
- };
194
- /** Resolves schema and document location in one address traversal. */
195
- const resolveLocated = (schema, root, address) => {
196
- if (address.length === 0) return void 0;
197
- let node = schemaRoot$1(schema);
198
- let current = root;
199
- let collection;
200
- let addressHash = 2166136261;
201
- for (let index = 0; index < address.length - 1; index += 1) {
202
- require_ownership.profile.address.schemaStep();
203
- require_ownership.profile.address.documentStep();
204
- const resolved = step(node, current, address[index]);
205
- if (!resolved.node) return void 0;
206
- if (node?.kind === "table" || node?.kind === "map") collection = {
207
- address: address.slice(0, index),
208
- addressHash,
209
- id: address[index],
210
- ...collection ? { parent: collection } : {}
211
- };
212
- addressHash = appendAddressHash(addressHash, address[index]);
213
- node = resolved.node;
214
- current = readSegment(current, address[index]);
215
- if (!node) return void 0;
216
- }
217
- require_ownership.profile.address.schemaStep();
218
- require_ownership.profile.address.documentStep();
219
- const last = address[address.length - 1];
220
- const resolved = step(node, current, last);
221
- if (!resolved.node || !isRecord(current) && !Array.isArray(current)) return void 0;
222
- if (node?.kind === "table" || node?.kind === "map") collection = {
223
- address: address.slice(0, -1),
224
- addressHash,
225
- id: last,
226
- ...collection ? { parent: collection } : {}
227
- };
228
- addressHash = appendAddressHash(addressHash, last);
229
- if (isRecord(current) && "byId" in current && isRecord(current.byId) && last in current.byId) return {
230
- addressHash,
231
- node: resolved.node,
232
- parent: current.byId,
233
- key: last,
234
- value: current.byId[last],
235
- ...collection ? { collection } : {}
236
- };
237
- return {
238
- addressHash,
239
- node: resolved.node,
240
- parent: current,
241
- key: Array.isArray(current) && /^\d+$/.test(last) ? Number(last) : last,
242
- value: readSegment(current, last),
243
- ...collection ? { collection } : {}
244
- };
245
- };
246
- const locate = (root, address) => {
247
- if (address.length === 0) return void 0;
248
- let current = root;
249
- for (let index = 0; index < address.length - 1; index += 1) current = readSegment(current, address[index]);
250
- if (!isRecord(current) && !Array.isArray(current)) return void 0;
251
- const last = address[address.length - 1];
252
- if (isRecord(current) && "byId" in current && isRecord(current.byId) && last in current.byId) return {
253
- parent: current.byId,
254
- key: last,
255
- value: current.byId[last]
256
- };
257
- return {
258
- parent: current,
259
- key: Array.isArray(current) && /^\d+$/.test(last) ? Number(last) : last,
260
- value: readSegment(current, last)
261
- };
262
- };
263
- const set = (root, address, value) => {
264
- const target = locate(root, address);
265
- if (!target) return false;
266
- target.parent[target.key] = value;
267
- return true;
268
- };
269
- const contains = (parent, child) => {
270
- require_ownership.profile.address.prefixComparison();
271
- if (parent.length > child.length) return false;
272
- for (let index = 0; index < parent.length; index += 1) {
273
- require_ownership.profile.address.segmentCompared();
274
- if (parent[index] !== child[index]) return false;
275
- }
276
- return true;
277
- };
278
- const overlaps = (a, b) => contains(a, b) || contains(b, a);
279
- const debugKey = (address) => {
280
- let result = "";
281
- for (let index = 0; index < address.length; index += 1) {
282
- if (index > 0) result += "/";
283
- result += address[index].replaceAll("~", "~~").replaceAll("/", "~/");
284
- }
285
- return result;
286
- };
287
- //#endregion
288
- //#region core/src/impact-target.ts
289
- var impact_target_exports = /* @__PURE__ */ __exportAll({
290
- address: () => address,
291
- belongs: () => belongs,
292
- bucket: () => bucket,
293
- id: () => id,
294
- same: () => same
295
- });
296
- const address = (target) => "at" in target ? target.at : target.address;
297
- const id = (target) => target.kind === "collection" && "id" in target ? target.id : void 0;
298
- const belongs = (target, schema) => !("schema" in target) || target.schema === schema;
299
- const same = (left, right) => {
300
- if (left.kind !== right.kind) return false;
301
- if ("schema" in left && "schema" in right && left.schema !== right.schema) return false;
302
- const leftAddress = address(left);
303
- const rightAddress = address(right);
304
- if (leftAddress.length !== rightAddress.length) return false;
305
- for (let index = 0; index < leftAddress.length; index += 1) if (leftAddress[index] !== rightAddress[index]) return false;
306
- return left.kind !== "collection" || id(left) === id(right);
307
- };
308
- const bucket = (target) => address(target)[0];
309
- //#endregion
310
- //#region core/src/access/reader.ts
311
- const schemaRoot = (schema) => object(schema.shape);
312
- const assertActive = (context) => {
313
- if (!context.active()) throw new Error("Document reader is no longer active.");
314
- };
315
- const readAt = (context, address) => {
316
- assertActive(context);
317
- require_ownership.profile.reader.lookup();
318
- return read(context.root(), address);
319
- };
320
- const collectValue = (context, address) => {
321
- context.dependencies?.record({
322
- kind: "value",
323
- at: address
324
- });
325
- };
326
- const collectCollection = (context, address, id) => {
327
- const target = {
328
- kind: "collection",
329
- at: address,
330
- ...id === void 0 ? {} : { id }
331
- };
332
- context.dependencies?.record(target);
333
- };
334
- const readerFor = (node, context, address = []) => {
335
- if (node.kind === "field") return { get: () => {
336
- collectValue(context, address);
337
- return readAt(context, address);
338
- } };
339
- if (node.kind === "dict" || node.kind === "record") return { get: () => {
340
- collectValue(context, address);
341
- require_ownership.profile.reader.structuralSnapshot();
342
- return require_ownership.cloneValue(readAt(context, address), "reader");
343
- } };
344
- if (node.kind === "list") return {
345
- values: () => {
346
- collectValue(context, address);
347
- const value = readAt(context, address);
348
- require_ownership.profile.reader.structuralSnapshot();
349
- return require_ownership.cloneValue(Array.isArray(value) ? value : [], "reader");
350
- },
351
- length: () => {
352
- collectValue(context, address);
353
- const value = readAt(context, address);
354
- return Array.isArray(value) ? value.length : 0;
355
- },
356
- at: (index) => {
357
- collectValue(context, address);
358
- const value = readAt(context, address);
359
- require_ownership.profile.reader.structuralSnapshot();
360
- return require_ownership.cloneValue(Array.isArray(value) ? value[index] : void 0, "reader");
361
- }
362
- };
363
- if (node.kind === "tree") return {
364
- rootId: () => {
365
- collectValue(context, address);
366
- const value = readAt(context, address);
367
- return require_ownership.isRecord(value) && typeof value.rootId === "string" ? value.rootId : void 0;
368
- },
369
- has: (id) => {
370
- collectValue(context, address);
371
- const value = readAt(context, address);
372
- return require_ownership.isRecord(value) && require_ownership.isRecord(value.nodes) && Object.prototype.hasOwnProperty.call(value.nodes, id);
373
- },
374
- value: (id) => {
375
- collectValue(context, address);
376
- const value = readAt(context, address);
377
- require_ownership.profile.reader.structuralSnapshot();
378
- return require_ownership.cloneValue(require_ownership.isRecord(value) && require_ownership.isRecord(value.nodes) && require_ownership.isRecord(value.nodes[id]) ? value.nodes[id].value : void 0, "reader");
379
- },
380
- parent: (id) => {
381
- collectValue(context, address);
382
- const value = readAt(context, address);
383
- const entry = require_ownership.isRecord(value) && require_ownership.isRecord(value.nodes) ? value.nodes[id] : void 0;
384
- return require_ownership.isRecord(entry) && typeof entry.parentId === "string" ? entry.parentId : void 0;
385
- },
386
- children: (id) => {
387
- collectValue(context, address);
388
- const value = readAt(context, address);
389
- const entry = require_ownership.isRecord(value) && require_ownership.isRecord(value.nodes) ? value.nodes[id] : void 0;
390
- return require_ownership.isRecord(entry) && Array.isArray(entry.children) ? [...entry.children] : [];
391
- }
392
- };
393
- if (node.kind === "table" || node.kind === "map") {
394
- let items;
395
- return {
396
- ids: () => {
397
- collectCollection(context, address);
398
- const value = readAt(context, address);
399
- const ids = node.kind === "table" && require_ownership.isRecord(value) && Array.isArray(value.ids) ? [...value.ids] : require_ownership.isRecord(value) ? Object.keys(value) : [];
400
- require_ownership.profile.reader.collectionIds(ids.length);
401
- return ids;
402
- },
403
- has: (id) => {
404
- collectCollection(context, address, id);
405
- const value = readAt(context, address);
406
- const byId = node.kind === "table" && require_ownership.isRecord(value) && require_ownership.isRecord(value.byId) ? value.byId : value;
407
- return require_ownership.isRecord(byId) && Object.prototype.hasOwnProperty.call(byId, id);
408
- },
409
- get: (id) => {
410
- collectCollection(context, address, id);
411
- const value = readAt(context, address);
412
- const byId = node.kind === "table" && require_ownership.isRecord(value) && require_ownership.isRecord(value.byId) ? value.byId : value;
413
- if (!require_ownership.isRecord(byId) || !Object.prototype.hasOwnProperty.call(byId, id)) return void 0;
414
- const cached = items?.get(id);
415
- if (cached) return cached;
416
- const reader = readerFor(node.value, context, [...address, id]);
417
- (items ??= /* @__PURE__ */ new Map()).set(id, reader);
418
- return reader;
419
- }
420
- };
421
- }
422
- if (node.kind === "single") return readerFor(node.value, context, address);
423
- if (node.kind === "variant") return new Proxy({}, { get: (_target, property) => {
424
- if (typeof property === "symbol") return void 0;
425
- const value = readAt(context, address);
426
- const tag = require_ownership.isRecord(value) && typeof value[node.tag] === "string" ? String(value[node.tag]) : void 0;
427
- const child = (tag ? node.variants[tag] : void 0)?.shape[property];
428
- return child ? readerFor(child, context, [...address, property]) : void 0;
429
- } });
430
- let children;
431
- return new Proxy({}, { get: (_target, property) => {
432
- if (typeof property === "symbol") return void 0;
433
- const child = node.shape[property];
434
- if (!child) return void 0;
435
- const cached = children?.get(property);
436
- if (cached) return cached;
437
- const reader = readerFor(child, context, [...address, property]);
438
- (children ??= /* @__PURE__ */ new Map()).set(property, reader);
439
- return reader;
440
- } });
441
- };
442
- const documentReader = (schema, root, active, dependencies) => {
443
- require_ownership.profile.reader.session();
444
- return readerFor(schemaRoot(schema), {
445
- root,
446
- active,
447
- dependencies
448
- });
449
- };
450
- //#endregion
451
- //#region core/src/runtime/contract.ts
452
- var DocumentReentrancyError = class extends Error {
453
- constructor() {
454
- super("Document writes cannot be re-entered during an update or notification.");
455
- this.name = "DocumentReentrancyError";
456
- }
457
- };
458
- var DocumentDisposedError = class extends Error {
459
- constructor() {
460
- super("Doxum runtime has been disposed.");
461
- this.name = "DocumentDisposedError";
462
- }
463
- };
464
- //#endregion
465
- //#region core/src/runtime/access.ts
466
- const states = /* @__PURE__ */ new WeakMap();
467
- const bindRuntimeAccess = (runtime, state) => {
468
- states.set(runtime, state);
469
- };
470
- const accessOf = (runtime) => {
471
- const state = states.get(runtime);
472
- if (!state) throw new Error("Unknown Doxum runtime.");
473
- return state;
474
- };
475
- const schemaOf = (runtime) => accessOf(runtime).schema;
476
- const documentOf = (runtime) => accessOf(runtime).document;
477
- const readWith = (runtime, run, dependencies) => {
478
- const state = accessOf(runtime);
479
- if (state.disposed) throw new DocumentDisposedError();
480
- let active = true;
481
- const reader = documentReader(state.schema, () => state.document, () => active, dependencies);
482
- try {
483
- return run(reader);
484
- } finally {
485
- active = false;
486
- }
487
- };
488
- //#endregion
489
- //#region core/src/access/dependency.ts
490
- const createDependencyTracker = () => {
491
- const targets = [];
492
- return {
493
- record: (value) => {
494
- if (!targets.some((entry) => same(entry, value))) targets.push(value);
495
- },
496
- clear: () => {
497
- targets.length = 0;
498
- },
499
- size: () => targets.length,
500
- some: (test) => targets.some(test),
501
- snapshot: () => Object.freeze(targets.slice())
502
- };
503
- };
504
- //#endregion
505
- Object.defineProperty(exports, "DocumentDisposedError", {
506
- enumerable: true,
507
- get: function() {
508
- return DocumentDisposedError;
509
- }
510
- });
511
- Object.defineProperty(exports, "DocumentReentrancyError", {
512
- enumerable: true,
513
- get: function() {
514
- return DocumentReentrancyError;
515
- }
516
- });
517
- Object.defineProperty(exports, "accessOf", {
518
- enumerable: true,
519
- get: function() {
520
- return accessOf;
521
- }
522
- });
523
- Object.defineProperty(exports, "address", {
524
- enumerable: true,
525
- get: function() {
526
- return address;
527
- }
528
- });
529
- Object.defineProperty(exports, "belongs", {
530
- enumerable: true,
531
- get: function() {
532
- return belongs;
533
- }
534
- });
535
- Object.defineProperty(exports, "bindRuntimeAccess", {
536
- enumerable: true,
537
- get: function() {
538
- return bindRuntimeAccess;
539
- }
540
- });
541
- Object.defineProperty(exports, "bucket", {
542
- enumerable: true,
543
- get: function() {
544
- return bucket;
545
- }
546
- });
547
- Object.defineProperty(exports, "contains", {
548
- enumerable: true,
549
- get: function() {
550
- return contains;
551
- }
552
- });
553
- Object.defineProperty(exports, "createDependencyTracker", {
554
- enumerable: true,
555
- get: function() {
556
- return createDependencyTracker;
557
- }
558
- });
559
- Object.defineProperty(exports, "debugKey", {
560
- enumerable: true,
561
- get: function() {
562
- return debugKey;
563
- }
564
- });
565
- Object.defineProperty(exports, "dict", {
566
- enumerable: true,
567
- get: function() {
568
- return dict;
569
- }
570
- });
571
- Object.defineProperty(exports, "documentOf", {
572
- enumerable: true,
573
- get: function() {
574
- return documentOf;
575
- }
576
- });
577
- Object.defineProperty(exports, "documentReader", {
578
- enumerable: true,
579
- get: function() {
580
- return documentReader;
581
- }
582
- });
583
- Object.defineProperty(exports, "field", {
584
- enumerable: true,
585
- get: function() {
586
- return field;
587
- }
588
- });
589
- Object.defineProperty(exports, "id", {
590
- enumerable: true,
591
- get: function() {
592
- return id;
593
- }
594
- });
595
- Object.defineProperty(exports, "impact_target_exports", {
596
- enumerable: true,
597
- get: function() {
598
- return impact_target_exports;
599
- }
600
- });
601
- Object.defineProperty(exports, "list", {
602
- enumerable: true,
603
- get: function() {
604
- return list;
605
- }
606
- });
607
- Object.defineProperty(exports, "locate", {
608
- enumerable: true,
609
- get: function() {
610
- return locate;
611
- }
612
- });
613
- Object.defineProperty(exports, "map", {
614
- enumerable: true,
615
- get: function() {
616
- return map;
617
- }
618
- });
619
- Object.defineProperty(exports, "nodeAt", {
620
- enumerable: true,
621
- get: function() {
622
- return nodeAt;
623
- }
624
- });
625
- Object.defineProperty(exports, "object", {
626
- enumerable: true,
627
- get: function() {
628
- return object;
629
- }
630
- });
631
- Object.defineProperty(exports, "optional", {
632
- enumerable: true,
633
- get: function() {
634
- return optional;
635
- }
636
- });
637
- Object.defineProperty(exports, "overlaps", {
638
- enumerable: true,
639
- get: function() {
640
- return overlaps;
641
- }
642
- });
643
- Object.defineProperty(exports, "read", {
644
- enumerable: true,
645
- get: function() {
646
- return read;
647
- }
648
- });
649
- Object.defineProperty(exports, "readWith", {
650
- enumerable: true,
651
- get: function() {
652
- return readWith;
653
- }
654
- });
655
- Object.defineProperty(exports, "readerFor", {
656
- enumerable: true,
657
- get: function() {
658
- return readerFor;
659
- }
660
- });
661
- Object.defineProperty(exports, "record", {
662
- enumerable: true,
663
- get: function() {
664
- return record;
665
- }
666
- });
667
- Object.defineProperty(exports, "resolveAddress", {
668
- enumerable: true,
669
- get: function() {
670
- return resolveAddress;
671
- }
672
- });
673
- Object.defineProperty(exports, "resolveLocated", {
674
- enumerable: true,
675
- get: function() {
676
- return resolveLocated;
677
- }
678
- });
679
- Object.defineProperty(exports, "schema", {
680
- enumerable: true,
681
- get: function() {
682
- return schema;
683
- }
684
- });
685
- Object.defineProperty(exports, "schemaOf", {
686
- enumerable: true,
687
- get: function() {
688
- return schemaOf;
689
- }
690
- });
691
- Object.defineProperty(exports, "set", {
692
- enumerable: true,
693
- get: function() {
694
- return set;
695
- }
696
- });
697
- Object.defineProperty(exports, "single", {
698
- enumerable: true,
699
- get: function() {
700
- return single;
701
- }
702
- });
703
- Object.defineProperty(exports, "table", {
704
- enumerable: true,
705
- get: function() {
706
- return table;
707
- }
708
- });
709
- Object.defineProperty(exports, "tree", {
710
- enumerable: true,
711
- get: function() {
712
- return tree;
713
- }
714
- });
715
- Object.defineProperty(exports, "variant", {
716
- enumerable: true,
717
- get: function() {
718
- return variant;
719
- }
720
- });
721
-
722
- //# sourceMappingURL=dependency-Dfzs3khk.cjs.map