mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-03 18:24:53 +00:00
8190255e7c
- Updated ContactForm example to remove type casting on handleInputChange. - Enhanced package installation scripts with type definitions for better type safety. - Implemented package uninstallation and installation checks with improved type definitions. - Added new Lua scripts for admin settings, code editor features, and user management. - Introduced schema editor field types and validation rules for form inputs. - Created social feed components and workflow editor nodes for enhanced functionality. - Developed layout modules for various UI levels, including admin and supergod panels.
16 lines
429 B
Lua
16 lines
429 B
Lua
-- Admin settings general section
|
|
local function general_settings()
|
|
return {
|
|
type = "settings_section",
|
|
id = "general",
|
|
title = "General Settings",
|
|
fields = {
|
|
{ id = "siteName", type = "text", label = "Site Name" },
|
|
{ id = "siteDescription", type = "textarea", label = "Description" },
|
|
{ id = "maintenance", type = "switch", label = "Maintenance Mode" }
|
|
}
|
|
}
|
|
end
|
|
|
|
return general_settings
|