Malli schemas for admin module configuration and entities.
This namespace defines all schemas used by the admin module for:
All schemas follow Malli specifications and include documentation for auto-generated validation and error messages.
Malli schemas for admin module configuration and entities. This namespace defines all schemas used by the admin module for: - Admin module configuration and settings - Entity configuration and metadata - Field-level configuration - Validation and transformation All schemas follow Malli specifications and include documentation for auto-generated validation and error messages.
Schema for custom action configuration.
Schema for custom action configuration.
Schema for custom action parameter definition.
Schema for custom action parameter definition.
Schema for complete admin module configuration.
Top-level configuration that controls all aspects of the admin interface.
Schema for complete admin module configuration. Top-level configuration that controls all aspects of the admin interface.
Default admin configuration values.
Default admin configuration values.
Default widget mappings for field types.
Default widget mappings for field types.
Schema for entity configuration.
Defines how an entire entity (database table) is displayed and managed in the admin interface. Merges auto-detected schema with manual overrides.
Schema for entity configuration. Defines how an entire entity (database table) is displayed and managed in the admin interface. Merges auto-detected schema with manual overrides.
Schema for entity discovery configuration.
Defines how the admin interface discovers and exposes database entities.
Schema for entity discovery configuration. Defines how the admin interface discovers and exposes database entities.
Schema for entity discovery mode configuration.
Controls which database tables are exposed in the admin interface:
Schema for entity discovery mode configuration. Controls which database tables are exposed in the admin interface: - :allowlist - Only entities explicitly listed are accessible (most secure) - :denylist - All entities except those listed are accessible - :all - All database tables are accessible (least secure, development only)
Schema for individual field configuration.
Defines how a single entity field is displayed and validated in the admin interface.
Schema for individual field configuration. Defines how a single entity field is displayed and validated in the admin interface.
Schema for a single field filter (Week 2).
Represents a filter on one field with an operator and value(s).
Schema for a single field filter (Week 2). Represents a filter on one field with an operator and value(s).
Schema for a single field group.
Defines a logical grouping of fields for forms and detail views.
Schema for a single field group. Defines a logical grouping of fields for forms and detail views.
Schema for field grouping configuration.
Controls how ungrouped fields are labeled in grouped forms.
Schema for field grouping configuration. Controls how ungrouped fields are labeled in grouped forms.
Schema for field data types.
Maps database column types to logical field types.
Schema for field data types. Maps database column types to logical field types.
Schema for field widget types.
Determines which UI component is used to render a field in forms.
Schema for field widget types. Determines which UI component is used to render a field in forms.
Schema for advanced filter operators (Week 2).
Operators for field-specific filtering with type-appropriate operations.
Schema for advanced filter operators (Week 2). Operators for field-specific filtering with type-appropriate operations.
(get-default-widget field-type)Get default widget for field type.
Args: field-type: Keyword field type
Returns: Keyword widget type
Example: (get-default-widget :string) ;=> :text-input (get-default-widget :boolean) ;=> :checkbox
Get default widget for field type. Args: field-type: Keyword field type Returns: Keyword widget type Example: (get-default-widget :string) ;=> :text-input (get-default-widget :boolean) ;=> :checkbox
Schema for list entities query parameters.
Schema for list entities query parameters.
Schema for pagination configuration.
Schema for pagination configuration.
Schema for UI-specific configuration.
Controls visual and layout options for forms and views.
Schema for UI-specific configuration. Controls visual and layout options for forms and views.
(validate-admin-config config)Validate admin configuration against schema.
Args: config: Admin configuration map
Returns: {:valid? true :data transformed-data} or {:valid? false :errors validation-errors}
Example: (validate-admin-config {:enabled? true :base-path "/admin" ...})
Validate admin configuration against schema.
Args:
config: Admin configuration map
Returns:
{:valid? true :data transformed-data} or
{:valid? false :errors validation-errors}
Example:
(validate-admin-config {:enabled? true :base-path "/admin" ...})(validate-entity-config config)Validate entity configuration against schema.
Args: config: Entity configuration map
Returns: {:valid? true :data transformed-data} or {:valid? false :errors validation-errors}
Example: (validate-entity-config {:label "Users" :table-name :users ...})
Validate entity configuration against schema.
Args:
config: Entity configuration map
Returns:
{:valid? true :data transformed-data} or
{:valid? false :errors validation-errors}
Example:
(validate-entity-config {:label "Users" :table-name :users ...})(validate-list-options options)Validate list entities options against schema.
Args: options: Query options map
Returns: {:valid? true :data transformed-data} or {:valid? false :errors validation-errors}
Example: (validate-list-options {:limit 50 :offset 0 :sort :email})
Validate list entities options against schema.
Args:
options: Query options map
Returns:
{:valid? true :data transformed-data} or
{:valid? false :errors validation-errors}
Example:
(validate-list-options {:limit 50 :offset 0 :sort :email})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |