@itwin/presentation-frontend 4.0.0-dev.21 → 4.0.0-dev.23
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/lib/cjs/presentation-frontend/ConnectivityInformationProvider.d.ts +29 -29
- package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.js +47 -47
- package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.js.map +1 -1
- package/lib/cjs/presentation-frontend/Diagnostics.d.ts +14 -14
- package/lib/cjs/presentation-frontend/Diagnostics.js +61 -61
- package/lib/cjs/presentation-frontend/Diagnostics.js.map +1 -1
- package/lib/cjs/presentation-frontend/FrontendLoggerCategory.d.ts +12 -12
- package/lib/cjs/presentation-frontend/FrontendLoggerCategory.js +20 -20
- package/lib/cjs/presentation-frontend/FrontendLoggerCategory.js.map +1 -1
- package/lib/cjs/presentation-frontend/IpcRequestsHandler.d.ts +10 -10
- package/lib/cjs/presentation-frontend/IpcRequestsHandler.js +41 -41
- package/lib/cjs/presentation-frontend/IpcRequestsHandler.js.map +1 -1
- package/lib/cjs/presentation-frontend/LocalizationHelper.d.ts +10 -10
- package/lib/cjs/presentation-frontend/LocalizationHelper.js +31 -31
- package/lib/cjs/presentation-frontend/LocalizationHelper.js.map +1 -1
- package/lib/cjs/presentation-frontend/Presentation.d.ts +73 -73
- package/lib/cjs/presentation-frontend/Presentation.js +160 -160
- package/lib/cjs/presentation-frontend/Presentation.js.map +1 -1
- package/lib/cjs/presentation-frontend/PresentationManager.d.ts +186 -186
- package/lib/cjs/presentation-frontend/PresentationManager.js +436 -436
- package/lib/cjs/presentation-frontend/PresentationManager.js.map +1 -1
- package/lib/cjs/presentation-frontend/RulesetManager.d.ts +63 -63
- package/lib/cjs/presentation-frontend/RulesetManager.js +85 -85
- package/lib/cjs/presentation-frontend/RulesetManager.js.map +1 -1
- package/lib/cjs/presentation-frontend/RulesetVariablesManager.d.ts +143 -143
- package/lib/cjs/presentation-frontend/RulesetVariablesManager.js +195 -195
- package/lib/cjs/presentation-frontend/RulesetVariablesManager.js.map +1 -1
- package/lib/cjs/presentation-frontend/StateTracker.d.ts +38 -38
- package/lib/cjs/presentation-frontend/StateTracker.js +129 -129
- package/lib/cjs/presentation-frontend/StateTracker.js.map +1 -1
- package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts +132 -132
- package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.js +525 -525
- package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.js.map +1 -1
- package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.d.ts +111 -111
- package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js +293 -293
- package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js.map +1 -1
- package/lib/cjs/presentation-frontend/selection/HiliteRules.json +172 -172
- package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.d.ts +52 -52
- package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.js +97 -97
- package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.js.map +1 -1
- package/lib/cjs/presentation-frontend/selection/ISelectionProvider.d.ts +19 -19
- package/lib/cjs/presentation-frontend/selection/ISelectionProvider.js +9 -9
- package/lib/cjs/presentation-frontend/selection/ISelectionProvider.js.map +1 -1
- package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.d.ts +52 -52
- package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.js +33 -33
- package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.js.map +1 -1
- package/lib/cjs/presentation-frontend/selection/SelectionHandler.d.ts +103 -103
- package/lib/cjs/presentation-frontend/selection/SelectionHandler.js +108 -108
- package/lib/cjs/presentation-frontend/selection/SelectionHandler.js.map +1 -1
- package/lib/cjs/presentation-frontend/selection/SelectionHelper.d.ts +17 -17
- package/lib/cjs/presentation-frontend/selection/SelectionHelper.js +40 -40
- package/lib/cjs/presentation-frontend/selection/SelectionHelper.js.map +1 -1
- package/lib/cjs/presentation-frontend/selection/SelectionManager.d.ts +139 -139
- package/lib/cjs/presentation-frontend/selection/SelectionManager.js +414 -414
- package/lib/cjs/presentation-frontend/selection/SelectionManager.js.map +1 -1
- package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.d.ts +59 -59
- package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.js +91 -91
- package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.js.map +1 -1
- package/lib/cjs/presentation-frontend.d.ts +34 -34
- package/lib/cjs/presentation-frontend.js +50 -50
- package/lib/cjs/presentation-frontend.js.map +1 -1
- package/lib/esm/presentation-frontend/ConnectivityInformationProvider.d.ts +29 -29
- package/lib/esm/presentation-frontend/ConnectivityInformationProvider.js +43 -43
- package/lib/esm/presentation-frontend/ConnectivityInformationProvider.js.map +1 -1
- package/lib/esm/presentation-frontend/Diagnostics.d.ts +14 -14
- package/lib/esm/presentation-frontend/Diagnostics.js +56 -56
- package/lib/esm/presentation-frontend/Diagnostics.js.map +1 -1
- package/lib/esm/presentation-frontend/FrontendLoggerCategory.d.ts +12 -12
- package/lib/esm/presentation-frontend/FrontendLoggerCategory.js +17 -17
- package/lib/esm/presentation-frontend/FrontendLoggerCategory.js.map +1 -1
- package/lib/esm/presentation-frontend/IpcRequestsHandler.d.ts +10 -10
- package/lib/esm/presentation-frontend/IpcRequestsHandler.js +37 -37
- package/lib/esm/presentation-frontend/IpcRequestsHandler.js.map +1 -1
- package/lib/esm/presentation-frontend/LocalizationHelper.d.ts +10 -10
- package/lib/esm/presentation-frontend/LocalizationHelper.js +27 -27
- package/lib/esm/presentation-frontend/LocalizationHelper.js.map +1 -1
- package/lib/esm/presentation-frontend/Presentation.d.ts +73 -73
- package/lib/esm/presentation-frontend/Presentation.js +156 -156
- package/lib/esm/presentation-frontend/Presentation.js.map +1 -1
- package/lib/esm/presentation-frontend/PresentationManager.d.ts +186 -186
- package/lib/esm/presentation-frontend/PresentationManager.js +431 -431
- package/lib/esm/presentation-frontend/PresentationManager.js.map +1 -1
- package/lib/esm/presentation-frontend/RulesetManager.d.ts +63 -63
- package/lib/esm/presentation-frontend/RulesetManager.js +81 -81
- package/lib/esm/presentation-frontend/RulesetManager.js.map +1 -1
- package/lib/esm/presentation-frontend/RulesetVariablesManager.d.ts +143 -143
- package/lib/esm/presentation-frontend/RulesetVariablesManager.js +191 -191
- package/lib/esm/presentation-frontend/RulesetVariablesManager.js.map +1 -1
- package/lib/esm/presentation-frontend/StateTracker.d.ts +38 -38
- package/lib/esm/presentation-frontend/StateTracker.js +125 -125
- package/lib/esm/presentation-frontend/StateTracker.js.map +1 -1
- package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts +132 -132
- package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.js +519 -519
- package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.js.map +1 -1
- package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.d.ts +111 -111
- package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js +285 -285
- package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js.map +1 -1
- package/lib/esm/presentation-frontend/selection/HiliteRules.json +172 -172
- package/lib/esm/presentation-frontend/selection/HiliteSetProvider.d.ts +52 -52
- package/lib/esm/presentation-frontend/selection/HiliteSetProvider.js +93 -93
- package/lib/esm/presentation-frontend/selection/HiliteSetProvider.js.map +1 -1
- package/lib/esm/presentation-frontend/selection/ISelectionProvider.d.ts +19 -19
- package/lib/esm/presentation-frontend/selection/ISelectionProvider.js +8 -8
- package/lib/esm/presentation-frontend/selection/ISelectionProvider.js.map +1 -1
- package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.d.ts +52 -52
- package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.js +29 -29
- package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.js.map +1 -1
- package/lib/esm/presentation-frontend/selection/SelectionHandler.d.ts +103 -103
- package/lib/esm/presentation-frontend/selection/SelectionHandler.js +104 -104
- package/lib/esm/presentation-frontend/selection/SelectionHandler.js.map +1 -1
- package/lib/esm/presentation-frontend/selection/SelectionHelper.d.ts +17 -17
- package/lib/esm/presentation-frontend/selection/SelectionHelper.js +36 -36
- package/lib/esm/presentation-frontend/selection/SelectionHelper.js.map +1 -1
- package/lib/esm/presentation-frontend/selection/SelectionManager.d.ts +139 -139
- package/lib/esm/presentation-frontend/selection/SelectionManager.js +409 -409
- package/lib/esm/presentation-frontend/selection/SelectionManager.js.map +1 -1
- package/lib/esm/presentation-frontend/selection/SelectionScopesManager.d.ts +59 -59
- package/lib/esm/presentation-frontend/selection/SelectionScopesManager.js +85 -85
- package/lib/esm/presentation-frontend/selection/SelectionScopesManager.js.map +1 -1
- package/lib/esm/presentation-frontend.d.ts +34 -34
- package/lib/esm/presentation-frontend.js +38 -38
- package/lib/esm/presentation-frontend.js.map +1 -1
- package/package.json +14 -14
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Core
|
|
3
|
-
*/
|
|
4
|
-
import { BeEvent, Id64String } from "@itwin/core-bentley";
|
|
5
|
-
import { RulesetVariable, VariableValue } from "@itwin/presentation-common";
|
|
6
|
-
import { IpcRequestsHandler } from "./IpcRequestsHandler";
|
|
7
|
-
/**
|
|
8
|
-
* Presentation ruleset variables' registry.
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export interface RulesetVariablesManager {
|
|
12
|
-
/**
|
|
13
|
-
* An event that is raised when variable changes.
|
|
14
|
-
*/
|
|
15
|
-
onVariableChanged: BeEvent<(variableId: string, prevValue: VariableValue | undefined, currValue: VariableValue | undefined) => void>;
|
|
16
|
-
/**
|
|
17
|
-
* Retrieves `string` variable value.
|
|
18
|
-
* Returns empty string if variable does not exist or does not convert to string.
|
|
19
|
-
*/
|
|
20
|
-
getString(variableId: string): Promise<string>;
|
|
21
|
-
/**
|
|
22
|
-
* Sets `string` variable value
|
|
23
|
-
*/
|
|
24
|
-
setString(variableId: string, value: string): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* Retrieves `boolean` variable value.
|
|
27
|
-
* Returns `false` if variable does not exist or does not convert to boolean.
|
|
28
|
-
*/
|
|
29
|
-
getBool(variableId: string): Promise<boolean>;
|
|
30
|
-
/**
|
|
31
|
-
* Sets `boolean` variable value
|
|
32
|
-
*/
|
|
33
|
-
setBool(variableId: string, value: boolean): Promise<void>;
|
|
34
|
-
/**
|
|
35
|
-
* Retrieves `number` variable value.
|
|
36
|
-
* Returns `0` if variable does not exist or does not convert to integer.
|
|
37
|
-
*/
|
|
38
|
-
getInt(variableId: string): Promise<number>;
|
|
39
|
-
/**
|
|
40
|
-
* Sets `number` variable value
|
|
41
|
-
*/
|
|
42
|
-
setInt(variableId: string, value: number): Promise<void>;
|
|
43
|
-
/**
|
|
44
|
-
* Retrieves `number[]` variable value.
|
|
45
|
-
* Returns empty array if variable does not exist or does not convert to integer array.
|
|
46
|
-
*/
|
|
47
|
-
getInts(variableId: string): Promise<number[]>;
|
|
48
|
-
/**
|
|
49
|
-
* Sets `number[]` variable value
|
|
50
|
-
*/
|
|
51
|
-
setInts(variableId: string, value: number[]): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Retrieves `Id64String` variable value.
|
|
54
|
-
* Returns invalid Id64String if variable does not exist or does not convert to Id64String.
|
|
55
|
-
*/
|
|
56
|
-
getId64(variableId: string): Promise<Id64String>;
|
|
57
|
-
/**
|
|
58
|
-
* Sets `Id64String` variable value
|
|
59
|
-
*/
|
|
60
|
-
setId64(variableId: string, value: Id64String): Promise<void>;
|
|
61
|
-
/**
|
|
62
|
-
* Retrieves `Id64String[]` variable value.
|
|
63
|
-
* Returns empty array if variable does not exist or does not convert to Id64String array.
|
|
64
|
-
*/
|
|
65
|
-
getId64s(variableId: string): Promise<Id64String[]>;
|
|
66
|
-
/**
|
|
67
|
-
* Sets `Id64String[]` variable value
|
|
68
|
-
*/
|
|
69
|
-
setId64s(variableId: string, value: Id64String[]): Promise<void>;
|
|
70
|
-
/** Unsets variable with given id. */
|
|
71
|
-
unset(variableId: string): Promise<void>;
|
|
72
|
-
/** Retrieves all variables.
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
getAllVariables(): RulesetVariable[];
|
|
76
|
-
}
|
|
77
|
-
/** @internal */
|
|
78
|
-
export declare class RulesetVariablesManagerImpl implements RulesetVariablesManager {
|
|
79
|
-
private _clientValues;
|
|
80
|
-
private _rulesetId;
|
|
81
|
-
private _ipcHandler?;
|
|
82
|
-
onVariableChanged: BeEvent<(variableId: string, prevValue: VariableValue | undefined, currValue: VariableValue | undefined) => void>;
|
|
83
|
-
constructor(rulesetId: string, ipcHandler?: IpcRequestsHandler);
|
|
84
|
-
getAllVariables(): RulesetVariable[];
|
|
85
|
-
private changeValueType;
|
|
86
|
-
private getValue;
|
|
87
|
-
private setValue;
|
|
88
|
-
unset(variableId: string): Promise<void>;
|
|
89
|
-
/**
|
|
90
|
-
* Retrieves `string` variable value.
|
|
91
|
-
* Returns empty string if variable does not exist or does not convert to string.
|
|
92
|
-
*/
|
|
93
|
-
getString(variableId: string): Promise<string>;
|
|
94
|
-
/**
|
|
95
|
-
* Sets `string` variable value
|
|
96
|
-
*/
|
|
97
|
-
setString(variableId: string, value: string): Promise<void>;
|
|
98
|
-
/**
|
|
99
|
-
* Retrieves `boolean` variable value.
|
|
100
|
-
* Returns `false` if variable does not exist or does not convert to boolean.
|
|
101
|
-
*/
|
|
102
|
-
getBool(variableId: string): Promise<boolean>;
|
|
103
|
-
/**
|
|
104
|
-
* Sets `boolean` variable value
|
|
105
|
-
*/
|
|
106
|
-
setBool(variableId: string, value: boolean): Promise<void>;
|
|
107
|
-
/**
|
|
108
|
-
* Retrieves `number` variable value.
|
|
109
|
-
* Returns `0` if variable does not exist or does not convert to integer.
|
|
110
|
-
*/
|
|
111
|
-
getInt(variableId: string): Promise<number>;
|
|
112
|
-
/**
|
|
113
|
-
* Sets `number` variable value
|
|
114
|
-
*/
|
|
115
|
-
setInt(variableId: string, value: number): Promise<void>;
|
|
116
|
-
/**
|
|
117
|
-
* Retrieves `number[]` variable value.
|
|
118
|
-
* Returns empty array if variable does not exist or does not convert to integer array.
|
|
119
|
-
*/
|
|
120
|
-
getInts(variableId: string): Promise<number[]>;
|
|
121
|
-
/**
|
|
122
|
-
* Sets `number[]` variable value
|
|
123
|
-
*/
|
|
124
|
-
setInts(variableId: string, value: number[]): Promise<void>;
|
|
125
|
-
/**
|
|
126
|
-
* Retrieves `Id64String` variable value.
|
|
127
|
-
* Returns invalid Id64String if variable does not exist or does not convert to Id64String.
|
|
128
|
-
*/
|
|
129
|
-
getId64(variableId: string): Promise<Id64String>;
|
|
130
|
-
/**
|
|
131
|
-
* Sets `Id64String` variable value
|
|
132
|
-
*/
|
|
133
|
-
setId64(variableId: string, value: Id64String): Promise<void>;
|
|
134
|
-
/**
|
|
135
|
-
* Retrieves `Id64String[]` variable value.
|
|
136
|
-
* Returns empty array if variable does not exist or does not convert to Id64String array.
|
|
137
|
-
*/
|
|
138
|
-
getId64s(variableId: string): Promise<Id64String[]>;
|
|
139
|
-
/**
|
|
140
|
-
* Sets `Id64String[]` variable value
|
|
141
|
-
*/
|
|
142
|
-
setId64s(variableId: string, value: Id64String[]): Promise<void>;
|
|
143
|
-
}
|
|
1
|
+
/** @packageDocumentation
|
|
2
|
+
* @module Core
|
|
3
|
+
*/
|
|
4
|
+
import { BeEvent, Id64String } from "@itwin/core-bentley";
|
|
5
|
+
import { RulesetVariable, VariableValue } from "@itwin/presentation-common";
|
|
6
|
+
import { IpcRequestsHandler } from "./IpcRequestsHandler";
|
|
7
|
+
/**
|
|
8
|
+
* Presentation ruleset variables' registry.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RulesetVariablesManager {
|
|
12
|
+
/**
|
|
13
|
+
* An event that is raised when variable changes.
|
|
14
|
+
*/
|
|
15
|
+
onVariableChanged: BeEvent<(variableId: string, prevValue: VariableValue | undefined, currValue: VariableValue | undefined) => void>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves `string` variable value.
|
|
18
|
+
* Returns empty string if variable does not exist or does not convert to string.
|
|
19
|
+
*/
|
|
20
|
+
getString(variableId: string): Promise<string>;
|
|
21
|
+
/**
|
|
22
|
+
* Sets `string` variable value
|
|
23
|
+
*/
|
|
24
|
+
setString(variableId: string, value: string): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves `boolean` variable value.
|
|
27
|
+
* Returns `false` if variable does not exist or does not convert to boolean.
|
|
28
|
+
*/
|
|
29
|
+
getBool(variableId: string): Promise<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* Sets `boolean` variable value
|
|
32
|
+
*/
|
|
33
|
+
setBool(variableId: string, value: boolean): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves `number` variable value.
|
|
36
|
+
* Returns `0` if variable does not exist or does not convert to integer.
|
|
37
|
+
*/
|
|
38
|
+
getInt(variableId: string): Promise<number>;
|
|
39
|
+
/**
|
|
40
|
+
* Sets `number` variable value
|
|
41
|
+
*/
|
|
42
|
+
setInt(variableId: string, value: number): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieves `number[]` variable value.
|
|
45
|
+
* Returns empty array if variable does not exist or does not convert to integer array.
|
|
46
|
+
*/
|
|
47
|
+
getInts(variableId: string): Promise<number[]>;
|
|
48
|
+
/**
|
|
49
|
+
* Sets `number[]` variable value
|
|
50
|
+
*/
|
|
51
|
+
setInts(variableId: string, value: number[]): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves `Id64String` variable value.
|
|
54
|
+
* Returns invalid Id64String if variable does not exist or does not convert to Id64String.
|
|
55
|
+
*/
|
|
56
|
+
getId64(variableId: string): Promise<Id64String>;
|
|
57
|
+
/**
|
|
58
|
+
* Sets `Id64String` variable value
|
|
59
|
+
*/
|
|
60
|
+
setId64(variableId: string, value: Id64String): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves `Id64String[]` variable value.
|
|
63
|
+
* Returns empty array if variable does not exist or does not convert to Id64String array.
|
|
64
|
+
*/
|
|
65
|
+
getId64s(variableId: string): Promise<Id64String[]>;
|
|
66
|
+
/**
|
|
67
|
+
* Sets `Id64String[]` variable value
|
|
68
|
+
*/
|
|
69
|
+
setId64s(variableId: string, value: Id64String[]): Promise<void>;
|
|
70
|
+
/** Unsets variable with given id. */
|
|
71
|
+
unset(variableId: string): Promise<void>;
|
|
72
|
+
/** Retrieves all variables.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
getAllVariables(): RulesetVariable[];
|
|
76
|
+
}
|
|
77
|
+
/** @internal */
|
|
78
|
+
export declare class RulesetVariablesManagerImpl implements RulesetVariablesManager {
|
|
79
|
+
private _clientValues;
|
|
80
|
+
private _rulesetId;
|
|
81
|
+
private _ipcHandler?;
|
|
82
|
+
onVariableChanged: BeEvent<(variableId: string, prevValue: VariableValue | undefined, currValue: VariableValue | undefined) => void>;
|
|
83
|
+
constructor(rulesetId: string, ipcHandler?: IpcRequestsHandler);
|
|
84
|
+
getAllVariables(): RulesetVariable[];
|
|
85
|
+
private changeValueType;
|
|
86
|
+
private getValue;
|
|
87
|
+
private setValue;
|
|
88
|
+
unset(variableId: string): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Retrieves `string` variable value.
|
|
91
|
+
* Returns empty string if variable does not exist or does not convert to string.
|
|
92
|
+
*/
|
|
93
|
+
getString(variableId: string): Promise<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Sets `string` variable value
|
|
96
|
+
*/
|
|
97
|
+
setString(variableId: string, value: string): Promise<void>;
|
|
98
|
+
/**
|
|
99
|
+
* Retrieves `boolean` variable value.
|
|
100
|
+
* Returns `false` if variable does not exist or does not convert to boolean.
|
|
101
|
+
*/
|
|
102
|
+
getBool(variableId: string): Promise<boolean>;
|
|
103
|
+
/**
|
|
104
|
+
* Sets `boolean` variable value
|
|
105
|
+
*/
|
|
106
|
+
setBool(variableId: string, value: boolean): Promise<void>;
|
|
107
|
+
/**
|
|
108
|
+
* Retrieves `number` variable value.
|
|
109
|
+
* Returns `0` if variable does not exist or does not convert to integer.
|
|
110
|
+
*/
|
|
111
|
+
getInt(variableId: string): Promise<number>;
|
|
112
|
+
/**
|
|
113
|
+
* Sets `number` variable value
|
|
114
|
+
*/
|
|
115
|
+
setInt(variableId: string, value: number): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Retrieves `number[]` variable value.
|
|
118
|
+
* Returns empty array if variable does not exist or does not convert to integer array.
|
|
119
|
+
*/
|
|
120
|
+
getInts(variableId: string): Promise<number[]>;
|
|
121
|
+
/**
|
|
122
|
+
* Sets `number[]` variable value
|
|
123
|
+
*/
|
|
124
|
+
setInts(variableId: string, value: number[]): Promise<void>;
|
|
125
|
+
/**
|
|
126
|
+
* Retrieves `Id64String` variable value.
|
|
127
|
+
* Returns invalid Id64String if variable does not exist or does not convert to Id64String.
|
|
128
|
+
*/
|
|
129
|
+
getId64(variableId: string): Promise<Id64String>;
|
|
130
|
+
/**
|
|
131
|
+
* Sets `Id64String` variable value
|
|
132
|
+
*/
|
|
133
|
+
setId64(variableId: string, value: Id64String): Promise<void>;
|
|
134
|
+
/**
|
|
135
|
+
* Retrieves `Id64String[]` variable value.
|
|
136
|
+
* Returns empty array if variable does not exist or does not convert to Id64String array.
|
|
137
|
+
*/
|
|
138
|
+
getId64s(variableId: string): Promise<Id64String[]>;
|
|
139
|
+
/**
|
|
140
|
+
* Sets `Id64String[]` variable value
|
|
141
|
+
*/
|
|
142
|
+
setId64s(variableId: string, value: Id64String[]): Promise<void>;
|
|
143
|
+
}
|
|
144
144
|
//# sourceMappingURL=RulesetVariablesManager.d.ts.map
|