Automerge backed Markdown editor for the Atmosphere
Something went wrong. Try again.
1234567891011import type { BasesSource } from './bases-contract'import { defaultBaseSource } from './base-source-config'
/** Legacy source-less YAML remains useful for existing saved Bases. */export const DEFAULT_BASE_YAML = 'views:\n - name: Table\n type: table\n order:\n - file.name\n'
/** New Base definitions choose the broadest candidate set currently available. */export function newBaseYaml(source: BasesSource = defaultBaseSource()): string { return `views:\n - name: Table\n type: table\n source: ${source}\n order:\n - file.title\n`}