@workbench-kit/workbench-config 0.0.2-prototype.0.2.30 → 0.0.2-prototype.0.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.ts +0 -4
- package/src/preference-scopes.ts +0 -5
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { assertKnownKeys, assertRecord, parseConfigJson } from './parse-helpers.js';
|
|
2
2
|
import { WorkbenchConfigValidationError } from './validation-error.js';
|
|
3
3
|
|
|
4
|
-
export const WORKBENCH_KIT_WORKBENCH_CONFIG_VERSION = '0.0.0' as const;
|
|
5
|
-
|
|
6
4
|
export const WORKBENCH_CONFIG_DIR = '.workbench' as const;
|
|
7
5
|
|
|
8
6
|
export type WorkbenchConfigFileName =
|
|
@@ -203,12 +201,10 @@ export {
|
|
|
203
201
|
} from './settings-config.js';
|
|
204
202
|
export {
|
|
205
203
|
createEmptyPreferenceValuesByScope,
|
|
206
|
-
FUTURE_PREFERENCE_SCOPES,
|
|
207
204
|
isPreferenceScope,
|
|
208
205
|
mergePreferenceValuesByScope,
|
|
209
206
|
mergeScopedPreferences,
|
|
210
207
|
PREFERENCE_SCOPE_MERGE_ORDER,
|
|
211
|
-
type FuturePreferenceScope,
|
|
212
208
|
type PreferenceScope,
|
|
213
209
|
type PreferenceValuesByScope,
|
|
214
210
|
type ScopedPreferenceLayer,
|
package/src/preference-scopes.ts
CHANGED
|
@@ -3,11 +3,6 @@ import type { WorkbenchSettingsConfig } from './settings-config.js';
|
|
|
3
3
|
/** Runtime preference scopes supported in v1. */
|
|
4
4
|
export type PreferenceScope = 'default' | 'workspace' | 'local';
|
|
5
5
|
|
|
6
|
-
/** Documented future scopes — not merged or persisted yet. */
|
|
7
|
-
export const FUTURE_PREFERENCE_SCOPES = ['user', 'resource', 'secret'] as const;
|
|
8
|
-
|
|
9
|
-
export type FuturePreferenceScope = (typeof FUTURE_PREFERENCE_SCOPES)[number];
|
|
10
|
-
|
|
11
6
|
/** Lower index = lower precedence when merging effective values. */
|
|
12
7
|
export const PREFERENCE_SCOPE_MERGE_ORDER: readonly PreferenceScope[] = [
|
|
13
8
|
'default',
|