@knowledge-medium/agent-cli 0.1.0
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/LICENSE +21 -0
- package/README.md +161 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +908 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +29 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +91 -0
- package/dist/config.js.map +1 -0
- package/dist/kernel-types/assets.d.ts +14 -0
- package/dist/kernel-types/packages/agent-cli/src/protocol.d.ts +470 -0
- package/dist/kernel-types/packages/agent-cli/src/protocol.d.ts.map +1 -0
- package/dist/kernel-types/src/App.d.ts +3 -0
- package/dist/kernel-types/src/App.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockComponent.d.ts +21 -0
- package/dist/kernel-types/src/components/BlockComponent.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockEditor.d.ts +18 -0
- package/dist/kernel-types/src/components/BlockEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockLoadingPlaceholder.d.ts +15 -0
- package/dist/kernel-types/src/components/BlockLoadingPlaceholder.d.ts.map +1 -0
- package/dist/kernel-types/src/components/BlockProperties.d.ts +12 -0
- package/dist/kernel-types/src/components/BlockProperties.d.ts.map +1 -0
- package/dist/kernel-types/src/components/Header.d.ts +2 -0
- package/dist/kernel-types/src/components/Header.d.ts.map +1 -0
- package/dist/kernel-types/src/components/LazyBlockComponent.d.ts +29 -0
- package/dist/kernel-types/src/components/LazyBlockComponent.d.ts.map +1 -0
- package/dist/kernel-types/src/components/Login.d.ts +12 -0
- package/dist/kernel-types/src/components/Login.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/RefPropertyEditor.d.ts +13 -0
- package/dist/kernel-types/src/components/propertyEditors/RefPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/RefTargetTypePicker.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyEditors/RefTargetTypePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/TypesPropertyEditor.d.ts +3 -0
- package/dist/kernel-types/src/components/propertyEditors/TypesPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/defaults.d.ts +84 -0
- package/dist/kernel-types/src/components/propertyEditors/defaults.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/kernelValuePresets.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyEditors/kernelValuePresets.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/refPropertyEditorOverride.d.ts +9 -0
- package/dist/kernel-types/src/components/propertyEditors/refPropertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyEditors/typesPropertyUi.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyEditors/typesPropertyUi.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/AddPropertyForm.d.ts +16 -0
- package/dist/kernel-types/src/components/propertyPanel/AddPropertyForm.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyPicker.d.ts +54 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyPicker.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyRow.d.ts +21 -0
- package/dist/kernel-types/src/components/propertyPanel/PropertyRow.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/Rows.d.ts +8 -0
- package/dist/kernel-types/src/components/propertyPanel/Rows.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/actions.d.ts +26 -0
- package/dist/kernel-types/src/components/propertyPanel/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/layout.d.ts +7 -0
- package/dist/kernel-types/src/components/propertyPanel/layout.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/model.d.ts +58 -0
- package/dist/kernel-types/src/components/propertyPanel/model.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/shapeUi.d.ts +32 -0
- package/dist/kernel-types/src/components/propertyPanel/shapeUi.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/shapes.d.ts +6 -0
- package/dist/kernel-types/src/components/propertyPanel/shapes.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanel/visibility.d.ts +10 -0
- package/dist/kernel-types/src/components/propertyPanel/visibility.d.ts.map +1 -0
- package/dist/kernel-types/src/components/propertyPanelSections.d.ts +20 -0
- package/dist/kernel-types/src/components/propertyPanelSections.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/BlockEmbed.d.ts +4 -0
- package/dist/kernel-types/src/components/references/BlockEmbed.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/BlockRef.d.ts +6 -0
- package/dist/kernel-types/src/components/references/BlockRef.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/cycleGuard.d.ts +6 -0
- package/dist/kernel-types/src/components/references/cycleGuard.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/cycleGuardContext.d.ts +2 -0
- package/dist/kernel-types/src/components/references/cycleGuardContext.d.ts.map +1 -0
- package/dist/kernel-types/src/components/references/useBlockRefAncestors.d.ts +2 -0
- package/dist/kernel-types/src/components/references/useBlockRefAncestors.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/BlockTypeBlockRenderer.d.ts +12 -0
- package/dist/kernel-types/src/components/renderer/BlockTypeBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorContentRenderer.d.ts +3 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorContentRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorExtensionBlockRenderer.d.ts +3 -0
- package/dist/kernel-types/src/components/renderer/CodeMirrorExtensionBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/DefaultBlockRenderer.d.ts +26 -0
- package/dist/kernel-types/src/components/renderer/DefaultBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/LayoutRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/LayoutRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/MarkdownContentRenderer.d.ts +9 -0
- package/dist/kernel-types/src/components/renderer/MarkdownContentRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/MissingDataRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/MissingDataRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/PanelRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/PanelRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/PropertySchemaBlockRenderer.d.ts +12 -0
- package/dist/kernel-types/src/components/renderer/PropertySchemaBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/TopLevelRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/TopLevelRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/renderer/TypesPageBlockRenderer.d.ts +7 -0
- package/dist/kernel-types/src/components/renderer/TypesPageBlockRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/anchored-floating.d.ts +25 -0
- package/dist/kernel-types/src/components/ui/anchored-floating.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/button.d.ts +15 -0
- package/dist/kernel-types/src/components/ui/button.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/card.d.ts +27 -0
- package/dist/kernel-types/src/components/ui/card.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/checkbox.d.ts +8 -0
- package/dist/kernel-types/src/components/ui/checkbox.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/collapsible.d.ts +6 -0
- package/dist/kernel-types/src/components/ui/collapsible.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/command.d.ts +45 -0
- package/dist/kernel-types/src/components/ui/command.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/context-menu.d.ts +52 -0
- package/dist/kernel-types/src/components/ui/context-menu.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/dialog.d.ts +32 -0
- package/dist/kernel-types/src/components/ui/dialog.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/dropdown-menu.d.ts +52 -0
- package/dist/kernel-types/src/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/floating-listbox.d.ts +20 -0
- package/dist/kernel-types/src/components/ui/floating-listbox.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/index.d.ts +6 -0
- package/dist/kernel-types/src/components/ui/index.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/input.d.ts +8 -0
- package/dist/kernel-types/src/components/ui/input.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/kbd.d.ts +4 -0
- package/dist/kernel-types/src/components/ui/kbd.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/label.d.ts +11 -0
- package/dist/kernel-types/src/components/ui/label.d.ts.map +1 -0
- package/dist/kernel-types/src/components/ui/textarea.d.ts +8 -0
- package/dist/kernel-types/src/components/ui/textarea.d.ts.map +1 -0
- package/dist/kernel-types/src/components/util/LazyViewportMount.d.ts +22 -0
- package/dist/kernel-types/src/components/util/LazyViewportMount.d.ts.map +1 -0
- package/dist/kernel-types/src/components/util/error.d.ts +4 -0
- package/dist/kernel-types/src/components/util/error.d.ts.map +1 -0
- package/dist/kernel-types/src/components/util/suspense.d.ts +2 -0
- package/dist/kernel-types/src/components/util/suspense.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/CreateWorkspaceDialog.d.ts +9 -0
- package/dist/kernel-types/src/components/workspace/CreateWorkspaceDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/PendingInvitations.d.ts +2 -0
- package/dist/kernel-types/src/components/workspace/PendingInvitations.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSettingsDialog.d.ts +10 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSettingsDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSwitcher.d.ts +4 -0
- package/dist/kernel-types/src/components/workspace/WorkspaceSwitcher.d.ts.map +1 -0
- package/dist/kernel-types/src/context/block.d.ts +13 -0
- package/dist/kernel-types/src/context/block.d.ts.map +1 -0
- package/dist/kernel-types/src/context/repo.d.ts +7 -0
- package/dist/kernel-types/src/context/repo.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/blockData.d.ts +73 -0
- package/dist/kernel-types/src/data/api/blockData.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/blockType.d.ts +19 -0
- package/dist/kernel-types/src/data/api/blockType.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/changeScope.d.ts +62 -0
- package/dist/kernel-types/src/data/api/changeScope.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/codecs.d.ts +72 -0
- package/dist/kernel-types/src/data/api/codecs.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/errors.d.ts +108 -0
- package/dist/kernel-types/src/data/api/errors.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/events.d.ts +19 -0
- package/dist/kernel-types/src/data/api/events.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/handle.d.ts +17 -0
- package/dist/kernel-types/src/data/api/handle.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/index.d.ts +20 -0
- package/dist/kernel-types/src/data/api/index.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/mutator.d.ts +42 -0
- package/dist/kernel-types/src/data/api/mutator.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/processor.d.ts +115 -0
- package/dist/kernel-types/src/data/api/processor.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/propertySchema.d.ts +90 -0
- package/dist/kernel-types/src/data/api/propertySchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/query.d.ts +81 -0
- package/dist/kernel-types/src/data/api/query.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/sameTxProcessor.d.ts +112 -0
- package/dist/kernel-types/src/data/api/sameTxProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/schema.d.ts +8 -0
- package/dist/kernel-types/src/data/api/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/tx.d.ts +142 -0
- package/dist/kernel-types/src/data/api/tx.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/typedBlockQuery.d.ts +115 -0
- package/dist/kernel-types/src/data/api/typedBlockQuery.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/user.d.ts +9 -0
- package/dist/kernel-types/src/data/api/user.d.ts.map +1 -0
- package/dist/kernel-types/src/data/api/valuePresets.d.ts +56 -0
- package/dist/kernel-types/src/data/api/valuePresets.d.ts.map +1 -0
- package/dist/kernel-types/src/data/block.d.ts +140 -0
- package/dist/kernel-types/src/data/block.d.ts.map +1 -0
- package/dist/kernel-types/src/data/blockCache.d.ts +114 -0
- package/dist/kernel-types/src/data/blockCache.d.ts.map +1 -0
- package/dist/kernel-types/src/data/blockSchema.d.ts +102 -0
- package/dist/kernel-types/src/data/blockSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/blockTypes.d.ts +21 -0
- package/dist/kernel-types/src/data/blockTypes.d.ts.map +1 -0
- package/dist/kernel-types/src/data/facets.d.ts +67 -0
- package/dist/kernel-types/src/data/facets.d.ts.map +1 -0
- package/dist/kernel-types/src/data/globalState.d.ts +72 -0
- package/dist/kernel-types/src/data/globalState.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/clientSchema.d.ts +273 -0
- package/dist/kernel-types/src/data/internals/clientSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/commitPipeline.d.ts +127 -0
- package/dist/kernel-types/src/data/internals/commitPipeline.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/coreProperties.d.ts +16 -0
- package/dist/kernel-types/src/data/internals/coreProperties.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/handleStore.d.ts +366 -0
- package/dist/kernel-types/src/data/internals/handleStore.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelInvalidation.d.ts +77 -0
- package/dist/kernel-types/src/data/internals/kernelInvalidation.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelMutators.d.ts +174 -0
- package/dist/kernel-types/src/data/internals/kernelMutators.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelProcessors.d.ts +3 -0
- package/dist/kernel-types/src/data/internals/kernelProcessors.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/kernelQueries.d.ts +225 -0
- package/dist/kernel-types/src/data/internals/kernelQueries.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/mergeProperties.d.ts +21 -0
- package/dist/kernel-types/src/data/internals/mergeProperties.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/normalizeReferencesProcessor.d.ts +28 -0
- package/dist/kernel-types/src/data/internals/normalizeReferencesProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/processorRunner.d.ts +95 -0
- package/dist/kernel-types/src/data/internals/processorRunner.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/rowEventsTail.d.ts +70 -0
- package/dist/kernel-types/src/data/internals/rowEventsTail.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/timingMetrics.d.ts +115 -0
- package/dist/kernel-types/src/data/internals/timingMetrics.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/treeQueries.d.ts +87 -0
- package/dist/kernel-types/src/data/internals/treeQueries.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/txEngine.d.ts +155 -0
- package/dist/kernel-types/src/data/internals/txEngine.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/txSnapshots.d.ts +32 -0
- package/dist/kernel-types/src/data/internals/txSnapshots.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/typedBlockQuery.d.ts +37 -0
- package/dist/kernel-types/src/data/internals/typedBlockQuery.d.ts.map +1 -0
- package/dist/kernel-types/src/data/internals/undoManager.d.ts +88 -0
- package/dist/kernel-types/src/data/internals/undoManager.d.ts.map +1 -0
- package/dist/kernel-types/src/data/invalidation.d.ts +47 -0
- package/dist/kernel-types/src/data/invalidation.d.ts.map +1 -0
- package/dist/kernel-types/src/data/kernelDataExtension.d.ts +32 -0
- package/dist/kernel-types/src/data/kernelDataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/data/kernelPage.d.ts +36 -0
- package/dist/kernel-types/src/data/kernelPage.d.ts.map +1 -0
- package/dist/kernel-types/src/data/localSchema.d.ts +5 -0
- package/dist/kernel-types/src/data/localSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/metricsConsoleHook.d.ts +22 -0
- package/dist/kernel-types/src/data/metricsConsoleHook.d.ts.map +1 -0
- package/dist/kernel-types/src/data/orderKey.d.ts +38 -0
- package/dist/kernel-types/src/data/orderKey.d.ts.map +1 -0
- package/dist/kernel-types/src/data/pluginStateExtensions.d.ts +27 -0
- package/dist/kernel-types/src/data/pluginStateExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/data/properties.d.ts +137 -0
- package/dist/kernel-types/src/data/properties.d.ts.map +1 -0
- package/dist/kernel-types/src/data/propertiesPage.d.ts +8 -0
- package/dist/kernel-types/src/data/propertiesPage.d.ts.map +1 -0
- package/dist/kernel-types/src/data/repo.d.ts +745 -0
- package/dist/kernel-types/src/data/repo.d.ts.map +1 -0
- package/dist/kernel-types/src/data/repoProvider.d.ts +35 -0
- package/dist/kernel-types/src/data/repoProvider.d.ts.map +1 -0
- package/dist/kernel-types/src/data/stateBlocks.d.ts +57 -0
- package/dist/kernel-types/src/data/stateBlocks.d.ts.map +1 -0
- package/dist/kernel-types/src/data/targets.d.ts +130 -0
- package/dist/kernel-types/src/data/targets.d.ts.map +1 -0
- package/dist/kernel-types/src/data/typeExtraction.d.ts +136 -0
- package/dist/kernel-types/src/data/typeExtraction.d.ts.map +1 -0
- package/dist/kernel-types/src/data/typesPage.d.ts +8 -0
- package/dist/kernel-types/src/data/typesPage.d.ts.map +1 -0
- package/dist/kernel-types/src/data/userPrefs.d.ts +7 -0
- package/dist/kernel-types/src/data/userPrefs.d.ts.map +1 -0
- package/dist/kernel-types/src/data/userSchemasService.d.ts +73 -0
- package/dist/kernel-types/src/data/userSchemasService.d.ts.map +1 -0
- package/dist/kernel-types/src/data/userTypesService.d.ts +70 -0
- package/dist/kernel-types/src/data/userTypesService.d.ts.map +1 -0
- package/dist/kernel-types/src/data/workspaceSchema.d.ts +49 -0
- package/dist/kernel-types/src/data/workspaceSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/data/workspaces.d.ts +39 -0
- package/dist/kernel-types/src/data/workspaces.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/AppRuntimeProvider.d.ts +6 -0
- package/dist/kernel-types/src/extensions/AppRuntimeProvider.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/BlockFocusShellDecorator.d.ts +4 -0
- package/dist/kernel-types/src/extensions/BlockFocusShellDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/ExtensionRenderBoundary.d.ts +6 -0
- package/dist/kernel-types/src/extensions/ExtensionRenderBoundary.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/api.d.ts +25 -0
- package/dist/kernel-types/src/extensions/api.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/blockInteraction.d.ts +147 -0
- package/dist/kernel-types/src/extensions/blockInteraction.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/compileExtensionModule.d.ts +39 -0
- package/dist/kernel-types/src/extensions/compileExtensionModule.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/core.d.ts +99 -0
- package/dist/kernel-types/src/extensions/core.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/defaultEditorInteractions.d.ts +5 -0
- package/dist/kernel-types/src/extensions/defaultEditorInteractions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/defaultRenderers.d.ts +5 -0
- package/dist/kernel-types/src/extensions/defaultRenderers.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/dialogAppMount.d.ts +4 -0
- package/dist/kernel-types/src/extensions/dialogAppMount.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/discoverToggleTree.d.ts +34 -0
- package/dist/kernel-types/src/extensions/discoverToggleTree.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/dynamicExtensions.d.ts +59 -0
- package/dist/kernel-types/src/extensions/dynamicExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/editor.d.ts +11 -0
- package/dist/kernel-types/src/extensions/editor.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/editorAutocomplete.d.ts +11 -0
- package/dist/kernel-types/src/extensions/editorAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/exampleExtensions.d.ts +19 -0
- package/dist/kernel-types/src/extensions/exampleExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/extensionLoadErrors.d.ts +28 -0
- package/dist/kernel-types/src/extensions/extensionLoadErrors.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/extensionLookup.d.ts +25 -0
- package/dist/kernel-types/src/extensions/extensionLookup.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/facet.d.ts +84 -0
- package/dist/kernel-types/src/extensions/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/overridesCache.d.ts +36 -0
- package/dist/kernel-types/src/extensions/overridesCache.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/pluginIds.d.ts +20 -0
- package/dist/kernel-types/src/extensions/pluginIds.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/resolveAppRuntime.d.ts +50 -0
- package/dist/kernel-types/src/extensions/resolveAppRuntime.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/runtimeActions.d.ts +4 -0
- package/dist/kernel-types/src/extensions/runtimeActions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/runtimeContext.d.ts +4 -0
- package/dist/kernel-types/src/extensions/runtimeContext.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/runtimeEvents.d.ts +3 -0
- package/dist/kernel-types/src/extensions/runtimeEvents.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/staticAppExtensions.d.ts +6 -0
- package/dist/kernel-types/src/extensions/staticAppExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/staticDataExtensions.d.ts +6 -0
- package/dist/kernel-types/src/extensions/staticDataExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/toastAppMount.d.ts +4 -0
- package/dist/kernel-types/src/extensions/toastAppMount.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/togglable.d.ts +79 -0
- package/dist/kernel-types/src/extensions/togglable.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/useOverrides.d.ts +36 -0
- package/dist/kernel-types/src/extensions/useOverrides.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/useShortcutSurfaceActivations.d.ts +22 -0
- package/dist/kernel-types/src/extensions/useShortcutSurfaceActivations.d.ts.map +1 -0
- package/dist/kernel-types/src/extensions/variantFacet.d.ts +70 -0
- package/dist/kernel-types/src/extensions/variantFacet.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/block.d.ts +153 -0
- package/dist/kernel-types/src/hooks/block.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/propertySchemas.d.ts +6 -0
- package/dist/kernel-types/src/hooks/propertySchemas.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/useIsFocalRender.d.ts +24 -0
- package/dist/kernel-types/src/hooks/useIsFocalRender.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/usePendingInvitations.d.ts +8 -0
- package/dist/kernel-types/src/hooks/usePendingInvitations.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/useRendererRegistry.d.ts +5 -0
- package/dist/kernel-types/src/hooks/useRendererRegistry.d.ts.map +1 -0
- package/dist/kernel-types/src/hooks/useWorkspaces.d.ts +19 -0
- package/dist/kernel-types/src/hooks/useWorkspaces.d.ts.map +1 -0
- package/dist/kernel-types/src/initData.d.ts +26 -0
- package/dist/kernel-types/src/initData.d.ts.map +1 -0
- package/dist/kernel-types/src/lib/utils.d.ts +3 -0
- package/dist/kernel-types/src/lib/utils.d.ts.map +1 -0
- package/dist/kernel-types/src/main.d.ts +2 -0
- package/dist/kernel-types/src/main.d.ts.map +1 -0
- package/dist/kernel-types/src/markdown/MarkdownImage.d.ts +6 -0
- package/dist/kernel-types/src/markdown/MarkdownImage.d.ts.map +1 -0
- package/dist/kernel-types/src/markdown/defaultMarkdownExtension.d.ts +4 -0
- package/dist/kernel-types/src/markdown/defaultMarkdownExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/markdown/extensions.d.ts +18 -0
- package/dist/kernel-types/src/markdown/extensions.d.ts.map +1 -0
- package/dist/kernel-types/src/minimal-editor.d.ts +2 -0
- package/dist/kernel-types/src/minimal-editor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/account-header/AccountHeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/account-header/AccountHeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/account-header/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/account-header/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/AgentTokensDialog.d.ts +11 -0
- package/dist/kernel-types/src/plugins/agent-runtime/AgentTokensDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/authoringCatalog.d.ts +78 -0
- package/dist/kernel-types/src/plugins/agent-runtime/authoringCatalog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/bridge.d.ts +5 -0
- package/dist/kernel-types/src/plugins/agent-runtime/bridge.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/commands.d.ts +5 -0
- package/dist/kernel-types/src/plugins/agent-runtime/commands.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/describeRuntime.d.ts +156 -0
- package/dist/kernel-types/src/plugins/agent-runtime/describeRuntime.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/extensionLint.d.ts +37 -0
- package/dist/kernel-types/src/plugins/agent-runtime/extensionLint.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/index.d.ts +11 -0
- package/dist/kernel-types/src/plugins/agent-runtime/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/protocol.d.ts +144 -0
- package/dist/kernel-types/src/plugins/agent-runtime/protocol.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/serialization.d.ts +11 -0
- package/dist/kernel-types/src/plugins/agent-runtime/serialization.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/agent-runtime/tokens.d.ts +39 -0
- package/dist/kernel-types/src/plugins/agent-runtime/tokens.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/alias/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/alias/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/alias/index.d.ts +16 -0
- package/dist/kernel-types/src/plugins/alias/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/alias/syncProcessor.d.ts +54 -0
- package/dist/kernel-types/src/plugins/alias/syncProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/app-intents/appIntents.d.ts +44 -0
- package/dist/kernel-types/src/plugins/app-intents/appIntents.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/app-intents/index.d.ts +24 -0
- package/dist/kernel-types/src/plugins/app-intents/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkEntry.d.ts +6 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkEntry.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkFilters.d.ts +14 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinkFilters.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinksFilterPropertyEditor.d.ts +4 -0
- package/dist/kernel-types/src/plugins/backlinks/BacklinksFilterPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/LinkedReferences.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks/LinkedReferences.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/backlinkBreadcrumbShortcuts.d.ts +19 -0
- package/dist/kernel-types/src/plugins/backlinks/backlinkBreadcrumbShortcuts.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/dailyNoteDefaults.d.ts +13 -0
- package/dist/kernel-types/src/plugins/backlinks/dailyNoteDefaults.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/filterProperty.d.ts +13 -0
- package/dist/kernel-types/src/plugins/backlinks/filterProperty.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyEditorOverride.d.ts +2 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyFilter.d.ts +35 -0
- package/dist/kernel-types/src/plugins/backlinks/propertyFilter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/query.d.ts +38 -0
- package/dist/kernel-types/src/plugins/backlinks/query.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/useBacklinks.d.ts +5 -0
- package/dist/kernel-types/src/plugins/backlinks/useBacklinks.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks/useStoredBacklinkFilter.d.ts +11 -0
- package/dist/kernel-types/src/plugins/backlinks/useStoredBacklinkFilter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksEmptyState.d.ts +5 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksEmptyState.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksViewSection.d.ts +30 -0
- package/dist/kernel-types/src/plugins/backlinks-view/BacklinksViewSection.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/facet.d.ts +23 -0
- package/dist/kernel-types/src/plugins/backlinks-view/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/backlinks-view/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/backlinks-view/prop.d.ts +20 -0
- package/dist/kernel-types/src/plugins/backlinks-view/prop.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/AddTagDialog.d.ts +6 -0
- package/dist/kernel-types/src/plugins/block-tagging/AddTagDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/BlockTagsConfigEditor.d.ts +3 -0
- package/dist/kernel-types/src/plugins/block-tagging/BlockTagsConfigEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/addTagAction.d.ts +7 -0
- package/dist/kernel-types/src/plugins/block-tagging/addTagAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/appendTag.d.ts +22 -0
- package/dist/kernel-types/src/plugins/block-tagging/appendTag.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/config.d.ts +21 -0
- package/dist/kernel-types/src/plugins/block-tagging/config.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/block-tagging/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/block-tagging/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/block-tagging/propertyEditorOverride.d.ts +2 -0
- package/dist/kernel-types/src/plugins/block-tagging/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbList.d.ts +16 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbList.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbRenderer.d.ts +7 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/BreadcrumbRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/Breadcrumbs.d.ts +5 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/breadcrumbPreview.d.ts +2 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/breadcrumbPreview.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/index.d.ts +9 -0
- package/dist/kernel-types/src/plugins/breadcrumbs/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/CommandPalette.d.ts +2 -0
- package/dist/kernel-types/src/plugins/command-palette/CommandPalette.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/command-palette/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/context.d.ts +7 -0
- package/dist/kernel-types/src/plugins/command-palette/context.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/events.d.ts +2 -0
- package/dist/kernel-types/src/plugins/command-palette/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/index.d.ts +24 -0
- package/dist/kernel-types/src/plugins/command-palette/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/command-palette/useCommandPaletteActions.d.ts +8 -0
- package/dist/kernel-types/src/plugins/command-palette/useCommandPaletteActions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/CalendarGrid.d.ts +39 -0
- package/dist/kernel-types/src/plugins/daily-notes/CalendarGrid.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/DailyNotePicker.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/DailyNotePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateKeyboardScrubController.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateKeyboardScrubController.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateScrubOverlay.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/DateScrubOverlay.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/ReschedulePicker.d.ts +2 -0
- package/dist/kernel-types/src/plugins/daily-notes/ReschedulePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/SpreadDatesDialog.d.ts +9 -0
- package/dist/kernel-types/src/plugins/daily-notes/SpreadDatesDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/actions.d.ts +59 -0
- package/dist/kernel-types/src/plugins/daily-notes/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/blockDateAdapter.d.ts +45 -0
- package/dist/kernel-types/src/plugins/daily-notes/blockDateAdapter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/calendar.d.ts +26 -0
- package/dist/kernel-types/src/plugins/daily-notes/calendar.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/dailyNotes.d.ts +67 -0
- package/dist/kernel-types/src/plugins/daily-notes/dailyNotes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/daily-notes/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/dateScrubGesture.d.ts +32 -0
- package/dist/kernel-types/src/plugins/daily-notes/dateScrubGesture.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/events.d.ts +15 -0
- package/dist/kernel-types/src/plugins/daily-notes/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/index.d.ts +71 -0
- package/dist/kernel-types/src/plugins/daily-notes/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/landing.d.ts +21 -0
- package/dist/kernel-types/src/plugins/daily-notes/landing.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/localSchema.d.ts +4 -0
- package/dist/kernel-types/src/plugins/daily-notes/localSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/referenceDateAdapter.d.ts +20 -0
- package/dist/kernel-types/src/plugins/daily-notes/referenceDateAdapter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleAction.d.ts +6 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleEvents.d.ts +25 -0
- package/dist/kernel-types/src/plugins/daily-notes/rescheduleEvents.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/schema.d.ts +11 -0
- package/dist/kernel-types/src/plugins/daily-notes/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadBlockDates.d.ts +37 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadBlockDates.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadDatesAction.d.ts +7 -0
- package/dist/kernel-types/src/plugins/daily-notes/spreadDatesAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/daily-notes/wikilinkDateDecorator.d.ts +3 -0
- package/dist/kernel-types/src/plugins/daily-notes/wikilinkDateDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsOverridesEditor.d.ts +19 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsOverridesEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsSettings.d.ts +28 -0
- package/dist/kernel-types/src/plugins/extensions-settings/ExtensionsSettings.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/actions.d.ts +16 -0
- package/dist/kernel-types/src/plugins/extensions-settings/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/config.d.ts +19 -0
- package/dist/kernel-types/src/plugins/extensions-settings/config.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/extensions-settings/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/effect.d.ts +36 -0
- package/dist/kernel-types/src/plugins/extensions-settings/effect.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/index.d.ts +13 -0
- package/dist/kernel-types/src/plugins/extensions-settings/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/propertyEditorOverride.d.ts +3 -0
- package/dist/kernel-types/src/plugins/extensions-settings/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extensions-settings/useToggleTree.d.ts +21 -0
- package/dist/kernel-types/src/plugins/extensions-settings/useToggleTree.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/ExtractTypeDialog.d.ts +17 -0
- package/dist/kernel-types/src/plugins/extract-type/ExtractTypeDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/FindTypeInstancesDialog.d.ts +18 -0
- package/dist/kernel-types/src/plugins/extract-type/FindTypeInstancesDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/PropertyShapePicker.d.ts +78 -0
- package/dist/kernel-types/src/plugins/extract-type/PropertyShapePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/action.d.ts +19 -0
- package/dist/kernel-types/src/plugins/extract-type/action.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/events.d.ts +16 -0
- package/dist/kernel-types/src/plugins/extract-type/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/extract-type/index.d.ts +22 -0
- package/dist/kernel-types/src/plugins/extract-type/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/FindReplaceDialog.d.ts +2 -0
- package/dist/kernel-types/src/plugins/find-replace/FindReplaceDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/find-replace/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/dataExtension.d.ts +25 -0
- package/dist/kernel-types/src/plugins/find-replace/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/events.d.ts +2 -0
- package/dist/kernel-types/src/plugins/find-replace/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/index.d.ts +13 -0
- package/dist/kernel-types/src/plugins/find-replace/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/search.d.ts +15 -0
- package/dist/kernel-types/src/plugins/find-replace/search.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/find-replace/types.d.ts +33 -0
- package/dist/kernel-types/src/plugins/find-replace/types.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/LocationPropertyEditor.d.ts +14 -0
- package/dist/kernel-types/src/plugins/geo/LocationPropertyEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/MapView.d.ts +29 -0
- package/dist/kernel-types/src/plugins/geo/MapView.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/blockTypes.d.ts +15 -0
- package/dist/kernel-types/src/plugins/geo/blockTypes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/codeMirrorExtensions.d.ts +17 -0
- package/dist/kernel-types/src/plugins/geo/codeMirrorExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/codecs.d.ts +16 -0
- package/dist/kernel-types/src/plugins/geo/codecs.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/createOrFindPlace.d.ts +36 -0
- package/dist/kernel-types/src/plugins/geo/createOrFindPlace.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/currentLocation.d.ts +34 -0
- package/dist/kernel-types/src/plugins/geo/currentLocation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/dataExtension.d.ts +7 -0
- package/dist/kernel-types/src/plugins/geo/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/geoContentDecorator.d.ts +18 -0
- package/dist/kernel-types/src/plugins/geo/geoContentDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/googlePlacesClient.d.ts +102 -0
- package/dist/kernel-types/src/plugins/geo/googlePlacesClient.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/index.d.ts +11 -0
- package/dist/kernel-types/src/plugins/geo/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/locationsPage.d.ts +11 -0
- package/dist/kernel-types/src/plugins/geo/locationsPage.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/pickCurrentLocation.d.ts +23 -0
- package/dist/kernel-types/src/plugins/geo/pickCurrentLocation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/placeAutocomplete.d.ts +103 -0
- package/dist/kernel-types/src/plugins/geo/placeAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/properties.d.ts +33 -0
- package/dist/kernel-types/src/plugins/geo/properties.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/propertyEditorOverrides.d.ts +6 -0
- package/dist/kernel-types/src/plugins/geo/propertyEditorOverrides.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/query.d.ts +48 -0
- package/dist/kernel-types/src/plugins/geo/query.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/geo/usePlaceSearch.d.ts +43 -0
- package/dist/kernel-types/src/plugins/geo/usePlaceSearch.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupHeaderActionButton.d.ts +27 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupHeaderActionButton.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedBacklinksConfigEditor.d.ts +4 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedBacklinksConfigEditor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedLinkedReferences.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/GroupedLinkedReferences.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/config.d.ts +24 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/config.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/facet.d.ts +31 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/grouping.d.ts +23 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/grouping.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/propertyEditorOverride.d.ts +3 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/propertyEditorOverride.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/query.d.ts +34 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/query.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinks.d.ts +6 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinks.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinksConfig.d.ts +4 -0
- package/dist/kernel-types/src/plugins/grouped-backlinks/useGroupedBacklinksConfig.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/left-sidebar/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/LeftSidebar.d.ts +5 -0
- package/dist/kernel-types/src/plugins/left-sidebar/LeftSidebar.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/actions.d.ts +5 -0
- package/dist/kernel-types/src/plugins/left-sidebar/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/events.d.ts +7 -0
- package/dist/kernel-types/src/plugins/left-sidebar/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/facet.d.ts +11 -0
- package/dist/kernel-types/src/plugins/left-sidebar/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/index.d.ts +14 -0
- package/dist/kernel-types/src/plugins/left-sidebar/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/left-sidebar/shortcuts.d.ts +5 -0
- package/dist/kernel-types/src/plugins/left-sidebar/shortcuts.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/MergePicker.d.ts +2 -0
- package/dist/kernel-types/src/plugins/merge-blocks/MergePicker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/events.d.ts +17 -0
- package/dist/kernel-types/src/plugins/merge-blocks/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/index.d.ts +5 -0
- package/dist/kernel-types/src/plugins/merge-blocks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/mergeAction.d.ts +4 -0
- package/dist/kernel-types/src/plugins/merge-blocks/mergeAction.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/merge-blocks/strategy.d.ts +13 -0
- package/dist/kernel-types/src/plugins/merge-blocks/strategy.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/Button.d.ts +9 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/Button.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/MobileBottomNav.d.ts +2 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/MobileBottomNav.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/defaultItems.d.ts +9 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/defaultItems.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/facet.d.ts +12 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/facet.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/index.d.ts +9 -0
- package/dist/kernel-types/src/plugins/mobile-bottom-nav/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/MobileKeyboardToolbar.d.ts +7 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/MobileKeyboardToolbar.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/actions.d.ts +5 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/mobile-keyboard-toolbar/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/plain-outliner/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/plain-outliner/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/plain-outliner/interactions.d.ts +4 -0
- package/dist/kernel-types/src/plugins/plain-outliner/interactions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/HeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/quick-find/HeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/QuickFind.d.ts +2 -0
- package/dist/kernel-types/src/plugins/quick-find/QuickFind.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/events.d.ts +2 -0
- package/dist/kernel-types/src/plugins/quick-find/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/index.d.ts +13 -0
- package/dist/kernel-types/src/plugins/quick-find/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/recents.d.ts +13 -0
- package/dist/kernel-types/src/plugins/quick-find/recents.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/quick-find/selection.d.ts +40 -0
- package/dist/kernel-types/src/plugins/quick-find/selection.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/codeMirrorExtensions.d.ts +9 -0
- package/dist/kernel-types/src/plugins/references/codeMirrorExtensions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/invalidation.d.ts +4 -0
- package/dist/kernel-types/src/plugins/references/invalidation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/localSchema.d.ts +21 -0
- package/dist/kernel-types/src/plugins/references/localSchema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/remark-blockrefs.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/markdown/blockrefs/remark-blockrefs.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/Wikilink.d.ts +14 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/Wikilink.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/remark-wikilinks.d.ts +6 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/remark-wikilinks.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/wikilinkDecorator.d.ts +49 -0
- package/dist/kernel-types/src/plugins/references/markdown/wikilinks/wikilinkDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/referenceParser.d.ts +84 -0
- package/dist/kernel-types/src/plugins/references/referenceParser.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/referenceProjection.d.ts +3 -0
- package/dist/kernel-types/src/plugins/references/referenceProjection.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/referencesProcessor.d.ts +59 -0
- package/dist/kernel-types/src/plugins/references/referencesProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/references/renameProcessor.d.ts +56 -0
- package/dist/kernel-types/src/plugins/references/renameProcessor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/action.d.ts +6 -0
- package/dist/kernel-types/src/plugins/roam-import/action.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/content.d.ts +9 -0
- package/dist/kernel-types/src/plugins/roam-import/content.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/effect.d.ts +7 -0
- package/dist/kernel-types/src/plugins/roam-import/effect.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/ids.d.ts +9 -0
- package/dist/kernel-types/src/plugins/roam-import/ids.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/import.d.ts +37 -0
- package/dist/kernel-types/src/plugins/roam-import/import.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/index.d.ts +8 -0
- package/dist/kernel-types/src/plugins/roam-import/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/plan.d.ts +82 -0
- package/dist/kernel-types/src/plugins/roam-import/plan.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/plugin.d.ts +23 -0
- package/dist/kernel-types/src/plugins/roam-import/plugin.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/promotion.d.ts +39 -0
- package/dist/kernel-types/src/plugins/roam-import/promotion.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/properties.d.ts +62 -0
- package/dist/kernel-types/src/plugins/roam-import/properties.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/references.d.ts +2 -0
- package/dist/kernel-types/src/plugins/roam-import/references.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/report.d.ts +25 -0
- package/dist/kernel-types/src/plugins/roam-import/report.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/roamMemo.d.ts +35 -0
- package/dist/kernel-types/src/plugins/roam-import/roamMemo.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/runtime.d.ts +24 -0
- package/dist/kernel-types/src/plugins/roam-import/runtime.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/schemaReconciliation.d.ts +75 -0
- package/dist/kernel-types/src/plugins/roam-import/schemaReconciliation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/srsMarkers.d.ts +22 -0
- package/dist/kernel-types/src/plugins/roam-import/srsMarkers.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/todo.d.ts +7 -0
- package/dist/kernel-types/src/plugins/roam-import/todo.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/typeCandidates.d.ts +26 -0
- package/dist/kernel-types/src/plugins/roam-import/typeCandidates.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/roam-import/types.d.ts +32 -0
- package/dist/kernel-types/src/plugins/roam-import/types.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/PanelFocusRecovery.d.ts +38 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/PanelFocusRecovery.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/ShellDecorator.d.ts +35 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/ShellDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/actions.d.ts +7 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/index.d.ts +5 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/shell.d.ts +3 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/shell.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/surface.d.ts +4 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/surface.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/walker.d.ts +131 -0
- package/dist/kernel-types/src/plugins/spatial-navigation/walker.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/RescheduleToast.d.ts +14 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/RescheduleToast.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/index.d.ts +19 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/indicator.d.ts +9 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/indicator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/moveSrsState.d.ts +8 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/moveSrsState.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/rescheduleDecorator.d.ts +3 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/rescheduleDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/scheduler.d.ts +24 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/scheduler.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/schema.d.ts +17 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsBlockDateAdapter.d.ts +3 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsBlockDateAdapter.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsClipboard.d.ts +9 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/srsClipboard.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/swipeRightDecorator.d.ts +6 -0
- package/dist/kernel-types/src/plugins/srs-rescheduling/swipeRightDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/SwipeActionMenu.d.ts +15 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/SwipeActionMenu.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/actions.d.ts +46 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/anchor.d.ts +9 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/anchor.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/events.d.ts +31 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/swipeGesture.d.ts +13 -0
- package/dist/kernel-types/src/plugins/swipe-quick-actions/swipeGesture.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/RejectionDialog.d.ts +7 -0
- package/dist/kernel-types/src/plugins/sync-status/RejectionDialog.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/SyncStatusHeaderItem.d.ts +2 -0
- package/dist/kernel-types/src/plugins/sync-status/SyncStatusHeaderItem.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/index.d.ts +5 -0
- package/dist/kernel-types/src/plugins/sync-status/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/model.d.ts +27 -0
- package/dist/kernel-types/src/plugins/sync-status/model.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/sync-status/rejectedHelpers.d.ts +25 -0
- package/dist/kernel-types/src/plugins/sync-status/rejectedHelpers.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/theme-toggle/ThemeToggle.d.ts +2 -0
- package/dist/kernel-types/src/plugins/theme-toggle/ThemeToggle.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/theme-toggle/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/theme-toggle/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/theme-toggle/theme.d.ts +6 -0
- package/dist/kernel-types/src/plugins/theme-toggle/theme.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/actions.d.ts +9 -0
- package/dist/kernel-types/src/plugins/todo/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/dataExtension.d.ts +3 -0
- package/dist/kernel-types/src/plugins/todo/dataExtension.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/index.d.ts +6 -0
- package/dist/kernel-types/src/plugins/todo/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/todo/schema.d.ts +7 -0
- package/dist/kernel-types/src/plugins/todo/schema.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/update-indicator/UpdateIndicator.d.ts +5 -0
- package/dist/kernel-types/src/plugins/update-indicator/UpdateIndicator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/update-indicator/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/update-indicator/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/update-indicator/loadTimes.d.ts +17 -0
- package/dist/kernel-types/src/plugins/update-indicator/loadTimes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/VideoPlayerRenderer.d.ts +15 -0
- package/dist/kernel-types/src/plugins/video-player/VideoPlayerRenderer.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/VideoTimeStamp.d.ts +7 -0
- package/dist/kernel-types/src/plugins/video-player/VideoTimeStamp.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/actions.d.ts +17 -0
- package/dist/kernel-types/src/plugins/video-player/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/events.d.ts +13 -0
- package/dist/kernel-types/src/plugins/video-player/events.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/index.d.ts +3 -0
- package/dist/kernel-types/src/plugins/video-player/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/markdown.d.ts +3 -0
- package/dist/kernel-types/src/plugins/video-player/markdown.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/notes.d.ts +4 -0
- package/dist/kernel-types/src/plugins/video-player/notes.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/remark-timestamps.d.ts +4 -0
- package/dist/kernel-types/src/plugins/video-player/remark-timestamps.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/video-player/view.d.ts +5 -0
- package/dist/kernel-types/src/plugins/video-player/view.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/actions.d.ts +10 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/interactions.d.ts +5 -0
- package/dist/kernel-types/src/plugins/vim-normal-mode/interactions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/VisualNavigationShellDecorator.d.ts +3 -0
- package/dist/kernel-types/src/plugins/visual-navigation/VisualNavigationShellDecorator.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/actions.d.ts +7 -0
- package/dist/kernel-types/src/plugins/visual-navigation/actions.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/index.d.ts +7 -0
- package/dist/kernel-types/src/plugins/visual-navigation/index.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/navigation.d.ts +69 -0
- package/dist/kernel-types/src/plugins/visual-navigation/navigation.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/visual-navigation/shell.d.ts +3 -0
- package/dist/kernel-types/src/plugins/visual-navigation/shell.d.ts.map +1 -0
- package/dist/kernel-types/src/plugins/workspace-header/index.d.ts +8 -0
- package/dist/kernel-types/src/plugins/workspace-header/index.d.ts.map +1 -0
- package/dist/kernel-types/src/registerServiceWorker.d.ts +15 -0
- package/dist/kernel-types/src/registerServiceWorker.d.ts.map +1 -0
- package/dist/kernel-types/src/services/powersync.d.ts +49 -0
- package/dist/kernel-types/src/services/powersync.d.ts.map +1 -0
- package/dist/kernel-types/src/services/supabase.d.ts +6 -0
- package/dist/kernel-types/src/services/supabase.d.ts.map +1 -0
- package/dist/kernel-types/src/services/uploadErrorClassifier.d.ts +16 -0
- package/dist/kernel-types/src/services/uploadErrorClassifier.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/ActiveContexts.d.ts +26 -0
- package/dist/kernel-types/src/shortcuts/ActiveContexts.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/HotkeyReconciler.d.ts +24 -0
- package/dist/kernel-types/src/shortcuts/HotkeyReconciler.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/blockActions.d.ts +39 -0
- package/dist/kernel-types/src/shortcuts/blockActions.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/defaultContexts.d.ts +3 -0
- package/dist/kernel-types/src/shortcuts/defaultContexts.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/defaultShortcuts.d.ts +22 -0
- package/dist/kernel-types/src/shortcuts/defaultShortcuts.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/effectiveActions.d.ts +7 -0
- package/dist/kernel-types/src/shortcuts/effectiveActions.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/runAction.d.ts +20 -0
- package/dist/kernel-types/src/shortcuts/runAction.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/types.d.ts +118 -0
- package/dist/kernel-types/src/shortcuts/types.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/useActionContext.d.ts +25 -0
- package/dist/kernel-types/src/shortcuts/useActionContext.d.ts.map +1 -0
- package/dist/kernel-types/src/shortcuts/utils.d.ts +90 -0
- package/dist/kernel-types/src/shortcuts/utils.d.ts.map +1 -0
- package/dist/kernel-types/src/tutorial/outline.d.ts +39 -0
- package/dist/kernel-types/src/tutorial/outline.d.ts.map +1 -0
- package/dist/kernel-types/src/types.d.ts +104 -0
- package/dist/kernel-types/src/types.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/AliasCollisionToast.d.ts +13 -0
- package/dist/kernel-types/src/utils/AliasCollisionToast.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/ClientLocalSettings.d.ts +47 -0
- package/dist/kernel-types/src/utils/ClientLocalSettings.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/array.d.ts +9 -0
- package/dist/kernel-types/src/utils/array.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/async.d.ts +7 -0
- package/dist/kernel-types/src/utils/async.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/backlinkAutocomplete.d.ts +33 -0
- package/dist/kernel-types/src/utils/backlinkAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/blockrefAutocomplete.d.ts +18 -0
- package/dist/kernel-types/src/utils/blockrefAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/callbackSet.d.ts +29 -0
- package/dist/kernel-types/src/utils/callbackSet.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/codemirror.d.ts +46 -0
- package/dist/kernel-types/src/utils/codemirror.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/codemirrorCompletion.d.ts +3 -0
- package/dist/kernel-types/src/utils/codemirrorCompletion.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/copy.d.ts +8 -0
- package/dist/kernel-types/src/utils/copy.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/dailyPage.d.ts +7 -0
- package/dist/kernel-types/src/utils/dailyPage.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/dialogs.d.ts +38 -0
- package/dist/kernel-types/src/utils/dialogs.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/dom.d.ts +4 -0
- package/dist/kernel-types/src/utils/dom.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/exportSqliteDb.d.ts +29 -0
- package/dist/kernel-types/src/utils/exportSqliteDb.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/lastWorkspace.d.ts +4 -0
- package/dist/kernel-types/src/utils/lastWorkspace.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/layoutSessionId.d.ts +11 -0
- package/dist/kernel-types/src/utils/layoutSessionId.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/linkTargetAutocomplete.d.ts +61 -0
- package/dist/kernel-types/src/utils/linkTargetAutocomplete.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/markdownParser.d.ts +12 -0
- package/dist/kernel-types/src/utils/markdownParser.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/navigation.d.ts +64 -0
- package/dist/kernel-types/src/utils/navigation.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/object.d.ts +7 -0
- package/dist/kernel-types/src/utils/object.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/panelHistory.d.ts +70 -0
- package/dist/kernel-types/src/utils/panelHistory.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/panelLayoutProjection.d.ts +70 -0
- package/dist/kernel-types/src/utils/panelLayoutProjection.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/paste.d.ts +22 -0
- package/dist/kernel-types/src/utils/paste.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/processorRejectionToast.d.ts +26 -0
- package/dist/kernel-types/src/utils/processorRejectionToast.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/propertyCreation.d.ts +4 -0
- package/dist/kernel-types/src/utils/propertyCreation.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/propertyNavigation.d.ts +20 -0
- package/dist/kernel-types/src/utils/propertyNavigation.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/react.d.ts +2 -0
- package/dist/kernel-types/src/utils/react.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/relativeDate.d.ts +42 -0
- package/dist/kernel-types/src/utils/relativeDate.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/routing.d.ts +23 -0
- package/dist/kernel-types/src/utils/routing.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/safeMode.d.ts +5 -0
- package/dist/kernel-types/src/utils/safeMode.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/scheduleIdle.d.ts +14 -0
- package/dist/kernel-types/src/utils/scheduleIdle.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/selection.d.ts +74 -0
- package/dist/kernel-types/src/utils/selection.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/state.d.ts +17 -0
- package/dist/kernel-types/src/utils/state.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/templateLiterals.d.ts +6 -0
- package/dist/kernel-types/src/utils/templateLiterals.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/time.d.ts +3 -0
- package/dist/kernel-types/src/utils/time.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/toast.d.ts +65 -0
- package/dist/kernel-types/src/utils/toast.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/types.d.ts +6 -0
- package/dist/kernel-types/src/utils/types.d.ts.map +1 -0
- package/dist/kernel-types/src/utils/viewTransition.d.ts +29 -0
- package/dist/kernel-types/src/utils/viewTransition.d.ts.map +1 -0
- package/dist/kernelDts.d.ts +13 -0
- package/dist/kernelDts.d.ts.map +1 -0
- package/dist/kernelDts.js +47 -0
- package/dist/kernelDts.js.map +1 -0
- package/dist/protocol.d.ts +470 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +365 -0
- package/dist/protocol.js.map +1 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +554 -0
- package/dist/server.js.map +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { ComponentType, JSX } from 'react';
|
|
2
|
+
import type { Codec } from './codecs';
|
|
3
|
+
import type { ChangeScope } from './changeScope';
|
|
4
|
+
/** Data-layer schema. Pure data — usable from non-React surfaces (server,
|
|
5
|
+
* CLI, headless tests, future non-React UIs). React presentation lives
|
|
6
|
+
* separately: most properties pick up an editor from a future
|
|
7
|
+
* ValuePreset (codec-type → editor) and never need anything more.
|
|
8
|
+
* Per-name *outlier* overrides — type-aware autocompletes, singleton
|
|
9
|
+
* config editors, hidden kernel-internal state — go on
|
|
10
|
+
* `PropertyEditorOverride<T>` (joined to schemas by `name`). See spec §5.6. */
|
|
11
|
+
export interface PropertySchema<T> {
|
|
12
|
+
readonly name: string;
|
|
13
|
+
/** Storage codec; runs at the four boundary call sites only. */
|
|
14
|
+
readonly codec: Codec<T>;
|
|
15
|
+
readonly defaultValue: T;
|
|
16
|
+
readonly changeScope: ChangeScope;
|
|
17
|
+
}
|
|
18
|
+
/** Per-name override for the rare property whose presentation can't be
|
|
19
|
+
* derived from its codec type plus a ValuePreset. Joined to a registered
|
|
20
|
+
* `PropertySchema` by `name` at render time.
|
|
21
|
+
*
|
|
22
|
+
* Reach for this only when one of:
|
|
23
|
+
* - the property needs a type-aware editor that isn't a value-type
|
|
24
|
+
* concept (e.g. block-types autocomplete on `types`),
|
|
25
|
+
* - the property is a singleton with its own config editor,
|
|
26
|
+
* - the property is internal kernel state and should be `hidden`.
|
|
27
|
+
*
|
|
28
|
+
* Most properties don't need an override — leave them alone and the
|
|
29
|
+
* codec/preset chain renders them. See spec §5.6 + §6. */
|
|
30
|
+
export interface PropertyEditorOverride<T = unknown> {
|
|
31
|
+
/** Must match a registered `PropertySchema.name`. Multiple overrides
|
|
32
|
+
* for the same name log a warning and last-wins (facet convention). */
|
|
33
|
+
readonly name: string;
|
|
34
|
+
/** Display name (defaults to `name` when absent). */
|
|
35
|
+
readonly label?: string;
|
|
36
|
+
/** Hide from the normal property panel. Hidden rows can still be
|
|
37
|
+
* revealed in the debug/metadata section; this affects placement and
|
|
38
|
+
* destructive capabilities, not value editability. */
|
|
39
|
+
readonly hidden?: boolean;
|
|
40
|
+
readonly Editor?: PropertyEditor<T>;
|
|
41
|
+
/** Optional per-name glyph override. Defaults to the matching
|
|
42
|
+
* `ValuePreset.Glyph` when absent. Use sparingly — most properties
|
|
43
|
+
* pick up the codec-type-keyed glyph from the preset and don't
|
|
44
|
+
* need a per-name shape. See user-defined-properties §1-ui. */
|
|
45
|
+
readonly Glyph?: ComponentType<{
|
|
46
|
+
className?: string;
|
|
47
|
+
}>;
|
|
48
|
+
}
|
|
49
|
+
export interface PropertyEditorProps<T> {
|
|
50
|
+
value: T;
|
|
51
|
+
onChange: (next: T) => void;
|
|
52
|
+
/** Schema being edited. Present for schema-backed property panel
|
|
53
|
+
* renderers; optional so older UI contributions that only need
|
|
54
|
+
* value/onChange/block keep their existing shape. */
|
|
55
|
+
schema?: PropertySchema<T>;
|
|
56
|
+
/** The block being edited. Type kept loose here so the data-layer api
|
|
57
|
+
* module doesn't need to import the `Block` facade (defined in
|
|
58
|
+
* `src/data/block.ts`). UI consumers narrow at the call site. */
|
|
59
|
+
block: unknown;
|
|
60
|
+
}
|
|
61
|
+
export type PropertyEditor<T> = (props: PropertyEditorProps<T>) => JSX.Element;
|
|
62
|
+
/** Plugin-augmentable type registry for property schemas — mirrors
|
|
63
|
+
* `MutatorRegistry` and `QueryRegistry`. Static plugins augment via
|
|
64
|
+
* `declare module '@/data/api'`; dynamic plugins use string-keyed access. */
|
|
65
|
+
/** Plugin-augmentable type registry. Empty body is intentional —
|
|
66
|
+
* declaration merging requires interface. */
|
|
67
|
+
export interface PropertySchemaRegistry {
|
|
68
|
+
}
|
|
69
|
+
export interface PropertyEditorOverrideRegistry {
|
|
70
|
+
}
|
|
71
|
+
/** Helper for plugin authors to define a schema with full type inference
|
|
72
|
+
* on `defaultValue`. */
|
|
73
|
+
export declare const defineProperty: <T>(name: string, schema: Omit<PropertySchema<T>, "name">) => PropertySchema<T>;
|
|
74
|
+
/** Helper for the rare property that needs a per-name editor override.
|
|
75
|
+
* Most plugins should NOT reach for this — registering an override is
|
|
76
|
+
* the outlier path. The common path is a codec-type-based ValuePreset. */
|
|
77
|
+
export declare const definePropertyEditorOverride: <T>(override: PropertyEditorOverride<T>) => PropertyEditorOverride<T>;
|
|
78
|
+
/** Variance-erased schema type for storage in heterogeneous collections
|
|
79
|
+
* (`propertySchemasFacet`'s contributions, etc.). `PropertySchema<T>`
|
|
80
|
+
* is invariant in `T` through `defaultValue` and `codec`, so typed
|
|
81
|
+
* plugin schemas can't widen to `PropertySchema<unknown>`. The `any`
|
|
82
|
+
* escape mirrors `AnyMutator` / `AnyPostCommitProcessor`. */
|
|
83
|
+
export type AnyPropertySchema = PropertySchema<any>;
|
|
84
|
+
/** Variance-erased editor-override type for storage in
|
|
85
|
+
* `propertyEditorOverridesFacet`'s contributions. `PropertyEditor<T>` is
|
|
86
|
+
* contravariant in `T` (it accepts `value: T`), so typed plugin
|
|
87
|
+
* overrides can't widen to `PropertyEditorOverride<unknown>`. Same
|
|
88
|
+
* `any`-escape pattern. */
|
|
89
|
+
export type AnyPropertyEditorOverride = PropertyEditorOverride<any>;
|
|
90
|
+
//# sourceMappingURL=propertySchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertySchema.d.ts","sourceRoot":"","sources":["../../../../../../../src/data/api/propertySchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEhD;;;;;;gFAMgF;AAChF,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,gEAAgE;IAChE,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAA;IACxB,QAAQ,CAAC,YAAY,EAAE,CAAC,CAAA;IACxB,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAA;CAClC;AAED;;;;;;;;;;;2DAW2D;AAC3D,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,OAAO;IACjD;4EACwE;IACxE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,qDAAqD;IACrD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB;;2DAEuD;IACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IACnC;;;oEAGgE;IAChE,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAAA;CACrD;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,KAAK,EAAE,CAAC,CAAA;IACR,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAA;IAC3B;;0DAEsD;IACtD,MAAM,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IAC1B;;sEAEkE;IAClE,KAAK,EAAE,OAAO,CAAA;CACf;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,OAAO,CAAA;AAE9E;;8EAE8E;AAC9E;8CAC8C;AAE9C,MAAM,WAAW,sBAAsB;CAA+B;AAGtE,MAAM,WAAW,8BAA8B;CAA+B;AAE9E;yBACyB;AACzB,eAAO,MAAM,cAAc,GAAI,CAAC,EAC9B,MAAM,MAAM,EACZ,QAAQ,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,KACtC,cAAc,CAAC,CAAC,CAA0B,CAAA;AAE7C;;2EAE2E;AAC3E,eAAO,MAAM,4BAA4B,GAAI,CAAC,EAC5C,UAAU,sBAAsB,CAAC,CAAC,CAAC,KAClC,sBAAsB,CAAC,CAAC,CAAa,CAAA;AAExC;;;;8DAI8D;AAE9D,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,GAAG,CAAC,CAAA;AAEnD;;;;4BAI4B;AAE5B,MAAM,MAAM,yBAAyB,GAAG,sBAAsB,CAAC,GAAG,CAAC,CAAA"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { Schema } from './schema';
|
|
2
|
+
import type { BlockData } from './blockData';
|
|
3
|
+
import type { Repo } from '../repo';
|
|
4
|
+
/** A dependency a query declares while resolving. Drives invalidation
|
|
5
|
+
* matching (§9.2). Built-in queries declare these from their `resolve`
|
|
6
|
+
* bodies (e.g. `parent-edge` for tree handles, `row` for everything
|
|
7
|
+
* visited). Plugin queries do the same.
|
|
8
|
+
*
|
|
9
|
+
* Plugin queries can declare channel/key dependencies through
|
|
10
|
+
* `{kind:'plugin', channel, key}`. Plugin-owned invalidation rules emit
|
|
11
|
+
* matching channel/key changes after tx commits and sync-applied row
|
|
12
|
+
* events, keeping feature-specific invalidation logic out of core.
|
|
13
|
+
*/
|
|
14
|
+
export type Dependency = {
|
|
15
|
+
kind: 'row';
|
|
16
|
+
id: string;
|
|
17
|
+
} | {
|
|
18
|
+
kind: 'parent-edge';
|
|
19
|
+
parentId: string;
|
|
20
|
+
} | {
|
|
21
|
+
kind: 'workspace';
|
|
22
|
+
workspaceId: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: 'table';
|
|
25
|
+
table: string;
|
|
26
|
+
} | {
|
|
27
|
+
kind: 'plugin';
|
|
28
|
+
channel: string;
|
|
29
|
+
key: string;
|
|
30
|
+
};
|
|
31
|
+
/** Read-only SQL surface available to a query resolver. Sees committed
|
|
32
|
+
* state at resolve time. Intentionally narrower than `PowerSyncDatabase`
|
|
33
|
+
* — no `execute`, no `writeTransaction` — so the type prevents
|
|
34
|
+
* accidental writes through this handle. */
|
|
35
|
+
export interface QueryReadDb {
|
|
36
|
+
getOptional<T>(sql: string, params?: unknown[]): Promise<T | null>;
|
|
37
|
+
getAll<T>(sql: string, params?: unknown[]): Promise<T[]>;
|
|
38
|
+
get<T>(sql: string, params?: unknown[]): Promise<T>;
|
|
39
|
+
}
|
|
40
|
+
/** Resolver context. `db` is the committed-state read surface; writes
|
|
41
|
+
* through `db` are unsupported. `repo` is the owning Repo instance for
|
|
42
|
+
* composing existing query/read surfaces when a resolver needs them. */
|
|
43
|
+
export interface QueryCtx {
|
|
44
|
+
/** Raw SQL reads against committed state. The narrow shape is
|
|
45
|
+
* deliberate: `.execute()` / `.writeTransaction()` are absent. */
|
|
46
|
+
db: QueryReadDb;
|
|
47
|
+
repo: Repo;
|
|
48
|
+
/** Hydrate full block rows into the cache and declare row deps on
|
|
49
|
+
* them. Use when the query result contains those row bodies. */
|
|
50
|
+
hydrateBlocks(rows: ReadonlyArray<Record<string, unknown>>): BlockData[];
|
|
51
|
+
/** Prime block rows into the cache without declaring row deps. Use
|
|
52
|
+
* when rows are fetched only as a cache-warming side effect, such as
|
|
53
|
+
* id-list queries whose result depends only on parent edges. */
|
|
54
|
+
primeBlocks(rows: ReadonlyArray<Record<string, unknown>>): BlockData[];
|
|
55
|
+
/** Declare a dependency; engine uses these to invalidate this handle. */
|
|
56
|
+
depend(dep: Dependency): void;
|
|
57
|
+
}
|
|
58
|
+
export interface Query<Args, Result> {
|
|
59
|
+
readonly name: string;
|
|
60
|
+
readonly argsSchema: Schema<Args>;
|
|
61
|
+
readonly resultSchema: Schema<Result>;
|
|
62
|
+
readonly resolve: (args: Args, ctx: QueryCtx) => Promise<Result>;
|
|
63
|
+
}
|
|
64
|
+
/** Plugin-augmentable type registry. Empty by design so plugin authors
|
|
65
|
+
* can layer in members from their own module via declaration merging. */
|
|
66
|
+
export interface QueryRegistry {
|
|
67
|
+
}
|
|
68
|
+
/** Variance-erased query type for storage in heterogeneous collections
|
|
69
|
+
* (the engine's query registry, `queriesFacet`'s contributions, etc).
|
|
70
|
+
*
|
|
71
|
+
* Same rationale as `AnyMutator`: `Query<Args, Result>` is contravariant
|
|
72
|
+
* in `Args` (the resolver's args parameter) and so a typed plugin
|
|
73
|
+
* query can't be assigned to `Query<unknown, unknown>` under
|
|
74
|
+
* `strictFunctionTypes`. The conventional escape is `any`, which opts
|
|
75
|
+
* out of variance for the registry slot while keeping per-query types
|
|
76
|
+
* intact at definition sites. Concrete callers (`repo.query.X`,
|
|
77
|
+
* `repo.runQuery('name', ...)`) recover precise types via the
|
|
78
|
+
* `QueryRegistry` augmentation. */
|
|
79
|
+
export type AnyQuery = Query<any, any>;
|
|
80
|
+
export declare const defineQuery: <Args, Result>(query: Query<Args, Result>) => Query<Args, Result>;
|
|
81
|
+
//# sourceMappingURL=query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../../../../src/data/api/query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAI5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAEnC;;;;;;;;;GASG;AACH,MAAM,MAAM,UAAU,GAClB;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC3B;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GACzC;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAC1C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpD;;;6CAG6C;AAC7C,MAAM,WAAW,WAAW;IAC1B,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;IAClE,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAAA;IACxD,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;CACpD;AAED;;yEAEyE;AACzE,MAAM,WAAW,QAAQ;IACvB;uEACmE;IACnE,EAAE,EAAE,WAAW,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV;qEACiE;IACjE,aAAa,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,EAAE,CAAA;IACxE;;qEAEiE;IACjE,WAAW,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,EAAE,CAAA;IACtE,yEAAyE;IACzE,MAAM,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,KAAK,CAAC,IAAI,EAAE,MAAM;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,CAAA;IACjC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,CAAA;IACrC,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACjE;AAED;0EAC0E;AAE1E,MAAM,WAAW,aAAa;CAA+B;AAE7D;;;;;;;;;;oCAUoC;AAEpC,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;AAEtC,eAAO,MAAM,WAAW,GAAI,IAAI,EAAE,MAAM,EACtC,OAAO,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,KACzB,KAAK,CAAC,IAAI,EAAE,MAAM,CAAU,CAAA"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Same-tx processor framework (reintroduces the mode that v4.20 of
|
|
3
|
+
* the data-layer redesign dropped — see `docs/data-layer-redesign.md`
|
|
4
|
+
* §16.2 and §7.1).
|
|
5
|
+
*
|
|
6
|
+
* Same-tx vs post-commit, in one line: same-tx fires INSIDE the
|
|
7
|
+
* user's `writeTransaction` after `fn` returns but before commit;
|
|
8
|
+
* post-commit fires AFTER `repo.tx` resolves, in its own tx.
|
|
9
|
+
*
|
|
10
|
+
* What same-tx is for: cheap, correctness-critical, single-row work
|
|
11
|
+
* that must commit atomically with the originating tx — e.g.
|
|
12
|
+
* reference-array normalization (currently inline in `txEngine.ts`)
|
|
13
|
+
* and alias sync (content↔aliases reconciliation + alias-collision
|
|
14
|
+
* rejection). Latency added here is paid by the user-commit path, so
|
|
15
|
+
* it has to stay cheap.
|
|
16
|
+
*
|
|
17
|
+
* What same-tx is NOT for: expensive enrichment (parseReferences),
|
|
18
|
+
* cross-row writes (rename rewriting backlinks across many sources),
|
|
19
|
+
* delayed cleanup. Those stay post-commit per §7.1.
|
|
20
|
+
*
|
|
21
|
+
* Capabilities of `apply`:
|
|
22
|
+
* - Reads via `ctx.tx` — sees the live staged state of the user's
|
|
23
|
+
* tx, including writes by the user fn and writes from any
|
|
24
|
+
* same-tx processor that ran earlier in this pipeline pass.
|
|
25
|
+
* - Writes via `ctx.tx.update/setProperty/etc` — amends the user's
|
|
26
|
+
* tx; snapshot.after updates in place; the undo entry recorded
|
|
27
|
+
* for the user's tx captures these amendments alongside the
|
|
28
|
+
* user's own writes (one user undo step covers everything).
|
|
29
|
+
* - Rejects via `throw new ProcessorRejection(...)` — the user's
|
|
30
|
+
* `writeTransaction` rolls back atomically; no rows committed,
|
|
31
|
+
* no snapshots recorded, no undo entry created.
|
|
32
|
+
*
|
|
33
|
+
* Ordering: registration order (the facet preserves insertion
|
|
34
|
+
* order). Single pass — same-tx processors do NOT re-fire on
|
|
35
|
+
* amendments by other same-tx processors in the same pipeline pass.
|
|
36
|
+
* Each processor's `changedRows` is recomputed from the live
|
|
37
|
+
* snapshots before its `apply` runs, so a later processor sees an
|
|
38
|
+
* earlier processor's writes; this is one-way, not fixpoint.
|
|
39
|
+
*
|
|
40
|
+
* Re-fire on post-commit: same as today — when a same-tx amendment
|
|
41
|
+
* touches a watched field, the field-watch dispatch at the
|
|
42
|
+
* post-commit stage sees the amended `after` and fires post-commit
|
|
43
|
+
* processors accordingly.
|
|
44
|
+
*/
|
|
45
|
+
import type { BlockData } from './blockData';
|
|
46
|
+
import type { AnyPropertySchema } from './propertySchema';
|
|
47
|
+
import type { ChangeScope } from './changeScope';
|
|
48
|
+
import type { ChangedRow } from './processor';
|
|
49
|
+
import type { Tx } from './tx';
|
|
50
|
+
import type { User } from './user';
|
|
51
|
+
/** Plugin-augmentable registry for same-tx processor names → typed
|
|
52
|
+
* metadata. Mirrors `PostCommitProcessorRegistry` for parity even
|
|
53
|
+
* though same-tx has no `scheduledArgs` channel today. */
|
|
54
|
+
export interface SameTxProcessorRegistry {
|
|
55
|
+
}
|
|
56
|
+
export type SameTxProcessor = {
|
|
57
|
+
readonly name: string;
|
|
58
|
+
/** Same-tx processors only support `kind: 'field'` (there is no
|
|
59
|
+
* explicit / afterCommit channel — that's a post-commit-only
|
|
60
|
+
* concept since the user fn can't schedule into its own
|
|
61
|
+
* pre-commit phase). */
|
|
62
|
+
readonly watches: {
|
|
63
|
+
kind: 'field';
|
|
64
|
+
table: 'blocks';
|
|
65
|
+
fields: ReadonlyArray<keyof BlockData>;
|
|
66
|
+
};
|
|
67
|
+
readonly apply: (event: SameTxEvent, ctx: SameTxCtx) => Promise<void>;
|
|
68
|
+
};
|
|
69
|
+
export interface SameTxEvent {
|
|
70
|
+
txId: string;
|
|
71
|
+
scope: ChangeScope;
|
|
72
|
+
user: User;
|
|
73
|
+
/** Always a string for same-tx processors — they only fire after
|
|
74
|
+
* the user fn made at least one write (otherwise the watch can't
|
|
75
|
+
* have matched), so workspace pinning is already settled. */
|
|
76
|
+
workspaceId: string;
|
|
77
|
+
/** Rows whose staged writes touched a watched field. `before` is
|
|
78
|
+
* the pre-tx state (or null for inserts); `after` is the live
|
|
79
|
+
* staged value at the moment this processor fires (includes
|
|
80
|
+
* amendments by earlier same-tx processors in this pass). */
|
|
81
|
+
changedRows: ChangedRow[];
|
|
82
|
+
}
|
|
83
|
+
export interface SameTxCtx {
|
|
84
|
+
/** Active `Tx` — same handle the user fn used. Reads see staged
|
|
85
|
+
* state; writes amend the same tx. Throws here roll back the
|
|
86
|
+
* whole user tx via SQLite's `writeTransaction` abort. */
|
|
87
|
+
tx: Tx;
|
|
88
|
+
/** Merged property-schema registry snapshotted at tx start. */
|
|
89
|
+
propertySchemas: ReadonlyMap<string, AnyPropertySchema>;
|
|
90
|
+
}
|
|
91
|
+
/** Thrown by a same-tx processor to reject the user's tx. The
|
|
92
|
+
* SQLite `writeTransaction` aborts; the error bubbles out of
|
|
93
|
+
* `repo.tx` to the caller. Top-level handlers (editor save, chip
|
|
94
|
+
* edit, command palette) catch this and surface the error via the
|
|
95
|
+
* toast layer using `code` + `meta` to format the message.
|
|
96
|
+
*
|
|
97
|
+
* Distinct error class so callers can `if (err instanceof
|
|
98
|
+
* ProcessorRejection)` without parsing messages. `code` is a
|
|
99
|
+
* stable string like `'alias.collision'` for routing to the right
|
|
100
|
+
* UI affordance. `meta` carries structured detail the toast can
|
|
101
|
+
* use for action buttons / formatted messages. */
|
|
102
|
+
export declare class ProcessorRejection extends Error {
|
|
103
|
+
readonly code: string;
|
|
104
|
+
readonly meta?: Record<string, unknown> | undefined;
|
|
105
|
+
constructor(message: string, code: string, meta?: Record<string, unknown> | undefined);
|
|
106
|
+
}
|
|
107
|
+
export declare const defineSameTxProcessor: (processor: SameTxProcessor) => SameTxProcessor;
|
|
108
|
+
/** Variance-erased same-tx processor type for heterogeneous
|
|
109
|
+
* collections (the engine's facet registry). Parallel to
|
|
110
|
+
* `AnyPostCommitProcessor`. */
|
|
111
|
+
export type AnySameTxProcessor = SameTxProcessor;
|
|
112
|
+
//# sourceMappingURL=sameTxProcessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sameTxProcessor.d.ts","sourceRoot":"","sources":["../../../../../../../src/data/api/sameTxProcessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAElC;;2DAE2D;AAE3D,MAAM,WAAW,uBAAuB;CAAkC;AAE1E,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB;;;6BAGyB;IACzB,QAAQ,CAAC,OAAO,EAAE;QAChB,IAAI,EAAE,OAAO,CAAA;QACb,KAAK,EAAE,QAAQ,CAAA;QACf,MAAM,EAAE,aAAa,CAAC,MAAM,SAAS,CAAC,CAAA;KACvC,CAAA;IACD,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACtE,CAAA;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,WAAW,CAAA;IAClB,IAAI,EAAE,IAAI,CAAA;IACV;;kEAE8D;IAC9D,WAAW,EAAE,MAAM,CAAA;IACnB;;;kEAG8D;IAC9D,WAAW,EAAE,UAAU,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,SAAS;IACxB;;+DAE2D;IAC3D,EAAE,EAAE,EAAE,CAAA;IACN,+DAA+D;IAC/D,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;CACxD;AAED;;;;;;;;;;mDAUmD;AACnD,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,IAAI,EAAE,MAAM;aACZ,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAF9C,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAAA;CAKjD;AAED,eAAO,MAAM,qBAAqB,GAChC,WAAW,eAAe,KACzB,eAA4B,CAAA;AAE/B;;gCAEgC;AAChC,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Boundary-validation schema. zod schemas conform to this structurally
|
|
2
|
+
* (`{ parse(input: unknown): T }`); plugins pick zod or any compatible
|
|
3
|
+
* validator (Valibot, Effect Schema). The data layer never needs zod's
|
|
4
|
+
* full surface — it only ever calls `.parse()`. */
|
|
5
|
+
export interface Schema<T> {
|
|
6
|
+
parse(input: unknown): T;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/data/api/schema.ts"],"names":[],"mappings":"AAAA;;;oDAGoD;AACpD,MAAM,WAAW,MAAM,CAAC,CAAC;IACvB,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,CAAA;CACzB"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import type { BlockData, BlockDataPatch, NewBlockData } from './blockData';
|
|
2
|
+
import type { ChangeScope, TxSource } from './changeScope';
|
|
3
|
+
import type { PropertySchema } from './propertySchema';
|
|
4
|
+
import type { User } from './user';
|
|
5
|
+
/** Per-write opt: skip the engine's automatic `updatedAt`/`updatedBy` bump
|
|
6
|
+
* (and `createdAt`/`createdBy` on `tx.create`). Used by bookkeeping writes
|
|
7
|
+
* whose state isn't user intent — e.g. parseReferences updating
|
|
8
|
+
* `references`. User-facing mutators should not set this. */
|
|
9
|
+
export interface TxWriteOpts {
|
|
10
|
+
skipMetadata?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/** Tx metadata exposed to mutators / processor `apply` bodies.
|
|
13
|
+
* - `txId` — uuid for this tx; written into `command_events.tx_id` and
|
|
14
|
+
* every `row_events.tx_id` for this tx.
|
|
15
|
+
* - `workspaceId` — pinned by the first write in the tx (see the
|
|
16
|
+
* single-workspace invariant in §5.3); `null` until the first write
|
|
17
|
+
* lands. `tx.afterCommit` throws `WorkspaceNotPinnedError` if called
|
|
18
|
+
* before that. */
|
|
19
|
+
export interface TxMeta {
|
|
20
|
+
description?: string;
|
|
21
|
+
scope: ChangeScope;
|
|
22
|
+
user: User;
|
|
23
|
+
txId: string;
|
|
24
|
+
source: TxSource;
|
|
25
|
+
workspaceId: string | null;
|
|
26
|
+
}
|
|
27
|
+
/** Forward declarations — these come from `mutator.ts` / `processor.ts`
|
|
28
|
+
* but are referenced by the Tx interface. */
|
|
29
|
+
import type { Mutator } from './mutator';
|
|
30
|
+
import type { ScheduledArgsFor } from './processor';
|
|
31
|
+
/** Transactional session. Async reads, no arbitrary queries. Spec §5.3. */
|
|
32
|
+
export interface Tx {
|
|
33
|
+
/** Read with read-your-own-writes. Runs inside `db.writeTransaction`,
|
|
34
|
+
* so SQL natively sees writes already issued by this tx. Returns null
|
|
35
|
+
* for missing rows. */
|
|
36
|
+
get(id: string): Promise<BlockData | null>;
|
|
37
|
+
/** Sync read: tx-private snapshots map first (own writes in this tx),
|
|
38
|
+
* then the shared (pre-tx) cache. Returns null if neither has it.
|
|
39
|
+
* The shared cache is mutated only on commit walk (v4.24), so
|
|
40
|
+
* outside-tx readers never observe in-flight tx state. */
|
|
41
|
+
peek(id: string): BlockData | null;
|
|
42
|
+
/** Insert a new block. Throws `DuplicateIdError` on PK conflict.
|
|
43
|
+
* The engine preflights non-null parents and throws
|
|
44
|
+
* `ParentNotFoundError` / `ParentWorkspaceMismatchError` before the
|
|
45
|
+
* storage trigger's collapsed parent/workspace constraint can surface.
|
|
46
|
+
* Soft-deleted-parent is a kernel-mutator UX rule and does NOT fire on
|
|
47
|
+
* raw `tx.create` — see §4.7 Layer 1 (v4.30). */
|
|
48
|
+
create(data: NewBlockData, opts?: TxWriteOpts): Promise<string>;
|
|
49
|
+
/** Insert OR fetch the live row at a deterministic id. **No tombstone
|
|
50
|
+
* resurrection in the primitive** — see §10.4. Throws
|
|
51
|
+
* `DeterministicIdCrossWorkspaceError` if the existing row is in a
|
|
52
|
+
* different workspace; throws `DeletedConflictError` if the existing
|
|
53
|
+
* row is soft-deleted. The shared `createOrRestoreTargetBlock` helper
|
|
54
|
+
* (§7, §13.1) catches `DeletedConflictError` and runs `tx.restore`.
|
|
55
|
+
* The insert path uses the same parent preflight as `tx.create`. */
|
|
56
|
+
createOrGet(data: NewBlockData & {
|
|
57
|
+
id: string;
|
|
58
|
+
}, opts?: TxWriteOpts): Promise<{
|
|
59
|
+
id: string;
|
|
60
|
+
inserted: boolean;
|
|
61
|
+
}>;
|
|
62
|
+
/** Soft-delete: sets `deleted = 1`. Fires the UPDATE trigger; row_events
|
|
63
|
+
* is emitted with `kind = 'soft-delete'` (see §4.3). */
|
|
64
|
+
delete(id: string): Promise<void>;
|
|
65
|
+
/** Un-soft-delete a tombstoned row, optionally with a fresh data-field
|
|
66
|
+
* patch in the same UPDATE. Throws `BlockNotFoundError` if missing or
|
|
67
|
+
* `NotDeletedError` if already live. Used by
|
|
68
|
+
* `createOrRestoreTargetBlock` to recover from `DeletedConflictError`. */
|
|
69
|
+
restore(id: string, patch?: BlockDataPatch, opts?: TxWriteOpts): Promise<void>;
|
|
70
|
+
/** Update non-structural data fields only (`content` / `references` /
|
|
71
|
+
* `properties`). Structural mutations have their own primitives. The
|
|
72
|
+
* patch type excludes `parentId`, `orderKey`, `workspaceId`, `deleted`,
|
|
73
|
+
* and metadata fields at the type level. */
|
|
74
|
+
update(id: string, patch: BlockDataPatch, opts?: TxWriteOpts): Promise<void>;
|
|
75
|
+
/** Move a row to a new `(parentId, orderKey)`. For non-null parents the
|
|
76
|
+
* engine first throws `ParentNotFoundError` /
|
|
77
|
+
* `ParentWorkspaceMismatchError` when the target parent is invalid, then
|
|
78
|
+
* runs `isDescendantOf(target.parentId, id)` and throws `CycleError` if
|
|
79
|
+
* the new parent would be a descendant of `id` — load-bearing because FK
|
|
80
|
+
* and triggers can't structurally catch cycles. `target.parentId = null`
|
|
81
|
+
* re-roots the row (workspace root). */
|
|
82
|
+
move(id: string, target: {
|
|
83
|
+
parentId: string | null;
|
|
84
|
+
orderKey: string;
|
|
85
|
+
}, opts?: TxWriteOpts): Promise<void>;
|
|
86
|
+
/** `setProperty`: applies `codec.encode`, merges into the row's
|
|
87
|
+
* `properties` map, and writes through immediately. Bypassing codecs
|
|
88
|
+
* (raw `properties` writes) goes through `tx.update`. */
|
|
89
|
+
setProperty<T>(id: string, schema: PropertySchema<T>, value: T, opts?: TxWriteOpts): Promise<void>;
|
|
90
|
+
/** `getProperty`: reads SQL/cache and applies `codec.decode`. Returns
|
|
91
|
+
* the schema's `defaultValue` if the property is absent. */
|
|
92
|
+
getProperty<T>(id: string, schema: PropertySchema<T>): Promise<T>;
|
|
93
|
+
/** Compose another mutator. Sub-mutator's writes go through immediately;
|
|
94
|
+
* the parent's subsequent reads see them via SQL (read-your-own-writes
|
|
95
|
+
* inside the writeTransaction). No overlay arithmetic. */
|
|
96
|
+
run<Args, R>(mutator: Mutator<Args, R>, args: Args): Promise<R>;
|
|
97
|
+
/** Children of `parentId`, ordered `(order_key, id)`, filtered
|
|
98
|
+
* `deleted = 0`. Reads SQL via the writeTransaction.
|
|
99
|
+
* Pass `null` to enumerate workspace-root rows (rows with
|
|
100
|
+
* `parent_id IS NULL`); the result is scoped to a workspace by
|
|
101
|
+
* one of three sources, in priority order:
|
|
102
|
+
* 1. explicit `workspaceId` argument (use this when the tx
|
|
103
|
+
* hasn't pinned a workspace yet and you know the right one
|
|
104
|
+
* from a sibling/parent row you already read);
|
|
105
|
+
* 2. the tx's pinned workspace (`tx.meta.workspaceId`) when set;
|
|
106
|
+
* 3. throws `WorkspaceNotPinnedError` otherwise — returning
|
|
107
|
+
* cross-workspace rows is never safe for sibling-position
|
|
108
|
+
* computation.
|
|
109
|
+
* When `parentId !== null`, `workspaceId` is ignored — the parent
|
|
110
|
+
* row already constrains the query. */
|
|
111
|
+
childrenOf(parentId: string | null, workspaceId?: string): Promise<BlockData[]>;
|
|
112
|
+
/** Parent of `childId`, or null if `childId` has no parent or doesn't
|
|
113
|
+
* exist. Reads SQL via the writeTransaction. */
|
|
114
|
+
parentOf(childId: string): Promise<BlockData | null>;
|
|
115
|
+
/** Look up the live block in `workspaceId` whose `aliases` property
|
|
116
|
+
* contains the exact `alias` text. Returns null when no such block
|
|
117
|
+
* exists. Tx-aware version of the kernel `core.aliasLookup` query;
|
|
118
|
+
* sees this tx's own writes via the writeTransaction.
|
|
119
|
+
*
|
|
120
|
+
* Reads through the trigger-maintained `block_aliases` side index
|
|
121
|
+
* (clientSchema.ts) — exact match via `idx_block_aliases_ws_alias`.
|
|
122
|
+
* V1 enforces `(workspace_id, alias)` uniqueness for local writes
|
|
123
|
+
* via the `block_aliases_workspace_alias_unique` trigger, so this
|
|
124
|
+
* lookup typically resolves to a single row; the SQL's
|
|
125
|
+
* `ORDER BY created_at LIMIT 1` is a defense-in-depth tie-break
|
|
126
|
+
* for the sync-apply path that can still race-land duplicates
|
|
127
|
+
* from other clients. */
|
|
128
|
+
aliasLookup(alias: string, workspaceId: string): Promise<BlockData | null>;
|
|
129
|
+
/** Schedule a follow-up post-commit job. Runs in its own
|
|
130
|
+
* writeTransaction after this tx commits; does NOT run if the tx
|
|
131
|
+
* rolls back. Throws `WorkspaceNotPinnedError` if no write has
|
|
132
|
+
* happened yet in this tx (so `meta.workspaceId` is still null). */
|
|
133
|
+
afterCommit<P extends string>(processorName: P, args: ScheduledArgsFor<P>, options?: {
|
|
134
|
+
delayMs?: number;
|
|
135
|
+
}): void;
|
|
136
|
+
readonly meta: TxMeta;
|
|
137
|
+
}
|
|
138
|
+
export interface RepoTxOptions {
|
|
139
|
+
scope: ChangeScope;
|
|
140
|
+
description?: string;
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=tx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tx.d.ts","sourceRoot":"","sources":["../../../../../../../src/data/api/tx.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,YAAY,EACb,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAElC;;;8DAG8D;AAC9D,MAAM,WAAW,WAAW;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED;;;;;;qBAMqB;AACrB,MAAM,WAAW,MAAM;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,WAAW,CAAA;IAClB,IAAI,EAAE,IAAI,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,QAAQ,CAAA;IAChB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAED;8CAC8C;AAC9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnD,2EAA2E;AAC3E,MAAM,WAAW,EAAE;IAGjB;;4BAEwB;IACxB,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAAA;IAE1C;;;+DAG2D;IAC3D,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAA;IAIlC;;;;;sDAKkD;IAClD,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAE/D;;;;;;yEAMqE;IACrE,WAAW,CACT,IAAI,EAAE,YAAY,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EACnC,IAAI,CAAC,EAAE,WAAW,GACjB,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC,CAAA;IAE7C;6DACyD;IACzD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEjC;;;+EAG2E;IAC3E,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAI9E;;;iDAG6C;IAC7C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAI5E;;;;;;6CAMyC;IACzC,IAAI,CACF,EAAE,EAAE,MAAM,EACV,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EACrD,IAAI,CAAC,EAAE,WAAW,GACjB,OAAO,CAAC,IAAI,CAAC,CAAA;IAIhB;;8DAE0D;IAC1D,WAAW,CAAC,CAAC,EACX,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC,EACzB,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,WAAW,GACjB,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB;iEAC6D;IAC7D,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IAIjE;;+DAE2D;IAC3D,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IAI/D;;;;;;;;;;;;;4CAawC;IACxC,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;IAE/E;qDACiD;IACjD,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAAA;IAEpD;;;;;;;;;;;;8BAY0B;IAC1B,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAAA;IAI1E;;;yEAGqE;IACrE,WAAW,CAAC,CAAC,SAAS,MAAM,EAC1B,aAAa,EAAE,CAAC,EAChB,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,EACzB,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAC7B,IAAI,CAAA;IAEP,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,WAAW,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
export interface TypedBlockQueryReferenceFilter {
|
|
2
|
+
readonly id: string;
|
|
3
|
+
readonly sourceField?: string;
|
|
4
|
+
}
|
|
5
|
+
/** Operator object accepted inside `BlockPredicate.where[name]`. The
|
|
6
|
+
* scalar/null shorthand still works: a bare value compiles as
|
|
7
|
+
* equality, `null` compiles as `IS NULL`. The object form is needed
|
|
8
|
+
* for everything else.
|
|
9
|
+
*
|
|
10
|
+
* Exactly one operator key per object — multiple keys would force an
|
|
11
|
+
* AND-vs-OR interpretation that's better expressed by combining
|
|
12
|
+
* predicates in `match` / `exclude`. The runtime parser rejects
|
|
13
|
+
* multi-key objects to keep the surface unambiguous.
|
|
14
|
+
*
|
|
15
|
+
* Operand types: each scalar operand goes through `codec.where.encode`
|
|
16
|
+
* the same way scalar shorthand does, so `{ lt: new Date('2026-01-01') }`
|
|
17
|
+
* on a date-codec property and `{ gt: 5 }` on a number-codec property
|
|
18
|
+
* validate identically to their equality-form counterparts. `between`
|
|
19
|
+
* is inclusive on both ends. `exists` takes a boolean — `true` for
|
|
20
|
+
* "property is set" (`IS NOT NULL`), `false` for "unset" (`IS NULL`,
|
|
21
|
+
* same as the `null` shorthand).
|
|
22
|
+
*
|
|
23
|
+
* `target` is the ref-traversal operator. Valid only on `ref`-typed
|
|
24
|
+
* (and `refList`-typed) properties; the operand is an inner where-map
|
|
25
|
+
* compiled against the referenced block's `properties_json`. Lets
|
|
26
|
+
* callers ask "this ref points to a block whose <inner where> holds"
|
|
27
|
+
* without bouncing through `referencedBy`, which only knows equality
|
|
28
|
+
* on the target id. Example — find blocks whose `next-review-date`
|
|
29
|
+
* ref points to a daily note whose `daily-note:date` is in the past:
|
|
30
|
+
*
|
|
31
|
+
* where: {
|
|
32
|
+
* 'next-review-date': {
|
|
33
|
+
* target: { 'daily-note:date': { lt: new Date() } }
|
|
34
|
+
* }
|
|
35
|
+
* }
|
|
36
|
+
*
|
|
37
|
+
* The compiler stays plugin-agnostic — it doesn't know about
|
|
38
|
+
* daily-notes; the caller (typically UI) spells the target property
|
|
39
|
+
* name. */
|
|
40
|
+
export type WhereOperator = {
|
|
41
|
+
readonly eq: unknown;
|
|
42
|
+
} | {
|
|
43
|
+
readonly lt: unknown;
|
|
44
|
+
} | {
|
|
45
|
+
readonly lte: unknown;
|
|
46
|
+
} | {
|
|
47
|
+
readonly gt: unknown;
|
|
48
|
+
} | {
|
|
49
|
+
readonly gte: unknown;
|
|
50
|
+
} | {
|
|
51
|
+
readonly between: readonly [unknown, unknown];
|
|
52
|
+
} | {
|
|
53
|
+
readonly exists: boolean;
|
|
54
|
+
} | {
|
|
55
|
+
readonly target: Readonly<Record<string, unknown>>;
|
|
56
|
+
};
|
|
57
|
+
/** A single block predicate. Compiled against either the block itself
|
|
58
|
+
* (`scope: 'self'`, default) or the block-or-any-of-its-ancestors
|
|
59
|
+
* (`scope: 'ancestor'`). All sub-fields within one predicate AND
|
|
60
|
+
* together. Multiple predicates AND across in `match`, NOR across in
|
|
61
|
+
* `exclude`.
|
|
62
|
+
*
|
|
63
|
+
* The `id` field is the "block has this id" primitive. Useful with
|
|
64
|
+
* ancestor scope to filter for "block is contained in page X" without
|
|
65
|
+
* requiring X to be referenced — e.g. backlinks-on-a-daily-note
|
|
66
|
+
* filtering by which page their context lives in.
|
|
67
|
+
*
|
|
68
|
+
* `where[name]` values: scalar (equality), `null` (unset), or a
|
|
69
|
+
* `WhereOperator` object (`{ lt: v }`, `{ exists: true }`, etc.). See
|
|
70
|
+
* the `WhereOperator` doc for the operand contract. */
|
|
71
|
+
export interface BlockPredicate {
|
|
72
|
+
readonly scope?: 'self' | 'ancestor';
|
|
73
|
+
readonly id?: string;
|
|
74
|
+
readonly where?: Readonly<Record<string, unknown>>;
|
|
75
|
+
readonly referencedBy?: TypedBlockQueryReferenceFilter;
|
|
76
|
+
}
|
|
77
|
+
export interface TypedBlockQuery {
|
|
78
|
+
/** Required. Callers that want the user's currently-active workspace
|
|
79
|
+
* use `repo.queryActiveWorkspace` / `repo.subscribeActiveWorkspace`
|
|
80
|
+
* (or pass `repo.activeWorkspaceId` explicitly). Making this field
|
|
81
|
+
* required at the type level prevents background flows, import runs,
|
|
82
|
+
* and any code that operates on a workspace other than the
|
|
83
|
+
* currently-active one from silently mis-scoping when the user
|
|
84
|
+
* switches workspaces mid-flight (see PR #47 review). */
|
|
85
|
+
readonly workspaceId: string;
|
|
86
|
+
/** Contains any of these type ids. Empty/omitted means no type filter. */
|
|
87
|
+
readonly types?: readonly string[];
|
|
88
|
+
/** Self-scope shorthand: equivalent to a `match` entry with
|
|
89
|
+
* `scope: 'self'` carrying these `where` filters. Kept as a
|
|
90
|
+
* top-level field so the common typed-block-query call sites stay
|
|
91
|
+
* terse. */
|
|
92
|
+
readonly where?: Readonly<Record<string, unknown>>;
|
|
93
|
+
/** Self-scope shorthand: equivalent to a `match` entry with
|
|
94
|
+
* `scope: 'self'` carrying this `referencedBy`. Drives the
|
|
95
|
+
* candidate-set selection in the compiler — when present, the
|
|
96
|
+
* scan starts from `block_references` and the ancestor walk (if
|
|
97
|
+
* any) is seeded from that narrow set. */
|
|
98
|
+
readonly referencedBy?: TypedBlockQueryReferenceFilter;
|
|
99
|
+
/** Additional ANDed predicates. Each predicate carries its own
|
|
100
|
+
* scope, so the same query can mix block-itself and block-or-any-
|
|
101
|
+
* ancestor filters. */
|
|
102
|
+
readonly match?: readonly BlockPredicate[];
|
|
103
|
+
/** NORed predicates: a block matches iff none of these match. Same
|
|
104
|
+
* predicate shape as `match`. */
|
|
105
|
+
readonly exclude?: readonly BlockPredicate[];
|
|
106
|
+
/** Result ordering. Default `created-asc`. Backlinks panels use
|
|
107
|
+
* `created-desc` to put newest sources first. */
|
|
108
|
+
readonly order?: 'created-asc' | 'created-desc';
|
|
109
|
+
}
|
|
110
|
+
/** Historically the "post-default-resolution" shape used internally;
|
|
111
|
+
* now that `TypedBlockQuery.workspaceId` is required at the type level
|
|
112
|
+
* the two shapes are identical. Kept as an alias for back-compat with
|
|
113
|
+
* internal call sites that name the resolved form explicitly. */
|
|
114
|
+
export type ResolvedTypedBlockQuery = TypedBlockQuery;
|
|
115
|
+
//# sourceMappingURL=typedBlockQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typedBlockQuery.d.ts","sourceRoot":"","sources":["../../../../../../../src/data/api/typedBlockQuery.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAkCY;AACZ,MAAM,MAAM,aAAa,GACrB;IAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;CAAE,GACxB;IAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;CAAE,GACxB;IAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAA;CAAE,GACzB;IAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;CAAE,GACxB;IAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAA;CAAE,GACzB;IAAE,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;CAAE,GACjD;IAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAC5B;IAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CAAE,CAAA;AAE1D;;;;;;;;;;;;;wDAawD;AACxD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IACpC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAClD,QAAQ,CAAC,YAAY,CAAC,EAAE,8BAA8B,CAAA;CACvD;AAED,MAAM,WAAW,eAAe;IAC9B;;;;;;8DAM0D;IAC1D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,0EAA0E;IAC1E,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAClC;;;iBAGa;IACb,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAClD;;;;+CAI2C;IAC3C,QAAQ,CAAC,YAAY,CAAC,EAAE,8BAA8B,CAAA;IACtD;;4BAEwB;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;IAC1C;sCACkC;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,cAAc,EAAE,CAAA;IAC5C;sDACkD;IAClD,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,cAAc,CAAA;CAChD;AAED;;;kEAGkE;AAClE,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Tx-context user. Kept minimal — engine writes `user.id` into
|
|
2
|
+
* `tx_context.user_id` and into the per-row `created_by` / `updated_by`
|
|
3
|
+
* columns. Display-side User shape lives in `src/types.ts`; the data
|
|
4
|
+
* layer doesn't depend on it. */
|
|
5
|
+
export interface User {
|
|
6
|
+
id: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../../src/data/api/user.ts"],"names":[],"mappings":"AAAA;;;kCAGkC;AAClC,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
|