Skip to content

Commit 4bb8fcc

Browse files
authored
Merge pull request #248 from gethinode/develop
feat: add location type data
2 parents b4859d2 + ba3b231 commit 4bb8fcc

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

data/structures/_arguments.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ arguments:
3737
comment: >-
3838
Sets the current item as active (only one item at a time). By
3939
default, the first item is made active.
40+
address:
41+
type: string
42+
optional: false
43+
comment: >-
44+
Address information.
4045
alert-type:
4146
type: select
4247
optional: true
@@ -652,6 +657,11 @@ arguments:
652657
comment: >-
653658
List input of the element. Uses the name of the section to retrieve known
654659
pages.
660+
instructions:
661+
type: instructions
662+
optional: true
663+
comment: >-
664+
Instructions how to reach a location using a specific transport method.
655665
items:
656666
type: items
657667
optional: false
@@ -778,6 +788,11 @@ arguments:
778788
values:
779789
- lazy
780790
- eager
791+
locations:
792+
type: locations
793+
optional: false
794+
comment: >-
795+
Office location data.
781796
long:
782797
type:
783798
- float
@@ -1032,6 +1047,10 @@ arguments:
10321047
- bottom
10331048
- left
10341049
- right
1050+
phone:
1051+
type: string
1052+
optional: true
1053+
comment: Phone number.
10351054
plain:
10361055
type: bool
10371056
default: false

data/structures/_types.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ types:
2525
width:
2626
image-overlay:
2727
hook:
28+
instructions:
29+
- title:
30+
description:
31+
locations:
32+
- title:
33+
address:
34+
phone:
35+
image:
36+
mode:
37+
anchor:
38+
instructions:
2839
cta:
2940
title:
3041
url:

0 commit comments

Comments
 (0)