chore: generate
This commit is contained in:
parent
6274b0677c
commit
21023337fa
3 changed files with 31 additions and 11 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
import { expect, test } from "bun:test"
|
import { expect, test } from "bun:test"
|
||||||
|
|
||||||
const { DEFAULT_THEMES, allThemes, addTheme, hasTheme, resolveTheme } =
|
const { DEFAULT_THEMES, allThemes, addTheme, hasTheme, resolveTheme } = await import(
|
||||||
await import("../../../src/cli/cmd/tui/context/theme")
|
"../../../src/cli/cmd/tui/context/theme"
|
||||||
|
)
|
||||||
|
|
||||||
test("addTheme writes into module theme store", () => {
|
test("addTheme writes into module theme store", () => {
|
||||||
const name = `plugin-theme-${Date.now()}`
|
const name = `plugin-theme-${Date.now()}`
|
||||||
|
|
|
||||||
|
|
@ -1447,6 +1447,10 @@ export type Config = {
|
||||||
watcher?: {
|
watcher?: {
|
||||||
ignore?: Array<string>
|
ignore?: Array<string>
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Enable or disable snapshot tracking. When false, filesystem snapshots are not recorded and undoing or reverting will not undo/redo file changes. Defaults to true.
|
||||||
|
*/
|
||||||
|
snapshot?: boolean
|
||||||
plugin?: Array<
|
plugin?: Array<
|
||||||
| string
|
| string
|
||||||
| [
|
| [
|
||||||
|
|
@ -1456,10 +1460,6 @@ export type Config = {
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
>
|
>
|
||||||
/**
|
|
||||||
* Enable or disable snapshot tracking. When false, filesystem snapshots are not recorded and undoing or reverting will not undo/redo file changes. Defaults to true.
|
|
||||||
*/
|
|
||||||
snapshot?: boolean
|
|
||||||
/**
|
/**
|
||||||
* Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing
|
* Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -10961,16 +10961,35 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plugin": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"snapshot": {
|
"snapshot": {
|
||||||
"description": "Enable or disable snapshot tracking. When false, filesystem snapshots are not recorded and undoing or reverting will not undo/redo file changes. Defaults to true.",
|
"description": "Enable or disable snapshot tracking. When false, filesystem snapshots are not recorded and undoing or reverting will not undo/redo file changes. Defaults to true.",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"plugin": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"prefixItems": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"propertyNames": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"additionalProperties": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"share": {
|
"share": {
|
||||||
"description": "Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing",
|
"description": "Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue