@superbee/core 0.2.0-pre.5 → 0.2.0-pre.50
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/README.md +1344 -0
- package/dist/artifact-contract.d.ts +90 -0
- package/dist/artifact-contract.d.ts.map +1 -0
- package/dist/artifact-contract.js +205 -0
- package/dist/artifact-contract.js.map +1 -0
- package/dist/backend.d.ts +41 -2
- package/dist/backend.d.ts.map +1 -1
- package/dist/backend.js +281 -22
- package/dist/backend.js.map +1 -1
- package/dist/blob-contract.d.ts +82 -0
- package/dist/blob-contract.d.ts.map +1 -0
- package/dist/blob-contract.js +134 -0
- package/dist/blob-contract.js.map +1 -0
- package/dist/blob-journal.d.ts +303 -0
- package/dist/blob-journal.d.ts.map +1 -0
- package/dist/blob-journal.js +541 -0
- package/dist/blob-journal.js.map +1 -0
- package/dist/body-pages.d.ts +20 -0
- package/dist/body-pages.d.ts.map +1 -0
- package/dist/body-pages.js +56 -0
- package/dist/body-pages.js.map +1 -0
- package/dist/body-replace-guards.d.ts +78 -0
- package/dist/body-replace-guards.d.ts.map +1 -0
- package/dist/body-replace-guards.js +269 -0
- package/dist/body-replace-guards.js.map +1 -0
- package/dist/bounded-yaml.d.ts +28 -0
- package/dist/bounded-yaml.d.ts.map +1 -0
- package/dist/bounded-yaml.js +182 -0
- package/dist/bounded-yaml.js.map +1 -0
- package/dist/builtin-recipes/content.d.ts +93 -0
- package/dist/builtin-recipes/content.d.ts.map +1 -0
- package/dist/builtin-recipes/content.js +288 -0
- package/dist/builtin-recipes/content.js.map +1 -0
- package/dist/builtin-recipes/site.d.ts +5 -0
- package/dist/builtin-recipes/site.d.ts.map +1 -0
- package/dist/builtin-recipes/site.js +83 -0
- package/dist/builtin-recipes/site.js.map +1 -0
- package/dist/builtin-recipes.d.ts +13 -0
- package/dist/builtin-recipes.d.ts.map +1 -0
- package/dist/builtin-recipes.js +123 -0
- package/dist/builtin-recipes.js.map +1 -0
- package/dist/bundle-health/index.d.ts +14 -0
- package/dist/bundle-health/index.d.ts.map +1 -0
- package/dist/bundle-health/index.js +12 -0
- package/dist/bundle-health/index.js.map +1 -0
- package/dist/bundle-health/kind-findings.d.ts +44 -0
- package/dist/bundle-health/kind-findings.d.ts.map +1 -0
- package/dist/bundle-health/kind-findings.js +67 -0
- package/dist/bundle-health/kind-findings.js.map +1 -0
- package/dist/bundle-health/legacy-page.d.ts +21 -0
- package/dist/bundle-health/legacy-page.d.ts.map +1 -0
- package/dist/bundle-health/legacy-page.js +25 -0
- package/dist/bundle-health/legacy-page.js.map +1 -0
- package/dist/bundle-health/report.d.ts +191 -0
- package/dist/bundle-health/report.d.ts.map +1 -0
- package/dist/bundle-health/report.js +424 -0
- package/dist/bundle-health/report.js.map +1 -0
- package/dist/bundle-ops.d.ts +9 -3
- package/dist/bundle-ops.d.ts.map +1 -1
- package/dist/bundle-ops.js +13 -6
- package/dist/bundle-ops.js.map +1 -1
- package/dist/bundle.d.ts +2 -4
- package/dist/bundle.d.ts.map +1 -1
- package/dist/bundle.js +3 -12
- package/dist/bundle.js.map +1 -1
- package/dist/code-point-order.d.ts +8 -0
- package/dist/code-point-order.d.ts.map +1 -0
- package/dist/code-point-order.js +20 -0
- package/dist/code-point-order.js.map +1 -0
- package/dist/code-unit-order.d.ts +15 -0
- package/dist/code-unit-order.d.ts.map +1 -0
- package/dist/code-unit-order.js +17 -0
- package/dist/code-unit-order.js.map +1 -0
- package/dist/connector-request.d.ts +112 -0
- package/dist/connector-request.d.ts.map +1 -0
- package/dist/connector-request.js +495 -0
- package/dist/connector-request.js.map +1 -0
- package/dist/connectors.d.ts +297 -0
- package/dist/connectors.d.ts.map +1 -0
- package/dist/connectors.js +1233 -0
- package/dist/connectors.js.map +1 -0
- package/dist/convention-record.d.ts +9 -0
- package/dist/convention-record.d.ts.map +1 -0
- package/dist/convention-record.js +13 -0
- package/dist/convention-record.js.map +1 -0
- package/dist/cross-bundle.d.ts +135 -0
- package/dist/cross-bundle.d.ts.map +1 -0
- package/dist/cross-bundle.js +191 -0
- package/dist/cross-bundle.js.map +1 -0
- package/dist/dependencies.d.ts +94 -0
- package/dist/dependencies.d.ts.map +1 -0
- package/dist/dependencies.js +180 -0
- package/dist/dependencies.js.map +1 -0
- package/dist/document-codec.d.ts +9 -2
- package/dist/document-codec.d.ts.map +1 -1
- package/dist/document-codec.js +10 -5
- package/dist/document-codec.js.map +1 -1
- package/dist/document-field-actions.d.ts +31 -1
- package/dist/document-field-actions.d.ts.map +1 -1
- package/dist/document-field-actions.js +137 -34
- package/dist/document-field-actions.js.map +1 -1
- package/dist/document-mutation.d.ts +37 -13
- package/dist/document-mutation.d.ts.map +1 -1
- package/dist/document-mutation.js +161 -62
- package/dist/document-mutation.js.map +1 -1
- package/dist/document-scan.d.ts +26 -0
- package/dist/document-scan.d.ts.map +1 -0
- package/dist/document-scan.js +70 -0
- package/dist/document-scan.js.map +1 -0
- package/dist/document-transfer.d.ts +312 -0
- package/dist/document-transfer.d.ts.map +1 -0
- package/dist/document-transfer.js +1414 -0
- package/dist/document-transfer.js.map +1 -0
- package/dist/document-write-policy.d.ts.map +1 -1
- package/dist/document-write-policy.js +4 -2
- package/dist/document-write-policy.js.map +1 -1
- package/dist/domain-model.d.ts +73 -0
- package/dist/domain-model.d.ts.map +1 -0
- package/dist/domain-model.js +169 -0
- package/dist/domain-model.js.map +1 -0
- package/dist/engine.d.ts +20 -19
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +85 -44
- package/dist/engine.js.map +1 -1
- package/dist/errors.d.ts +37 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +75 -3
- package/dist/errors.js.map +1 -1
- package/dist/file-journaled-backend-internal.d.ts +21 -0
- package/dist/file-journaled-backend-internal.d.ts.map +1 -0
- package/dist/file-journaled-backend-internal.js +12 -0
- package/dist/file-journaled-backend-internal.js.map +1 -0
- package/dist/file-journaled-backend.d.ts +160 -0
- package/dist/file-journaled-backend.d.ts.map +1 -0
- package/dist/file-journaled-backend.js +1345 -0
- package/dist/file-journaled-backend.js.map +1 -0
- package/dist/filesystem-identity.d.ts +106 -17
- package/dist/filesystem-identity.d.ts.map +1 -1
- package/dist/filesystem-identity.js +513 -51
- package/dist/filesystem-identity.js.map +1 -1
- package/dist/filesystem-lock.d.ts +16 -2
- package/dist/filesystem-lock.d.ts.map +1 -1
- package/dist/filesystem-lock.js +402 -27
- package/dist/filesystem-lock.js.map +1 -1
- package/dist/filesystem-push-role.d.ts +77 -0
- package/dist/filesystem-push-role.d.ts.map +1 -0
- package/dist/filesystem-push-role.js +165 -0
- package/dist/filesystem-push-role.js.map +1 -0
- package/dist/filesystem-temp-name.d.ts +9 -0
- package/dist/filesystem-temp-name.d.ts.map +1 -0
- package/dist/filesystem-temp-name.js +20 -0
- package/dist/filesystem-temp-name.js.map +1 -0
- package/dist/filesystem.d.ts +6 -0
- package/dist/filesystem.d.ts.map +1 -1
- package/dist/filesystem.js +2 -1
- package/dist/filesystem.js.map +1 -1
- package/dist/frontmatter-contract.d.ts +14 -0
- package/dist/frontmatter-contract.d.ts.map +1 -1
- package/dist/frontmatter-contract.js +22 -0
- package/dist/frontmatter-contract.js.map +1 -1
- package/dist/frontmatter-splitter.d.ts +6 -0
- package/dist/frontmatter-splitter.d.ts.map +1 -1
- package/dist/frontmatter-splitter.js +8 -0
- package/dist/frontmatter-splitter.js.map +1 -1
- package/dist/frontmatter.d.ts +16 -7
- package/dist/frontmatter.d.ts.map +1 -1
- package/dist/frontmatter.js +48 -11
- package/dist/frontmatter.js.map +1 -1
- package/dist/governed-body-write.d.ts +8 -1
- package/dist/governed-body-write.d.ts.map +1 -1
- package/dist/governed-body-write.js +22 -8
- package/dist/governed-body-write.js.map +1 -1
- package/dist/heads-digest.d.ts.map +1 -1
- package/dist/heads-digest.js +2 -1
- package/dist/heads-digest.js.map +1 -1
- package/dist/host-text.d.ts +31 -0
- package/dist/host-text.d.ts.map +1 -0
- package/dist/host-text.js +77 -0
- package/dist/host-text.js.map +1 -0
- package/dist/hosted-client/binding.d.ts +7 -0
- package/dist/hosted-client/binding.d.ts.map +1 -0
- package/dist/hosted-client/binding.js +10 -0
- package/dist/hosted-client/binding.js.map +1 -0
- package/dist/hosted-client/blob-delivery.d.ts +68 -0
- package/dist/hosted-client/blob-delivery.d.ts.map +1 -0
- package/dist/hosted-client/blob-delivery.js +170 -0
- package/dist/hosted-client/blob-delivery.js.map +1 -0
- package/dist/hosted-client/blob-write.d.ts +387 -0
- package/dist/hosted-client/blob-write.d.ts.map +1 -0
- package/dist/hosted-client/blob-write.js +770 -0
- package/dist/hosted-client/blob-write.js.map +1 -0
- package/dist/hosted-client/bundle-listing.d.ts +46 -0
- package/dist/hosted-client/bundle-listing.d.ts.map +1 -0
- package/dist/hosted-client/bundle-listing.js +36 -0
- package/dist/hosted-client/bundle-listing.js.map +1 -0
- package/dist/hosted-client/client.d.ts +249 -0
- package/dist/hosted-client/client.d.ts.map +1 -0
- package/dist/hosted-client/client.js +381 -0
- package/dist/hosted-client/client.js.map +1 -0
- package/dist/hosted-client/directory.d.ts +46 -0
- package/dist/hosted-client/directory.d.ts.map +1 -0
- package/dist/hosted-client/directory.js +74 -0
- package/dist/hosted-client/directory.js.map +1 -0
- package/dist/hosted-client/errors.d.ts +26 -0
- package/dist/hosted-client/errors.d.ts.map +1 -0
- package/dist/hosted-client/errors.js +35 -0
- package/dist/hosted-client/errors.js.map +1 -0
- package/dist/hosted-client/inbox.d.ts +320 -0
- package/dist/hosted-client/inbox.d.ts.map +1 -0
- package/dist/hosted-client/inbox.js +379 -0
- package/dist/hosted-client/inbox.js.map +1 -0
- package/dist/hosted-client/index.d.ts +31 -0
- package/dist/hosted-client/index.d.ts.map +1 -0
- package/dist/hosted-client/index.js +33 -0
- package/dist/hosted-client/index.js.map +1 -0
- package/dist/hosted-client/journal.d.ts +103 -0
- package/dist/hosted-client/journal.d.ts.map +1 -0
- package/dist/hosted-client/journal.js +464 -0
- package/dist/hosted-client/journal.js.map +1 -0
- package/dist/hosted-client/node.d.ts +74 -0
- package/dist/hosted-client/node.d.ts.map +1 -0
- package/dist/hosted-client/node.js +219 -0
- package/dist/hosted-client/node.js.map +1 -0
- package/dist/hosted-client/reference.d.ts +12 -0
- package/dist/hosted-client/reference.d.ts.map +1 -0
- package/dist/hosted-client/reference.js +29 -0
- package/dist/hosted-client/reference.js.map +1 -0
- package/dist/hosted-client/view-content.d.ts +184 -0
- package/dist/hosted-client/view-content.d.ts.map +1 -0
- package/dist/hosted-client/view-content.js +268 -0
- package/dist/hosted-client/view-content.js.map +1 -0
- package/dist/hosted-client/write.d.ts +219 -0
- package/dist/hosted-client/write.d.ts.map +1 -0
- package/dist/hosted-client/write.js +419 -0
- package/dist/hosted-client/write.js.map +1 -0
- package/dist/hosted-transport/answer-rows.d.ts +341 -0
- package/dist/hosted-transport/answer-rows.d.ts.map +1 -0
- package/dist/hosted-transport/answer-rows.js +594 -0
- package/dist/hosted-transport/answer-rows.js.map +1 -0
- package/dist/hosted-transport/blob-reads.d.ts +35 -0
- package/dist/hosted-transport/blob-reads.d.ts.map +1 -0
- package/dist/hosted-transport/blob-reads.js +179 -0
- package/dist/hosted-transport/blob-reads.js.map +1 -0
- package/dist/hosted-transport/blob-write.d.ts +34 -0
- package/dist/hosted-transport/blob-write.d.ts.map +1 -0
- package/dist/hosted-transport/blob-write.js +115 -0
- package/dist/hosted-transport/blob-write.js.map +1 -0
- package/dist/hosted-transport/carrier.d.ts +153 -0
- package/dist/hosted-transport/carrier.d.ts.map +1 -0
- package/dist/hosted-transport/carrier.js +273 -0
- package/dist/hosted-transport/carrier.js.map +1 -0
- package/dist/hosted-transport/document-backend.d.ts +74 -0
- package/dist/hosted-transport/document-backend.d.ts.map +1 -0
- package/dist/hosted-transport/document-backend.js +160 -0
- package/dist/hosted-transport/document-backend.js.map +1 -0
- package/dist/hosted-transport/history-pages.d.ts +55 -0
- package/dist/hosted-transport/history-pages.d.ts.map +1 -0
- package/dist/hosted-transport/history-pages.js +69 -0
- package/dist/hosted-transport/history-pages.js.map +1 -0
- package/dist/hosted-transport/index.d.ts +20 -0
- package/dist/hosted-transport/index.d.ts.map +1 -0
- package/dist/hosted-transport/index.js +20 -0
- package/dist/hosted-transport/index.js.map +1 -0
- package/dist/hosted-transport/operations.d.ts +85 -0
- package/dist/hosted-transport/operations.d.ts.map +1 -0
- package/dist/hosted-transport/operations.js +128 -0
- package/dist/hosted-transport/operations.js.map +1 -0
- package/dist/hosted-transport/paged-reads.d.ts +87 -0
- package/dist/hosted-transport/paged-reads.d.ts.map +1 -0
- package/dist/hosted-transport/paged-reads.js +238 -0
- package/dist/hosted-transport/paged-reads.js.map +1 -0
- package/dist/hosted-transport/port-run.d.ts +41 -0
- package/dist/hosted-transport/port-run.d.ts.map +1 -0
- package/dist/hosted-transport/port-run.js +92 -0
- package/dist/hosted-transport/port-run.js.map +1 -0
- package/dist/hosted-transport/read-adapter.d.ts +266 -0
- package/dist/hosted-transport/read-adapter.d.ts.map +1 -0
- package/dist/hosted-transport/read-adapter.js +570 -0
- package/dist/hosted-transport/read-adapter.js.map +1 -0
- package/dist/hosted-transport/root-write.d.ts +114 -0
- package/dist/hosted-transport/root-write.d.ts.map +1 -0
- package/dist/hosted-transport/root-write.js +174 -0
- package/dist/hosted-transport/root-write.js.map +1 -0
- package/dist/hosted-transport/whole-document-transport.d.ts +216 -0
- package/dist/hosted-transport/whole-document-transport.d.ts.map +1 -0
- package/dist/hosted-transport/whole-document-transport.js +470 -0
- package/dist/hosted-transport/whole-document-transport.js.map +1 -0
- package/dist/identity-fold.d.ts +16 -0
- package/dist/identity-fold.d.ts.map +1 -0
- package/dist/identity-fold.js +24 -0
- package/dist/identity-fold.js.map +1 -0
- package/dist/index-projection.d.ts +2 -1
- package/dist/index-projection.d.ts.map +1 -1
- package/dist/index-projection.js +14 -5
- package/dist/index-projection.js.map +1 -1
- package/dist/index.d.ts +57 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -19
- package/dist/index.js.map +1 -1
- package/dist/indexeddb-backend.d.ts +6 -32
- package/dist/indexeddb-backend.d.ts.map +1 -1
- package/dist/indexeddb-backend.js +82 -8
- package/dist/indexeddb-backend.js.map +1 -1
- package/dist/inventory-guard.d.ts +58 -0
- package/dist/inventory-guard.d.ts.map +1 -0
- package/dist/inventory-guard.js +169 -0
- package/dist/inventory-guard.js.map +1 -0
- package/dist/journaled-backend.d.ts +86 -8
- package/dist/journaled-backend.d.ts.map +1 -1
- package/dist/journaled-backend.js +64 -69
- package/dist/journaled-backend.js.map +1 -1
- package/dist/json-data.d.ts +3 -0
- package/dist/json-data.d.ts.map +1 -0
- package/dist/json-data.js +19 -0
- package/dist/json-data.js.map +1 -0
- package/dist/kind-authoring.d.ts +188 -0
- package/dist/kind-authoring.d.ts.map +1 -0
- package/dist/kind-authoring.js +502 -0
- package/dist/kind-authoring.js.map +1 -0
- package/dist/kind-changes.d.ts +45 -0
- package/dist/kind-changes.d.ts.map +1 -0
- package/dist/kind-changes.js +96 -0
- package/dist/kind-changes.js.map +1 -0
- package/dist/kind-conformance-error.d.ts +15 -0
- package/dist/kind-conformance-error.d.ts.map +1 -0
- package/dist/kind-conformance-error.js +20 -0
- package/dist/kind-conformance-error.js.map +1 -0
- package/dist/kind-coverage.d.ts +100 -0
- package/dist/kind-coverage.d.ts.map +1 -0
- package/dist/kind-coverage.js +185 -0
- package/dist/kind-coverage.js.map +1 -0
- package/dist/kind-deprecation.d.ts +32 -0
- package/dist/kind-deprecation.d.ts.map +1 -0
- package/dist/kind-deprecation.js +141 -0
- package/dist/kind-deprecation.js.map +1 -0
- package/dist/kind-field-mutation.d.ts +4 -0
- package/dist/kind-field-mutation.d.ts.map +1 -1
- package/dist/kind-field-mutation.js +28 -3
- package/dist/kind-field-mutation.js.map +1 -1
- package/dist/kind-undeclared-fields.d.ts +70 -0
- package/dist/kind-undeclared-fields.d.ts.map +1 -0
- package/dist/kind-undeclared-fields.js +121 -0
- package/dist/kind-undeclared-fields.js.map +1 -0
- package/dist/kinds-load.d.ts.map +1 -1
- package/dist/kinds-load.js +8 -5
- package/dist/kinds-load.js.map +1 -1
- package/dist/kinds.d.ts +115 -6
- package/dist/kinds.d.ts.map +1 -1
- package/dist/kinds.js +400 -24
- package/dist/kinds.js.map +1 -1
- package/dist/link-emit.d.ts +29 -0
- package/dist/link-emit.d.ts.map +1 -0
- package/dist/link-emit.js +39 -0
- package/dist/link-emit.js.map +1 -0
- package/dist/link-findings.d.ts +130 -0
- package/dist/link-findings.d.ts.map +1 -0
- package/dist/link-findings.js +274 -0
- package/dist/link-findings.js.map +1 -0
- package/dist/link-types.d.ts +34 -0
- package/dist/link-types.d.ts.map +1 -0
- package/dist/link-types.js +79 -0
- package/dist/link-types.js.map +1 -0
- package/dist/links.d.ts +52 -3
- package/dist/links.d.ts.map +1 -1
- package/dist/links.js +287 -24
- package/dist/links.js.map +1 -1
- package/dist/managed-document-metadata.d.ts +2 -0
- package/dist/managed-document-metadata.d.ts.map +1 -0
- package/dist/managed-document-metadata.js +9 -0
- package/dist/managed-document-metadata.js.map +1 -0
- package/dist/memory-backend.d.ts +3 -0
- package/dist/memory-backend.d.ts.map +1 -1
- package/dist/memory-backend.js +46 -4
- package/dist/memory-backend.js.map +1 -1
- package/dist/okf-actor.d.ts +1 -0
- package/dist/okf-actor.d.ts.map +1 -1
- package/dist/okf-actor.js +1 -0
- package/dist/okf-actor.js.map +1 -1
- package/dist/okf-authoring.d.ts +4 -0
- package/dist/okf-authoring.d.ts.map +1 -0
- package/dist/okf-authoring.js +12 -0
- package/dist/okf-authoring.js.map +1 -0
- package/dist/okf-standard-fields.d.ts +3 -0
- package/dist/okf-standard-fields.d.ts.map +1 -1
- package/dist/okf-standard-fields.js +3 -0
- package/dist/okf-standard-fields.js.map +1 -1
- package/dist/page.d.ts +3 -7
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +3 -7
- package/dist/page.js.map +1 -1
- package/dist/path-fold.d.ts +52 -0
- package/dist/path-fold.d.ts.map +1 -0
- package/dist/path-fold.js +54 -0
- package/dist/path-fold.js.map +1 -0
- package/dist/paths.d.ts +46 -0
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +114 -1
- package/dist/paths.js.map +1 -1
- package/dist/platform.d.ts +22 -2
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +16 -0
- package/dist/platform.js.map +1 -1
- package/dist/portable-export.d.ts +119 -0
- package/dist/portable-export.d.ts.map +1 -0
- package/dist/portable-export.js +501 -0
- package/dist/portable-export.js.map +1 -0
- package/dist/portable-frontmatter.d.ts +6 -0
- package/dist/portable-frontmatter.d.ts.map +1 -1
- package/dist/portable-frontmatter.js +26 -2
- package/dist/portable-frontmatter.js.map +1 -1
- package/dist/publication-filesystem.d.ts +1 -1
- package/dist/publication-filesystem.d.ts.map +1 -1
- package/dist/publication-filesystem.js +1 -1
- package/dist/publication-filesystem.js.map +1 -1
- package/dist/qualified-links.d.ts +67 -0
- package/dist/qualified-links.d.ts.map +1 -0
- package/dist/qualified-links.js +117 -0
- package/dist/qualified-links.js.map +1 -0
- package/dist/query-filter.d.ts +16 -4
- package/dist/query-filter.d.ts.map +1 -1
- package/dist/query-filter.js +44 -2
- package/dist/query-filter.js.map +1 -1
- package/dist/query-order.d.ts +22 -0
- package/dist/query-order.d.ts.map +1 -0
- package/dist/query-order.js +43 -0
- package/dist/query-order.js.map +1 -0
- package/dist/recipe-lifecycle/errors.d.ts +96 -0
- package/dist/recipe-lifecycle/errors.d.ts.map +1 -0
- package/dist/recipe-lifecycle/errors.js +122 -0
- package/dist/recipe-lifecycle/errors.js.map +1 -0
- package/dist/recipe-lifecycle/evolution.d.ts +124 -0
- package/dist/recipe-lifecycle/evolution.d.ts.map +1 -0
- package/dist/recipe-lifecycle/evolution.js +988 -0
- package/dist/recipe-lifecycle/evolution.js.map +1 -0
- package/dist/recipe-lifecycle/index.d.ts +34 -0
- package/dist/recipe-lifecycle/index.d.ts.map +1 -0
- package/dist/recipe-lifecycle/index.js +28 -0
- package/dist/recipe-lifecycle/index.js.map +1 -0
- package/dist/recipe-lifecycle/install.d.ts +161 -0
- package/dist/recipe-lifecycle/install.d.ts.map +1 -0
- package/dist/recipe-lifecycle/install.js +632 -0
- package/dist/recipe-lifecycle/install.js.map +1 -0
- package/dist/recipe-lifecycle/legacy-aliases.d.ts +4 -0
- package/dist/recipe-lifecycle/legacy-aliases.d.ts.map +1 -0
- package/dist/recipe-lifecycle/legacy-aliases.js +22 -0
- package/dist/recipe-lifecycle/legacy-aliases.js.map +1 -0
- package/dist/recipe-lifecycle/retirement-apply.d.ts +59 -0
- package/dist/recipe-lifecycle/retirement-apply.d.ts.map +1 -0
- package/dist/recipe-lifecycle/retirement-apply.js +165 -0
- package/dist/recipe-lifecycle/retirement-apply.js.map +1 -0
- package/dist/recipe-lifecycle/retirement.d.ts +89 -0
- package/dist/recipe-lifecycle/retirement.d.ts.map +1 -0
- package/dist/recipe-lifecycle/retirement.js +347 -0
- package/dist/recipe-lifecycle/retirement.js.map +1 -0
- package/dist/recipe-lifecycle/stamp.d.ts +146 -0
- package/dist/recipe-lifecycle/stamp.d.ts.map +1 -0
- package/dist/recipe-lifecycle/stamp.js +361 -0
- package/dist/recipe-lifecycle/stamp.js.map +1 -0
- package/dist/recipe-qualify.d.ts +80 -0
- package/dist/recipe-qualify.d.ts.map +1 -0
- package/dist/recipe-qualify.js +358 -0
- package/dist/recipe-qualify.js.map +1 -0
- package/dist/recipe-set-preflight.d.ts +139 -0
- package/dist/recipe-set-preflight.d.ts.map +1 -0
- package/dist/recipe-set-preflight.js +536 -0
- package/dist/recipe-set-preflight.js.map +1 -0
- package/dist/recipe-sources.d.ts +209 -0
- package/dist/recipe-sources.d.ts.map +1 -0
- package/dist/recipe-sources.js +607 -0
- package/dist/recipe-sources.js.map +1 -0
- package/dist/recipes.d.ts +45 -1
- package/dist/recipes.d.ts.map +1 -1
- package/dist/recipes.js +138 -1
- package/dist/recipes.js.map +1 -1
- package/dist/record-overlay/apply.d.ts +43 -0
- package/dist/record-overlay/apply.d.ts.map +1 -0
- package/dist/record-overlay/apply.js +523 -0
- package/dist/record-overlay/apply.js.map +1 -0
- package/dist/record-overlay/canonical.d.ts +22 -0
- package/dist/record-overlay/canonical.d.ts.map +1 -0
- package/dist/record-overlay/canonical.js +47 -0
- package/dist/record-overlay/canonical.js.map +1 -0
- package/dist/record-overlay/digest.d.ts +4 -0
- package/dist/record-overlay/digest.d.ts.map +1 -0
- package/dist/record-overlay/digest.js +11 -0
- package/dist/record-overlay/digest.js.map +1 -0
- package/dist/record-overlay/errors.d.ts +44 -0
- package/dist/record-overlay/errors.d.ts.map +1 -0
- package/dist/record-overlay/errors.js +55 -0
- package/dist/record-overlay/errors.js.map +1 -0
- package/dist/record-overlay/findings.d.ts +5 -0
- package/dist/record-overlay/findings.d.ts.map +1 -0
- package/dist/record-overlay/findings.js +86 -0
- package/dist/record-overlay/findings.js.map +1 -0
- package/dist/record-overlay/index.d.ts +23 -0
- package/dist/record-overlay/index.d.ts.map +1 -0
- package/dist/record-overlay/index.js +21 -0
- package/dist/record-overlay/index.js.map +1 -0
- package/dist/record-overlay/plan.d.ts +12 -0
- package/dist/record-overlay/plan.d.ts.map +1 -0
- package/dist/record-overlay/plan.js +285 -0
- package/dist/record-overlay/plan.js.map +1 -0
- package/dist/record-overlay/policy.d.ts +74 -0
- package/dist/record-overlay/policy.d.ts.map +1 -0
- package/dist/record-overlay/policy.js +235 -0
- package/dist/record-overlay/policy.js.map +1 -0
- package/dist/record-overlay/redact.d.ts +3 -0
- package/dist/record-overlay/redact.d.ts.map +1 -0
- package/dist/record-overlay/redact.js +27 -0
- package/dist/record-overlay/redact.js.map +1 -0
- package/dist/record-overlay/signal-kind.d.ts +30 -0
- package/dist/record-overlay/signal-kind.d.ts.map +1 -0
- package/dist/record-overlay/signal-kind.js +38 -0
- package/dist/record-overlay/signal-kind.js.map +1 -0
- package/dist/record-overlay/signal-text.d.ts +52 -0
- package/dist/record-overlay/signal-text.d.ts.map +1 -0
- package/dist/record-overlay/signal-text.js +126 -0
- package/dist/record-overlay/signal-text.js.map +1 -0
- package/dist/record-overlay/source-index.d.ts +19 -0
- package/dist/record-overlay/source-index.d.ts.map +1 -0
- package/dist/record-overlay/source-index.js +102 -0
- package/dist/record-overlay/source-index.js.map +1 -0
- package/dist/record-overlay/types.d.ts +291 -0
- package/dist/record-overlay/types.d.ts.map +1 -0
- package/dist/record-overlay/types.js +2 -0
- package/dist/record-overlay/types.js.map +1 -0
- package/dist/relationships.d.ts +47 -0
- package/dist/relationships.d.ts.map +1 -0
- package/dist/relationships.js +53 -0
- package/dist/relationships.js.map +1 -0
- package/dist/remote-backend.d.ts +67 -32
- package/dist/remote-backend.d.ts.map +1 -1
- package/dist/remote-backend.js +171 -39
- package/dist/remote-backend.js.map +1 -1
- package/dist/remote-document-codec.d.ts +2 -1
- package/dist/remote-document-codec.d.ts.map +1 -1
- package/dist/remote-document-codec.js +3 -2
- package/dist/remote-document-codec.js.map +1 -1
- package/dist/remote-error.d.ts +17 -1
- package/dist/remote-error.d.ts.map +1 -1
- package/dist/remote-error.js +32 -2
- package/dist/remote-error.js.map +1 -1
- package/dist/remote-operations.d.ts +0 -40
- package/dist/remote-operations.d.ts.map +1 -1
- package/dist/remote-operations.js +28 -6
- package/dist/remote-operations.js.map +1 -1
- package/dist/remote-parsers.d.ts +20 -1
- package/dist/remote-parsers.d.ts.map +1 -1
- package/dist/remote-parsers.js +1 -1
- package/dist/remote-parsers.js.map +1 -1
- package/dist/remote.d.ts +2 -4
- package/dist/remote.d.ts.map +1 -1
- package/dist/remote.js +2 -3
- package/dist/remote.js.map +1 -1
- package/dist/reserved-write.d.ts +9 -0
- package/dist/reserved-write.d.ts.map +1 -0
- package/dist/reserved-write.js +15 -0
- package/dist/reserved-write.js.map +1 -0
- package/dist/search/backend-source.d.ts +6 -0
- package/dist/search/backend-source.d.ts.map +1 -0
- package/dist/search/backend-source.js +57 -0
- package/dist/search/backend-source.js.map +1 -0
- package/dist/search/contract.d.ts +158 -0
- package/dist/search/contract.d.ts.map +1 -0
- package/dist/search/contract.js +78 -0
- package/dist/search/contract.js.map +1 -0
- package/dist/search/errors.d.ts +30 -0
- package/dist/search/errors.d.ts.map +1 -0
- package/dist/search/errors.js +50 -0
- package/dist/search/errors.js.map +1 -0
- package/dist/search/identity.d.ts +12 -0
- package/dist/search/identity.d.ts.map +1 -0
- package/dist/search/identity.js +90 -0
- package/dist/search/identity.js.map +1 -0
- package/dist/search/index.d.ts +16 -0
- package/dist/search/index.d.ts.map +1 -0
- package/dist/search/index.js +15 -0
- package/dist/search/index.js.map +1 -0
- package/dist/search/memory-source.d.ts +36 -0
- package/dist/search/memory-source.d.ts.map +1 -0
- package/dist/search/memory-source.js +238 -0
- package/dist/search/memory-source.js.map +1 -0
- package/dist/search/rank.d.ts +29 -0
- package/dist/search/rank.d.ts.map +1 -0
- package/dist/search/rank.js +132 -0
- package/dist/search/rank.js.map +1 -0
- package/dist/search/row-text.d.ts +38 -0
- package/dist/search/row-text.d.ts.map +1 -0
- package/dist/search/row-text.js +88 -0
- package/dist/search/row-text.js.map +1 -0
- package/dist/search/search.d.ts +28 -0
- package/dist/search/search.d.ts.map +1 -0
- package/dist/search/search.js +265 -0
- package/dist/search/search.js.map +1 -0
- package/dist/search/source.d.ts +70 -0
- package/dist/search/source.d.ts.map +1 -0
- package/dist/search/source.js +2 -0
- package/dist/search/source.js.map +1 -0
- package/dist/search/text.d.ts +47 -0
- package/dist/search/text.d.ts.map +1 -0
- package/dist/search/text.js +150 -0
- package/dist/search/text.js.map +1 -0
- package/dist/sha256.d.ts.map +1 -1
- package/dist/sha256.js +3 -2
- package/dist/sha256.js.map +1 -1
- package/dist/site-capabilities.d.ts +345 -0
- package/dist/site-capabilities.d.ts.map +1 -0
- package/dist/site-capabilities.js +724 -0
- package/dist/site-capabilities.js.map +1 -0
- package/dist/site-manifest.d.ts +51 -0
- package/dist/site-manifest.d.ts.map +1 -0
- package/dist/site-manifest.js +115 -0
- package/dist/site-manifest.js.map +1 -0
- package/dist/skip-reasons.d.ts +12 -0
- package/dist/skip-reasons.d.ts.map +1 -0
- package/dist/skip-reasons.js +15 -0
- package/dist/skip-reasons.js.map +1 -0
- package/dist/source-engine/driver.d.ts +40 -0
- package/dist/source-engine/driver.d.ts.map +1 -0
- package/dist/source-engine/driver.js +513 -0
- package/dist/source-engine/driver.js.map +1 -0
- package/dist/source-engine/evidence.d.ts +39 -0
- package/dist/source-engine/evidence.d.ts.map +1 -0
- package/dist/source-engine/evidence.js +54 -0
- package/dist/source-engine/evidence.js.map +1 -0
- package/dist/source-engine/guard.d.ts +87 -0
- package/dist/source-engine/guard.d.ts.map +1 -0
- package/dist/source-engine/guard.js +427 -0
- package/dist/source-engine/guard.js.map +1 -0
- package/dist/source-engine/index.d.ts +35 -0
- package/dist/source-engine/index.d.ts.map +1 -0
- package/dist/source-engine/index.js +27 -0
- package/dist/source-engine/index.js.map +1 -0
- package/dist/source-engine/machine-state.d.ts +87 -0
- package/dist/source-engine/machine-state.d.ts.map +1 -0
- package/dist/source-engine/machine-state.js +94 -0
- package/dist/source-engine/machine-state.js.map +1 -0
- package/dist/source-engine/observe.d.ts +10 -0
- package/dist/source-engine/observe.d.ts.map +1 -0
- package/dist/source-engine/observe.js +276 -0
- package/dist/source-engine/observe.js.map +1 -0
- package/dist/source-engine/overlay.d.ts +50 -0
- package/dist/source-engine/overlay.d.ts.map +1 -0
- package/dist/source-engine/overlay.js +114 -0
- package/dist/source-engine/overlay.js.map +1 -0
- package/dist/source-engine/robots.d.ts +53 -0
- package/dist/source-engine/robots.d.ts.map +1 -0
- package/dist/source-engine/robots.js +158 -0
- package/dist/source-engine/robots.js.map +1 -0
- package/dist/source-engine/snapshot.d.ts +104 -0
- package/dist/source-engine/snapshot.d.ts.map +1 -0
- package/dist/source-engine/snapshot.js +240 -0
- package/dist/source-engine/snapshot.js.map +1 -0
- package/dist/source-engine/target-consumer.d.ts +12 -0
- package/dist/source-engine/target-consumer.d.ts.map +1 -0
- package/dist/source-engine/target-consumer.js +15 -0
- package/dist/source-engine/target-consumer.js.map +1 -0
- package/dist/source-engine/target-descriptor.d.ts +3 -0
- package/dist/source-engine/target-descriptor.d.ts.map +1 -0
- package/dist/source-engine/target-descriptor.js +26 -0
- package/dist/source-engine/target-descriptor.js.map +1 -0
- package/dist/source-engine/target.d.ts +82 -0
- package/dist/source-engine/target.d.ts.map +1 -0
- package/dist/source-engine/target.js +213 -0
- package/dist/source-engine/target.js.map +1 -0
- package/dist/source-engine/types.d.ts +296 -0
- package/dist/source-engine/types.d.ts.map +1 -0
- package/dist/source-engine/types.js +2 -0
- package/dist/source-engine/types.js.map +1 -0
- package/dist/source-harness/conformance.d.ts +16 -0
- package/dist/source-harness/conformance.d.ts.map +1 -0
- package/dist/source-harness/conformance.js +266 -0
- package/dist/source-harness/conformance.js.map +1 -0
- package/dist/source-harness/fixture.d.ts +97 -0
- package/dist/source-harness/fixture.d.ts.map +1 -0
- package/dist/source-harness/fixture.js +276 -0
- package/dist/source-harness/fixture.js.map +1 -0
- package/dist/source-harness/index.d.ts +22 -0
- package/dist/source-harness/index.d.ts.map +1 -0
- package/dist/source-harness/index.js +19 -0
- package/dist/source-harness/index.js.map +1 -0
- package/dist/source-harness/peer.d.ts +74 -0
- package/dist/source-harness/peer.d.ts.map +1 -0
- package/dist/source-harness/peer.js +106 -0
- package/dist/source-harness/peer.js.map +1 -0
- package/dist/source-profiles/index.d.ts +31 -0
- package/dist/source-profiles/index.d.ts.map +1 -0
- package/dist/source-profiles/index.js +206 -0
- package/dist/source-profiles/index.js.map +1 -0
- package/dist/source-profiles/link-header.d.ts +6 -0
- package/dist/source-profiles/link-header.d.ts.map +1 -0
- package/dist/source-profiles/link-header.js +131 -0
- package/dist/source-profiles/link-header.js.map +1 -0
- package/dist/storage.d.ts +8 -1
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +6 -1
- package/dist/storage.js.map +1 -1
- package/dist/string-identity-agreement.d.ts +35 -0
- package/dist/string-identity-agreement.d.ts.map +1 -0
- package/dist/string-identity-agreement.js +78 -0
- package/dist/string-identity-agreement.js.map +1 -0
- package/dist/system-documents.d.ts +82 -0
- package/dist/system-documents.d.ts.map +1 -0
- package/dist/system-documents.js +127 -0
- package/dist/system-documents.js.map +1 -0
- package/dist/types.d.ts +52 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +0 -10
- package/dist/types.js.map +1 -1
- package/dist/uncertain-write.d.ts +157 -17
- package/dist/uncertain-write.d.ts.map +1 -1
- package/dist/uncertain-write.js +86 -30
- package/dist/uncertain-write.js.map +1 -1
- package/dist/validation.d.ts +5 -0
- package/dist/validation.d.ts.map +1 -1
- package/dist/versioning.d.ts +9 -4
- package/dist/versioning.d.ts.map +1 -1
- package/dist/versioning.js +9 -4
- package/dist/versioning.js.map +1 -1
- package/dist/view-launch-contract.d.ts +14 -0
- package/dist/view-launch-contract.d.ts.map +1 -0
- package/dist/view-launch-contract.js +23 -0
- package/dist/view-launch-contract.js.map +1 -0
- package/dist/write-identity.d.ts +5 -0
- package/dist/write-identity.d.ts.map +1 -0
- package/dist/write-identity.js +9 -0
- package/dist/write-identity.js.map +1 -0
- package/package.json +163 -6
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { ConceptId, Frontmatter } from "./types.js";
|
|
2
|
+
/** The marker type of a Connector declaration; re-exported by `connectors`. */
|
|
3
|
+
export declare const CONNECTOR_TYPE = "Connector";
|
|
4
|
+
/** Where Connector declarations live; re-exported by `connectors`. */
|
|
5
|
+
export declare const CONNECTORS_PREFIX = "connectors/";
|
|
6
|
+
/** The `type` of the record each document transfer writes; re-exported by `document-transfer`. */
|
|
7
|
+
export declare const PROMOTION_TYPE = "Promotion";
|
|
8
|
+
/** Where document transfer writes its records; re-exported by `document-transfer`. */
|
|
9
|
+
export declare const PROMOTIONS_PREFIX = "promotions/";
|
|
10
|
+
/** The marker type of an authoring reference a recipe installs. */
|
|
11
|
+
export declare const REFERENCE_TYPE = "Reference";
|
|
12
|
+
/** Where recipes install authoring references. */
|
|
13
|
+
export declare const REFERENCES_PREFIX = "references/";
|
|
14
|
+
/** Recipe sources, in a bundle that publishes recipes. */
|
|
15
|
+
export declare const RECIPES_PREFIX = "recipes/";
|
|
16
|
+
/**
|
|
17
|
+
* The reserved root for every NEW kind of Superbee-owned data. Nothing lives here yet. A leading
|
|
18
|
+
* underscore keeps it apart from folders people name (`superbee/` is a plausible folder of notes
|
|
19
|
+
* about Superbee); a leading dot would hide it from the filesystem walk, so it could hold no
|
|
20
|
+
* documents.
|
|
21
|
+
*/
|
|
22
|
+
export declare const SUPERBEE_RESERVED_ROOT_PREFIX = "_superbee/";
|
|
23
|
+
/**
|
|
24
|
+
* Where a document belongs. `documents` is people's content; `conventions` and `views` are the
|
|
25
|
+
* bundle's Kind declarations and View registrations; `superbee` is Superbee's other own records.
|
|
26
|
+
*/
|
|
27
|
+
export type BundleSection = "documents" | "conventions" | "views" | "superbee";
|
|
28
|
+
/** Every section, in display order. */
|
|
29
|
+
export declare const BUNDLE_SECTIONS: readonly BundleSection[];
|
|
30
|
+
/**
|
|
31
|
+
* One kind of Superbee-owned record. Plain data with no functions, so it serializes as-is.
|
|
32
|
+
*
|
|
33
|
+
* - `id` or `prefix` (exactly one, or neither for a type-only entry): where the record lives.
|
|
34
|
+
* Exact, case-sensitive; a prefix ends with `/`.
|
|
35
|
+
* - `type`: the marker type the record must carry there. Omitted means any document at the
|
|
36
|
+
* location is the record.
|
|
37
|
+
* - `section`: the section a matching record belongs to.
|
|
38
|
+
* - `blobPrefix`: a blob folder that holds this kind's files (View pages), if any.
|
|
39
|
+
* - `typeReach`: how far the marker type reaches past the location, each step including the ones
|
|
40
|
+
* before it. `"kinds"`: a document of that type anywhere is never governed by a bundle Kind.
|
|
41
|
+
* `"links"`: it is never an orphan either. `"section"`: it belongs to this entry's section
|
|
42
|
+
* wherever it lives. Omitted: the type means nothing outside the location.
|
|
43
|
+
*/
|
|
44
|
+
export interface OwnedLocation {
|
|
45
|
+
readonly name: string;
|
|
46
|
+
readonly section: BundleSection;
|
|
47
|
+
readonly id?: string;
|
|
48
|
+
readonly prefix?: string;
|
|
49
|
+
readonly type?: string;
|
|
50
|
+
readonly blobPrefix?: string;
|
|
51
|
+
readonly typeReach?: TypeReach;
|
|
52
|
+
}
|
|
53
|
+
/** How far an entry's marker type reaches past its location; see {@link OwnedLocation}. */
|
|
54
|
+
export type TypeReach = "kinds" | "links" | "section";
|
|
55
|
+
/**
|
|
56
|
+
* Superbee's own records, first match wins. The only list: every surface that separates people's
|
|
57
|
+
* documents from Superbee's own reads this, or a rendering of it checked to agree.
|
|
58
|
+
*/
|
|
59
|
+
export declare const OWNED_LOCATIONS: readonly OwnedLocation[];
|
|
60
|
+
/**
|
|
61
|
+
* The top-level folders that hold only Superbee's own files, so an ordinary blob write never
|
|
62
|
+
* changes them: the first segment of every entry's folder and blob folder. An entry at an exact id
|
|
63
|
+
* (`docs/bundle`) claims no folder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const OWNED_BLOB_ROOTS: readonly string[];
|
|
66
|
+
type DocumentIdentity = {
|
|
67
|
+
id: ConceptId;
|
|
68
|
+
frontmatter: Frontmatter;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The entry that places a document in its section, or undefined for a person's document. Its
|
|
72
|
+
* `name` tells kinds apart inside one section (a Convention from a Reference, say).
|
|
73
|
+
*/
|
|
74
|
+
export declare function ownedLocationOf(doc: DocumentIdentity): OwnedLocation | undefined;
|
|
75
|
+
/** The one section a document belongs to; anything no entry claims is `documents`. */
|
|
76
|
+
export declare function sectionOf(doc: DocumentIdentity): BundleSection;
|
|
77
|
+
/** A document whose missing inbound link is intended: any owned record at its location, or a type that reaches links. */
|
|
78
|
+
export declare function isGraphDefinitionDocument(doc: DocumentIdentity): boolean;
|
|
79
|
+
/** A document no bundle Kind governs: a graph definition, or a type reserved from Kinds. */
|
|
80
|
+
export declare function isSystemDocument(doc: DocumentIdentity): boolean;
|
|
81
|
+
export {};
|
|
82
|
+
//# sourceMappingURL=system-documents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-documents.d.ts","sourceRoot":"","sources":["../src/system-documents.ts"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzD,+EAA+E;AAC/E,eAAO,MAAM,cAAc,cAAc,CAAC;AAC1C,sEAAsE;AACtE,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAC/C,kGAAkG;AAClG,eAAO,MAAM,cAAc,cAAc,CAAC;AAC1C,sFAAsF;AACtF,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAC/C,mEAAmE;AACnE,eAAO,MAAM,cAAc,cAAc,CAAC;AAC1C,kDAAkD;AAClD,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAC/C,0DAA0D;AAC1D,eAAO,MAAM,cAAc,aAAa,CAAC;AACzC;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,eAAe,CAAC;AAK1D;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,aAAa,GAAG,OAAO,GAAG,UAAU,CAAC;AAE/E,uCAAuC;AACvC,eAAO,MAAM,eAAe,EAAE,SAAS,aAAa,EAAqE,CAAC;AAE1H;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;CAChC;AAED,2FAA2F;AAC3F,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAMtD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,SAAS,aAAa,EAgBlD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EACiE,CAAC;AAEhH,KAAK,gBAAgB,GAAG;IAAE,EAAE,EAAE,SAAS,CAAC;IAAC,WAAW,EAAE,WAAW,CAAA;CAAE,CAAC;AAsBpE;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,gBAAgB,GAAG,aAAa,GAAG,SAAS,CAGhF;AAED,sFAAsF;AACtF,wBAAgB,SAAS,CAAC,GAAG,EAAE,gBAAgB,GAAG,aAAa,CAE9D;AAED,yHAAyH;AACzH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAExE;AAED,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAE/D"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one answer to "which data in a bundle is Superbee's own?". A bundle holds people's documents
|
|
3
|
+
* and Superbee's own records side by side; {@link OWNED_LOCATIONS} is the only list of the latter.
|
|
4
|
+
* Every document belongs to exactly one {@link BundleSection}, answered by {@link sectionOf}.
|
|
5
|
+
*
|
|
6
|
+
* Each entry names where a kind of record lives (an exact id or a folder prefix) and its marker
|
|
7
|
+
* type. A record is Superbee's when it sits at its location AND carries its marker, so a person's
|
|
8
|
+
* `docs/bundle` of another type, or a non-Convention under `conventions/`, stays a document. Only
|
|
9
|
+
* a View (or retired Page) type claims its section wherever it appears: a misplaced View is a
|
|
10
|
+
* broken registration, not a person's document. Anything no entry claims is a document: a miss may
|
|
11
|
+
* show something, but it never hides a person's content.
|
|
12
|
+
*
|
|
13
|
+
* Two older questions read the same entries:
|
|
14
|
+
*
|
|
15
|
+
* - {@link isGraphDefinitionDocument}: a missing inbound link is intended, so `status` never
|
|
16
|
+
* calls the document an orphan.
|
|
17
|
+
* - {@link isSystemDocument}: no bundle Kind governs the document, so writing one never suggests
|
|
18
|
+
* a missing or misspelled Kind.
|
|
19
|
+
*
|
|
20
|
+
* Where a question reaches past an entry's location, the entry says so in `typeReach`.
|
|
21
|
+
*
|
|
22
|
+
* The format rule: existing locations are grandfathered; any NEW kind of Superbee-owned data lives
|
|
23
|
+
* under {@link SUPERBEE_RESERVED_ROOT_PREFIX}, which one entry already covers. A test walks core's
|
|
24
|
+
* exported location and marker constants and fails on any that no entry covers.
|
|
25
|
+
*
|
|
26
|
+
* This module stays small and browser-safe: entries are plain, serializable data, so another
|
|
27
|
+
* runtime (a database filter, for one) can render the same rule and test that it agrees. Large
|
|
28
|
+
* owners (connectors, document transfer) take their constants from here and re-export them; small
|
|
29
|
+
* owners are imported. The Site entry spells `site-manifest`'s constants as literals, pinned by a
|
|
30
|
+
* test: that module's typings ship alone in the publication package, and it builds a TextEncoder
|
|
31
|
+
* when loaded, which the global-free recipe bundles must not pull in.
|
|
32
|
+
*/
|
|
33
|
+
import { LEGACY_PAGE_TYPE_NAME } from "./bundle-health/legacy-page.js";
|
|
34
|
+
import { CONVENTION_TYPE, CONVENTIONS_PREFIX } from "./convention-record.js";
|
|
35
|
+
import { BUNDLE_NAME_DOC_ID, BUNDLE_NAME_DOC_TYPE, DEPENDENCIES_DOC_ID, DEPENDENCIES_DOC_TYPE } from "./dependencies.js";
|
|
36
|
+
import { PAGE_ENTRY_PREFIX, PAGE_REGISTRY_PREFIX, PAGE_TYPE_NAMES, VIEW_ENTRY_PREFIX, VIEW_REGISTRY_PREFIX } from "./page.js";
|
|
37
|
+
/** The marker type of a Connector declaration; re-exported by `connectors`. */
|
|
38
|
+
export const CONNECTOR_TYPE = "Connector";
|
|
39
|
+
/** Where Connector declarations live; re-exported by `connectors`. */
|
|
40
|
+
export const CONNECTORS_PREFIX = "connectors/";
|
|
41
|
+
/** The `type` of the record each document transfer writes; re-exported by `document-transfer`. */
|
|
42
|
+
export const PROMOTION_TYPE = "Promotion";
|
|
43
|
+
/** Where document transfer writes its records; re-exported by `document-transfer`. */
|
|
44
|
+
export const PROMOTIONS_PREFIX = "promotions/";
|
|
45
|
+
/** The marker type of an authoring reference a recipe installs. */
|
|
46
|
+
export const REFERENCE_TYPE = "Reference";
|
|
47
|
+
/** Where recipes install authoring references. */
|
|
48
|
+
export const REFERENCES_PREFIX = "references/";
|
|
49
|
+
/** Recipe sources, in a bundle that publishes recipes. */
|
|
50
|
+
export const RECIPES_PREFIX = "recipes/";
|
|
51
|
+
/**
|
|
52
|
+
* The reserved root for every NEW kind of Superbee-owned data. Nothing lives here yet. A leading
|
|
53
|
+
* underscore keeps it apart from folders people name (`superbee/` is a plausible folder of notes
|
|
54
|
+
* about Superbee); a leading dot would hide it from the filesystem walk, so it could hold no
|
|
55
|
+
* documents.
|
|
56
|
+
*/
|
|
57
|
+
export const SUPERBEE_RESERVED_ROOT_PREFIX = "_superbee/";
|
|
58
|
+
/** An OKF standard type. It is a person's document; no bundle Kind governs it. */
|
|
59
|
+
const ATTESTED_COMPUTATION_TYPE = "Attested Computation";
|
|
60
|
+
/** Every section, in display order. */
|
|
61
|
+
export const BUNDLE_SECTIONS = Object.freeze(["documents", "conventions", "views", "superbee"]);
|
|
62
|
+
const REACH_ORDER = ["kinds", "links", "section"];
|
|
63
|
+
const entry = (value) => Object.freeze(value);
|
|
64
|
+
/**
|
|
65
|
+
* Superbee's own records, first match wins. The only list: every surface that separates people's
|
|
66
|
+
* documents from Superbee's own reads this, or a rendering of it checked to agree.
|
|
67
|
+
*/
|
|
68
|
+
export const OWNED_LOCATIONS = Object.freeze([
|
|
69
|
+
entry({ name: "convention", section: "conventions", prefix: CONVENTIONS_PREFIX, type: CONVENTION_TYPE, typeReach: "links" }),
|
|
70
|
+
entry({ name: "view", section: "views", prefix: VIEW_REGISTRY_PREFIX, type: PAGE_TYPE_NAMES[0], blobPrefix: VIEW_ENTRY_PREFIX, typeReach: "section" }),
|
|
71
|
+
entry({ name: "legacy-view-location", section: "views", prefix: PAGE_REGISTRY_PREFIX, type: PAGE_TYPE_NAMES[0], blobPrefix: PAGE_ENTRY_PREFIX }),
|
|
72
|
+
entry({ name: "legacy-page", section: "views", prefix: PAGE_REGISTRY_PREFIX, type: LEGACY_PAGE_TYPE_NAME, typeReach: "section" }),
|
|
73
|
+
entry({ name: "connector", section: "superbee", prefix: CONNECTORS_PREFIX, type: CONNECTOR_TYPE, typeReach: "kinds" }),
|
|
74
|
+
entry({ name: "site", section: "superbee", prefix: "sites/", type: "Site", typeReach: "kinds" }),
|
|
75
|
+
entry({ name: "promotion", section: "superbee", prefix: PROMOTIONS_PREFIX, type: PROMOTION_TYPE, typeReach: "kinds" }),
|
|
76
|
+
// A recipe's authoring guides sit with its definitions; a Reference anywhere else is a person's document.
|
|
77
|
+
entry({ name: "reference", section: "conventions", prefix: REFERENCES_PREFIX, type: REFERENCE_TYPE }),
|
|
78
|
+
entry({ name: "recipe-source", section: "superbee", prefix: RECIPES_PREFIX }),
|
|
79
|
+
entry({ name: "bundle-name", section: "superbee", id: BUNDLE_NAME_DOC_ID, type: BUNDLE_NAME_DOC_TYPE }),
|
|
80
|
+
entry({ name: "bundle-dependencies", section: "superbee", id: DEPENDENCIES_DOC_ID, type: DEPENDENCIES_DOC_TYPE }),
|
|
81
|
+
entry({ name: "reserved-root", section: "superbee", prefix: SUPERBEE_RESERVED_ROOT_PREFIX }),
|
|
82
|
+
// Not Superbee's data: listed only because no bundle Kind governs this OKF standard type.
|
|
83
|
+
entry({ name: "attested-computation", section: "documents", type: ATTESTED_COMPUTATION_TYPE, typeReach: "kinds" }),
|
|
84
|
+
]);
|
|
85
|
+
/**
|
|
86
|
+
* The top-level folders that hold only Superbee's own files, so an ordinary blob write never
|
|
87
|
+
* changes them: the first segment of every entry's folder and blob folder. An entry at an exact id
|
|
88
|
+
* (`docs/bundle`) claims no folder.
|
|
89
|
+
*/
|
|
90
|
+
export const OWNED_BLOB_ROOTS = Object.freeze([...new Set(OWNED_LOCATIONS.flatMap((owned) => [owned.prefix, owned.blobPrefix].flatMap((prefix) => prefix === undefined ? [] : [prefix.split("/")[0]])))]);
|
|
91
|
+
function typeOf(doc) {
|
|
92
|
+
return typeof doc.frontmatter.type === "string" ? doc.frontmatter.type : undefined;
|
|
93
|
+
}
|
|
94
|
+
/** True when the document sits at the entry's location and carries its marker. Type-only entries have no location. */
|
|
95
|
+
function atLocation(owned, doc) {
|
|
96
|
+
const placed = owned.id !== undefined ? doc.id === owned.id : owned.prefix !== undefined && doc.id.startsWith(owned.prefix);
|
|
97
|
+
return placed && (owned.type === undefined || typeOf(doc) === owned.type);
|
|
98
|
+
}
|
|
99
|
+
/** True when the entry's marker type reaches the document wherever it lives, at least as far as `reach`. */
|
|
100
|
+
function reaches(owned, doc, reach) {
|
|
101
|
+
return owned.typeReach !== undefined && owned.type === typeOf(doc) &&
|
|
102
|
+
REACH_ORDER.indexOf(owned.typeReach) >= REACH_ORDER.indexOf(reach);
|
|
103
|
+
}
|
|
104
|
+
function claimedAs(doc, reach) {
|
|
105
|
+
return OWNED_LOCATIONS.find((owned) => atLocation(owned, doc) || reaches(owned, doc, reach));
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The entry that places a document in its section, or undefined for a person's document. Its
|
|
109
|
+
* `name` tells kinds apart inside one section (a Convention from a Reference, say).
|
|
110
|
+
*/
|
|
111
|
+
export function ownedLocationOf(doc) {
|
|
112
|
+
const owned = claimedAs(doc, "section");
|
|
113
|
+
return owned?.section === "documents" ? undefined : owned;
|
|
114
|
+
}
|
|
115
|
+
/** The one section a document belongs to; anything no entry claims is `documents`. */
|
|
116
|
+
export function sectionOf(doc) {
|
|
117
|
+
return ownedLocationOf(doc)?.section ?? "documents";
|
|
118
|
+
}
|
|
119
|
+
/** A document whose missing inbound link is intended: any owned record at its location, or a type that reaches links. */
|
|
120
|
+
export function isGraphDefinitionDocument(doc) {
|
|
121
|
+
return claimedAs(doc, "links") !== undefined;
|
|
122
|
+
}
|
|
123
|
+
/** A document no bundle Kind governs: a graph definition, or a type reserved from Kinds. */
|
|
124
|
+
export function isSystemDocument(doc) {
|
|
125
|
+
return claimedAs(doc, "kinds") !== undefined;
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=system-documents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-documents.js","sourceRoot":"","sources":["../src/system-documents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACzH,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,eAAe,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAG9H,+EAA+E;AAC/E,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;AAC1C,sEAAsE;AACtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC/C,kGAAkG;AAClG,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;AAC1C,sFAAsF;AACtF,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC/C,mEAAmE;AACnE,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;AAC1C,kDAAkD;AAClD,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC/C,0DAA0D;AAC1D,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;AACzC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,YAAY,CAAC;AAE1D,kFAAkF;AAClF,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AAS,CAAC,GAAqB,EAAE,KAAgB;IACxD,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;AAC/F,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,GAAqB;IACnD,MAAM,KAAK,GAAG,SAAS,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IACxC,OAAO,KAAK,EAAE,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC;AAC5D,CAAC;AAED,sFAAsF;AACtF,MAAM,UAAU,SAAS,CAAC,GAAqB;IAC7C,OAAO,eAAe,CAAC,GAAG,CAAC,EAAE,OAAO,IAAI,WAAW,CAAC;AACtD,CAAC;AAED,yHAAyH;AACzH,MAAM,UAAU,yBAAyB,CAAC,GAAqB;IAC7D,OAAO,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,KAAK,SAAS,CAAC;AAC/C,CAAC;AAED,4FAA4F;AAC5F,MAAM,UAAU,gBAAgB,CAAC,GAAqB;IACpD,OAAO,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { BodyReplacePosture } from "./body-replace-guards.js";
|
|
2
|
+
import type { WalkPathClass } from "./paths.js";
|
|
1
3
|
/**
|
|
2
4
|
* Shared type shapes for the OKF store engine.
|
|
3
5
|
*
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
* here so the implementation modules can import them without a cycle, and are
|
|
6
8
|
* re-exported verbatim from `index.ts` to keep the public contract stable.
|
|
7
9
|
*
|
|
8
|
-
* @see OKF spec — GoogleCloudPlatform/knowledge-
|
|
10
|
+
* @see OKF spec — GoogleCloudPlatform/open-knowledge-format, `SPEC.md`
|
|
9
11
|
* @packageDocumentation
|
|
10
12
|
*/
|
|
11
13
|
/**
|
|
@@ -140,7 +142,8 @@ export interface ReadBlobResult {
|
|
|
140
142
|
export interface VersionInfo {
|
|
141
143
|
/** Opaque content-addressed version token for this revision. */
|
|
142
144
|
version: Version;
|
|
143
|
-
/** Who wrote this revision.
|
|
145
|
+
/** Who wrote this revision. History-keeping backends default at write time to a local identity.
|
|
146
|
+
* FilesystemBackend reports `unattributed` when document bytes carry no mutation attribution. */
|
|
144
147
|
actor: string;
|
|
145
148
|
/** ISO-8601 instant this revision was recorded. */
|
|
146
149
|
timestamp: string;
|
|
@@ -155,6 +158,10 @@ export interface VersionInfo {
|
|
|
155
158
|
}
|
|
156
159
|
/** Options controlling a conditional / attributed {@link StorageBackend.write}. */
|
|
157
160
|
export interface WriteOptions {
|
|
161
|
+
/** Explicit per-document replacement intent carried by RemoteBackend to the wire authority.
|
|
162
|
+
* Raw storage adapters ignore it; it grants no metadata/Kind policy bypass.
|
|
163
|
+
*/
|
|
164
|
+
bodyReplace?: BodyReplacePosture;
|
|
158
165
|
/**
|
|
159
166
|
* Compare-and-swap guard. When set to a {@link Version} token, the write succeeds
|
|
160
167
|
* ONLY if the backend's current version for `id` equals that token; otherwise it
|
|
@@ -247,6 +254,8 @@ export interface StorageCapabilities {
|
|
|
247
254
|
* identity of the returned document even when the input document carries a different `id`.
|
|
248
255
|
*/
|
|
249
256
|
export interface StorageBackend {
|
|
257
|
+
/** Optional exact-store cooperating-writer inventory comparison plus one concept write. */
|
|
258
|
+
readonly inventoryGuard?: import("./inventory-guard.js").InventoryGuard;
|
|
250
259
|
/** Read + parse the concept document at `id`, with its version token. Rejects (ENOENT-shaped) if absent. */
|
|
251
260
|
read(id: ConceptId): Promise<ReadResult>;
|
|
252
261
|
/**
|
|
@@ -329,6 +338,12 @@ export interface StorageBackend {
|
|
|
329
338
|
existsBlob(key: BlobKey): Promise<boolean>;
|
|
330
339
|
/** Blob keys, optionally restricted to a bundle-relative `prefix`, sorted. Never includes concept documents or reserved files. */
|
|
331
340
|
listBlobs(prefix?: string): Promise<BlobKey[]>;
|
|
341
|
+
/**
|
|
342
|
+
* Optional: where a root-relative path reported by a native directory watcher sits relative to
|
|
343
|
+
* what this backend reads. A backend with no walkable file layout omits it, and a watcher then
|
|
344
|
+
* treats every notification as relevant.
|
|
345
|
+
*/
|
|
346
|
+
classifyChangedPath?(relPath: string): WalkPathClass;
|
|
332
347
|
/**
|
|
333
348
|
* Hard-delete the blob at `key` (no tombstone, no history to purge — blobs never
|
|
334
349
|
* carried one). Returns `true` when a blob existed and was removed, `false` when it
|
|
@@ -349,11 +364,16 @@ export interface StorageBackend {
|
|
|
349
364
|
* a facet it chooses to honor. A backend that does not implement this method
|
|
350
365
|
* (FilesystemBackend / MemoryBackend — both local to their data, where a head projection
|
|
351
366
|
* saves nothing) is served by the engine's fallback (`list` +
|
|
352
|
-
* `readMany`, bodies read then dropped)
|
|
353
|
-
*
|
|
354
|
-
*
|
|
367
|
+
* `readMany`, bodies read then dropped). Both paths honor the scan's malformed-doc
|
|
368
|
+
* resilience: given `onSkip`, a backend reports each document it could not parse there and
|
|
369
|
+
* leaves it out; without it, a malformed document fails the scan.
|
|
355
370
|
*/
|
|
356
|
-
queryHeads?(filter?: QueryFilter
|
|
371
|
+
queryHeads?(filter?: QueryFilter, options?: {
|
|
372
|
+
onSkip?: (skip: {
|
|
373
|
+
id: ConceptId;
|
|
374
|
+
reason: string;
|
|
375
|
+
}) => void;
|
|
376
|
+
}): Promise<HeadResult[]>;
|
|
357
377
|
/**
|
|
358
378
|
* OPTIONAL capabilities self-declaration. `StorageBackend` carries
|
|
359
379
|
* no capabilities descriptor by default, so a wire router that wants to report an adapter's
|
|
@@ -366,6 +386,8 @@ export interface StorageBackend {
|
|
|
366
386
|
* cross-process CAS and retained history are now intentionally different capabilities.
|
|
367
387
|
*/
|
|
368
388
|
capabilities?(): StorageCapabilities;
|
|
389
|
+
/** Derived authored links and endpoint titles at the filesystem scan's current observations. */
|
|
390
|
+
relationshipSources?(options?: import("./document-scan.js").QueryOptions): Promise<import("./relationships.js").RelationshipSource[] | undefined>;
|
|
369
391
|
}
|
|
370
392
|
/** Options for {@link initBundle}. */
|
|
371
393
|
export interface InitBundleOptions {
|
|
@@ -380,6 +402,8 @@ export interface InitBundleOptions {
|
|
|
380
402
|
}
|
|
381
403
|
/** Filter for {@link query}. Provided facets are ANDed; reserved files are always excluded. */
|
|
382
404
|
export interface QueryFilter {
|
|
405
|
+
/** Exclude records of type Convention under the canonical conventions/ prefix. */
|
|
406
|
+
excludeConventions?: boolean;
|
|
383
407
|
/** Restrict to concepts whose frontmatter `type` equals this value. */
|
|
384
408
|
type?: string;
|
|
385
409
|
/** Restrict to concepts carrying ALL of these tags. */
|
|
@@ -395,6 +419,23 @@ export interface QueryFilter {
|
|
|
395
419
|
* (e.g. `tags: [a,b]`) matches on membership. A field the doc lacks never matches (empty set).
|
|
396
420
|
*/
|
|
397
421
|
fields?: Record<string, string>;
|
|
422
|
+
/**
|
|
423
|
+
* Restrict to concepts whose `sources` list holds at least one entry carrying this identity
|
|
424
|
+
* (see {@link SourceIdentity}). A selector naming neither key imposes no constraint, like an
|
|
425
|
+
* empty `tags` list.
|
|
426
|
+
*/
|
|
427
|
+
sources?: SourceIdentity;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* An OKF `sources[]` identity: `resource` names the provider namespace and `id` the record within
|
|
431
|
+
* it. Each supplied key must equal the entry's own property of the same name by exact,
|
|
432
|
+
* case-sensitive string comparison: no trimming, URL normalization, or `String()` coercion. An
|
|
433
|
+
* entry that is not a mapping, or whose property is absent or not a string, never matches, and
|
|
434
|
+
* neither does a `sources` value that is not a list.
|
|
435
|
+
*/
|
|
436
|
+
export interface SourceIdentity {
|
|
437
|
+
resource?: string;
|
|
438
|
+
id?: string;
|
|
398
439
|
}
|
|
399
440
|
/** A single resolved outbound cross-link (a standard markdown link, never a wikilink). */
|
|
400
441
|
export interface Link {
|
|
@@ -406,6 +447,11 @@ export interface Link {
|
|
|
406
447
|
text: string;
|
|
407
448
|
/** The raw target as written in the markdown, before resolution (e.g. `/a/b.md`, `./x.md`). */
|
|
408
449
|
href: string;
|
|
450
|
+
/**
|
|
451
|
+
* Set only on a cross-bundle edge (`okf://<alias>/<path>.md`): the declared alias of the bundle
|
|
452
|
+
* `to` lives in. Absent on every local link, so local edge output is unchanged.
|
|
453
|
+
*/
|
|
454
|
+
bundle?: string;
|
|
409
455
|
}
|
|
410
456
|
/**
|
|
411
457
|
* Filter for {@link queryEdges} — the whole-bundle derived edge list, filtered. `from`/`to` each
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B;;;;;;;GAOG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAE7B;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B,uJAAuJ;IACvJ,IAAI,EAAE,MAAM,CAAC;IACb,yFAAyF;IACzF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,kGAAkG;IAClG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iHAAiH;IACjH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iFAAiF;IACjF,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,qFAAqF;AACrF,MAAM,WAAW,WAAW;IAC1B,qDAAqD;IACrD,EAAE,EAAE,SAAS,CAAC;IACd,+BAA+B;IA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,MAAM,EAAE,CAAC;IACvB,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,iGAAiG;AACjG,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE3D,+CAA+C;AAC/C,MAAM,WAAW,gBAAgB;IAC/B,qDAAqD;IACrD,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,mDAAmD;AACnD,MAAM,WAAW,eAAe;IAC9B,uFAAuF;IACvF,OAAO,EAAE,gBAAgB,CAAC;IAC1B,yGAAyG;IACzG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
package/dist/types.js
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared type shapes for the OKF store engine.
|
|
3
|
-
*
|
|
4
|
-
* These are the contract types originally sketched in `index.ts`; they are kept
|
|
5
|
-
* here so the implementation modules can import them without a cycle, and are
|
|
6
|
-
* re-exported verbatim from `index.ts` to keep the public contract stable.
|
|
7
|
-
*
|
|
8
|
-
* @see OKF spec — GoogleCloudPlatform/knowledge-catalog, `okf/SPEC.md`
|
|
9
|
-
* @packageDocumentation
|
|
10
|
-
*/
|
|
11
1
|
export {};
|
|
12
2
|
//# sourceMappingURL=types.js.map
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|