mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
- Added type annotations and class definitions in the dashboard layout, stats, and data table modules for improved type safety and documentation. - Introduced new classes for UI components, props, and configuration in the form builder, navigation menu, notification center, and UI dialogs packages. - Implemented detailed type definitions for actions, fields, and pagination components to streamline usage and enhance clarity. - Updated initialization functions in multiple packages to include versioning and installation context. - Improved structure and readability of the codebase by organizing and documenting component properties and methods.
26 lines
385 B
Lua
26 lines
385 B
Lua
-- Admin Dialog initialization
|
|
|
|
---@class AdminDialog
|
|
---@field name string
|
|
---@field version string
|
|
local M = {}
|
|
|
|
M.name = "admin_dialog"
|
|
M.version = "1.0.0"
|
|
|
|
---@class InitResult
|
|
---@field name string
|
|
---@field version string
|
|
---@field loaded boolean
|
|
|
|
---@return InitResult
|
|
function M.init()
|
|
return {
|
|
name = M.name,
|
|
version = M.version,
|
|
loaded = true
|
|
}
|
|
end
|
|
|
|
return M
|