@dpuse/dpuse-shared 0.3.703 → 0.3.707

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 CHANGED
@@ -63,50 +63,182 @@ Implements the common Data Positioning repository management command set. For mo
63
63
 
64
64
  ## Architecture
65
65
 
66
- ### Domain Model
66
+ ### Component Hierarchy
67
67
 
68
- `Component` is the foundational base type for all DPUse domain objects. All component types extend `ComponentConfig` and are logically grouped in the following hierarchy. `Module` is a component type whose implementations are dynamically loaded by the host modules (App and API):
68
+ `Component` is the foundational base type for all DPUse components. All component types extend `ComponentConfig` and are logically grouped in the following hierarchy. `Module` is a component type whose implementations are dynamically loaded by the host modules (App and API):
69
69
 
70
70
  ![Schematic](./schematic.svg)
71
71
 
72
- ```
73
- Component
74
- ├── Module
75
- │ ├── Connector
76
- │ │ └── Connection
77
- │ ├── Context
78
- │ │ └── Model
79
- │ │ ├── Dimension
80
- │ │ │ └── DimensionHierarchy
81
- │ │ ├── Entity
82
- │ │ │ ├── DataItem
83
- │ │ │ ├── Event
84
- │ │ │ └── PrimaryMeasure
85
- │ │ └── SecondaryMeasure
86
- │ ├── Engine
87
- │ ├── Presenter
88
- │ │ └── Presentation
89
- │ ├── Recipe
90
- │ └── Tool
91
- ├── DataView
92
- ├── Dimension
93
- └── EventQuery
94
- ```
72
+ ### Encoding
73
+
74
+ Character encoding types with detection and decodability flags, a static catalogue of all supported encodings loaded from JSON, and an action to retrieve them in sorted order. |
75
+
76
+ ### Errors
95
77
 
96
- ### Cross-cutting Concerns
78
+ A typed error hierarchy (`DPUseError`, `AppError`, `APIError`, `EngineError`, `ConnectorError`, `FetchError`) with serialisation and deserialisation for transporting errors across API and worker boundaries, plus utilities for normalising unknown throwables, constructing errors from HTTP responses, and suppressing best-effort cleanup errors. |
97
79
 
98
- The following are shared across all modules and are not part of the domain model:
80
+ ### Locale
99
81
 
100
- | Concern | Description |
101
- | --------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
102
- | Encoding | Character encoding types with detection and decodability flags, a static catalogue of all supported encodings loaded from JSON, and an action to retrieve them in sorted order. |
103
- | Errors | A typed error hierarchy (`DPUseError`, `AppError`, `APIError`, `EngineError`, `ConnectorError`, `FetchError`) with serialisation and deserialisation for transporting errors across API and worker boundaries, plus utilities for normalising unknown throwables, constructing errors from HTTP responses, and suppressing best-effort cleanup errors. |
104
- | Locale | Locale and flag identifiers, localised label, description and verb types, Valibot schemas for locale fields, supported language constants, and actions for resolving and applying locale-specific values to configuration objects. |
105
- | Utilities | OData-to-internal type conversion, file path name and extension extraction, number formatting as decimal, whole number, compact size, storage size and duration, and MIME type lookup by file extension. |
82
+ Locale and flag identifiers, localised label, description and verb types, Valibot schemas for locale fields, supported language constants, and actions for resolving and applying locale-specific values to configuration objects. |
83
+
84
+ ### Utilities
85
+
86
+ OData-to-internal type conversion, file path name and extension extraction, number formatting as decimal, whole number, compact size, storage size and duration, and MIME type lookup by file extension. |
106
87
 
107
88
  ## API Reference
108
89
 
