Template
deploy to production / deploy (push) Successful in 43s
- yaml-language-server-Schema direkt in jeder api-YAML statt .vscode/yaml.schemas-Mapping (exakter pro Datei, kein Glob-Rätsel) - erweiterte meta.agent-Doku in den Collections - tibi-types-Submodul auf 4c55f82 (meta.agent- + meta.query-Schemas)
72 lines
1.3 KiB
YAML
72 lines
1.3 KiB
YAML
# yaml-language-server: $schema=../../tibi-types/schemas/config/collection.schema.json
|
|
########################################################################
|
|
# SSR Dummy collections
|
|
########################################################################
|
|
|
|
name: ssr
|
|
uploadPath: ../media/ssr
|
|
audit:
|
|
enabled: false
|
|
meta:
|
|
label: { de: "SSR Dummy", en: "ssr dummy" }
|
|
muiIcon: storage
|
|
group: system
|
|
imageUrl: "https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&q=80&w=800"
|
|
hide: true
|
|
|
|
permissions:
|
|
public:
|
|
methods:
|
|
get: true
|
|
post: true
|
|
put: false
|
|
delete: false
|
|
user:
|
|
methods:
|
|
get: true
|
|
post: false
|
|
put: false
|
|
delete: true
|
|
|
|
hooks:
|
|
get:
|
|
read:
|
|
type: javascript
|
|
file: hooks/ssr/get_read.js
|
|
post:
|
|
bind:
|
|
type: javascript
|
|
file: hooks/ssr/post_bind.js
|
|
|
|
fields:
|
|
- name: path
|
|
type: string
|
|
index: [single, unique]
|
|
|
|
- name: content
|
|
type: string
|
|
meta:
|
|
inputProps:
|
|
multiline: true
|
|
|
|
- name: validUntil
|
|
type: date
|
|
index: [single]
|
|
meta:
|
|
label:
|
|
de: Gültig bis
|
|
en: Valid until
|
|
|
|
- name: dependencies
|
|
type: string[]
|
|
index: [single]
|
|
meta:
|
|
label:
|
|
de: Abhängigkeiten
|
|
en: Dependencies
|
|
|
|
- name: _testdata
|
|
type: boolean
|
|
meta:
|
|
hide: true
|