homebridge-plugin-utils 1.35.0 → 2.1.0
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/README.md +130 -2
- package/build/eslint-plugin/README.md +164 -0
- package/build/eslint-plugin/config.mjs +308 -0
- package/build/eslint-plugin/index.mjs +7 -0
- package/build/eslint-plugin/plugin.mjs +46 -0
- package/build/eslint-plugin/rules/blank-line-after-open-brace.mjs +137 -0
- package/build/eslint-plugin/rules/blank-line-after-open-brace.test.mjs +112 -0
- package/build/eslint-plugin/rules/comment-style.mjs +190 -0
- package/build/eslint-plugin/rules/comment-style.test.mjs +190 -0
- package/build/eslint-plugin/rules/enforce-node-protocol.mjs +114 -0
- package/build/eslint-plugin/rules/enforce-node-protocol.test.mjs +116 -0
- package/build/eslint-plugin/rules/paren-comparisons-in-logical.mjs +94 -0
- package/build/eslint-plugin/rules/paren-comparisons-in-logical.test.mjs +107 -0
- package/build/eslint-plugin/rules/split-type-imports.mjs +354 -0
- package/build/eslint-plugin/rules/split-type-imports.test.mjs +268 -0
- package/build/eslint-plugin/test-setup.mjs +21 -0
- package/build/fs-ops.mjs +184 -0
- package/build/tsconfig.json +18 -3
- package/dist/backpressure.d.ts +94 -45
- package/dist/backpressure.js +229 -93
- package/dist/backpressure.js.map +1 -1
- package/dist/cli/index.d.ts +166 -0
- package/dist/cli/index.js +551 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/clock-double.d.ts +93 -0
- package/dist/clock-double.js +141 -0
- package/dist/clock-double.js.map +1 -0
- package/dist/clock.d.ts +39 -0
- package/dist/clock.js +34 -0
- package/dist/clock.js.map +1 -0
- package/dist/disposable-stack.d.ts +59 -0
- package/dist/disposable-stack.js +155 -0
- package/dist/disposable-stack.js.map +1 -0
- package/dist/docChrome.d.ts +260 -0
- package/dist/docChrome.js +361 -0
- package/dist/docChrome.js.map +1 -0
- package/dist/eslint-plugin/config.d.mts +193 -0
- package/dist/eslint-plugin/index.d.mts +2 -0
- package/dist/eslint-plugin/plugin.d.mts +87 -0
- package/dist/eslint-plugin/rules/blank-line-after-open-brace.d.mts +19 -0
- package/dist/eslint-plugin/rules/comment-style.d.mts +15 -0
- package/dist/eslint-plugin/rules/enforce-node-protocol.d.mts +18 -0
- package/dist/eslint-plugin/rules/paren-comparisons-in-logical.d.mts +15 -0
- package/dist/eslint-plugin/rules/split-type-imports.d.mts +16 -0
- package/dist/featureOptions-docs.d.ts +96 -0
- package/dist/featureOptions-docs.js +193 -0
- package/dist/featureOptions-docs.js.map +1 -0
- package/dist/featureOptions.d.ts +674 -0
- package/dist/featureOptions.js +870 -0
- package/dist/featureOptions.js.map +1 -0
- package/dist/ffmpeg/codecs.d.ts +256 -72
- package/dist/ffmpeg/codecs.js +477 -262
- package/dist/ffmpeg/codecs.js.map +1 -1
- package/dist/ffmpeg/dgram-util.d.ts +46 -0
- package/dist/ffmpeg/dgram-util.js +38 -0
- package/dist/ffmpeg/dgram-util.js.map +1 -0
- package/dist/ffmpeg/exec.d.ts +83 -64
- package/dist/ffmpeg/exec.js +77 -86
- package/dist/ffmpeg/exec.js.map +1 -1
- package/dist/ffmpeg/fmp4.d.ts +49 -2
- package/dist/ffmpeg/fmp4.js +47 -11
- package/dist/ffmpeg/fmp4.js.map +1 -1
- package/dist/ffmpeg/hap-enums.d.ts +214 -0
- package/dist/ffmpeg/hap-enums.js +92 -0
- package/dist/ffmpeg/hap-enums.js.map +1 -0
- package/dist/ffmpeg/index.d.ts +16 -9
- package/dist/ffmpeg/index.js +6 -0
- package/dist/ffmpeg/index.js.map +1 -1
- package/dist/ffmpeg/mp4-assembler.d.ts +161 -0
- package/dist/ffmpeg/mp4-assembler.js +424 -0
- package/dist/ffmpeg/mp4-assembler.js.map +1 -0
- package/dist/ffmpeg/mp4-parser.d.ts +94 -0
- package/dist/ffmpeg/mp4-parser.js +130 -0
- package/dist/ffmpeg/mp4-parser.js.map +1 -0
- package/dist/ffmpeg/options.d.ts +62 -149
- package/dist/ffmpeg/options.js +608 -499
- package/dist/ffmpeg/options.js.map +1 -1
- package/dist/ffmpeg/process.d.ts +142 -96
- package/dist/ffmpeg/process.js +406 -278
- package/dist/ffmpeg/process.js.map +1 -1
- package/dist/ffmpeg/record.d.ts +325 -186
- package/dist/ffmpeg/record.js +418 -565
- package/dist/ffmpeg/record.js.map +1 -1
- package/dist/ffmpeg/recording-process-double.d.ts +157 -0
- package/dist/ffmpeg/recording-process-double.js +190 -0
- package/dist/ffmpeg/recording-process-double.js.map +1 -0
- package/dist/ffmpeg/rtp-parser.d.ts +70 -0
- package/dist/ffmpeg/rtp-parser.js +77 -0
- package/dist/ffmpeg/rtp-parser.js.map +1 -0
- package/dist/ffmpeg/rtp.d.ts +198 -141
- package/dist/ffmpeg/rtp.js +474 -251
- package/dist/ffmpeg/rtp.js.map +1 -1
- package/dist/ffmpeg/settings.d.ts +5 -2
- package/dist/ffmpeg/settings.js +20 -5
- package/dist/ffmpeg/settings.js.map +1 -1
- package/dist/ffmpeg/stream.d.ts +57 -107
- package/dist/ffmpeg/stream.js +121 -150
- package/dist/ffmpeg/stream.js.map +1 -1
- package/dist/formatters.d.ts +106 -0
- package/dist/formatters.js +174 -0
- package/dist/formatters.js.map +1 -0
- package/dist/homebridge-enums.d.ts +30 -0
- package/dist/homebridge-enums.js +17 -0
- package/dist/homebridge-enums.js.map +1 -0
- package/dist/index.d.ts +13 -6
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/logclient/auth.d.ts +114 -0
- package/dist/logclient/auth.js +199 -0
- package/dist/logclient/auth.js.map +1 -0
- package/dist/logclient/cli-run.d.ts +76 -0
- package/dist/logclient/cli-run.js +639 -0
- package/dist/logclient/cli-run.js.map +1 -0
- package/dist/logclient/cli.d.ts +3 -0
- package/dist/logclient/cli.js +97 -0
- package/dist/logclient/cli.js.map +1 -0
- package/dist/logclient/client.d.ts +145 -0
- package/dist/logclient/client.js +600 -0
- package/dist/logclient/client.js.map +1 -0
- package/dist/logclient/config.d.ts +173 -0
- package/dist/logclient/config.js +199 -0
- package/dist/logclient/config.js.map +1 -0
- package/dist/logclient/endpoints.d.ts +54 -0
- package/dist/logclient/endpoints.js +73 -0
- package/dist/logclient/endpoints.js.map +1 -0
- package/dist/logclient/filter.d.ts +45 -0
- package/dist/logclient/filter.js +51 -0
- package/dist/logclient/filter.js.map +1 -0
- package/dist/logclient/frame.d.ts +93 -0
- package/dist/logclient/frame.js +203 -0
- package/dist/logclient/frame.js.map +1 -0
- package/dist/logclient/index.d.ts +31 -0
- package/dist/logclient/index.js +12 -0
- package/dist/logclient/index.js.map +1 -0
- package/dist/logclient/parser.d.ts +211 -0
- package/dist/logclient/parser.js +393 -0
- package/dist/logclient/parser.js.map +1 -0
- package/dist/logclient/rest.d.ts +41 -0
- package/dist/logclient/rest.js +111 -0
- package/dist/logclient/rest.js.map +1 -0
- package/dist/logclient/settings.d.ts +15 -0
- package/dist/logclient/settings.js +64 -0
- package/dist/logclient/settings.js.map +1 -0
- package/dist/logclient/socket-double.d.ts +201 -0
- package/dist/logclient/socket-double.js +384 -0
- package/dist/logclient/socket-double.js.map +1 -0
- package/dist/logclient/socket.d.ts +257 -0
- package/dist/logclient/socket.js +620 -0
- package/dist/logclient/socket.js.map +1 -0
- package/dist/logclient/stitch.d.ts +83 -0
- package/dist/logclient/stitch.js +146 -0
- package/dist/logclient/stitch.js.map +1 -0
- package/dist/logclient/time-expression.d.ts +42 -0
- package/dist/logclient/time-expression.js +181 -0
- package/dist/logclient/time-expression.js.map +1 -0
- package/dist/logclient/time-window.d.ts +38 -0
- package/dist/logclient/time-window.js +53 -0
- package/dist/logclient/time-window.js.map +1 -0
- package/dist/logclient/types.d.ts +107 -0
- package/dist/logclient/types.js +6 -0
- package/dist/logclient/types.js.map +1 -0
- package/dist/mqttClient.d.ts +287 -0
- package/dist/mqttClient.js +433 -0
- package/dist/mqttClient.js.map +1 -0
- package/dist/service.d.ts +64 -15
- package/dist/service.js +93 -66
- package/dist/service.js.map +1 -1
- package/dist/ui/featureOptions.js +870 -0
- package/dist/ui/featureOptions.js.map +1 -0
- package/dist/ui/formatters.js +174 -0
- package/dist/ui/formatters.js.map +1 -0
- package/dist/ui/pluginConfigSession.mjs +141 -0
- package/dist/ui/webUi-featureOptions/categoryState.mjs +135 -0
- package/dist/ui/webUi-featureOptions/effects/keyboard.mjs +61 -0
- package/dist/ui/webUi-featureOptions/effects/persist.mjs +226 -0
- package/dist/ui/webUi-featureOptions/effects/theme.mjs +398 -0
- package/dist/ui/webUi-featureOptions/effects/tokens.mjs +152 -0
- package/dist/ui/webUi-featureOptions/rendering.mjs +431 -0
- package/dist/ui/webUi-featureOptions/selectors.mjs +360 -0
- package/dist/ui/webUi-featureOptions/state.mjs +319 -0
- package/dist/ui/webUi-featureOptions/store.mjs +181 -0
- package/dist/ui/webUi-featureOptions/utils.mjs +213 -0
- package/dist/ui/webUi-featureOptions/views/connectionError.mjs +152 -0
- package/dist/ui/webUi-featureOptions/views/deviceInfo.mjs +80 -0
- package/dist/ui/webUi-featureOptions/views/header.mjs +77 -0
- package/dist/ui/webUi-featureOptions/views/nav.mjs +341 -0
- package/dist/ui/webUi-featureOptions/views/options.mjs +521 -0
- package/dist/ui/webUi-featureOptions/views/search.mjs +395 -0
- package/dist/ui/webUi-featureOptions.mjs +702 -0
- package/dist/ui/webUi.mjs +225 -88
- package/dist/util.d.ts +679 -45
- package/dist/util.js +830 -77
- package/dist/util.js.map +1 -1
- package/package.json +33 -15
- package/build/eslint-rules.mjs +0 -511
- package/dist/featureoptions.d.ts +0 -264
- package/dist/featureoptions.js +0 -480
- package/dist/featureoptions.js.map +0 -1
- package/dist/mqttclient.d.ts +0 -178
- package/dist/mqttclient.js +0 -310
- package/dist/mqttclient.js.map +0 -1
- package/dist/ui/featureoptions.js +0 -480
- package/dist/ui/featureoptions.js.map +0 -1
- package/dist/ui/webUi-featureoptions.mjs +0 -3765
package/dist/featureoptions.d.ts
DELETED
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A hierarchical feature option system for plugins and applications.
|
|
3
|
-
*
|
|
4
|
-
* @module
|
|
5
|
-
*/
|
|
6
|
-
import type { Nullable } from "./util.js";
|
|
7
|
-
/**
|
|
8
|
-
* Entry describing a feature option.
|
|
9
|
-
*
|
|
10
|
-
* @property default - Default enabled/disabled state for this feature option.
|
|
11
|
-
* @property defaultValue - Optional. Default value for value-based feature options.
|
|
12
|
-
* @property description - Description of the feature option for display or documentation.
|
|
13
|
-
* @property group - Optional. Grouping/category for the feature option.
|
|
14
|
-
* @property inputSize - Optional. Width of the input field for a value-based feature option. Defaults to 5 characters.
|
|
15
|
-
* @property name - Name of the feature option (used in option strings).
|
|
16
|
-
*/
|
|
17
|
-
export interface FeatureOptionEntry {
|
|
18
|
-
default: boolean;
|
|
19
|
-
defaultValue?: number | string;
|
|
20
|
-
description: string;
|
|
21
|
-
group?: string;
|
|
22
|
-
inputSize?: number;
|
|
23
|
-
name: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Entry describing a feature option category.
|
|
27
|
-
*
|
|
28
|
-
* @property description - Description of the category.
|
|
29
|
-
* @property name - Name of the category.
|
|
30
|
-
*/
|
|
31
|
-
export interface FeatureCategoryEntry {
|
|
32
|
-
description: string;
|
|
33
|
-
name: string;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Describes all possible scope hierarchy locations for a feature option.
|
|
37
|
-
*/
|
|
38
|
-
export type OptionScope = "controller" | "device" | "global" | "none";
|
|
39
|
-
/**
|
|
40
|
-
* FeatureOptions provides a hierarchical feature option system for plugins and applications.
|
|
41
|
-
*
|
|
42
|
-
* Supports global, controller, and device-level configuration, value-centric feature options, grouping, and category management.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
*
|
|
46
|
-
* ```ts
|
|
47
|
-
* // Define categories and options.
|
|
48
|
-
* const categories = [
|
|
49
|
-
*
|
|
50
|
-
* { name: "motion", description: "Motion Options" },
|
|
51
|
-
* { name: "audio", description: "Audio Options" }
|
|
52
|
-
* ];
|
|
53
|
-
*
|
|
54
|
-
* const options = {
|
|
55
|
-
*
|
|
56
|
-
* motion: [
|
|
57
|
-
* { name: "detect", default: true, description: "Enable motion detection." }
|
|
58
|
-
* ],
|
|
59
|
-
*
|
|
60
|
-
* audio: [
|
|
61
|
-
* { name: "volume", default: false, defaultValue: 50, description: "Audio volume." }
|
|
62
|
-
* ]
|
|
63
|
-
* };
|
|
64
|
-
*
|
|
65
|
-
* // Instantiate FeatureOptions.
|
|
66
|
-
* const featureOpts = new FeatureOptions(categories, options, ["Enable.motion.detect"]);
|
|
67
|
-
*
|
|
68
|
-
* // Check if a feature is enabled.
|
|
69
|
-
* const motionEnabled = featureOpts.test("motion.detect");
|
|
70
|
-
*
|
|
71
|
-
* // Get a value-centric feature option.
|
|
72
|
-
* const volume = featureOpts.value("audio.volume");
|
|
73
|
-
* ```
|
|
74
|
-
*
|
|
75
|
-
* @see FeatureOptionEntry
|
|
76
|
-
* @see FeatureCategoryEntry
|
|
77
|
-
* @see OptionScope
|
|
78
|
-
*/
|
|
79
|
-
export declare class FeatureOptions {
|
|
80
|
-
/**
|
|
81
|
-
* Default return value for unknown options (defaults to false).
|
|
82
|
-
*/
|
|
83
|
-
defaultReturnValue: boolean;
|
|
84
|
-
private _categories;
|
|
85
|
-
private _configuredOptions;
|
|
86
|
-
private _groups;
|
|
87
|
-
private _options;
|
|
88
|
-
private configLookup;
|
|
89
|
-
private defaults;
|
|
90
|
-
private valueOptions;
|
|
91
|
-
/**
|
|
92
|
-
* Create a new FeatureOptions instance.
|
|
93
|
-
*
|
|
94
|
-
* @param categories - Array of feature option categories.
|
|
95
|
-
* @param options - Dictionary mapping category names to arrays of feature options.
|
|
96
|
-
* @param configuredOptions - Optional. Array of currently configured option strings.
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
*
|
|
100
|
-
* ```ts
|
|
101
|
-
* const featureOpts = new FeatureOptions(categories, options, ["Enable.motion.detect"]);
|
|
102
|
-
* ```
|
|
103
|
-
*/
|
|
104
|
-
constructor(categories: FeatureCategoryEntry[], options: Record<string, FeatureOptionEntry[]>, configuredOptions?: string[]);
|
|
105
|
-
/**
|
|
106
|
-
* Return a Bootstrap-specific color reference depending on the scope of a given feature option.
|
|
107
|
-
*
|
|
108
|
-
* @param option - Feature option to check.
|
|
109
|
-
* @param device - Optional device scope identifier.
|
|
110
|
-
* @param controller - Optional controller scope identifier.
|
|
111
|
-
*
|
|
112
|
-
* @returns Returns a Bootstrap color utility class associated with each scope level. `text-info` denotes an entry that's been modified at that scope level, while
|
|
113
|
-
* `text-success` and `text-warning` denote options that were defined at higher levels in the scope hierarchy - controller and global, respectively.
|
|
114
|
-
*/
|
|
115
|
-
color(option: string, device?: string, controller?: string): string;
|
|
116
|
-
/**
|
|
117
|
-
* Return the default value for an option.
|
|
118
|
-
*
|
|
119
|
-
* @param option - Feature option to check.
|
|
120
|
-
*
|
|
121
|
-
* @returns Returns true or false, depending on the option default.
|
|
122
|
-
*/
|
|
123
|
-
defaultValue(option: string): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Return whether the option explicitly exists in the list of configured options.
|
|
126
|
-
*
|
|
127
|
-
* @param option - Feature option to check.
|
|
128
|
-
* @param id - Optional device or controller scope identifier to check.
|
|
129
|
-
*
|
|
130
|
-
* @returns Returns true if the option has been explicitly configured, false otherwise.
|
|
131
|
-
*/
|
|
132
|
-
exists(option: string, id?: string): boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Return a fully formed feature option string.
|
|
135
|
-
*
|
|
136
|
-
* @param category - Feature option category entry or category name string.
|
|
137
|
-
* @param option - Feature option entry of option name string.
|
|
138
|
-
*
|
|
139
|
-
* @returns Returns a fully formed feature option in the form of `category.option`.
|
|
140
|
-
*/
|
|
141
|
-
expandOption(category: FeatureCategoryEntry | string, option: FeatureOptionEntry | string): string;
|
|
142
|
-
/**
|
|
143
|
-
* Parse a floating point feature option value.
|
|
144
|
-
*
|
|
145
|
-
* @param option - Feature option to check.
|
|
146
|
-
* @param device - Optional device scope identifier.
|
|
147
|
-
* @param controller - Optional controller scope identifier.
|
|
148
|
-
*
|
|
149
|
-
* @returns Returns the value of a value-centric option as a floating point number, `undefined` if it doesn't exist or couldn't be parsed, and `null` if disabled.
|
|
150
|
-
*/
|
|
151
|
-
getFloat(option: string, device?: string, controller?: string): Nullable<number | undefined>;
|
|
152
|
-
/**
|
|
153
|
-
* Parse an integer feature option value.
|
|
154
|
-
*
|
|
155
|
-
* @param option - Feature option to check.
|
|
156
|
-
* @param device - Optional device scope identifier.
|
|
157
|
-
* @param controller - Optional controller scope identifier.
|
|
158
|
-
*
|
|
159
|
-
* @returns Returns the value of a value-centric option as an integer, `undefined` if it doesn't exist or couldn't be parsed, and `null` if disabled.
|
|
160
|
-
*/
|
|
161
|
-
getInteger(option: string, device?: string, controller?: string): Nullable<number | undefined>;
|
|
162
|
-
/**
|
|
163
|
-
* Return whether an option has been set in either the device or controller scope context.
|
|
164
|
-
*
|
|
165
|
-
* @param option - Feature option to check.
|
|
166
|
-
*
|
|
167
|
-
* @returns Returns true if the option is set at the device or controller level and false otherwise.
|
|
168
|
-
*/
|
|
169
|
-
isScopeDevice(option: string, device: string): boolean;
|
|
170
|
-
/**
|
|
171
|
-
* Return whether an option has been set in the global scope context.
|
|
172
|
-
*
|
|
173
|
-
* @param option - Feature option to check.
|
|
174
|
-
*
|
|
175
|
-
* @returns Returns true if the option is set globally and false otherwise.
|
|
176
|
-
*/
|
|
177
|
-
isScopeGlobal(option: string): boolean;
|
|
178
|
-
/**
|
|
179
|
-
* Return whether an option is value-centric or not.
|
|
180
|
-
*
|
|
181
|
-
* @param option - Feature option entry or string to check.
|
|
182
|
-
*
|
|
183
|
-
* @returns Returns true if it is a value-centric option and false otherwise.
|
|
184
|
-
*/
|
|
185
|
-
isValue(option: string): boolean;
|
|
186
|
-
/**
|
|
187
|
-
* Return the scope hierarchy location of an option.
|
|
188
|
-
*
|
|
189
|
-
* @param option - Feature option to check.
|
|
190
|
-
* @param device - Optional device scope identifier.
|
|
191
|
-
* @param controller - Optional controller scope identifier.
|
|
192
|
-
*
|
|
193
|
-
* @returns Returns an object containing the location in the scope hierarchy of an `option` as well as the current value associated with the option.
|
|
194
|
-
*/
|
|
195
|
-
scope(option: string, device?: string, controller?: string): OptionScope;
|
|
196
|
-
/**
|
|
197
|
-
* Return the current state of a feature option, traversing the scope hierarchy.
|
|
198
|
-
*
|
|
199
|
-
* @param option - Feature option to check.
|
|
200
|
-
* @param device - Optional device scope identifier.
|
|
201
|
-
* @param controller - Optional controller scope identifier.
|
|
202
|
-
*
|
|
203
|
-
* @returns Returns true if the option is enabled, and false otherwise.
|
|
204
|
-
*/
|
|
205
|
-
test(option: string, device?: string, controller?: string): boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Return the value associated with a value-centric feature option, traversing the scope hierarchy.
|
|
208
|
-
*
|
|
209
|
-
* @param option - Feature option to check.
|
|
210
|
-
* @param device - Optional device scope identifier.
|
|
211
|
-
* @param controller - Optional controller scope identifier.
|
|
212
|
-
*
|
|
213
|
-
* @returns Returns the current value associated with `option` if the feature option is enabled, `null` if disabled (or not a value-centric feature option), or
|
|
214
|
-
* `undefined` if it's not specified.
|
|
215
|
-
*/
|
|
216
|
-
value(option: string, device?: string, controller?: string): Nullable<string | undefined>;
|
|
217
|
-
/**
|
|
218
|
-
* Return the list of available feature option categories.
|
|
219
|
-
*
|
|
220
|
-
* @returns Returns the current list of available feature option categories.
|
|
221
|
-
*/
|
|
222
|
-
get categories(): FeatureCategoryEntry[];
|
|
223
|
-
/**
|
|
224
|
-
* Set the list of available feature option categories.
|
|
225
|
-
*
|
|
226
|
-
* @param category - Array of available categories.
|
|
227
|
-
*/
|
|
228
|
-
set categories(category: FeatureCategoryEntry[]);
|
|
229
|
-
/**
|
|
230
|
-
* Return the list of currently configured feature options.
|
|
231
|
-
*
|
|
232
|
-
* @returns Returns the currently configured list of feature options.
|
|
233
|
-
*/
|
|
234
|
-
get configuredOptions(): string[];
|
|
235
|
-
/**
|
|
236
|
-
* Set the list of currently configured feature options.
|
|
237
|
-
*
|
|
238
|
-
* @param options - Array of configured feature options.
|
|
239
|
-
*/
|
|
240
|
-
set configuredOptions(options: string[]);
|
|
241
|
-
/**
|
|
242
|
-
* Return the list of available feature option groups.
|
|
243
|
-
*
|
|
244
|
-
* @returns Returns the current list of available feature option groups.
|
|
245
|
-
*/
|
|
246
|
-
get groups(): Record<string, string[]>;
|
|
247
|
-
/**
|
|
248
|
-
* Return the list of available feature options.
|
|
249
|
-
*
|
|
250
|
-
* @returns Returns the current list of available feature options.
|
|
251
|
-
*/
|
|
252
|
-
get options(): Record<string, FeatureOptionEntry[]>;
|
|
253
|
-
/**
|
|
254
|
-
* Set the list of available feature options.
|
|
255
|
-
*
|
|
256
|
-
* @param options - Array of available feature options.
|
|
257
|
-
*/
|
|
258
|
-
set options(options: Record<string, FeatureOptionEntry[]>);
|
|
259
|
-
private generateDefaults;
|
|
260
|
-
private resolveScope;
|
|
261
|
-
private optionInfo;
|
|
262
|
-
private parseOptionNumeric;
|
|
263
|
-
private buildConfigIndex;
|
|
264
|
-
}
|