@dpuse/dpuse-shared 0.3.601 → 0.3.603
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.
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
2
|
import { contextConfigSchema } from './contextConfig.schema';
|
|
3
|
+
import { EngineContextActionOptions } from '../../engine';
|
|
3
4
|
import { LocalisedString } from '../../locale';
|
|
4
5
|
import { ModuleConfig } from '../module';
|
|
5
6
|
import { Component, ComponentConfig, ComponentReference } from '..';
|
|
6
7
|
export interface Context extends Component {
|
|
7
8
|
readonly config: ContextConfig;
|
|
8
|
-
|
|
9
|
+
listContextFocuses?(context: Context, options?: ListContextOptions): Promise<ContextListResult>;
|
|
10
|
+
}
|
|
11
|
+
export interface ListContextOptions extends EngineContextActionOptions {
|
|
12
|
+
placeholder: unknown;
|
|
9
13
|
}
|
|
10
|
-
export type ContextListOptions = object;
|
|
11
14
|
export interface ContextListResult {
|
|
12
15
|
models: ContextModelGroupConfig[];
|
|
13
16
|
}
|
|
@@ -177,7 +177,7 @@ interface NumberInferenceResult {
|
|
|
177
177
|
interface StringInferenceResult {
|
|
178
178
|
dataTypeId: 'string';
|
|
179
179
|
dataSubtypeId: StringSubtypeId;
|
|
180
|
-
format: string;
|
|
180
|
+
format: string | undefined;
|
|
181
181
|
inputValue: string;
|
|
182
182
|
inputValueWasQuoted: boolean;
|
|
183
183
|
inferredValue: string;
|
package/package.json
CHANGED