Reference

Types

Where the TypeScript types live: data models, component props and layout.

Types are in types/, split by what they describe. Import them with import type from ~/types/....

Data models

types/models/ holds the records the screens work with. Each app model also declares its provider interface, the contract your backend implements.

File
Main types
Used by
user.tsUserModelAuthentication
permissions.tsPermission, PermissionModule, PermissionAction, RoleModel, TeamMemberRoles and permissions
account.tsProfileDetails, UserSession, Subscription, SecuritySettingsAccount
notification.tsNotificationAppNotificationMenu
forms.tsDemo form valuesForm examples
email.tsEmailMessage, EmailConversation, EmailProviderEmail
chat.tsChatState, ChatThread, ChatMessage, ChatProviderChat
calendar.tsCalendarEvent, CalendarView, CalendarProviderCalendar
kanban.tsKanbanBoard, KanbanColumn, KanbanCard, KanbanProviderKanban
todo.tsTodoTask, TodoQuickAdd, TodoProviderTasks
files.tsFileEntry, FileFolder, FileManagerState, FilesProviderFile manager
orders.tsOrder, OrderStatus, OrderTotalsOrders
products.tsProduct, ProductVariantProducts
customers.tsCustomer, CustomerNoteCustomers
invoices.tsInvoice, InvoiceLine, InvoicePaymentInvoices
learning.tsCourse, CourseModule, CourseLesson, Student, Enrollment, Instructor, LearningStateCourses

Component types

types/components/ holds the shapes components accept when a prop is more than a primitive: chart series, table headers and filters, form schemas, menu items, timeline items, plan cards, stat tiles and so on. landing.ts holds LandingPageContent, the LandingBlock union and every block’s props. The API table of each component page shows these types.

types/layout/ holds the customizer and sidebar option types, and types/page-meta.d.ts adds permission to definePageMeta.

Page options

Option
Effect
layoutdefault, auth, blank or landing-page.
breadcrumbThe breadcrumb items; app.vue also builds the <title> from them.
permissionA module.action permission. Without it the user gets a 403.
publicThe page needs no session.
fluidDrops the 1000px container (only the full-height apps).
hideBreadcrumbsHides the breadcrumb row.
© 2026 melsami UI.
Developer documentation for melsami UI.