generated from cms/tibi-docs
This commit is contained in:
parent
c1b4882e5b
commit
0e9b5baed7
@ -2,6 +2,8 @@
|
|||||||
type: object[]
|
type: object[]
|
||||||
meta:
|
meta:
|
||||||
label: Boxen
|
label: Boxen
|
||||||
|
pathStep:
|
||||||
|
title: "icons im Kreis"
|
||||||
widget: containerLessObjectArray
|
widget: containerLessObjectArray
|
||||||
subFields: !include box.yml
|
subFields: !include box.yml
|
||||||
|
|
||||||
|
@ -2,5 +2,7 @@
|
|||||||
type: object[]
|
type: object[]
|
||||||
meta:
|
meta:
|
||||||
label: Boxen
|
label: Boxen
|
||||||
|
pathStep:
|
||||||
|
title: "icons im Rechteck"
|
||||||
widget: containerLessObjectArray
|
widget: containerLessObjectArray
|
||||||
subFields: !include box.yml
|
subFields: !include box.yml
|
||||||
|
@ -123,6 +123,7 @@ fields:
|
|||||||
meta:
|
meta:
|
||||||
label: Icons im Kreis
|
label: Icons im Kreis
|
||||||
widget: containerLessObject
|
widget: containerLessObject
|
||||||
|
|
||||||
dependsOn:
|
dependsOn:
|
||||||
eval: $parent.type == 'iconCycleCircle'
|
eval: $parent.type == 'iconCycleCircle'
|
||||||
subFields: !include fieldLists/iconCycleCircle.yml
|
subFields: !include fieldLists/iconCycleCircle.yml
|
||||||
|
30
types/global.d.ts
vendored
30
types/global.d.ts
vendored
@ -58,14 +58,28 @@ interface MediaLibrary {
|
|||||||
id: string
|
id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
type Module =
|
type BaseModule = { id: string }
|
||||||
| { id: string; type: "iconCycleCircle"; iconCycleCircle: IconCycleCircle }
|
|
||||||
| { id: string; type: "iconCycleSquare"; iconCycleSquare: IconCycleSquare }
|
type IconCycleModule = BaseModule & {
|
||||||
| { id: string; type: "worldCard"; worldCard: WorldCard }
|
type: "iconCycleCircle" | "iconCycleSquare"
|
||||||
| { id: string; type: "chefTeam" }
|
iconCycle?: IconCycleCircle | IconCycleSquare
|
||||||
| { id: string; type: "employeeTeam" }
|
}
|
||||||
| { id: string; type: "jobOfferLink"; jobOfferPage: string }
|
|
||||||
| { id: string; type: "jobOffer" }
|
type WorldCardModule = BaseModule & {
|
||||||
|
type: "worldCard"
|
||||||
|
worldCard?: WorldCard
|
||||||
|
}
|
||||||
|
|
||||||
|
type JobOfferModule = BaseModule & {
|
||||||
|
type: "jobOfferLink" | "jobOffer"
|
||||||
|
jobOfferPage?: string
|
||||||
|
}
|
||||||
|
|
||||||
|
type SimpleModule = BaseModule & {
|
||||||
|
type: "chefTeam" | "employeeTeam"
|
||||||
|
}
|
||||||
|
|
||||||
|
type Module = IconCycleModule | WorldCardModule | JobOfferModule | SimpleModule
|
||||||
|
|
||||||
interface Publication {
|
interface Publication {
|
||||||
file: string
|
file: string
|
||||||
|
Loading…
Reference in New Issue
Block a user