claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
39 lines • 1.19 kB
TypeScript
import { Node } from '@tiptap/core';
export interface DatabaseViewOptions {
HTMLAttributes: Record<string, any>;
dictionary: {
insertDatabaseView: string;
selectViewType: string;
configureView: string;
};
}
declare module '@tiptap/core' {
interface Commands<ReturnType> {
databaseView: {
/**
* Insert a database view block
*/
insertDatabaseView: (options?: {
source?: string;
viewType?: string;
config?: any;
}) => ReturnType;
/**
* Update database view configuration
*/
updateDatabaseView: (options: {
source?: string;
viewType?: string;
config?: any;
}) => ReturnType;
};
}
}
/**
* DatabaseView Extension for TipTap
*
* Provides inline database views with multiple display modes (table, kanban, gallery, etc.)
* Integrates with PostgreSQL materialized views and event sourcing
*/
export declare const DatabaseViewExtension: Node<DatabaseViewOptions, any>;
//# sourceMappingURL=DatabaseViewExtension.d.ts.map