109
- This package provides constants, errors, types/interfaces and utilities used by Data Positioning modules.
90
+ ### `@dpuse/dpuse-shared/component`
91
+
92
+ | Category | Exports |
93
+ | -------- | ------------------------------------------------------------------------------------------------- |
94
+ | Schema | `componentConfigSchema` |
95
+ | Types | `Component`, `ComponentConfig`, `ComponentReference`, `ComponentStatus`, `ComponentStatusColorId` |
96
+ | Actions | `getComponentStatus(id, localeId?)` |
97
+
98
+ ### `@dpuse/dpuse-shared/component/connection`
99
+
100
+ | Category | Exports |
101
+ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
102
+ | Types | `ConnectionConfig`, `ConnectionAuthorisationConfig`, `ConnectionDescriptionConfig`, `ConnectionNodeConfig`, `DPAFileSystemFileHandle`, `NodeTypeId`, `ObjectColumnConfig`, `StorageTypeId` |
103
+
104
+ ### `@dpuse/dpuse-shared/component/dataView`
105
+
106
+ | Category | Exports |
107
+ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
108
+ | Constants | `ORDERED_VALUE_DELIMITER_IDS` |
109
+ | Types | `DataViewConfig`, `DataViewInterface`, `PreviewConfig`, `ContentAuditConfig`, `RelationshipsAuditConfig`, `DataFormatId`, `RecordDelimiterId`, `ValueDelimiterId`, `ParsingRecord`, `ParsingResult`, `DataTypeId`, `DataSubtypeId`, `NumericSubtypeId`, `NumericSignId`, `NumericUnitsId`, `StringSubtypeId`, `TemporalSubtypeId`, `InferenceSummary`, `InferenceRecord`, `InferenceResult`, `BooleanInferenceResult`, `NumericInferenceResult`, `BigIntInferenceResult`, `NumberInferenceResult`, `StringInferenceResult`, `TemporalInferenceResult`, `UnknownInferenceResult` |
110
+
111
+ ### `@dpuse/dpuse-shared/component/dimension`
112
+
113
+ | Category | Exports |
114
+ | -------- | ----------------- |
115
+ | Types | `DimensionConfig` |
116
+
117
+ ### `@dpuse/dpuse-shared/component/eventQuery`
118
+
119
+ | Category | Exports |
120
+ | -------- | ------------------ |
121
+ | Types | `EventQueryConfig` |
122
+
123
+ ### `@dpuse/dpuse-shared/component/module`
124
+
125
+ | Category | Exports |
126
+ | -------- | ------------------------------ |
127
+ | Types | `ModuleConfig`, `ModuleTypeId` |
128
+
129
+ ### `@dpuse/dpuse-shared/component/module/connector`
130
+
131
+ | Category | Exports |
132
+ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
133
+ | Schema | `connectorConfigSchema` |
134
+ | Constants | `CONNECTOR_ACTION_NAME_MAP` |
135
+ | Types | `ConnectorInterface`, `ConnectorActionName`, `ConnectorConstructor`, `ConnectorUtilities`, `ConnectorConfig`, `AuditObjectContentOptions`, `AuditObjectContentOptions1`, `AuditObjectContentResult`, `AuditObjectContentResult1`, `CreateObjectOptions`, `DescribeConnectionOptions`, `DropObjectOptions`, `FindObjectOptions`, `FindObjectResult`, `GetReadableStreamOptions`, `GetRecordOptions`, `GetRecordResult`, `ListNodesOptions`, `ListNodesResult`, `PreviewObjectOptions`, `RecordRetrievalTypeId`, `RemoveRecordsOptions`, `RetrieveChunksOptions`, `RetrieveRecordsOptions`, `RetrieveRecordsSummary`, `UpsertRecordsOptions` |
136
+ | Actions | `constructConnectorCategoryConfig(id, localeId?)`, `getConnectorActionsTable(supported)` |
137
+
138
+ ### `@dpuse/dpuse-shared/component/module/context`
139
+
140
+ | Category | Exports |
141
+ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
142
+ | Schema | `contextConfigSchema` |
143
+ | Types | `ContextInterface`, `ContextConfig`, `ContextActionName`, `ContextModelGroupConfig`, `ListContextOptions`, `ListContextResult` |
144
+
145
+ ### `@dpuse/dpuse-shared/component/module/context/model`
146
+
147
+ | Category | Exports |
148
+ | -------- | ------------------------------------------------------------------------------------------------------------------------------------ |
149
+ | Types | `ContextModelConfig`, `ContextModelDimensionGroupConfig`, `ContextModelEntityGroupConfig`, `ContextModelSecondaryMeasureGroupConfig` |
150
+
151
+ ### `@dpuse/dpuse-shared/component/module/context/model/dimension`
152
+
153
+ | Category | Exports |
154
+ | -------- | --------------------------------------------------------------------- |
155
+ | Types | `ContextModelDimensionConfig`, `ContextModelDimensionHierarchyConfig` |
156
+
157
+ ### `@dpuse/dpuse-shared/component/module/context/model/entity`
158
+
159
+ | Category | Exports |
160
+ | -------- | -------------------------- |
161
+ | Types | `ContextModelEntityConfig` |
162
+
163
+ ### `@dpuse/dpuse-shared/component/module/context/model/entity/dataItem`
164
+
165
+ | Category | Exports |
166
+ | -------- | ---------------------------------- |
167
+ | Types | `ContextModelEntityDataItemConfig` |
168
+
169
+ ### `@dpuse/dpuse-shared/component/module/context/model/entity/event`
170
+
171
+ | Category | Exports |
172
+ | -------- | ------------------------------- |
173
+ | Types | `ContextModelEntityEventConfig` |
174
+
175
+ ### `@dpuse/dpuse-shared/component/module/context/model/entity/primaryMeasure`
176
+
177
+ | Category | Exports |
178
+ | -------- | ---------------------------------------- |
179
+ | Types | `ContextModelEntityPrimaryMeasureConfig` |
180
+
181
+ ### `@dpuse/dpuse-shared/component/module/context/model/secondaryMeasure`
182
+
183
+ | Category | Exports |
184
+ | -------- | ------------------------------------ |
185
+ | Types | `ContextModelSecondaryMeasureConfig` |
186
+
187
+ ### `@dpuse/dpuse-shared/component/module/engine`
188
+
189
+ | Category | Exports |
190
+ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
191
+ | Types | `EngineConfig`, `EngineRuntime`, `EngineWorker`, `EngineInitialiseOptions`, `EngineAuthActionOptions`, `EngineConnectorActionOptions`, `EngineContextActionOptions`, `EngineCallbackData` |
192
+
193
+ ### `@dpuse/dpuse-shared/component/module/presenter`
194
+
195
+ | Category | Exports |
196
+ | -------- | -------------------------------------------------------------- |
197
+ | Schema | `presenterConfigSchema` |
198
+ | Types | `PresenterInterface`, `PresenterActionName`, `PresenterConfig` |
199
+
200
+ ### `@dpuse/dpuse-shared/component/module/presenter/presentation`
201
+
202
+ | Category | Exports |
203
+ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
204
+ | Types | `PresentationConfig`, `PresentationVisualConfig`, `PresentationVisualContentConfig`, `PresentationVisualViewConfig`, `PresentationCategoryId`, `PresentationView`, `PresentationVisualCartesianChartViewConfig`, `PresentationCartesianTypeId`, `PresentationVisualChordDiagramViewConfig`, `PresentationVisualPeriodFlowBoundariesChartViewConfig`, `PresentationVisualPolarChartViewConfig`, `PresentationPolarTypeId`, `PresentationVisualRangeChartViewConfig`, `PresentationRangeTypeId`, `PresentationVisualSankeyDiagramViewConfig`, `PresentationVisualStreamGraphViewConfig`, `PresentationVisualValueTableViewConfig` |
205
+
206
+ ### `@dpuse/dpuse-shared/component/module/tool`
207
+
208
+ | Category | Exports |
209
+ | -------- | ---------------------------------- |
210
+ | Types | `ToolConfig` |
211
+ | Actions | `loadTool<T>(toolConfigs, toolId)` |
212
+
213
+ ### `@dpuse/dpuse-shared/encoding`
214
+
215
+ | Category | Exports |
216
+ | --------- | -------------------------------------- |
217
+ | Constants | `encodingConfigMap` |
218
+ | Types | `EncodingConfig`, `EncodingTypeConfig` |
219
+ | Actions | `getEncodingTypeConfigs(localeId?)` |
220
+
221
+ ### `@dpuse/dpuse-shared/errors`
222
+
223
+ | Category | Exports |
224
+ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
225
+ | Types | `SerialisedError` |
226
+ | Classes | `DPUseError`, `AppError`, `APIError`, `EngineError`, `ConnectorError`, `FetchError` |
227
+ | Actions | `serialiseError(error?)`, `unserialiseError(serialisedErrors)`, `buildFetchError(response, message, locator)`, `normalizeToError(value)`, `concatenateSerialisedErrorMessages(serialisedErrors)`, `ignoreErrors(action)` |
228
+
229
+ ### `@dpuse/dpuse-shared/locale`
230
+
231
+ | Category | Exports |
232
+ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
233
+ | Constants | `DEFAULT_LOCALE_ID`, `SUPPORTED_LANGUAGES` |
234
+ | Types | `FlagId`, `LocaleId`, `LocaleLabel`, `LocaleDescription`, `LocaleLabelMap`, `LocalisedConfig<T>` |
235
+ | Actions | `createLabelMap(labels)`, `localiseConfig(config, localeId)`, `localiseConfigs(configs, localeId, isResultSorted?)`, `resolveLabel(labels, localeId, fallbackLocaleId?)` |
236
+
237
+ ### `@dpuse/dpuse-shared/utilities`
238
+
239
+ | Category | Exports |
240
+ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
241
+ | Actions | `convertODataTypeIdToUsageTypeId(oDataTypeId)`, `extractNameFromPath(itemPath)`, `extractExtensionFromPath(itemPath)`, `formatNumberAsDecimalNumber(number?, decimalPlaces?, minimumFractionDigits?, locale?)`, `formatNumberAsSize(number?, decimalPlaces?)`, `formatNumberAsStorageSize(number?, decimalPlaces?)`, `formatNumberAsDuration(number?, stopAt?)`, `formatNumberAsWholeNumber(number?, locale?)`, `lookupMimeTypeForExtension(extension?)` |
110
242
 
