Skip to content

SkeletonBuilderProps

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/web/src/components/DocAutomation/SkeletonBuilder.tsx

Properties

PropertyType
skeleton`SkeletonStructure
isDirtyboolean
loadingboolean
onAddCategory(category: Omit<SkeletonCategory, 'documents'>) => void
onRemoveCategory(slug: string) => void
onUpdateCategory(slug: string, updates: Partial<Omit<SkeletonCategory, 'documents'>>) => void
onAddDocument(categorySlug: string, document: SkeletonDocument) => void
onRemoveDocument(categorySlug: string, documentSlug: string) => void
onUpdateDocument(categorySlug: string, documentSlug: string, updates: Partial<SkeletonDocument>) => void
onReorderCategories(slugs: string[]) => void
onReorderDocuments(categorySlug: string, documentSlugs: string[]) => void
onSave() => Promise<void>
onReset() => void

Was this page helpful?

Download as PDF