Es gibt Unterschiede zwischen den Plugin- und Theme-Komponententypen.
Ich habe versucht, eine Tabelle zu erstellen (kleinere Fehler oder Gruppierungen erwartet)
| Kategorie | Funktionalität | Plugin-Syntax | TC-Syntax |
|---|---|---|---|
| Basistypen | String | type: stringmin: ..max: ..regex: ..secret: true/falseglobal validator: Klassenname |
type: stringmin: ..max: .. - - - - |
| Mehrzeiliger Text | type: stringtextarea: true |
type: stringtextarea: true |
|
| Ganzzahl | type: integermin: ..max: .. |
type: integermin: ..max: .. |
|
| Gleitkommazahl | type: floatmin: ..max: .. |
type: floatmin: ..max: .. |
|
| Boolean | type: bool |
type: bool |
|
| Zeit | type: time |
- | |
| Null | type: null |
- | |
| Auswahltypen | Enum (Dropdown) | type: enumchoices: [option1, option2]enum: .. |
type: enumchoices: [option1, option2] |
| Kategorie | type: category |
- | |
| Farbe | type: color |
- | |
| Gruppe | type: group |
- | |
type: email |
- | ||
| Benutzername | type: username |
- | |
| Listentypen | Generische Liste | type: listallow_any: true/false |
type: list |
| Einfache/Kompakte Liste | type: simple_listOder type: listlist_type: compactlist_type: simple |
type: listlist_type: compactlist_type: simple |
|
| Kategorieliste | type: category_list |
type: listlist_type: category |
|
| Gruppenliste | type: group_list |
type: listlist_type: group |
|
| Tagliste | type: tag_list |
type: listlist_type: tag |
|
| Tag-Gruppenliste | type: tag_group_list |
- | |
| URL-Liste | type: url_list |
- | |
| Hostliste | type: host_list |
- | |
| Werteliste | type: value_list |
- | |
| Emoji-Liste | type: emoji_list |
- | |
| Dateitypen | Upload | type: upload |
type: upload |
| Hochgeladene Bildliste | type: uploaded_image_list |
- | |
| Dateigrößenbeschränkung | type: file_size_restrictionmin: ..max: .. |
- | |
| Spezialtypen | HTML (veraltet) | type: html_deprecated |
- |
| JSON-Objekte | veraltet | veraltet | |
| Objekte | - | type: objects |