111
243
  ## Dependency Licenses
112
244
 
@@ -3,11 +3,26 @@ import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, o as l, p as u,
3
3
  import { t as p } from "./moduleConfig.schema-Cvc9QRvr.js";
4
4
  //#region src/component/module/connector/connectorConfig.schema.ts
5
5
  var m = n([
6
+ "abortOperation",
7
+ "auditObjectContent",
8
+ "createObject",
9
+ "describeConnection",
10
+ "dropObject",
11
+ "findObject",
12
+ "getReadableStream",
13
+ "getRecord",
14
+ "listNodes",
15
+ "previewObject",
16
+ "removeRecords",
17
+ "retrieveChunks",
18
+ "retrieveRecords",
19
+ "upsertRecords"
20
+ ]), h = n([
6
21
  "application",
7
22
  "curatedDataset",
8
23
  "database",
9
24
  "fileStore"
10
- ]), h = i({ label: o }), g = i({
25
+ ]), g = i({ label: o }), _ = i({
11
26
  authMethodId: n([
12
27
  "apiKey",
13
28
  "disabled",
@@ -20,28 +35,13 @@ var m = n([
20
35
  label: a(o),
21
36
  maxConnectionCount: s(f()),
22
37
  params: a(l(u(c(), c())))
23
- }), _ = n([
24
- "abortOperation",
25
- "auditObjectContent",
26
- "createObject",
27
- "describeConnection",
28
- "dropObject",
29
- "findObject",
30
- "getReadableStream",
31
- "getRecord",
32
- "listNodes",
33
- "previewObject",
34
- "removeRecords",
35
- "retrieveChunks",
36
- "retrieveRecords",
37
- "upsertRecords"
38
- ]), v = i({
38
+ }), v = i({
39
39
  typeId: r("connector"),
40
40
  ...p,
41
- actionNames: l(_),
42
- category: s(h),
43
- categoryId: m,
44
- implementations: u(c(), g),
41
+ actionNames: l(m),
42
+ category: s(g),
43
+ categoryId: h,
44
+ implementations: u(c(), _),
45
45
  vendorAccountURL: s(c()),
46
46
  vendorDocumentationURL: s(c()),
47
47
  vendorHomeURL: s(c())
@@ -2,15 +2,15 @@ import { a as e, c as t, d as n, o as r, r as i, t as a, u as o } from "./compon
2
2
  import { t as s } from "./moduleConfig.schema-Cvc9QRvr.js";
3
3
  //#region src/component/module/context/contextConfig.schema.ts
4
4
  var c = n({
5
- ...a,
6
5
  typeId: t("contextModelGroup"),
6
+ ...a,
7
7
  modelRefs: r(i),
8
8
  order: o()
9
9
  }), l = e(["listContextFocuses"]), u = n({
10
- ...s,
11
10
  typeId: t("context"),
12
- models: r(c),
13
- operations: r(l)
11
+ ...s,
12
+ actionNames: r(l),
13
+ models: r(c)
14
14
  });
15
15
  //#endregion
16
16
  export { u as contextConfigSchema };
@@ -2,13 +2,13 @@
2
2
  * Defines the configuration metadata for a connector. Used for validation
3
3
  * of connector manifests and capability discovery at runtime.
4
4
  */
5
+ export declare const connectorActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"abortOperation", undefined>, import('valibot').LiteralSchema<"auditObjectContent", undefined>, import('valibot').LiteralSchema<"createObject", undefined>, import('valibot').LiteralSchema<"describeConnection", undefined>, import('valibot').LiteralSchema<"dropObject", undefined>, import('valibot').LiteralSchema<"findObject", undefined>, import('valibot').LiteralSchema<"getReadableStream", undefined>, import('valibot').LiteralSchema<"getRecord", undefined>, import('valibot').LiteralSchema<"listNodes", undefined>, import('valibot').LiteralSchema<"previewObject", undefined>, import('valibot').LiteralSchema<"removeRecords", undefined>, import('valibot').LiteralSchema<"retrieveChunks", undefined>, import('valibot').LiteralSchema<"retrieveRecords", undefined>, import('valibot').LiteralSchema<"upsertRecords", undefined>], undefined>;
5
6
  export declare const connectorCategoryConfigSchema: import('valibot').ObjectSchema<{
6
7
  readonly label: import('valibot').ObjectSchema<{
7
8
  readonly en: import('valibot').StringSchema<undefined>;
8
9
  readonly es: import('valibot').StringSchema<undefined>;
9
10
  }, undefined>;
10
11
  }, undefined>;
11
- export declare const connectorActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"abortOperation", undefined>, import('valibot').LiteralSchema<"auditObjectContent", undefined>, import('valibot').LiteralSchema<"createObject", undefined>, import('valibot').LiteralSchema<"describeConnection", undefined>, import('valibot').LiteralSchema<"dropObject", undefined>, import('valibot').LiteralSchema<"findObject", undefined>, import('valibot').LiteralSchema<"getReadableStream", undefined>, import('valibot').LiteralSchema<"getRecord", undefined>, import('valibot').LiteralSchema<"listNodes", undefined>, import('valibot').LiteralSchema<"previewObject", undefined>, import('valibot').LiteralSchema<"removeRecords", undefined>, import('valibot').LiteralSchema<"retrieveChunks", undefined>, import('valibot').LiteralSchema<"retrieveRecords", undefined>, import('valibot').LiteralSchema<"upsertRecords", undefined>], undefined>;
12
12
  export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
13
13
  readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"abortOperation", undefined>, import('valibot').LiteralSchema<"auditObjectContent", undefined>, import('valibot').LiteralSchema<"createObject", undefined>, import('valibot').LiteralSchema<"describeConnection", undefined>, import('valibot').LiteralSchema<"dropObject", undefined>, import('valibot').LiteralSchema<"findObject", undefined>, import('valibot').LiteralSchema<"getReadableStream", undefined>, import('valibot').LiteralSchema<"getRecord", undefined>, import('valibot').LiteralSchema<"listNodes", undefined>, import('valibot').LiteralSchema<"previewObject", undefined>, import('valibot').LiteralSchema<"removeRecords", undefined>, import('valibot').LiteralSchema<"retrieveChunks", undefined>, import('valibot').LiteralSchema<"retrieveRecords", undefined>, import('valibot').LiteralSchema<"upsertRecords", undefined>], undefined>, undefined>;
14
14
  readonly category: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
@@ -3,7 +3,7 @@ import { Component } from '../..';
3
3
  import { EngineConnectorActionOptions } from '../engine';
4
4
  import { ToolConfig } from '../tool';
5
5
  import { ConnectionDescriptionConfig, ConnectionNodeConfig, ObjectColumnConfig } from '../../connection';
6
- import { connectorCategoryConfigSchema, connectorConfigSchema, connectorActionNameSchema } from './connectorConfig.schema';
6
+ import { connectorActionNameSchema, connectorCategoryConfigSchema, connectorConfigSchema } from './connectorConfig.schema';
7
7
  import { ContentAuditConfig, InferenceRecord, InferenceSummary, ParsingRecord, PreviewConfig, ValueDelimiterId } from '../../dataView';
8
8
  import { LocalisedConfig } from '../../../locale';
9
9
  export { connectorConfigSchema } from './connectorConfig.schema';
@@ -1,8 +1,7 @@
1
- export declare const contextOperationNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"listContextFocuses", undefined>], undefined>;
1
+ export declare const contextActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"listContextFocuses", undefined>], undefined>;
2
2
  export declare const contextConfigSchema: import('valibot').ObjectSchema<{
3
- readonly typeId: import('valibot').LiteralSchema<"context", undefined>;
3
+ readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"listContextFocuses", undefined>], undefined>, undefined>;
4
4
  readonly models: import('valibot').ArraySchema<import('valibot').ObjectSchema<{
5
- readonly typeId: import('valibot').LiteralSchema<"contextModelGroup", undefined>;
6
5
  readonly modelRefs: import('valibot').ArraySchema<import('valibot').ObjectSchema<{
7
6
  readonly id: import('valibot').StringSchema<undefined>;
8
7
  readonly label: import('valibot').ObjectSchema<{
@@ -39,8 +38,8 @@ export declare const contextConfigSchema: import('valibot').ObjectSchema<{
39
38
  readonly label: import('valibot').StringSchema<undefined>;
40
39
  }, undefined>, undefined>;
41
40
  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>;
41
+ readonly typeId: import('valibot').LiteralSchema<"contextModelGroup", undefined>;
42
42
  }, undefined>, undefined>;
43
- readonly operations: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"listContextFocuses", undefined>], undefined>, undefined>;
44
43
  readonly version: import('valibot').StringSchema<undefined>;
45
44
  readonly id: import('valibot').StringSchema<undefined>;
46
45
  readonly label: import('valibot').ObjectSchema<{
@@ -61,4 +60,5 @@ export declare const contextConfigSchema: import('valibot').ObjectSchema<{
61
60
  readonly label: import('valibot').StringSchema<undefined>;
62
61
  }, undefined>, undefined>;
63
62
  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>;
63
+ readonly typeId: import('valibot').LiteralSchema<"context", undefined>;
64
64
  }, undefined>;
@@ -1,14 +1,14 @@
1
1
  import { InferOutput } from 'valibot';
2
2
  import { EngineContextActionOptions } from '../engine';
3
3
  import { Component, ComponentConfig, ComponentReference } from '../..';
4
- import { contextConfigSchema, contextOperationNameSchema } from './contextConfig.schema';
4
+ import { contextActionNameSchema, contextConfigSchema } from './contextConfig.schema';
5
5
  export { contextConfigSchema } from './contextConfig.schema';
6
6
  export interface ContextInterface extends Component {
7
7
  readonly config: ContextConfig;
8
8
  listContextFocuses?(context: ContextInterface, options?: ListContextOptions): Promise<ListContextResult>;
9
9
  }
10
10
  export type ContextConfig = InferOutput<typeof contextConfigSchema>;
11
- export type ContextOperationName = InferOutput<typeof contextOperationNameSchema>;
11
+ export type ContextActionName = InferOutput<typeof contextActionNameSchema>;
12
12
  export interface ContextModelGroupConfig extends ComponentConfig {
13
13
  modelRefs: ComponentReference[];
14
14
  order: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "0.3.703",
3
+ "version": "0.3.707",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across all DPUse projects.",
6
6
  "license": "MIT",
@@ -135,11 +135,11 @@
135
135
  "test": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject())\""
136
136
  },
137
137
  "devDependencies": {
138
- "@dpuse/dpuse-development": "^0.3.564",
138
+ "@dpuse/dpuse-development": "^0.3.582",
139
139
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
140
140
  "@types/eslint-plugin-security": "^3.0.1",
141
141
  "@types/node": "^26.0.1",
142
- "eslint": "^10.5.0",
142
+ "eslint": "^10.6.0",
143
143
  "eslint-config-prettier": "^10.1.8",
144
144
  "eslint-import-resolver-typescript": "^4.4.5",
145
145
  "eslint-plugin-import-x": "^4.17.0",
@@ -151,7 +151,7 @@
151
151
  "jiti": "^2.7.0",
152
152
  "license-checker-rseidelsohn": "^5.0.1",
153
153
  "npm-check-updates": "^22.2.7",
154
- "prettier": "^3.8.4",
154
+ "prettier": "^3.9.0",
155
155
  "rollup-plugin-visualizer": "^7.0.1",
156
156
  "sonda": "^0.13.1",
157
157
  "type-fest": "^5.7.0",