recentViewLimit becomes a volatile field of the ui-workspace Host Config (z.natural().default(10)). The browser receives it through synced plugin configuration, and RecentSessionViews reconciles whenever it changes, so a cordis.yml edit takes effect without a page reload. Until a value arrives, every counted recent view is kept. The package gains a Host compiler face: src/types.ts holds the shared Config type, tsconfig.host.json and tsconfig.client.json replace the single Client config, and every reference names the face it compiles against.
12 lines
142 B
JSON
12 lines
142 B
JSON
{
|
|
"files": [],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.host.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.client.json"
|
|
}
|
|
]
|
|
}
|