Initial commit
This commit is contained in:
75
api/collections/productBackgroundImage.yml
Normal file
75
api/collections/productBackgroundImage.yml
Normal file
@@ -0,0 +1,75 @@
|
||||
name: productBackgroundImage
|
||||
|
||||
meta:
|
||||
allowExportAll: true
|
||||
label:
|
||||
de: Produkt Bg.
|
||||
en: Product Bg.
|
||||
muiIcon: label
|
||||
|
||||
defaultSort:
|
||||
field: name
|
||||
order: ASC
|
||||
|
||||
views: &views
|
||||
- type: table
|
||||
columns:
|
||||
- source: type
|
||||
filter: true
|
||||
- source: image
|
||||
filter:
|
||||
type: foreignKey
|
||||
|
||||
permissions:
|
||||
public:
|
||||
methods:
|
||||
get: true
|
||||
post: false
|
||||
put: false
|
||||
delete: false
|
||||
user:
|
||||
methods:
|
||||
get: true
|
||||
post: true
|
||||
put: true
|
||||
delete: true
|
||||
|
||||
fields:
|
||||
- name: type
|
||||
type: string
|
||||
meta:
|
||||
label:
|
||||
de: Typ
|
||||
en: Type
|
||||
widget: select
|
||||
choices:
|
||||
- id: standard
|
||||
label:
|
||||
de: Standard
|
||||
en: Standard
|
||||
|
||||
- id: dark
|
||||
label:
|
||||
de: Dunkel
|
||||
en: Dark
|
||||
- name: image
|
||||
type: string
|
||||
meta:
|
||||
label:
|
||||
de: Tibi ID
|
||||
en: Tibi ID
|
||||
widget: foreignKey
|
||||
foreign:
|
||||
collection: medialib
|
||||
id: id
|
||||
subNavigation: 0
|
||||
render:
|
||||
defaultCollectionViews: true
|
||||
filter:
|
||||
type: foreignKey
|
||||
containerProps:
|
||||
layout:
|
||||
size:
|
||||
default: "col-6"
|
||||
small: "col-12"
|
||||
large: "col-6"
|
||||
Reference in New Issue
Block a user