Skip to content

Commit 4027308

Browse files
authored
feat: update schemas and submodule for v25.4.8 (#42)
1 parent 5112bda commit 4027308

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

schemas/keymap.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
"properties": {
9696
"on": { "$ref": "#/$defs/strOrStrArray" },
9797
"run": { "$ref": "#/$defs/strOrStrArray" },
98-
"desc": { "type": "string" }
98+
"desc": { "type": "string" },
99+
"for": { "$ref": "/schemas/types/platform.json" }
99100
},
100101
"required": ["on", "run"]
101102
}

schemas/theme.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"preview_hovered": { "$ref": "#/$defs/style" },
2929
"find_keyword": { "$ref": "#/$defs/style" },
3030
"find_position": { "$ref": "#/$defs/style" },
31+
"symlink_target": { "$ref": "#/$defs/style" },
3132
"marker_copied": { "$ref": "#/$defs/style" },
3233
"marker_cut": { "$ref": "#/$defs/style" },
3334
"marker_marked": { "$ref": "#/$defs/style" },

schemas/types/platform.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$id": "https://yazi-rs.github.io/schemas/types/platform.json",
3+
"$schema": "https://json-schema.org/draft/2020-12/schema",
4+
"enum": ["unix", "windows", "linux", "macos", "android"]
5+
}

schemas/yazi.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@
9494
"block": { "type": "boolean" },
9595
"orphan": { "type": "boolean" },
9696
"desc": { "type": "string" },
97-
"for": {
98-
"enum": ["unix", "windows", "linux", "macos", "android"]
99-
}
97+
"for": { "$ref": "/schemas/types/platform.json" }
10098
},
10199
"required": ["run"]
102100
}

scripts/update-submodule.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3-
git submodule update --remote
43
cd yazi/ || exit
4+
5+
git fetch --tags --force
56
git reset --hard "shipped"

yazi

Submodule yazi updated 316 files

0 commit comments

Comments
 (0)