aboutsummaryrefslogtreecommitdiff
path: root/tests/data/complex/settings.yaml
blob: b85e2a2423ba64b8ff5d5f628cbb16ccae2681ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: "Fully featured lesana collection"
lang: 'english'
entry_label: '{{ eid }}: {{ name }} ({{ tags }})'
default_sort:
  - order
fields:
    - name: name
      type: string
      prefix: S
      index: free
    - name: description
      type: text
      prefix: XD
      index: free
    - name: position
      type: string
      index: field
      sortable: true
    - name: something
      type: yaml
    - name: tags
      type: list
      list: string
      index: field
    - name: keywords
      type: list
      list: string
      index: free
    - name: exists
      type: boolean
      index: field
    - name: with_default
      type: string
      default: 'default value'
    - name: amount
      type: integer
      index: field
      sortable: true
    - name: order
      type: string
      index: field
      sortable: true
    - name: created
      type: datetime
      auto: creation
    - name: updated
      type: datetime
      auto: update
    - name: epoch
      type: datetime
      auto: false
    - name: version
      type: integer
      auto: increment
      increment: 2
    - name: category
      type: string
      values:
        - first
        - second
        - third
      index: field