Desarrollando Plugins para Discourse - Parte 3 - Añadir configuraciones personalizadas del sitio

Existen diferencias entre los tipos de componentes de plugins y temas.

Intenté crear una tabla (se esperan errores menores o agrupaciones)

Categoría Funcionalidad Sintaxis de Plugin Sintaxis de TC
Tipos Básicos Cadena type: string
min: ..
max: ..
regex: ..
secret: true/false
global
validator: nombre de clase
type: string
min: ..
max: ..
-
-
-
-
Texto multilínea type: string
textarea: true
type: string
textarea: true
Entero type: integer
min: ..
max: ..
type: integer
min: ..
max: ..
Flotante type: float
min: ..
max: ..
type: float
min: ..
max: ..
Booleano type: bool type: bool
Hora type: time -
Nulo type: null -
Tipos de Selección Enum (desplegable) type: enum
choices: [opción1, opción2]
enum: ..
type: enum
choices: [opción1, opción2]
Categoría type: category -
Color type: color -
Grupo type: group -
Correo electrónico type: email -
Nombre de usuario type: username -
Tipos de Lista Lista genérica type: list
allow_any: true/false
type: list
Lista simple/compacta type: simple_list
O
type: list
list_type: compact
list_type: simple
type: list
list_type: compact
list_type: simple
Lista de categorías type: category_list type: list
list_type: category
Lista de grupos type: group_list type: list
list_type: group
Lista de etiquetas type: tag_list type: list
list_type: tag
Lista de grupos de etiquetas type: tag_group_list -
Lista de URL type: url_list -
Lista de hosts type: host_list -
Lista de valores type: value_list -
Lista de emojis type: emoji_list -
Tipos de Archivo Cargar type: upload type: upload
Lista de imágenes cargadas type: uploaded_image_list -
Restricción de tamaño de archivo type: file_size_restriction
min: ..
max: ..
-
Tipos Especiales HTML (obsoleto) type: html_deprecated -
Objetos JSON obsoleto obsoleto
Objetos - type: objects
5 Me gusta