Socket
Socket
Sign inDemoInstall

@workbench-stack/core

Package Overview
Dependencies
Maintainers
4
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workbench-stack/core - npm Package Compare versions

Comparing version 2.1.1-alpha.0 to 2.1.1-alpha.2

59

lib/interfaces/configuration/configuration-registry.d.ts

@@ -5,13 +5,60 @@ import { IJSONSchema } from '@vscode-alt/monaco-editor/esm/vs/base/common/jsonSchema';

import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event';
export interface IConfigurationPropertySchema<T = ConfigurationScope> extends IJSONSchema {
overridable?: boolean;
scope?: T;
included?: boolean;
tags?: string[];
export declare enum EditPresentationTypes {
Multiline = "multilineText",
Singleline = "singlelineText"
}
export interface PolicyConfiguration {
/**
* The policy name.
*/
readonly name: string;
/**
* The Code version in which this policy was introduced.
*/
readonly minimumVersion: any;
}
export interface IConfigurationPropertySchema<T = ConfigurationScope> extends IJSONSchema {
overridable?: boolean;
scope?: T;
/**
* When restricted, value of this configuration will be read only from trusted sources.
* For eg., If the workspace is not trusted, then the value of this configuration is not read from workspace settings file.
*/
restricted?: boolean;
/**
* When `false` this property is excluded from the registry. Default is to include.
*/
included?: boolean;
/**
* List of tags associated to the property.
* - A tag can be used for filtering
* - Use `experimental` tag for marking the setting as experimental. **Note:** Defaults of experimental settings can be changed by the running experiments.
*/
tags?: string[];
/**
* When enabled this setting is ignored during sync and user can override this.
*/
ignoreSync?: boolean;
/**
* When enabled this setting is ignored during sync and user cannot override this.
*/
disallowSyncIgnore?: boolean;
/**
* Labels for enumeration items
*/
enumItemLabels?: string[];
/**
* When specified, controls the presentation format of string settings.
* Otherwise, the presentation format defaults to `singleline`.
*/
editPresentation?: EditPresentationTypes;
/**
* When specified, gives an order number for the setting
* within the settings editor. Otherwise, the setting is placed at the end.
*/
order?: number;
/**
* When specified, this setting's value can always be overwritten by
* a system-wide policy.
*/
policy?: PolicyConfiguration;
}

@@ -18,0 +65,0 @@ export interface IConfigurationNode<T = ConfigurationScope> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EditPresentationTypes = void 0;
var EditPresentationTypes;
(function (EditPresentationTypes) {
EditPresentationTypes["Multiline"] = "multilineText";
EditPresentationTypes["Singleline"] = "singlelineText";
})(EditPresentationTypes = exports.EditPresentationTypes || (exports.EditPresentationTypes = {}));
//# sourceMappingURL=configuration-registry.js.map

4

package.json
{
"name": "@workbench-stack/core",
"version": "2.1.1-alpha.0",
"version": "2.1.1-alpha.2",
"description": "Workbench core for higher packages to depend on",

@@ -47,3 +47,3 @@ "main": "lib/index.js",

},
"gitHead": "d427738d728f1f3f8e46e7ac4ec06a97d572e3e1"
"gitHead": "1bfbb4e6b1387785e7fa5f28d15bf6435c204b37"
}

@@ -6,17 +6,65 @@ import { IJSONSchema } from '@vscode-alt/monaco-editor/esm/vs/base/common/jsonSchema';

export enum EditPresentationTypes {
Multiline = 'multilineText',
Singleline = 'singlelineText'
}
export interface IConfigurationPropertySchema<T = ConfigurationScope> extends IJSONSchema {
overridable?: boolean;
scope?: T;
included?: boolean;
tags?: string[];
export interface PolicyConfiguration {
/**
* The policy name.
*/
readonly name: string;
/**
* The Code version in which this policy was introduced.
*/
readonly minimumVersion: any;/*`${number}.${number}`;*/
}
export interface IConfigurationPropertySchema<T = ConfigurationScope> extends IJSONSchema {
overridable?: boolean;
scope?: T;
included?: boolean;
tags?: string[];
scope?: T;
/**
* When restricted, value of this configuration will be read only from trusted sources.
* For eg., If the workspace is not trusted, then the value of this configuration is not read from workspace settings file.
*/
restricted?: boolean;
/**
* When `false` this property is excluded from the registry. Default is to include.
*/
included?: boolean;
/**
* List of tags associated to the property.
* - A tag can be used for filtering
* - Use `experimental` tag for marking the setting as experimental. **Note:** Defaults of experimental settings can be changed by the running experiments.
*/
tags?: string[];
/**
* When enabled this setting is ignored during sync and user can override this.
*/
ignoreSync?: boolean;
/**
* When enabled this setting is ignored during sync and user cannot override this.
*/
disallowSyncIgnore?: boolean;
/**
* Labels for enumeration items
*/
enumItemLabels?: string[];
/**
* When specified, controls the presentation format of string settings.
* Otherwise, the presentation format defaults to `singleline`.
*/
editPresentation?: EditPresentationTypes;
/**
* When specified, gives an order number for the setting
* within the settings editor. Otherwise, the setting is placed at the end.
*/
order?: number;
/**
* When specified, this setting's value can always be overwritten by
* a system-wide policy.
*/
policy?: PolicyConfiguration;
}
export interface IConfigurationNode<T = ConfigurationScope> {

@@ -23,0 +71,0 @@ id?: string;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc