-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.schema.json
More file actions
79 lines (79 loc) · 2.97 KB
/
Copy pathconfiguration.schema.json
File metadata and controls
79 lines (79 loc) · 2.97 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
69
70
71
72
73
74
75
76
77
78
79
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/sphireinc/git-watch/main/docs/configuration.schema.json",
"title": "gitwatch configuration v2",
"type": "object",
"properties": {
"version": { "const": 2 },
"theme": { "enum": ["auto", "dark", "light", "high-contrast"] },
"motion": { "enum": ["full", "reduced", "off"] },
"watch": { "enum": ["auto", "fs", "poll"] },
"interval": { "type": "integer", "minimum": 1 },
"reconciliation": { "type": "integer", "minimum": 0 },
"show_untracked": { "type": "boolean" },
"show_ignored": { "type": "boolean" },
"mouse": { "type": "boolean" },
"show_commit_tree": { "type": "boolean" },
"debounce": { "type": "integer", "minimum": 0 },
"repositories": {
"type": "object",
"properties": {
"roots": { "type": "array", "items": { "type": "string" } },
"groups": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "string" } } },
"group_refresh": { "type": "object", "additionalProperties": { "type": "integer", "minimum": 0 } },
"ignore_dirs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
"max_depth": { "type": "integer", "minimum": 0 },
"max_repositories": { "type": "integer", "minimum": 0 }
}
},
"remote": {
"type": "object",
"properties": {
"pull_strategy": { "enum": ["merge", "rebase", "ff-only"] },
"stale_after": { "type": "integer", "minimum": 0 },
"workers": { "type": "integer", "minimum": 0 }
}
},
"github": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"token_env": { "type": "string" },
"cache_ttl": { "type": "integer", "minimum": 0 }
}
},
"plugins": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"directories": { "type": "array", "items": { "type": "string" } },
"max_output": { "type": "integer", "minimum": 0 }
}
},
"notifications": { "type": "object", "properties": { "quiet": { "type": "boolean" } } },
"layout": {
"type": "object",
"properties": {
"files_percent": { "type": "integer", "minimum": 1, "maximum": 99 },
"details_percent": { "type": "integer", "minimum": 1, "maximum": 99 }
}
},
"diff": {
"type": "object",
"properties": {
"max_bytes": { "type": "integer", "minimum": 1 },
"max_lines": { "type": "integer", "minimum": 1 }
}
},
"commit_tree": {
"type": "object",
"properties": { "max_commits": { "type": "integer", "minimum": 1, "maximum": 1000 } }
},
"profile": { "type": "string" },
"keymap": { "type": "object", "additionalProperties": { "type": "string" } },
"keymap_profiles": {
"type": "object",
"additionalProperties": { "type": "object", "additionalProperties": { "type": "string" } }
}
}
}