@dpuse/dpuse-shared 0.3.636 → 0.3.638
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.
|
@@ -37,7 +37,7 @@ export declare const contextConfigSchema: import('valibot').ObjectSchema<{
|
|
|
37
37
|
}, undefined>, undefined>;
|
|
38
38
|
readonly statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>, import('valibot').LiteralSchema<"notApplicable", undefined>, import('valibot').LiteralSchema<"preAlpha", undefined>, import('valibot').LiteralSchema<"proposed", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"unavailable", undefined>, import('valibot').LiteralSchema<"underReview", undefined>], undefined>, undefined>;
|
|
39
39
|
}, undefined>, undefined>;
|
|
40
|
-
readonly operations: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"
|
|
40
|
+
readonly operations: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"listContextFocuses", undefined>], undefined>, undefined>;
|
|
41
41
|
readonly version: import('valibot').StringSchema<undefined>;
|
|
42
42
|
readonly id: import('valibot').StringSchema<undefined>;
|
|
43
43
|
readonly label: import('valibot').ObjectSchema<{
|
|
@@ -2,7 +2,6 @@ import { InferOutput } from 'valibot';
|
|
|
2
2
|
import { contextConfigSchema } from './contextConfig.schema';
|
|
3
3
|
import { EngineContextActionOptions } from '../../../engine';
|
|
4
4
|
import { Localised } from '../../../locale';
|
|
5
|
-
import { ModuleConfig } from '..';
|
|
6
5
|
import { Component, ComponentConfig, ComponentReference } from '../..';
|
|
7
6
|
export { contextConfigSchema } from './contextConfig.schema';
|
|
8
7
|
export interface ContextInterface extends Component {
|
|
@@ -10,13 +9,7 @@ export interface ContextInterface extends Component {
|
|
|
10
9
|
listContextFocuses?(context: ContextInterface, options?: ListContextOptions): Promise<ListContextResult>;
|
|
11
10
|
}
|
|
12
11
|
export type ContextConfig = InferOutput<typeof contextConfigSchema>;
|
|
13
|
-
export interface ContextConfig1 extends ModuleConfig {
|
|
14
|
-
models: ContextModelGroupConfig[];
|
|
15
|
-
operations: ContextOperation[];
|
|
16
|
-
typeId: 'context';
|
|
17
|
-
}
|
|
18
12
|
export type ContextLocalisedConfig = Localised<ContextConfig>;
|
|
19
|
-
export type ContextOperation = 'listContextFocuses';
|
|
20
13
|
export interface ContextModelGroupConfig extends ComponentConfig {
|
|
21
14
|
modelRefs: ComponentReference[];
|
|
22
15
|
order: number;
|
package/package.json
CHANGED