@columnus/sdk 0.0.0-stage → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocknote-editor-FP33A6RJ.js +7 -0
- package/dist/blocknote-editor-FP33A6RJ.js.map +1 -0
- package/dist/blocknote-editor-YZEFMXLC.css +47 -0
- package/dist/blocknote-editor-YZEFMXLC.css.map +1 -0
- package/dist/blocknote-preview-6WRENQZD.css +47 -0
- package/dist/blocknote-preview-6WRENQZD.css.map +1 -0
- package/dist/blocknote-preview-QZ5SC2GJ.js +7 -0
- package/dist/blocknote-preview-QZ5SC2GJ.js.map +1 -0
- package/dist/chunk-5IPH2A64.js +23337 -0
- package/dist/chunk-5IPH2A64.js.map +1 -0
- package/dist/chunk-6LKVKI5O.js +494 -0
- package/dist/chunk-6LKVKI5O.js.map +1 -0
- package/dist/chunk-BXTTCBIK.js +11 -0
- package/dist/chunk-BXTTCBIK.js.map +1 -0
- package/dist/chunk-CKNRITN3.js +225 -0
- package/dist/chunk-CKNRITN3.js.map +1 -0
- package/dist/chunk-FKHOREJP.js +58 -0
- package/dist/chunk-FKHOREJP.js.map +1 -0
- package/dist/chunk-ICKWVUW7.js +134 -0
- package/dist/chunk-ICKWVUW7.js.map +1 -0
- package/dist/chunk-LTPU2AL3.js +18774 -0
- package/dist/chunk-LTPU2AL3.js.map +1 -0
- package/dist/chunk-PX6F3LHL.js +37 -0
- package/dist/chunk-PX6F3LHL.js.map +1 -0
- package/dist/chunk-QPQRNIKG.js +142 -0
- package/dist/chunk-QPQRNIKG.js.map +1 -0
- package/dist/chunk-UXUDOFKZ.js +4169 -0
- package/dist/chunk-UXUDOFKZ.js.map +1 -0
- package/dist/chunk-ZTWPGA37.js +68 -0
- package/dist/chunk-ZTWPGA37.js.map +1 -0
- package/dist/cms/builder/diff-view.js +70 -0
- package/dist/cms/builder/diff-view.js.map +1 -0
- package/dist/cms/builder/panel.js +1316 -0
- package/dist/cms/builder/panel.js.map +1 -0
- package/dist/cms/convex/index.css +47 -0
- package/dist/cms/convex/index.css.map +1 -0
- package/dist/cms/convex/index.js +370 -0
- package/dist/cms/convex/index.js.map +1 -0
- package/dist/cms/index.css +47 -0
- package/dist/cms/index.css.map +1 -0
- package/dist/cms/index.js +9 -0
- package/dist/cms/index.js.map +1 -0
- package/dist/cms/server/index.js +5 -0
- package/dist/cms/server/index.js.map +1 -0
- package/dist/cms/tables/tables-dialog.css +47 -0
- package/dist/cms/tables/tables-dialog.css.map +1 -0
- package/dist/cms/tables/tables-dialog.js +590 -0
- package/dist/cms/tables/tables-dialog.js.map +1 -0
- package/dist/cms/tailwind.css +4 -0
- package/dist/editor-54UG7BSP.css +47 -0
- package/dist/editor-54UG7BSP.css.map +1 -0
- package/dist/editor-HJ3UNV3Q.js +427 -0
- package/dist/editor-HJ3UNV3Q.js.map +1 -0
- package/dist/mcp-cli.js +61218 -0
- package/dist/primitives.css +143 -0
- package/dist/rich-text-editor/blocknote-preview-studio.css +54 -0
- package/dist/richtext.css +4 -0
- package/dist/types/cms/src/adapters/default-richtext.d.ts +24 -0
- package/dist/types/cms/src/adapters/projected-fields-adapter.d.ts +22 -0
- package/dist/types/cms/src/adapters/table-rows-context.d.ts +4 -0
- package/dist/types/cms/src/adapters/table-rows-richtext.d.ts +8 -0
- package/dist/types/cms/src/builder/annotate.d.ts +13 -0
- package/dist/types/cms/src/builder/diff-view.d.ts +10 -0
- package/dist/types/cms/src/builder/inspect.d.ts +32 -0
- package/dist/types/cms/src/builder/panel.d.ts +11 -0
- package/dist/types/cms/src/builder/sessions-menu.d.ts +37 -0
- package/dist/types/cms/src/builder/sidecar-json.d.ts +2 -0
- package/dist/types/cms/src/cache/html-cache.d.ts +12 -0
- package/dist/types/cms/src/chrome/changes-view.d.ts +15 -0
- package/dist/types/cms/src/chrome/confirm-panel.d.ts +10 -0
- package/dist/types/cms/src/chrome/floating-toolbar.d.ts +25 -0
- package/dist/types/cms/src/chrome/icons.d.ts +13 -0
- package/dist/types/cms/src/chrome/overlay-styles.d.ts +38 -0
- package/dist/types/cms/src/chrome/resolve-dialog.d.ts +26 -0
- package/dist/types/cms/src/chrome/session-storage.d.ts +3 -0
- package/dist/types/cms/src/convex/cms-convex-proposals.d.ts +19 -0
- package/dist/types/cms/src/convex/cms-convex-shell.d.ts +8 -0
- package/dist/types/cms/src/convex/cms-host-refs.d.ts +15 -0
- package/dist/types/cms/src/convex/index.d.ts +7 -0
- package/dist/types/cms/src/convex/proposal-refs.d.ts +20 -0
- package/dist/types/cms/src/convex/use-cms-display-fields-adapter.d.ts +17 -0
- package/dist/types/cms/src/convex/use-cms-display-values.d.ts +12 -0
- package/dist/types/cms/src/convex/use-cms-editor-auth.d.ts +12 -0
- package/dist/types/cms/src/convex/use-cms-storage-display.d.ts +19 -0
- package/dist/types/cms/src/convex/use-cms-storage-fields-adapter.d.ts +63 -0
- package/dist/types/cms/src/convex/use-fields-adapter-host.d.ts +4 -0
- package/dist/types/cms/src/create/compound-create.d.ts +56 -0
- package/dist/types/cms/src/draft/merge-draft.d.ts +31 -0
- package/dist/types/cms/src/edit/cms-compound-create.d.ts +12 -0
- package/dist/types/cms/src/edit/cms-create-button.d.ts +9 -0
- package/dist/types/cms/src/edit/edit-surface.d.ts +16 -0
- package/dist/types/cms/src/edit/field-editor-dialog.d.ts +22 -0
- package/dist/types/cms/src/edit/inplace-field-editor.d.ts +21 -0
- package/dist/types/cms/src/edit/inplace-switch-modal.d.ts +5 -0
- package/dist/types/cms/src/edit/insert-row-dialog.d.ts +20 -0
- package/dist/types/cms/src/index.d.ts +35 -0
- package/dist/types/cms/src/list/build-insert-draft.d.ts +13 -0
- package/dist/types/cms/src/manifest-index.d.ts +5 -0
- package/dist/types/cms/src/nav/content-ref-integrity.d.ts +18 -0
- package/dist/types/cms/src/nav/content-ref.d.ts +6 -0
- package/dist/types/cms/src/nav/infer-navigation-table.d.ts +20 -0
- package/dist/types/cms/src/nav/slugify-de.d.ts +4 -0
- package/dist/types/cms/src/pages/login-page.d.ts +5 -0
- package/dist/types/cms/src/profile/propose-gates.d.ts +12 -0
- package/dist/types/cms/src/profile/readable-tables.d.ts +13 -0
- package/dist/types/cms/src/projection/cms-projection.d.ts +63 -0
- package/dist/types/cms/src/proposals/types.d.ts +59 -0
- package/dist/types/cms/src/provider/builder-draft.d.ts +14 -0
- package/dist/types/cms/src/provider/cms-provider.d.ts +240 -0
- package/dist/types/cms/src/rich-doc/cms-rich-doc-view.d.ts +4 -0
- package/dist/types/cms/src/server/cookie.d.ts +11 -0
- package/dist/types/cms/src/server/index.d.ts +2 -0
- package/dist/types/cms/src/server/session.d.ts +53 -0
- package/dist/types/cms/src/stamps/attrs.d.ts +17 -0
- package/dist/types/cms/src/stamps/related.d.ts +11 -0
- package/dist/types/cms/src/stamps/resolve-display.d.ts +41 -0
- package/dist/types/cms/src/stamps/row.d.ts +41 -0
- package/dist/types/cms/src/stamps/stamp-media-drop.d.ts +23 -0
- package/dist/types/cms/src/stamps/stamp.d.ts +44 -0
- package/dist/types/cms/src/stamps/storage-display.d.ts +4 -0
- package/dist/types/cms/src/stamps/use-cms-projected-field.d.ts +6 -0
- package/dist/types/cms/src/stamps/use-cms-projected-table.d.ts +7 -0
- package/dist/types/cms/src/stamps/use-cms-related-row.d.ts +2 -0
- package/dist/types/cms/src/tables/tables-dialog.d.ts +6 -0
- package/dist/types/cms/src/tables/use-cms-grid.d.ts +78 -0
- package/dist/types/cms/src/tables/use-draft-commands.d.ts +35 -0
- package/dist/types/data-grid/src/components/balanced-preview-columns.d.ts +7 -0
- package/dist/types/data-grid/src/components/cell-formula-bar.d.ts +40 -0
- package/dist/types/data-grid/src/components/cell-renderer.d.ts +10 -0
- package/dist/types/data-grid/src/components/cell-selection.d.ts +72 -0
- package/dist/types/data-grid/src/components/column-filter-popover.d.ts +29 -0
- package/dist/types/data-grid/src/components/context-menu-selection.d.ts +24 -0
- package/dist/types/data-grid/src/components/data-grid-table.d.ts +49 -0
- package/dist/types/data-grid/src/components/delete-confirm-copy.d.ts +6 -0
- package/dist/types/data-grid/src/components/display-search-scope-notice.d.ts +4 -0
- package/dist/types/data-grid/src/components/draft-rows.d.ts +14 -0
- package/dist/types/data-grid/src/components/field-condition-editor.d.ts +71 -0
- package/dist/types/data-grid/src/components/fill-handle.d.ts +22 -0
- package/dist/types/data-grid/src/components/grid-action-bar.d.ts +8 -0
- package/dist/types/data-grid/src/components/grid-body-layout.d.ts +27 -0
- package/dist/types/data-grid/src/components/grid-body-row.d.ts +83 -0
- package/dist/types/data-grid/src/components/grid-editing.d.ts +158 -0
- package/dist/types/data-grid/src/components/grid-event-utils.d.ts +10 -0
- package/dist/types/data-grid/src/components/grid-filter-search-chips.d.ts +7 -0
- package/dist/types/data-grid/src/components/grid-filter-search-context.d.ts +135 -0
- package/dist/types/data-grid/src/components/grid-filter-search.d.ts +6 -0
- package/dist/types/data-grid/src/components/grid-row-menu.d.ts +23 -0
- package/dist/types/data-grid/src/components/grid-seam-island.d.ts +23 -0
- package/dist/types/data-grid/src/components/grid-sort-group.d.ts +25 -0
- package/dist/types/data-grid/src/components/grid-toolbar.d.ts +54 -0
- package/dist/types/data-grid/src/components/index-suggestion-banner.d.ts +11 -0
- package/dist/types/data-grid/src/components/inline-edit-draft.d.ts +18 -0
- package/dist/types/data-grid/src/components/keyboard-shortcuts-overlay.d.ts +7 -0
- package/dist/types/data-grid/src/components/measure-column-auto-width.d.ts +6 -0
- package/dist/types/data-grid/src/components/pending-edits.d.ts +25 -0
- package/dist/types/data-grid/src/components/perform-grid-row-delete.d.ts +27 -0
- package/dist/types/data-grid/src/components/query-plan-banner.d.ts +13 -0
- package/dist/types/data-grid/src/components/query-predicate-builder.d.ts +53 -0
- package/dist/types/data-grid/src/components/row-detail-dialog.d.ts +17 -0
- package/dist/types/data-grid/src/components/row-preview-content.d.ts +21 -0
- package/dist/types/data-grid/src/components/row-preview-drawer.d.ts +24 -0
- package/dist/types/data-grid/src/components/selection-value-chips.d.ts +12 -0
- package/dist/types/data-grid/src/components/selection.d.ts +46 -0
- package/dist/types/data-grid/src/components/table-cell-overlays.d.ts +33 -0
- package/dist/types/data-grid/src/components/table-color-marker.d.ts +10 -0
- package/dist/types/data-grid/src/components/use-column-visibility.d.ts +5 -0
- package/dist/types/data-grid/src/components/use-column-widths.d.ts +6 -0
- package/dist/types/data-grid/src/components/use-undo-redo.d.ts +46 -0
- package/dist/types/data-grid/src/hooks/plan-pending-edits.d.ts +41 -0
- package/dist/types/data-grid/src/hooks/use-grid-interactions.d.ts +100 -0
- package/dist/types/data-grid/src/hooks/use-grid-pending-state.d.ts +41 -0
- package/dist/types/data-grid/src/hooks/use-grid-selection-model.d.ts +28 -0
- package/dist/types/data-grid/src/hooks/use-grid-table-layout.d.ts +39 -0
- package/dist/types/data-grid/src/hooks/use-true-after-delay.d.ts +10 -0
- package/dist/types/data-grid/src/index.d.ts +47 -0
- package/dist/types/data-grid/src/lib/column-filter.d.ts +43 -0
- package/dist/types/data-grid/src/lib/display-search-scope.d.ts +2 -0
- package/dist/types/data-grid/src/lib/format-query-chips.d.ts +28 -0
- package/dist/types/data-grid/src/lib/grid-items.d.ts +63 -0
- package/dist/types/data-grid/src/lib/persistent-state.d.ts +6 -0
- package/dist/types/data-grid/src/lib/query-editor-draft.d.ts +15 -0
- package/dist/types/data-grid/src/lib/use-row-preview-collapsed.d.ts +9 -0
- package/dist/types/data-grid/src/lib/use-row-preview-title.d.ts +1 -0
- package/dist/types/fields/src/components/batch-edit-sheet.d.ts +10 -0
- package/dist/types/fields/src/components/cell-editor.d.ts +29 -0
- package/dist/types/fields/src/components/date-time-input.d.ts +21 -0
- package/dist/types/fields/src/components/date-time-picker-logic.d.ts +13 -0
- package/dist/types/fields/src/components/field-input-chrome.d.ts +11 -0
- package/dist/types/fields/src/components/field-input-inline.d.ts +30 -0
- package/dist/types/fields/src/components/field-input.d.ts +36 -0
- package/dist/types/fields/src/components/field-value-view.d.ts +10 -0
- package/dist/types/fields/src/components/file-array-cell.d.ts +5 -0
- package/dist/types/fields/src/components/file-array-upload-dialog.d.ts +19 -0
- package/dist/types/fields/src/components/file-cell.d.ts +5 -0
- package/dist/types/fields/src/components/file-input.d.ts +21 -0
- package/dist/types/fields/src/components/file-upload-dialog.d.ts +19 -0
- package/dist/types/fields/src/components/focus-text-input.d.ts +5 -0
- package/dist/types/fields/src/components/id-array-cell.d.ts +9 -0
- package/dist/types/fields/src/components/id-array-values.d.ts +1 -0
- package/dist/types/fields/src/components/id-cell.d.ts +4 -0
- package/dist/types/fields/src/components/id-picker.d.ts +28 -0
- package/dist/types/fields/src/components/image-array-cell.d.ts +7 -0
- package/dist/types/fields/src/components/image-cell.d.ts +7 -0
- package/dist/types/fields/src/components/image-preview-dialog.d.ts +8 -0
- package/dist/types/fields/src/components/media-compact-preview.d.ts +17 -0
- package/dist/types/fields/src/components/media-library-picker-dialog.d.ts +16 -0
- package/dist/types/fields/src/components/multi-id-picker.d.ts +24 -0
- package/dist/types/fields/src/components/picker-chrome.d.ts +28 -0
- package/dist/types/fields/src/components/picker-density.d.ts +5 -0
- package/dist/types/fields/src/components/picker-list-placeholder.d.ts +13 -0
- package/dist/types/fields/src/components/picker-menu-keyboard.d.ts +16 -0
- package/dist/types/fields/src/components/picker-menu-layout.d.ts +12 -0
- package/dist/types/fields/src/components/picker-menu-portal.d.ts +19 -0
- package/dist/types/fields/src/components/picker-option-row.d.ts +10 -0
- package/dist/types/fields/src/components/picker-overlay.d.ts +35 -0
- package/dist/types/fields/src/components/record-link-chip.d.ts +21 -0
- package/dist/types/fields/src/components/row-edit-panel.d.ts +38 -0
- package/dist/types/fields/src/components/row-editor.d.ts +21 -0
- package/dist/types/fields/src/components/row-popover.d.ts +11 -0
- package/dist/types/fields/src/components/use-flush-ref.d.ts +3 -0
- package/dist/types/fields/src/components/use-picker-combobox.d.ts +88 -0
- package/dist/types/fields/src/components/use-picker-highlight-scroll.d.ts +4 -0
- package/dist/types/fields/src/components/use-picker-menu-overlay.d.ts +7 -0
- package/dist/types/fields/src/fields-data-adapter.d.ts +111 -0
- package/dist/types/fields/src/fields-data-provider.d.ts +45 -0
- package/dist/types/fields/src/hooks/use-debounced-value.d.ts +1 -0
- package/dist/types/fields/src/hooks/use-row-edit-shortcuts.d.ts +15 -0
- package/dist/types/fields/src/index.d.ts +38 -0
- package/dist/types/fields/src/lib/is-row-doc-dirty.d.ts +2 -0
- package/dist/types/fields/src/lib/scroll-to-form-field.d.ts +6 -0
- package/dist/types/fields/src/media-library-query.d.ts +34 -0
- package/dist/types/fields/src/media-upload-limits.d.ts +18 -0
- package/dist/types/fields/src/record-actions-context.d.ts +17 -0
- package/dist/types/fields/src/storage-upload.d.ts +21 -0
- package/dist/types/primitives/src/components/ui/accordion.d.ts +6 -0
- package/dist/types/primitives/src/components/ui/alert-dialog.d.ts +12 -0
- package/dist/types/primitives/src/components/ui/badge.d.ts +9 -0
- package/dist/types/primitives/src/components/ui/button.d.ts +11 -0
- package/dist/types/primitives/src/components/ui/calendar.d.ts +8 -0
- package/dist/types/primitives/src/components/ui/card.d.ts +7 -0
- package/dist/types/primitives/src/components/ui/checkbox.d.ts +3 -0
- package/dist/types/primitives/src/components/ui/dialog.d.ts +15 -0
- package/dist/types/primitives/src/components/ui/dropdown-menu.d.ts +10 -0
- package/dist/types/primitives/src/components/ui/info-hint.d.ts +37 -0
- package/dist/types/primitives/src/components/ui/input.d.ts +2 -0
- package/dist/types/primitives/src/components/ui/label.d.ts +3 -0
- package/dist/types/primitives/src/components/ui/popover.d.ts +6 -0
- package/dist/types/primitives/src/components/ui/save-bar.d.ts +43 -0
- package/dist/types/primitives/src/components/ui/select.d.ts +8 -0
- package/dist/types/primitives/src/components/ui/separator.d.ts +3 -0
- package/dist/types/primitives/src/components/ui/sheet.d.ts +18 -0
- package/dist/types/primitives/src/components/ui/sonner.d.ts +1 -0
- package/dist/types/primitives/src/components/ui/switch.d.ts +3 -0
- package/dist/types/primitives/src/components/ui/table.d.ts +7 -0
- package/dist/types/primitives/src/components/ui/tabs.d.ts +6 -0
- package/dist/types/primitives/src/components/ui/tooltip.d.ts +6 -0
- package/dist/types/primitives/src/index.d.ts +28 -0
- package/dist/types/primitives/src/lib/animation-frame-batcher.d.ts +11 -0
- package/dist/types/primitives/src/lib/locale-week-start.d.ts +5 -0
- package/dist/types/primitives/src/lib/save-bar-logic.d.ts +52 -0
- package/dist/types/primitives/src/lib/use-raf-batched-pointer-drag.d.ts +31 -0
- package/dist/types/primitives/src/lib/use-save-bar.d.ts +36 -0
- package/dist/types/primitives/src/lib/use-unsaved-changes-guard.d.ts +15 -0
- package/dist/types/primitives/src/lib/utils.d.ts +6 -0
- package/dist/types/richtext/src/editor.d.ts +16 -0
- package/dist/types/richtext/src/host-adapter.d.ts +66 -0
- package/dist/types/richtext/src/index.d.ts +11 -0
- package/dist/types/richtext/src/markdown-editor/editor-styles.d.ts +7 -0
- package/dist/types/richtext/src/markdown-editor/markdown-editor-dialog.d.ts +16 -0
- package/dist/types/richtext/src/markdown-editor/markdown-editor.d.ts +2 -0
- package/dist/types/richtext/src/markdown-editor/markdown-field-input.d.ts +11 -0
- package/dist/types/richtext/src/markdown-editor/markdown-field-trigger.d.ts +8 -0
- package/dist/types/richtext/src/markdown-editor/markdown-insert-pickers-session.d.ts +5 -0
- package/dist/types/richtext/src/markdown-editor/markdown-insert-pickers.d.ts +9 -0
- package/dist/types/richtext/src/markdown-editor/markdown-preview.d.ts +7 -0
- package/dist/types/richtext/src/markdown-editor/markdown-rich-preview.d.ts +5 -0
- package/dist/types/richtext/src/markdown-editor/record-link-picker-session.d.ts +7 -0
- package/dist/types/richtext/src/markdown-editor/record-link-picker.d.ts +9 -0
- package/dist/types/richtext/src/markdown-editor/record-table-picker.d.ts +21 -0
- package/dist/types/richtext/src/markdown-editor/use-markdown-insert-pickers.d.ts +33 -0
- package/dist/types/richtext/src/record-table-view.d.ts +17 -0
- package/dist/types/richtext/src/rich-doc-view.d.ts +30 -0
- package/dist/types/richtext/src/rich-text-editor/blocknote-editor.d.ts +25 -0
- package/dist/types/richtext/src/rich-text-editor/blocknote-portaled-dropdown.d.ts +2 -0
- package/dist/types/richtext/src/rich-text-editor/blocknote-preview.d.ts +12 -0
- package/dist/types/richtext/src/rich-text-editor/record-link-inline.d.ts +15 -0
- package/dist/types/richtext/src/rich-text-editor/record-link-rows-context.d.ts +9 -0
- package/dist/types/richtext/src/rich-text-editor/record-table-block.d.ts +18 -0
- package/dist/types/richtext/src/rich-text-editor/studio-schema.d.ts +283 -0
- package/dist/types/richtext/src/rich-text-editor/studio-slash-menu.d.ts +8 -0
- package/dist/types/richtext/src/rich-text-editor/use-sync-blocknote-value.d.ts +2 -0
- package/dist/types/shared/src/apiProfile.d.ts +164 -0
- package/dist/types/shared/src/apiProfileDiscovery.d.ts +88 -0
- package/dist/types/shared/src/apiProfileSlug.d.ts +11 -0
- package/dist/types/shared/src/apiProfileSources.d.ts +112 -0
- package/dist/types/shared/src/apiProfileValidators.d.ts +310 -0
- package/dist/types/shared/src/apiToken.d.ts +6 -0
- package/dist/types/shared/src/assetFamily.d.ts +38 -0
- package/dist/types/shared/src/assetFieldValues.d.ts +21 -0
- package/dist/types/shared/src/assetGraph.d.ts +221 -0
- package/dist/types/shared/src/assetJobs.d.ts +99 -0
- package/dist/types/shared/src/assetSettings.d.ts +147 -0
- package/dist/types/shared/src/auditRedact.d.ts +36 -0
- package/dist/types/shared/src/betterAuthSession.d.ts +12 -0
- package/dist/types/shared/src/bffHost.d.ts +36 -0
- package/dist/types/shared/src/bffProtocol.d.ts +563 -0
- package/dist/types/shared/src/bffRedact.d.ts +30 -0
- package/dist/types/shared/src/ciPreviewEnv.d.ts +21 -0
- package/dist/types/shared/src/clipboardTransfer.d.ts +25 -0
- package/dist/types/shared/src/convexFacade.d.ts +44 -0
- package/dist/types/shared/src/convexSiteUrl.d.ts +73 -0
- package/dist/types/shared/src/csv.d.ts +65 -0
- package/dist/types/shared/src/dataTransfer.d.ts +21 -0
- package/dist/types/shared/src/dateValues.d.ts +21 -0
- package/dist/types/shared/src/deployOutput.d.ts +3 -0
- package/dist/types/shared/src/displayLabel.d.ts +17 -0
- package/dist/types/shared/src/displayTemplateGenerator.d.ts +11 -0
- package/dist/types/shared/src/displayTypes.d.ts +10 -0
- package/dist/types/shared/src/erdLayout.d.ts +27 -0
- package/dist/types/shared/src/facets.d.ts +109 -0
- package/dist/types/shared/src/failureMessage.d.ts +5 -0
- package/dist/types/shared/src/fieldTypeMeta.d.ts +110 -0
- package/dist/types/shared/src/fieldTypeText.d.ts +34 -0
- package/dist/types/shared/src/fieldValueEqual.d.ts +10 -0
- package/dist/types/shared/src/fieldValueShape.d.ts +24 -0
- package/dist/types/shared/src/fieldValueText.d.ts +32 -0
- package/dist/types/shared/src/gridQuery.d.ts +103 -0
- package/dist/types/shared/src/importMatch.d.ts +80 -0
- package/dist/types/shared/src/index.d.ts +78 -0
- package/dist/types/shared/src/inferIdentifier.d.ts +18 -0
- package/dist/types/shared/src/keyboard.d.ts +16 -0
- package/dist/types/shared/src/manifestDeploy.d.ts +31 -0
- package/dist/types/shared/src/manifestHash.d.ts +12 -0
- package/dist/types/shared/src/mcpOAuth.d.ts +182 -0
- package/dist/types/shared/src/postLoginPath.d.ts +21 -0
- package/dist/types/shared/src/previewDeployName.d.ts +27 -0
- package/dist/types/shared/src/proposalDraftMerge.d.ts +35 -0
- package/dist/types/shared/src/proposePolicy.d.ts +17 -0
- package/dist/types/shared/src/proposeRateLimit.d.ts +27 -0
- package/dist/types/shared/src/queryBetween.d.ts +21 -0
- package/dist/types/shared/src/queryConditions.d.ts +46 -0
- package/dist/types/shared/src/queryExecution.d.ts +12 -0
- package/dist/types/shared/src/queryFieldOps.d.ts +123 -0
- package/dist/types/shared/src/queryMerge.d.ts +30 -0
- package/dist/types/shared/src/queryPlan.d.ts +86 -0
- package/dist/types/shared/src/queryStudio.d.ts +28 -0
- package/dist/types/shared/src/queryTypes.d.ts +184 -0
- package/dist/types/shared/src/queryValidators.d.ts +233 -0
- package/dist/types/shared/src/readApiQuery.d.ts +10 -0
- package/dist/types/shared/src/readModelLimits.d.ts +23 -0
- package/dist/types/shared/src/recordTableColumns.d.ts +24 -0
- package/dist/types/shared/src/recordTablePreload.d.ts +19 -0
- package/dist/types/shared/src/refDisplayRequests.d.ts +17 -0
- package/dist/types/shared/src/refGraph.d.ts +97 -0
- package/dist/types/shared/src/refsRecompute.d.ts +16 -0
- package/dist/types/shared/src/richDoc.d.ts +80 -0
- package/dist/types/shared/src/rowPatchWire.d.ts +12 -0
- package/dist/types/shared/src/rowTrash.d.ts +26 -0
- package/dist/types/shared/src/savedView.d.ts +37 -0
- package/dist/types/shared/src/schemaGenerator.d.ts +36 -0
- package/dist/types/shared/src/schemaShrink.d.ts +82 -0
- package/dist/types/shared/src/schemaShrinkValidators.d.ts +72 -0
- package/dist/types/shared/src/schemaTypes.d.ts +311 -0
- package/dist/types/shared/src/share.d.ts +8 -0
- package/dist/types/shared/src/shareApiBridge.d.ts +13 -0
- package/dist/types/shared/src/shareGuestPolicy.d.ts +14 -0
- package/dist/types/shared/src/shareProposal.d.ts +141 -0
- package/dist/types/shared/src/shareProposalDiff.d.ts +13 -0
- package/dist/types/shared/src/shareScopes.d.ts +19 -0
- package/dist/types/shared/src/shareTokenCrypto.d.ts +9 -0
- package/dist/types/shared/src/shareTokens.d.ts +6 -0
- package/dist/types/shared/src/shareTypes.d.ts +113 -0
- package/dist/types/shared/src/shareWizard.d.ts +23 -0
- package/dist/types/shared/src/spaceBundle.d.ts +89 -0
- package/dist/types/shared/src/stagedApiAccess.d.ts +104 -0
- package/dist/types/shared/src/studioBoot.d.ts +63 -0
- package/dist/types/shared/src/syncChannel.d.ts +25 -0
- package/dist/types/shared/src/syncClampMembership.d.ts +22 -0
- package/dist/types/shared/src/tableSearch.d.ts +52 -0
- package/dist/types/shared/src/tenantHosts.d.ts +34 -0
- package/dist/types/shared/src/tenantSecretsCrypto.d.ts +31 -0
- package/dist/types/shared/src/useDebouncedCommit.d.ts +15 -0
- package/dist/types/shared/src/useDebouncedValue.d.ts +1 -0
- package/dist/types/shared/src/useModifierHeld.d.ts +2 -0
- package/package.json +85 -3
- package/README.md +0 -3
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { type GenericValidator, type Validator, type VLiteral } from "convex/values";
|
|
2
|
+
import { type ConditionOf, type Predicate } from "./queryTypes.ts";
|
|
3
|
+
export declare const predicateValidator: import("convex/values").VUnion<any, [GenericValidator, GenericValidator, ...GenericValidator[]], "required", any>;
|
|
4
|
+
/** `T` with `unknown` as `any`: what `v.any()` infers, as an `unknown` is not a Convex `Value`. */
|
|
5
|
+
type AnyForUnknown<T> = unknown extends T ? any : T extends object ? {
|
|
6
|
+
[K in keyof T]: AnyForUnknown<T[K]>;
|
|
7
|
+
} : T;
|
|
8
|
+
/** A condition as {@link conditionValidator} checks it: `Condition`, values as `v.any()` infers. */
|
|
9
|
+
export type ConvexCondition = ConditionOf<AnyForUnknown<Predicate>>;
|
|
10
|
+
/**
|
|
11
|
+
* A condition with up to `levels` group levels (plan 103 D7): a predicate, or an `or`/`and` group
|
|
12
|
+
* of conditions with one level less. Convex validators can't refer to themselves, so the depth is
|
|
13
|
+
* fixed. Non-empty groups are `conditionSchema`'s check.
|
|
14
|
+
*/
|
|
15
|
+
export declare function conditionValidator(levels: number): Validator<ConvexCondition, "required", any>;
|
|
16
|
+
export declare const conditionsValidator: import("convex/values").VArray<ConvexCondition[], Validator<ConvexCondition, "required", any>, "required">;
|
|
17
|
+
/** Canonical Convex validator for caller-supplied Query values. */
|
|
18
|
+
export declare const queryValidator: import("convex/values").VObject<{
|
|
19
|
+
predicates?: ConvexCondition[] | undefined;
|
|
20
|
+
order?: {
|
|
21
|
+
field: string;
|
|
22
|
+
direction: "asc" | "desc";
|
|
23
|
+
} | undefined;
|
|
24
|
+
maxScan?: number | undefined;
|
|
25
|
+
indexHint?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
predicates: import("convex/values").VArray<ConvexCondition[] | undefined, Validator<ConvexCondition, "required", any>, "optional">;
|
|
28
|
+
order: import("convex/values").VObject<{
|
|
29
|
+
field: string;
|
|
30
|
+
direction: "asc" | "desc";
|
|
31
|
+
} | undefined, {
|
|
32
|
+
field: import("convex/values").VString<string, "required">;
|
|
33
|
+
direction: import("convex/values").VUnion<"asc" | "desc", [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "required", never>;
|
|
34
|
+
}, "optional", "field" | "direction">;
|
|
35
|
+
maxScan: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
36
|
+
indexHint: import("convex/values").VString<string | undefined, "optional">;
|
|
37
|
+
}, "required", "predicates" | "order" | "maxScan" | "indexHint" | "order.field" | "order.direction">;
|
|
38
|
+
/**
|
|
39
|
+
* A Studio grid query as a saved view stores it (plan 098): {@link queryValidator} with `order`
|
|
40
|
+
* also a list of sort keys, plus group levels. An old single-`order` `Query` still matches. The
|
|
41
|
+
* three-key limit is `parseGridQuery`'s.
|
|
42
|
+
*/
|
|
43
|
+
export declare const gridQueryValidator: import("convex/values").VObject<{
|
|
44
|
+
predicates?: ConvexCondition[] | undefined;
|
|
45
|
+
order?: {
|
|
46
|
+
field: string;
|
|
47
|
+
direction: "asc" | "desc";
|
|
48
|
+
} | {
|
|
49
|
+
field: string;
|
|
50
|
+
direction: "asc" | "desc";
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
maxScan?: number | undefined;
|
|
53
|
+
indexHint?: string | undefined;
|
|
54
|
+
groupBy?: {
|
|
55
|
+
direction?: "asc" | "desc" | undefined;
|
|
56
|
+
bucket?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
57
|
+
field: string;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
order: import("convex/values").VUnion<{
|
|
61
|
+
field: string;
|
|
62
|
+
direction: "asc" | "desc";
|
|
63
|
+
} | {
|
|
64
|
+
field: string;
|
|
65
|
+
direction: "asc" | "desc";
|
|
66
|
+
}[] | undefined, [import("convex/values").VObject<{
|
|
67
|
+
field: string;
|
|
68
|
+
direction: "asc" | "desc";
|
|
69
|
+
}, {
|
|
70
|
+
field: import("convex/values").VString<string, "required">;
|
|
71
|
+
direction: import("convex/values").VUnion<"asc" | "desc", [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "required", never>;
|
|
72
|
+
}, "required", "field" | "direction">, import("convex/values").VArray<{
|
|
73
|
+
field: string;
|
|
74
|
+
direction: "asc" | "desc";
|
|
75
|
+
}[], import("convex/values").VObject<{
|
|
76
|
+
field: string;
|
|
77
|
+
direction: "asc" | "desc";
|
|
78
|
+
}, {
|
|
79
|
+
field: import("convex/values").VString<string, "required">;
|
|
80
|
+
direction: import("convex/values").VUnion<"asc" | "desc", [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "required", never>;
|
|
81
|
+
}, "required", "field" | "direction">, "required">], "optional", "field" | "direction">;
|
|
82
|
+
groupBy: import("convex/values").VArray<{
|
|
83
|
+
direction?: "asc" | "desc" | undefined;
|
|
84
|
+
bucket?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
85
|
+
field: string;
|
|
86
|
+
}[] | undefined, import("convex/values").VObject<{
|
|
87
|
+
direction?: "asc" | "desc" | undefined;
|
|
88
|
+
bucket?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
89
|
+
field: string;
|
|
90
|
+
}, {
|
|
91
|
+
field: import("convex/values").VString<string, "required">;
|
|
92
|
+
direction: import("convex/values").VUnion<"asc" | "desc" | undefined, [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "optional", never>;
|
|
93
|
+
bucket: import("convex/values").VUnion<"day" | "week" | "month" | "quarter" | "year" | undefined, [VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">, VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">, ...VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">[]], "optional", never>;
|
|
94
|
+
}, "required", "field" | "direction" | "bucket">, "optional">;
|
|
95
|
+
predicates: import("convex/values").VArray<ConvexCondition[] | undefined, Validator<ConvexCondition, "required", any>, "optional">;
|
|
96
|
+
maxScan: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
97
|
+
indexHint: import("convex/values").VString<string | undefined, "optional">;
|
|
98
|
+
}, "required", "predicates" | "order" | "maxScan" | "indexHint" | "groupBy" | "order.field" | "order.direction">;
|
|
99
|
+
/**
|
|
100
|
+
* {@link gridQueryValidator} as a saved view stores it, with its legacy search and the reserved
|
|
101
|
+
* `vector` it could store before plan 106 (D16). Readers ignore both; kept so the schema push
|
|
102
|
+
* still accepts old views.
|
|
103
|
+
*/
|
|
104
|
+
export declare const storedGridQueryValidator: import("convex/values").VObject<{
|
|
105
|
+
search?: {
|
|
106
|
+
index: string;
|
|
107
|
+
query: string;
|
|
108
|
+
} | undefined;
|
|
109
|
+
predicates?: ConvexCondition[] | undefined;
|
|
110
|
+
order?: {
|
|
111
|
+
field: string;
|
|
112
|
+
direction: "asc" | "desc";
|
|
113
|
+
} | {
|
|
114
|
+
field: string;
|
|
115
|
+
direction: "asc" | "desc";
|
|
116
|
+
}[] | undefined;
|
|
117
|
+
maxScan?: number | undefined;
|
|
118
|
+
indexHint?: string | undefined;
|
|
119
|
+
groupBy?: {
|
|
120
|
+
direction?: "asc" | "desc" | undefined;
|
|
121
|
+
bucket?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
122
|
+
field: string;
|
|
123
|
+
}[] | undefined;
|
|
124
|
+
vector?: any;
|
|
125
|
+
}, {
|
|
126
|
+
search: import("convex/values").VObject<{
|
|
127
|
+
index: string;
|
|
128
|
+
query: string;
|
|
129
|
+
} | undefined, {
|
|
130
|
+
index: import("convex/values").VString<string, "required">;
|
|
131
|
+
query: import("convex/values").VString<string, "required">;
|
|
132
|
+
}, "optional", "index" | "query">;
|
|
133
|
+
vector: import("convex/values").VAny<any, "optional", string>;
|
|
134
|
+
order: import("convex/values").VUnion<{
|
|
135
|
+
field: string;
|
|
136
|
+
direction: "asc" | "desc";
|
|
137
|
+
} | {
|
|
138
|
+
field: string;
|
|
139
|
+
direction: "asc" | "desc";
|
|
140
|
+
}[] | undefined, [import("convex/values").VObject<{
|
|
141
|
+
field: string;
|
|
142
|
+
direction: "asc" | "desc";
|
|
143
|
+
}, {
|
|
144
|
+
field: import("convex/values").VString<string, "required">;
|
|
145
|
+
direction: import("convex/values").VUnion<"asc" | "desc", [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "required", never>;
|
|
146
|
+
}, "required", "field" | "direction">, import("convex/values").VArray<{
|
|
147
|
+
field: string;
|
|
148
|
+
direction: "asc" | "desc";
|
|
149
|
+
}[], import("convex/values").VObject<{
|
|
150
|
+
field: string;
|
|
151
|
+
direction: "asc" | "desc";
|
|
152
|
+
}, {
|
|
153
|
+
field: import("convex/values").VString<string, "required">;
|
|
154
|
+
direction: import("convex/values").VUnion<"asc" | "desc", [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "required", never>;
|
|
155
|
+
}, "required", "field" | "direction">, "required">], "optional", "field" | "direction">;
|
|
156
|
+
groupBy: import("convex/values").VArray<{
|
|
157
|
+
direction?: "asc" | "desc" | undefined;
|
|
158
|
+
bucket?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
159
|
+
field: string;
|
|
160
|
+
}[] | undefined, import("convex/values").VObject<{
|
|
161
|
+
direction?: "asc" | "desc" | undefined;
|
|
162
|
+
bucket?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
163
|
+
field: string;
|
|
164
|
+
}, {
|
|
165
|
+
field: import("convex/values").VString<string, "required">;
|
|
166
|
+
direction: import("convex/values").VUnion<"asc" | "desc" | undefined, [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "optional", never>;
|
|
167
|
+
bucket: import("convex/values").VUnion<"day" | "week" | "month" | "quarter" | "year" | undefined, [VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">, VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">, ...VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">[]], "optional", never>;
|
|
168
|
+
}, "required", "field" | "direction" | "bucket">, "optional">;
|
|
169
|
+
predicates: import("convex/values").VArray<ConvexCondition[] | undefined, Validator<ConvexCondition, "required", any>, "optional">;
|
|
170
|
+
maxScan: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
171
|
+
indexHint: import("convex/values").VString<string | undefined, "optional">;
|
|
172
|
+
}, "required", "search" | "predicates" | "order" | "maxScan" | "indexHint" | "groupBy" | "vector" | "order.field" | "order.direction" | "search.index" | "search.query" | `vector.${string}`>;
|
|
173
|
+
/** One facet of a saved view (plan 101): `FacetSpec`. The list length is `facetListSchema`'s. */
|
|
174
|
+
export declare const facetSpecValidator: import("convex/values").VObject<{
|
|
175
|
+
sort?: "options" | "label" | "count" | undefined;
|
|
176
|
+
bucket?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
177
|
+
field: string;
|
|
178
|
+
}, {
|
|
179
|
+
field: import("convex/values").VString<string, "required">;
|
|
180
|
+
bucket: import("convex/values").VUnion<"day" | "week" | "month" | "quarter" | "year" | undefined, [VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">, VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">, ...VLiteral<"day" | "week" | "month" | "quarter" | "year", "required">[]], "optional", never>;
|
|
181
|
+
sort: import("convex/values").VUnion<"options" | "label" | "count" | undefined, [VLiteral<"options" | "label" | "count", "required">, VLiteral<"options" | "label" | "count", "required">, ...VLiteral<"options" | "label" | "count", "required">[]], "optional", never>;
|
|
182
|
+
}, "required", "field" | "sort" | "bucket">;
|
|
183
|
+
/** Convex validator for profile/share clamp Query (predicates + optional defaults). */
|
|
184
|
+
export declare const clampQueryValidator: import("convex/values").VObject<{
|
|
185
|
+
search?: {
|
|
186
|
+
index: string;
|
|
187
|
+
query: string;
|
|
188
|
+
} | undefined;
|
|
189
|
+
predicates?: ConvexCondition[] | undefined;
|
|
190
|
+
order?: {
|
|
191
|
+
field: string;
|
|
192
|
+
direction: "asc" | "desc";
|
|
193
|
+
} | undefined;
|
|
194
|
+
}, {
|
|
195
|
+
predicates: import("convex/values").VArray<ConvexCondition[] | undefined, Validator<ConvexCondition, "required", any>, "optional">;
|
|
196
|
+
order: import("convex/values").VObject<{
|
|
197
|
+
field: string;
|
|
198
|
+
direction: "asc" | "desc";
|
|
199
|
+
} | undefined, {
|
|
200
|
+
field: import("convex/values").VString<string, "required">;
|
|
201
|
+
direction: import("convex/values").VUnion<"asc" | "desc", [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "required", never>;
|
|
202
|
+
}, "optional", "field" | "direction">;
|
|
203
|
+
search: import("convex/values").VObject<{
|
|
204
|
+
index: string;
|
|
205
|
+
query: string;
|
|
206
|
+
} | undefined, {
|
|
207
|
+
index: import("convex/values").VString<string, "required">;
|
|
208
|
+
query: import("convex/values").VString<string, "required">;
|
|
209
|
+
}, "optional", "index" | "query">;
|
|
210
|
+
}, "required", "search" | "predicates" | "order" | "order.field" | "order.direction" | "search.index" | "search.query">;
|
|
211
|
+
/** Optional Query arg for list endpoints (`query?`). */
|
|
212
|
+
export declare const queryArgValidator: import("convex/values").VObject<{
|
|
213
|
+
predicates?: ConvexCondition[] | undefined;
|
|
214
|
+
order?: {
|
|
215
|
+
field: string;
|
|
216
|
+
direction: "asc" | "desc";
|
|
217
|
+
} | undefined;
|
|
218
|
+
maxScan?: number | undefined;
|
|
219
|
+
indexHint?: string | undefined;
|
|
220
|
+
} | undefined, {
|
|
221
|
+
predicates: import("convex/values").VArray<ConvexCondition[] | undefined, Validator<ConvexCondition, "required", any>, "optional">;
|
|
222
|
+
order: import("convex/values").VObject<{
|
|
223
|
+
field: string;
|
|
224
|
+
direction: "asc" | "desc";
|
|
225
|
+
} | undefined, {
|
|
226
|
+
field: import("convex/values").VString<string, "required">;
|
|
227
|
+
direction: import("convex/values").VUnion<"asc" | "desc", [VLiteral<"asc", "required">, VLiteral<"desc", "required">], "required", never>;
|
|
228
|
+
}, "optional", "field" | "direction">;
|
|
229
|
+
maxScan: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
230
|
+
indexHint: import("convex/values").VString<string | undefined, "optional">;
|
|
231
|
+
}, "optional", "predicates" | "order" | "maxScan" | "indexHint" | "order.field" | "order.direction">;
|
|
232
|
+
export declare const maxScanLimitValidator: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
233
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ReadApiQueryKind = "list" | "get";
|
|
2
|
+
/** Deploy-generated export name (`listProducts`, `getProducts`, …). */
|
|
3
|
+
export declare function readApiQueryExportName(kind: ReadApiQueryKind, tableName: string): string;
|
|
4
|
+
export type ProposeApiOp = "insert" | "update" | "delete";
|
|
5
|
+
/** Deploy-generated propose export name (`proposeInsertProducts`, …). */
|
|
6
|
+
export declare function proposeApiExportName(op: ProposeApiOp, tableName: string): string;
|
|
7
|
+
/** Convex module folder under `columnus/read/{segment}/`. */
|
|
8
|
+
export declare function readApiQueryModuleSegment(profileSlug: string): string;
|
|
9
|
+
/** `anyApi` path emitted by `columnus-api pull` / read-api-refs codegen. */
|
|
10
|
+
export declare function readApiAnyApiPath(profileSlug: string, kind: ReadApiQueryKind, tableName: string): string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** Plan 098: the most ids the read model's `getDocsInternal` reads in one call. */
|
|
2
|
+
export declare const READ_MODEL_MAX_IDS = 100;
|
|
3
|
+
/** The API query route's page (plan 108): `rowsById` loads a whole page. */
|
|
4
|
+
export declare const API_QUERY_MAX_ROWS = 100;
|
|
5
|
+
/** The most row ids one read-model `rows` call returns. */
|
|
6
|
+
export declare const READ_MODEL_MAX_ROWS = 500;
|
|
7
|
+
/** A Meaning search's hits (plan 106 D16): rows, counts, groups and facets stay within them. */
|
|
8
|
+
export declare const READ_MODEL_MEANING_HITS = 200;
|
|
9
|
+
/** The most groups one read-model `groups` call returns. */
|
|
10
|
+
export declare const READ_MODEL_MAX_GROUPS = 1000;
|
|
11
|
+
/**
|
|
12
|
+
* Facets (plan 101): per request (so per saved view too), values on a first page, per "Show
|
|
13
|
+
* more", per value search, and the search suggestions' fields and values per field. A facet's
|
|
14
|
+
* values stop at {@link READ_MODEL_MAX_GROUPS}.
|
|
15
|
+
*/
|
|
16
|
+
export declare const FACET_LIMITS: {
|
|
17
|
+
readonly perRequest: 12;
|
|
18
|
+
readonly page: 10;
|
|
19
|
+
readonly more: 50;
|
|
20
|
+
readonly searchMax: 50;
|
|
21
|
+
readonly suggestFields: 8;
|
|
22
|
+
readonly suggestPerField: 3;
|
|
23
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type Field, type Table } from "./schemaTypes.ts";
|
|
2
|
+
import { type Query } from "./queryTypes.ts";
|
|
3
|
+
export type RecordTableDisplayValueMap = Map<string, {
|
|
4
|
+
id?: string;
|
|
5
|
+
preview?: string;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const RECORD_TABLE_DEFAULT_FIELD_COUNT = 5;
|
|
8
|
+
export declare function defaultRecordTableFieldNames(table: Table): string[];
|
|
9
|
+
/** Field names referenced by Query predicates (for locking embed columns). */
|
|
10
|
+
export declare function queryPredicateFieldNames(query: Query | null): string[];
|
|
11
|
+
export declare function parseRecordTableFieldsJson(fieldsJson: string): string[];
|
|
12
|
+
export declare function stringifyRecordTableFields(fields: string[]): string;
|
|
13
|
+
/** Discretionary field names stored on the block (empty → first five defaults). */
|
|
14
|
+
export declare function discretionaryRecordTableFieldNames(table: Table, fieldsJson: string): string[];
|
|
15
|
+
/**
|
|
16
|
+
* Manifest-ordered data columns: discretionary ∪ query predicate fields (deduped), a nested
|
|
17
|
+
* predicate showing its top-level field. `_id` is separate.
|
|
18
|
+
*/
|
|
19
|
+
export declare function resolveRecordTableVisibleFields(table: Table, fieldsJson: string, query: Query | null): Field[];
|
|
20
|
+
export declare function collectQueryRefIds(table: Table, query: Query | null): Map<string, Set<string>>;
|
|
21
|
+
/** @deprecated Prefer {@link collectQueryRefIds}. */
|
|
22
|
+
export declare function collectFilterRefIds(table: Table, query: Query | null): Map<string, Set<string>>;
|
|
23
|
+
export declare function formatFilterEqDisplayValue(field: Pick<Field, "type"> | null | undefined, value: unknown, displayByTable: Map<string, RecordTableDisplayValueMap>): string;
|
|
24
|
+
export declare function formatRecordTableQuerySummary(table: Table, query: Query | null, displayByTable: Map<string, RecordTableDisplayValueMap>): string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Manifest } from "./schemaTypes.ts";
|
|
2
|
+
export type RecordTablePreloadEntry = {
|
|
3
|
+
blockId: string;
|
|
4
|
+
table: string;
|
|
5
|
+
rows: Array<Record<string, unknown>>;
|
|
6
|
+
};
|
|
7
|
+
export type RecordTablePreload = {
|
|
8
|
+
tables: RecordTablePreloadEntry[];
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* SSR hydrate for BlockNote `recordTable` embeds: filtered/sorted rows keyed by block id.
|
|
12
|
+
* Uses the same Query AST as live `RecordTableView`. Labels stay host-owned (separate prop).
|
|
13
|
+
*/
|
|
14
|
+
export declare function buildRecordTablePreload(content: string | undefined, opts: {
|
|
15
|
+
manifest: Manifest;
|
|
16
|
+
rowsByTable: Record<string, ReadonlyArray<Record<string, unknown>>>;
|
|
17
|
+
}): RecordTablePreload | null;
|
|
18
|
+
/** Look up a preloaded `${table}:${id}` label. */
|
|
19
|
+
export declare function resolvePreloadedLabel(labels: Record<string, string> | undefined, table: string, id: string): string | undefined;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FieldType, Table } from "./schemaTypes.ts";
|
|
2
|
+
export type RefDisplayRequest = {
|
|
3
|
+
table: string;
|
|
4
|
+
ids: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare function refsMapToRequests(refs: Map<string, Set<string>>): {
|
|
7
|
+
requests: RefDisplayRequest[];
|
|
8
|
+
cacheKey: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function buildRefRequestsFromFieldValues(values: readonly unknown[], type: FieldType): {
|
|
11
|
+
requests: RefDisplayRequest[];
|
|
12
|
+
cacheKey: string;
|
|
13
|
+
};
|
|
14
|
+
export declare function buildRefRequestsFromTableRows(table: Table, rowIds: readonly string[], resolveValue: (rowId: string, fieldName: string) => unknown): {
|
|
15
|
+
requests: RefDisplayRequest[];
|
|
16
|
+
cacheKey: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { Field, FieldType, Manifest } from "./schemaTypes.ts";
|
|
2
|
+
/**
|
|
3
|
+
* One `id` reference inside a table's schema. `path` is relative to `field` in ERD format:
|
|
4
|
+
* `""` the field itself, `[]` array elements, `.name` object fields; union options add no segment.
|
|
5
|
+
* `depth` counts object and union hops (not array hops), so `depth === 0` is exactly a top-level
|
|
6
|
+
* `id` or `id[]` field.
|
|
7
|
+
*/
|
|
8
|
+
export type RefEdge = {
|
|
9
|
+
field: string;
|
|
10
|
+
path: string;
|
|
11
|
+
targetTable: string;
|
|
12
|
+
many: boolean;
|
|
13
|
+
depth: number;
|
|
14
|
+
};
|
|
15
|
+
export type RefTarget = {
|
|
16
|
+
table: string;
|
|
17
|
+
many: boolean;
|
|
18
|
+
};
|
|
19
|
+
/** Target of a top-level `id` / `id[]` field; null for anything else, including nested refs. */
|
|
20
|
+
export declare function refTarget(type: FieldType): RefTarget | null;
|
|
21
|
+
/**
|
|
22
|
+
* Which leaves a walk visits: document references (`id`) or Media assets (`file` / `image`,
|
|
23
|
+
* stored as ids into the assets table). Document walks follow only the union option a value
|
|
24
|
+
* fits; asset walks visit every option, because asset guards must fail closed.
|
|
25
|
+
*/
|
|
26
|
+
export type RefLeaf = "document" | "asset";
|
|
27
|
+
/** The field type a walk hands its callers at each leaf. */
|
|
28
|
+
export type RefLeafType = {
|
|
29
|
+
document: Extract<FieldType, {
|
|
30
|
+
kind: "id";
|
|
31
|
+
}>;
|
|
32
|
+
asset: Extract<FieldType, {
|
|
33
|
+
kind: "file" | "image";
|
|
34
|
+
}>;
|
|
35
|
+
};
|
|
36
|
+
/** Every reference in `table`, at any depth, sorted by field, path, target; duplicates removed. */
|
|
37
|
+
export declare function refEdges(table: {
|
|
38
|
+
fields: readonly Pick<Field, "name" | "type">[];
|
|
39
|
+
}): RefEdge[];
|
|
40
|
+
/**
|
|
41
|
+
* Top-level `id` / `id[]` references only. Share scopes use this: widening share-link exposure to
|
|
42
|
+
* nested references is a separate security decision (plan 081, K2).
|
|
43
|
+
*/
|
|
44
|
+
export declare function topLevelRefEdges(table: {
|
|
45
|
+
fields: readonly Pick<Field, "name" | "type">[];
|
|
46
|
+
}): RefEdge[];
|
|
47
|
+
/** Whether a field type holds a reference at any depth. */
|
|
48
|
+
export declare function hasOutgoingRefs(type: FieldType): boolean;
|
|
49
|
+
/** Whether a field type holds a Media asset at any depth, through any union option. */
|
|
50
|
+
export declare function hasAssetRefs(type: FieldType): boolean;
|
|
51
|
+
/** The binding that governs each asset placement in `type` (nested object fields rebind). */
|
|
52
|
+
export declare function assetLeafBindings(type: FieldType, binding: Field["asset"]): Field["asset"][];
|
|
53
|
+
/** Tables that have at least one outgoing reference at any depth. */
|
|
54
|
+
export declare function tablesWithOutgoingRefs(manifest: Manifest): string[];
|
|
55
|
+
/** Stable fingerprint of manifest ref topology (ignores labels, indexes, display templates). */
|
|
56
|
+
export declare function computeRefGraphFingerprint(manifest: Manifest): string;
|
|
57
|
+
/** Tables whose ref topology changed between two manifests. */
|
|
58
|
+
export declare function listTablesWithRefGraphChanges(before: Manifest, after: Manifest): string[];
|
|
59
|
+
export declare function addRef(refs: Map<string, Set<string>>, table: string, id: string): void;
|
|
60
|
+
/**
|
|
61
|
+
* A leaf value's placement: `path` names the field with concrete array indexes (`media[2].image`),
|
|
62
|
+
* except that an array whose elements are leaves reports the index as `arrayIndex` instead.
|
|
63
|
+
* `tables` is set for an id under a union with several id options: an id string cannot say which
|
|
64
|
+
* table it is in, so it lists every table the id may point into (the leaf type is the first).
|
|
65
|
+
*/
|
|
66
|
+
export type LeafPlace = {
|
|
67
|
+
path: string;
|
|
68
|
+
arrayIndex: number | null;
|
|
69
|
+
binding: Field["asset"];
|
|
70
|
+
tables?: readonly string[];
|
|
71
|
+
};
|
|
72
|
+
/** Where a value walk starts: a field's name (or `""` for a bare value) and its asset binding. */
|
|
73
|
+
export declare function leafPlace(path?: string, binding?: Field["asset"]): LeafPlace;
|
|
74
|
+
/** Every table a document leaf at `at` may point into. */
|
|
75
|
+
export declare function leafTables(leafType: RefLeafType["document"], at: LeafPlace): readonly string[];
|
|
76
|
+
/** Visit every leaf value of one kind in `value`, with its placement. */
|
|
77
|
+
export declare function forEachLeafValue<L extends RefLeaf>(type: FieldType, value: unknown, leaf: L, visit: (leafType: RefLeafType[L], value: unknown, at: LeafPlace) => void, at?: LeafPlace): void;
|
|
78
|
+
/**
|
|
79
|
+
* Replace referenced ids inside `value` at any depth. `resolve` gets every table the id may be in
|
|
80
|
+
* (see `LeafPlace.tables`) and returns the replacement, or null when the id cannot be resolved —
|
|
81
|
+
* then `value` is returned unchanged with the first `missing` id.
|
|
82
|
+
*/
|
|
83
|
+
export declare function mapRefIds(type: FieldType, value: unknown, resolve: (tables: readonly string[], id: string) => string | null): {
|
|
84
|
+
value: unknown;
|
|
85
|
+
missing?: {
|
|
86
|
+
tables: readonly string[];
|
|
87
|
+
id: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
/** Referenced document ids in `rows`, at any depth, grouped by target table. */
|
|
91
|
+
export declare function refIds(table: {
|
|
92
|
+
fields: readonly Pick<Field, "name" | "type">[];
|
|
93
|
+
}, rows: readonly Record<string, unknown>[]): Map<string, Set<string>>;
|
|
94
|
+
/** Referenced document ids in loose values of one field type (selection chips, formula bar). */
|
|
95
|
+
export declare function refIdsInValues(values: readonly unknown[], type: FieldType, refs?: Map<string, Set<string>>): Map<string, Set<string>>;
|
|
96
|
+
/** Flatten `refIds` output to unique target document ids. */
|
|
97
|
+
export declare function referencedTargetIds(refs: Map<string, Set<string>>): Set<string>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Manifest } from "./schemaTypes.ts";
|
|
2
|
+
/** No page progress for this long means a backfill chain is probably stuck. */
|
|
3
|
+
export declare const REFS_RECOMPUTE_STALE_MS: number;
|
|
4
|
+
export type RefsRecomputeManifestState = {
|
|
5
|
+
refsRecomputeTargetHash?: string;
|
|
6
|
+
refsRecomputeHeartbeatAt?: number;
|
|
7
|
+
};
|
|
8
|
+
/** True when a target-matching backfill was started recently and is still making progress. */
|
|
9
|
+
export declare function isRefsRecomputeInFlight(row: RefsRecomputeManifestState | null | undefined, targetFingerprint: string, nowMs: number): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Tables whose incoming refs must be recomputed when moving the index from `before` to `after`.
|
|
12
|
+
* When the stored index hash is missing, or does not describe `before` (e.g. it was written by an
|
|
13
|
+
* older reference walker), the index is stale wholesale and every referencing table is recomputed;
|
|
14
|
+
* otherwise only tables whose ref topology changed.
|
|
15
|
+
*/
|
|
16
|
+
export declare function refsBackfillTables(storedHash: string | undefined, before: Manifest, after: Manifest): string[];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/** Shared rich-text / markdown field storage (BlockNote envelope). */
|
|
2
|
+
import { type Query } from "./queryTypes.ts";
|
|
3
|
+
export type RecordLinkAttrs = {
|
|
4
|
+
table: string;
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
export type RecordTableAttrs = {
|
|
8
|
+
table: string;
|
|
9
|
+
/** Stored as JSON in block `filterJson` — Query AST. */
|
|
10
|
+
query: Query | null;
|
|
11
|
+
};
|
|
12
|
+
/** BlockNote block array stored in the envelope (opaque JSON). */
|
|
13
|
+
export type RichDocBlock = {
|
|
14
|
+
id: string;
|
|
15
|
+
type: string;
|
|
16
|
+
props?: Record<string, unknown>;
|
|
17
|
+
content?: unknown;
|
|
18
|
+
children?: RichDocBlock[];
|
|
19
|
+
};
|
|
20
|
+
export type StudioRichDocV1 = {
|
|
21
|
+
format: "blocknote";
|
|
22
|
+
version: 1;
|
|
23
|
+
blocks: RichDocBlock[];
|
|
24
|
+
};
|
|
25
|
+
export declare const RICH_DOC_FORMAT: "blocknote";
|
|
26
|
+
export declare const RICH_DOC_VERSION: 1;
|
|
27
|
+
export declare const EMPTY_BLOCK_ID = "00000000-0000-4000-8000-000000000001";
|
|
28
|
+
export declare function emptyParagraphBlock(): RichDocBlock;
|
|
29
|
+
export declare function parseRecordTableQueryJson(filterJson: string): Query | null;
|
|
30
|
+
export declare function stringifyRecordTableQuery(query: Query | null): string;
|
|
31
|
+
export declare function isBlockNoteEnvelope(parsed: unknown): parsed is StudioRichDocV1;
|
|
32
|
+
/** Canonical empty rich document (BlockNote envelope). */
|
|
33
|
+
export declare const EMPTY_RICH_DOC: string;
|
|
34
|
+
/** @deprecated Alias for EMPTY_RICH_DOC — markdown fields use BlockNote storage. */
|
|
35
|
+
export declare const EMPTY_MARKDOWN_DOC: string;
|
|
36
|
+
export declare function isValidRichFieldJson(value: string): boolean;
|
|
37
|
+
/** @deprecated Alias */
|
|
38
|
+
export declare const isValidMarkdownDocJson: typeof isValidRichFieldJson;
|
|
39
|
+
/**
|
|
40
|
+
* Placeholder URL scheme BlockNote accepts for inline links. Stored JSON uses `doc:slug`;
|
|
41
|
+
* the editor/preview need a normal https href so BlockNote does not strip the attribute.
|
|
42
|
+
*/
|
|
43
|
+
export declare const COLUMNUS_DOC_LINK_MARKER = "https://__columnus_doc__/";
|
|
44
|
+
/** @deprecated Use COLUMNUS_DOC_LINK_MARKER */
|
|
45
|
+
export declare const STUDIO_DOC_LINK_MARKER = "https://__columnus_doc__/";
|
|
46
|
+
/** BlockNote markdown only accepts known URL schemes; rewrite doc: links before parse. */
|
|
47
|
+
export declare function preprocessDocLinksInMarkdown(markdown: string): string;
|
|
48
|
+
/** Rewrite `doc:` hrefs for BlockNote display (editor/preview). */
|
|
49
|
+
export declare function preprocessDocLinksInBlocks(blocks: RichDocBlock[]): RichDocBlock[];
|
|
50
|
+
/** Restore `doc:` hrefs when serializing from BlockNote back to storage. */
|
|
51
|
+
export declare function postprocessDocLinksInBlocks(blocks: RichDocBlock[]): RichDocBlock[];
|
|
52
|
+
/** Clone stored blocks and rewrite doc links for BlockNote. */
|
|
53
|
+
export declare function blocksForBlockNoteDisplay(blocks: RichDocBlock[]): RichDocBlock[];
|
|
54
|
+
/** Canonical stored JSON for a field value. */
|
|
55
|
+
export declare function canonicalRichFieldJson(value: unknown): string;
|
|
56
|
+
export declare function parseRichDocBlocks(value: unknown): RichDocBlock[];
|
|
57
|
+
export declare function stringifyRichDoc(blocks: RichDocBlock[]): string;
|
|
58
|
+
export declare function normalizeRichField(value: unknown): string;
|
|
59
|
+
/** Wrap plain text as a single BlockNote paragraph (CSV import / paste). */
|
|
60
|
+
export declare function wrapPlainTextAsRichDoc(text: string): string;
|
|
61
|
+
/** @deprecated Alias */
|
|
62
|
+
export declare const normalizeMarkdownField: typeof normalizeRichField;
|
|
63
|
+
export declare function extractPlainText(value: unknown, maxLength?: number): string;
|
|
64
|
+
export declare function blocksPlainText(blocks: RichDocBlock[], maxLength?: number): string;
|
|
65
|
+
/** A BlockNote envelope's plain text; any other value, or one that fails to parse or walk, unchanged. */
|
|
66
|
+
export declare function plainTextIfRichDoc(value: unknown): unknown;
|
|
67
|
+
export declare function collectRecordLinkIdsFromBlocks(blocks: RichDocBlock[]): Map<string, Set<string>>;
|
|
68
|
+
export declare function collectRecordLinkIds(value: unknown): Map<string, Set<string>>;
|
|
69
|
+
/** Parse doc cross-links from markdown hrefs. Supports `doc:slug` and relative `.md` paths. */
|
|
70
|
+
export declare function parseDocLinkHref(href: string): string | null;
|
|
71
|
+
/** True when `value` is a BlockNote envelope JSON string. */
|
|
72
|
+
export declare function isBlockNoteContent(value: string): boolean;
|
|
73
|
+
export declare function isHttpUrl(value: string): boolean;
|
|
74
|
+
/** Asset ids referenced by image blocks (skips http(s) URLs). */
|
|
75
|
+
export declare function collectRichDocAssetIds(value: string): string[];
|
|
76
|
+
/**
|
|
77
|
+
* Plain text from BlockNote JSON or legacy markdown — feed previews, meta, stamps.
|
|
78
|
+
* Empty input / empty result → `undefined`.
|
|
79
|
+
*/
|
|
80
|
+
export declare function richContentPlainText(value: string): string | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Wire shape for row update mutations (survives Convex JSON transport). */
|
|
2
|
+
export type RowPatchWire = {
|
|
3
|
+
patch: Record<string, unknown>;
|
|
4
|
+
clearFields?: string[];
|
|
5
|
+
};
|
|
6
|
+
/** Split `undefined` patch values into `clearFields` for mutation transport. */
|
|
7
|
+
export declare function prepareRowPatchWire(patch: Record<string, unknown>): RowPatchWire;
|
|
8
|
+
export declare function hasRowPatchChanges(wire: RowPatchWire): boolean;
|
|
9
|
+
/** Merge patch values and explicit clears into a Convex `db.patch` object. */
|
|
10
|
+
export declare function applyRowPatchWire(patch: Record<string, unknown>, clearFields?: readonly string[]): Record<string, unknown>;
|
|
11
|
+
/** Undo/redo inverse for a forward wire patch against a row baseline. */
|
|
12
|
+
export declare function buildInverseRowPatchWire(baseline: Record<string, unknown> | undefined, forward: RowPatchWire): RowPatchWire;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Query } from "./queryTypes.ts";
|
|
2
|
+
import type { Table } from "./schemaTypes.ts";
|
|
3
|
+
export declare const TRASH_DELETED_AT_FIELD = "columnusDeletedAt";
|
|
4
|
+
export declare const TRASH_DELETED_BY_FIELD = "columnusDeletedBy";
|
|
5
|
+
export declare const TRASH_FIELD_NAMES: readonly string[];
|
|
6
|
+
export declare const TRASH_INDEX_NAME = "by_columnusDeletedAt";
|
|
7
|
+
/** Trashed rows and Media are restorable for this long, then purged. */
|
|
8
|
+
export declare const TRASH_RETENTION_DAYS = 30;
|
|
9
|
+
export declare const TRASH_RETENTION_MS: number;
|
|
10
|
+
export declare function isTrashedRow(doc: Record<string, unknown>): boolean;
|
|
11
|
+
/** `table` with the hidden trash fields and index, as its generated Convex table has them. */
|
|
12
|
+
export declare function withTrashFields<T extends Pick<Table, "fields" | "indexes">>(table: T): T;
|
|
13
|
+
export type RowScope = "live" | "trash";
|
|
14
|
+
/** The system query a list merges in: live rows, or trashed rows newest first. */
|
|
15
|
+
export declare function rowScopeQuery(scope: RowScope): Query;
|
|
16
|
+
/** `ConvexError` data when a write is refused because another live row holds the display Id. */
|
|
17
|
+
export type DisplayIdClash = {
|
|
18
|
+
code: "displayIdClash";
|
|
19
|
+
message: string;
|
|
20
|
+
displayId: string;
|
|
21
|
+
table: string;
|
|
22
|
+
/** The live row holding the Id. */
|
|
23
|
+
rowId: string;
|
|
24
|
+
};
|
|
25
|
+
/** The clash `error` carries, or null for any other error. */
|
|
26
|
+
export declare function displayIdClash(error: unknown): DisplayIdClash | null;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type GridQuery } from "./gridQuery.ts";
|
|
2
|
+
import { type FacetSpec } from "./facets.ts";
|
|
3
|
+
import type { Table } from "./schemaTypes.ts";
|
|
4
|
+
/**
|
|
5
|
+
* A Space's saved view as stored: one table's grid query plus an optional curated column list,
|
|
6
|
+
* facet list (plan 101), search box text (plan 106 D6) and the ✨ Meaning toggle (`qm`, read by
|
|
7
|
+
* {@link meaningOn}). Views saved before plan 098 hold a `Query` (one `order` object), which is a
|
|
8
|
+
* `GridQuery` too.
|
|
9
|
+
*/
|
|
10
|
+
export type SavedViewPreset = {
|
|
11
|
+
query: GridQuery;
|
|
12
|
+
visibleColumns?: string[];
|
|
13
|
+
facets?: FacetSpec[];
|
|
14
|
+
q?: string;
|
|
15
|
+
qm?: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Clean a saved view for its table's current fields (plan 097 decision 13): unknown fields, and
|
|
19
|
+
* sort keys, group levels and facets the field no longer supports, are dropped. `removedFields`
|
|
20
|
+
* names the fields the view references that the table no longer has. `q` is the search box text:
|
|
21
|
+
* the view's own, or that of a full-text search it was saved with before plan 106 (D6).
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveSavedView(table: Table, view: SavedViewPreset): {
|
|
24
|
+
query: GridQuery | null;
|
|
25
|
+
visibleColumns?: string[];
|
|
26
|
+
facets?: FacetSpec[];
|
|
27
|
+
removedFields: string[];
|
|
28
|
+
q?: string;
|
|
29
|
+
qm?: boolean;
|
|
30
|
+
};
|
|
31
|
+
/** Whether a view's `qm` leaves Meaning on: on unless turned off (plan 106 D27). */
|
|
32
|
+
export declare const meaningOn: (qm: boolean | undefined) => qm is true | undefined;
|
|
33
|
+
/** A view's search text, from `q` or a pre-106 `query.search.query` (D6). */
|
|
34
|
+
export declare function savedViewText(view: {
|
|
35
|
+
q?: string;
|
|
36
|
+
query?: unknown;
|
|
37
|
+
}): string | undefined;
|