Repository navigation
Expand file tree
/
Copy pathflags.json
More file actions
68 lines (68 loc) · 1.56 KB
/
Copy pathflags.json
File metadata and controls
68 lines (68 loc) · 1.56 KB
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
{
"$schema": "./flags-schema.json",
"flags": {
"offer-free-shipping": {
"description": "Add free shipping to the UI.",
"defaultValue": false,
"flagType": "boolean",
"state": "ENABLED",
"variants": {
"on": true,
"off": false
},
"defaultVariant": "on"
},
"sticky-header": {
"description": "Make the header stay at the top of the page while scrolling.",
"state": "ENABLED",
"flagType": "boolean",
"variants": {
"on": true,
"off": false
},
"defaultValue": false,
"targeting": {
"if": [{ "==": [{ "var": "size" }, "sm"]}, "on", null ]
},
"defaultVariant": "on"
},
"use-distributed-db": {
"description": "When on, use postgres else sqlite.",
"state": "ENABLED",
"flagType": "boolean",
"defaultValue": false,
"variants": {
"on": true,
"off": false
},
"targeting": {
"fractional": [
[
"on",
1
],
[
"off",
3
]
]
},
"defaultVariant": "off"
},
"use-secure-protocol": {
"description": "When on, use a secure connection to the database. This only applies when use-distributed-db is on.",
"state": "ENABLED",
"flagType": "boolean",
"defaultValue": false,
"variants": {
"on": true,
"off": false
},
"defaultVariant": "off"
}
},
"metadata": {
"flagSetId": "toggle-shop/dev",
"version": "1"
}
}