UNPKG

memberstack-ai-context

Version:

AI context server for Memberstack DOM documentation - provides intelligent access to Memberstack docs for Claude Code, Cursor, and other AI coding assistants

37 lines (33 loc) 711 B
export interface DocSection { id: string; title: string; filename: string; content: string; category: 'setup' | 'auth' | 'members' | 'plans' | 'ui' | 'advanced' | 'reference'; methods?: string[]; tags?: string[]; } export interface SearchResult { section: DocSection; score: number; matches: string[]; } export interface MethodInfo { name: string; signature: string; parameters: Parameter[]; returnType: string; examples: string[]; section: string; } export interface Parameter { name: string; type: string; required: boolean; description: string; } export interface DocIndex { sections: DocSection[]; methods: MethodInfo[]; searchIndex: any; // Fuse.js index }