-
Notifications
You must be signed in to change notification settings - Fork 1
/
blueprints.yaml
99 lines (95 loc) · 2.75 KB
/
blueprints.yaml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: Elasticsearch
version: 0.1.0
description: Scalable search indexing for Grav based sites with flexible API.
icon: plug
author:
name: TargetDummy
email: [email protected]
homepage: https://github.com/bnettargetdummy/grav-plugin-elasticsearch
demo: http://demo.yoursite.com
keywords: grav, plugin, etc
bugs: https://github.com/bnettargetdummy/grav-plugin-elasticsearch/issues
docs: https://github.com/bnettargetdummy/grav-plugin-elasticsearch/blob/develop/README.md
license: MIT
form:
validation: strict
fields:
tabs:
type: tabs
active: 1
fields:
general:
type: tab
title: Features
fields:
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
disabled_text:
type: text
label: Disabled text
help: Text to add to the top of a page
maxNumberOfResults:
type: int
label: Number of results displayed
default: 10
route.api:
type: text
label: Route for the search API
default: /searchApi
base:
type: tab
title: ElasticSearch
fields:
elasticsearch.index:
type: text
label: Index in ElasticSearch
default: data
elasticsearch.type:
type: text
label: Type in ElasticSearch
default: pages
base.hosts:
type: list
style: vertical
title: Hosts
fields:
.scheme:
type: select
label: Transport Scheme
classes: fancy
default: https
options:
'https': 'https'
'http': 'http'
.host:
type: text
label: Host
default: localhost
validate:
type: string
.port:
type: text
label: Port
default: 9200
validate:
type: string
.connection.user:
type: text
label: User
placeholder: user
validate:
type: string
.connection.password:
type: password
label: Password
placeholder: password
validate:
type: string