@dpuse/dpuse-shared 0.3.851 → 0.3.865
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 +98 -160
- package/dist/dpuse-shared.es.js +1473 -0
- package/dist/dpuse-shared.es.js.map +1 -0
- package/dist/types/src/component/connection/index.d.ts +5 -4
- package/dist/types/src/component/context/index.d.ts +2 -1
- package/dist/types/src/component/context/model/entity/event/index.d.ts +2 -1
- package/dist/types/src/component/context/model/entity/index.d.ts +2 -1
- package/dist/types/src/component/dataView/index.d.ts +8 -7
- package/dist/types/src/component/index.d.ts +2 -3
- package/dist/types/src/component/module/connector/index.d.ts +1 -11
- package/dist/types/src/component/module/cookbook/index.d.ts +1 -2
- package/dist/types/src/component/module/index.d.ts +1 -2
- package/dist/types/src/component/presentation/index.d.ts +0 -12
- package/dist/types/src/component/recipe/index.d.ts +1 -2
- package/dist/types/src/encoding/index.d.ts +4 -4
- package/dist/types/src/errors/index.d.ts +2 -1
- package/dist/types/src/index.d.ts +24 -0
- package/dist/types/src/locale/label.d.ts +2 -1
- package/package.json +9 -116
- package/dist/componentConfig.schema-DT3mO5rS.js +0 -416
- package/dist/componentConfig.schema-DT3mO5rS.js.map +0 -1
- package/dist/dpuse-shared-component.es.js +0 -53
- package/dist/dpuse-shared-component.es.js.map +0 -1
- package/dist/dpuse-shared-componentConnection.es.js +0 -0
- package/dist/dpuse-shared-componentContext.es.js +0 -0
- package/dist/dpuse-shared-componentContextModel.es.js +0 -0
- package/dist/dpuse-shared-componentContextModelDimension.es.js +0 -0
- package/dist/dpuse-shared-componentContextModelDimensionHierarchy.es.js +0 -0
- package/dist/dpuse-shared-componentContextModelEntity.es.js +0 -0
- package/dist/dpuse-shared-componentContextModelEntityDataItem.es.js +0 -0
- package/dist/dpuse-shared-componentContextModelEntityEvent.es.js +0 -0
- package/dist/dpuse-shared-componentContextModelEntityPrimaryMeasure.es.js +0 -0
- package/dist/dpuse-shared-componentContextModelSecondaryMeasure.es.js +0 -0
- package/dist/dpuse-shared-componentDataView.es.js +0 -18
- package/dist/dpuse-shared-componentDataView.es.js.map +0 -1
- package/dist/dpuse-shared-componentEventQuery.es.js +0 -0
- package/dist/dpuse-shared-componentModule.es.js +0 -0
- package/dist/dpuse-shared-componentModuleConnector.es.js +0 -182
- package/dist/dpuse-shared-componentModuleConnector.es.js.map +0 -1
- package/dist/dpuse-shared-componentModuleCookbook.es.js +0 -11
- package/dist/dpuse-shared-componentModuleCookbook.es.js.map +0 -1
- package/dist/dpuse-shared-componentModuleEngine.es.js +0 -0
- package/dist/dpuse-shared-componentModulePresenter.es.js +0 -15
- package/dist/dpuse-shared-componentModulePresenter.es.js.map +0 -1
- package/dist/dpuse-shared-componentModuleTool.es.js +0 -29
- package/dist/dpuse-shared-componentModuleTool.es.js.map +0 -1
- package/dist/dpuse-shared-componentPresentation.es.js +0 -0
- package/dist/dpuse-shared-componentRecipe.es.js +0 -4
- package/dist/dpuse-shared-componentRecipe.es.js.map +0 -1
- package/dist/dpuse-shared-encoding.es.js +0 -467
- package/dist/dpuse-shared-encoding.es.js.map +0 -1
- package/dist/dpuse-shared-errors.es.js +0 -150
- package/dist/dpuse-shared-errors.es.js.map +0 -1
- package/dist/dpuse-shared-locale.es.js +0 -28
- package/dist/dpuse-shared-locale.es.js.map +0 -1
- package/dist/dpuse-shared-utilities.es.js +0 -109
- package/dist/dpuse-shared-utilities.es.js.map +0 -1
- package/dist/label-DexpXrnC.js +0 -19
- package/dist/label-DexpXrnC.js.map +0 -1
- package/dist/moduleConfig.schema-aYmFWSrn.js +0 -22
- package/dist/moduleConfig.schema-aYmFWSrn.js.map +0 -1
|
@@ -9,7 +9,7 @@ export interface ConnectionConfig extends ComponentInstanceConfig {
|
|
|
9
9
|
lastVerifiedAt: number;
|
|
10
10
|
notation: string | undefined;
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
interface ConnectionAuthorisationConfig {
|
|
13
13
|
accessToken: string;
|
|
14
14
|
accountId: string;
|
|
15
15
|
expiresAt: number;
|
|
@@ -43,11 +43,11 @@ export interface ConnectionNodeConfig {
|
|
|
43
43
|
size: number | undefined;
|
|
44
44
|
typeId: NodeTypeId;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
interface DPAFileSystemFileHandle {
|
|
47
47
|
readonly kind: 'file';
|
|
48
48
|
getFile(): Promise<File>;
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
type NodeTypeId = 'folder' | 'object';
|
|
51
51
|
export interface ObjectColumnConfig {
|
|
52
52
|
dataTypeId: DataTypeId;
|
|
53
53
|
dataSubtypeId: DataSubtypeId | undefined;
|
|
@@ -71,4 +71,5 @@ export interface ObjectColumnConfig {
|
|
|
71
71
|
validValues: Record<string, string>;
|
|
72
72
|
voidValueCount: number | undefined;
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
type StorageTypeId = 'binary' | 'boolean' | 'byte' | 'date' | 'dateTime' | 'dateTimeOffset' | 'decimal' | 'double' | 'int8' | 'int16' | 'int32' | 'int64' | 'object' | 'single' | 'string' | 'time' | 'unknown';
|
|
75
|
+
export {};
|
|
@@ -3,8 +3,9 @@ export interface ContextConfig extends ComponentInstanceConfig {
|
|
|
3
3
|
typeId: 'context';
|
|
4
4
|
areas: ContextAreaConfig[];
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
interface ContextAreaConfig extends ComponentInstanceConfig {
|
|
7
7
|
typeId: 'contextArea';
|
|
8
8
|
models: ComponentReferenceConfig[];
|
|
9
9
|
order: number;
|
|
10
10
|
}
|
|
11
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LocaleDescription, LocaleLabel } from '../../../../../locale/label';
|
|
2
|
-
|
|
2
|
+
type ContextModelEntityEventId = 'creation' | 'activation' | 'recognition' | 'correction' | 'modification' | 'derecognition' | 'deactivation' | 'archival' | 'deletion';
|
|
3
3
|
export interface ContextModelEntityEventConfig {
|
|
4
4
|
id: ContextModelEntityEventId;
|
|
5
5
|
labelAction: LocaleLabel;
|
|
@@ -7,3 +7,4 @@ export interface ContextModelEntityEventConfig {
|
|
|
7
7
|
description: LocaleDescription;
|
|
8
8
|
}
|
|
9
9
|
export type ContextModelEntityEventsConfig = ContextModelEntityEventConfig[];
|
|
10
|
+
export {};
|
|
@@ -12,6 +12,7 @@ export interface ContextModelEntityConfig extends ComponentInstanceConfig {
|
|
|
12
12
|
parents?: ContextModelEntityParentConfig[];
|
|
13
13
|
primaryMeasures: ContextModelEntityPrimaryMeasuresConfig;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
interface ContextModelEntityParentConfig {
|
|
16
16
|
entityTypeId: string;
|
|
17
17
|
}
|
|
18
|
+
export {};
|
|
@@ -40,13 +40,13 @@ export interface PreviewConfig {
|
|
|
40
40
|
}
|
|
41
41
|
export type DataFormatId = 'dpe' | 'dtv' | 'json' | 'spss' | 'xlsx' | 'xml' | 'unknown';
|
|
42
42
|
export type ParsingRecord = ParsingResult[];
|
|
43
|
-
|
|
43
|
+
interface ParsingResult {
|
|
44
44
|
value: string | null;
|
|
45
45
|
valueWasQuoted: boolean;
|
|
46
46
|
}
|
|
47
47
|
export type RecordDelimiterId = '\n' | '\r' | '\r\n';
|
|
48
48
|
export type ValueDelimiterId = '' | ':' | ',' | '!' | '0x1E' | ';' | ' ' | '\t' | '_' | '0x1F' | '|';
|
|
49
|
-
|
|
49
|
+
type ValueTrimMethodId = 'both' | 'left' | 'right' | 'none';
|
|
50
50
|
export interface ContentAuditConfig {
|
|
51
51
|
asAt: number;
|
|
52
52
|
columns: ObjectColumnConfig[];
|
|
@@ -57,13 +57,13 @@ export interface ContentAuditConfig {
|
|
|
57
57
|
lineCount: number;
|
|
58
58
|
recordCount: number;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
interface RelationshipsAuditConfig {
|
|
61
61
|
placeholder: string;
|
|
62
62
|
}
|
|
63
63
|
export type DataTypeId = 'boolean' | 'numeric' | 'string' | 'temporal' | 'unknown';
|
|
64
64
|
export type DataSubtypeId = NumericSubtypeId | StringSubtypeId | TemporalSubtypeId;
|
|
65
65
|
export type NumericSubtypeId = 'bigint' | 'integer' | 'decimal';
|
|
66
|
-
|
|
66
|
+
type StringSubtypeId = 'email' | 'ipv4' | 'ipv6' | 'ulid' | 'uuid' | 'url' | 'plain';
|
|
67
67
|
export type TemporalSubtypeId = 'date' | 'dateTime' | 'time';
|
|
68
68
|
export interface InferenceSummary {
|
|
69
69
|
columnConfigs: ObjectColumnConfig[];
|
|
@@ -80,7 +80,7 @@ export interface BooleanInferenceResult {
|
|
|
80
80
|
inferredValue: boolean;
|
|
81
81
|
}
|
|
82
82
|
export type NumericInferenceResult = BigIntInferenceResult | NumberInferenceResult;
|
|
83
|
-
|
|
83
|
+
interface BigIntInferenceResult {
|
|
84
84
|
dataTypeId: 'numeric';
|
|
85
85
|
dataSubtypeId: 'bigint';
|
|
86
86
|
format: string;
|
|
@@ -92,7 +92,7 @@ export interface BigIntInferenceResult {
|
|
|
92
92
|
signId: NumericSignId;
|
|
93
93
|
unitsId: NumericUnitsId;
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
interface NumberInferenceResult {
|
|
96
96
|
dataTypeId: 'numeric';
|
|
97
97
|
dataSubtypeId: 'integer' | 'decimal';
|
|
98
98
|
format: string;
|
|
@@ -122,7 +122,7 @@ export interface TemporalInferenceResult {
|
|
|
122
122
|
inputValueWasQuoted: boolean;
|
|
123
123
|
inferredValue: Date;
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
interface UnknownInferenceResult {
|
|
126
126
|
dataTypeId: 'unknown';
|
|
127
127
|
dataSubtypeId: undefined;
|
|
128
128
|
inputValue: string | null;
|
|
@@ -130,3 +130,4 @@ export interface UnknownInferenceResult {
|
|
|
130
130
|
inferredValue: null;
|
|
131
131
|
}
|
|
132
132
|
export declare const ORDERED_VALUE_DELIMITER_IDS: ValueDelimiterId[];
|
|
133
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InferOutput, strictObject } from 'valibot';
|
|
2
|
-
import { componentBaseConfigSchema, componentInstanceConfigSchema, componentReferenceConfigSchema,
|
|
2
|
+
import { componentBaseConfigSchema, componentInstanceConfigSchema, componentReferenceConfigSchema, componentStatusConfigSchema } from './componentConfig.schema';
|
|
3
3
|
import { LocaleId } from '../locale/label';
|
|
4
4
|
export { componentInstanceConfigSchema } from './componentConfig.schema';
|
|
5
5
|
export interface Component {
|
|
@@ -8,6 +8,5 @@ export interface Component {
|
|
|
8
8
|
export type ComponentBaseConfig = InferOutput<ReturnType<typeof strictObject<typeof componentBaseConfigSchema>>>;
|
|
9
9
|
export type ComponentInstanceConfig = InferOutput<typeof componentInstanceConfigSchema>;
|
|
10
10
|
export type ComponentReferenceConfig = InferOutput<typeof componentReferenceConfigSchema>;
|
|
11
|
-
|
|
12
|
-
export type ComponentStatusColorId = InferOutput<typeof componentStatusColorIdSchema>;
|
|
11
|
+
type ComponentStatus = InferOutput<typeof componentStatusConfigSchema>;
|
|
13
12
|
export declare function getComponentStatus(id: string, localeId?: LocaleId): ComponentStatus;
|
|
@@ -4,7 +4,7 @@ import { EngineConnectorActionOptions } from '../engine';
|
|
|
4
4
|
import { ToolConfig } from '../tool';
|
|
5
5
|
import { ConnectionDescriptionConfig, ConnectionNodeConfig, ObjectColumnConfig } from '../../connection';
|
|
6
6
|
import { connectorActionNameSchema, connectorCategoryConfigSchema, connectorConfigSchema, connectorUsageConfigSchema, connectorUsageIdSchema } from './connectorConfig.schema';
|
|
7
|
-
import {
|
|
7
|
+
import { InferenceRecord, InferenceSummary, ParsingRecord, PreviewConfig, ValueDelimiterId } from '../../dataView';
|
|
8
8
|
import { LocalisedConfig } from '../../../locale';
|
|
9
9
|
export { connectorConfigSchema } from './connectorConfig.schema';
|
|
10
10
|
export interface ConnectorInterface extends Component {
|
|
@@ -37,15 +37,6 @@ export interface ConnectorUtilities {
|
|
|
37
37
|
export type ConnectorConfig = InferOutput<typeof connectorConfigSchema>;
|
|
38
38
|
type ConnectorCategoryConfig = InferOutput<typeof connectorCategoryConfigSchema>;
|
|
39
39
|
type ConnectorUsageConfig = InferOutput<typeof connectorUsageConfigSchema>;
|
|
40
|
-
export interface AuditObjectContentOptions1 extends EngineConnectorActionOptions {
|
|
41
|
-
chunkSize: number | undefined;
|
|
42
|
-
encodingId: string;
|
|
43
|
-
path: string;
|
|
44
|
-
valueDelimiterId: ValueDelimiterId;
|
|
45
|
-
}
|
|
46
|
-
export interface AuditObjectContentResult1 {
|
|
47
|
-
contentAuditConfig: ContentAuditConfig;
|
|
48
|
-
}
|
|
49
40
|
export interface AuditObjectContentOptions extends EngineConnectorActionOptions {
|
|
50
41
|
chunkSize: number | undefined;
|
|
51
42
|
encodingId: string;
|
|
@@ -139,7 +130,6 @@ export interface UpsertRecordsOptions extends EngineConnectorActionOptions {
|
|
|
139
130
|
records: Record<string, unknown>[];
|
|
140
131
|
path: string;
|
|
141
132
|
}
|
|
142
|
-
export declare const CONNECTOR_ACTION_NAME_MAP: Record<ConnectorActionName, string>;
|
|
143
133
|
export type ConnectorUsageId = InferOutput<typeof connectorUsageIdSchema>;
|
|
144
134
|
export declare function determineConnectorUsageId(actionNames: ConnectorActionName[]): ConnectorUsageId;
|
|
145
135
|
export declare const constructConnectorCategoryConfig: (id: string, localeId?: import('../../../locale').LocaleId) => LocalisedConfig<ConnectorCategoryConfig>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
2
|
import { Component, ComponentReferenceConfig } from '../..';
|
|
3
|
-
import {
|
|
3
|
+
import { cookbookConfigSchema } from './cookbookConfig.schema';
|
|
4
4
|
export { cookbookConfigSchema } from './cookbookConfig.schema';
|
|
5
5
|
export interface CookbookInterface extends Component {
|
|
6
6
|
readonly config: CookbookConfig;
|
|
7
7
|
list(): ComponentReferenceConfig[];
|
|
8
8
|
}
|
|
9
|
-
export type CookbookActionName = InferOutput<typeof cookbookActionNameSchema>;
|
|
10
9
|
export type CookbookConfig = InferOutput<typeof cookbookConfigSchema>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
|
-
import { moduleConfigSchema
|
|
2
|
+
import { moduleConfigSchema } from './moduleConfig.schema';
|
|
3
3
|
export type ModuleConfig = InferOutput<typeof moduleConfigSchema>;
|
|
4
|
-
export type ModuleTypeId = InferOutput<typeof moduleTypeIdSchema>;
|
|
@@ -43,9 +43,6 @@ export interface PresentationVisualCartesianChartViewConfig extends Presentation
|
|
|
43
43
|
typeId: PresentationCartesianTypeId;
|
|
44
44
|
}
|
|
45
45
|
export type PresentationCartesianTypeId = 'areaLine' | 'areaSpline' | 'bar' | 'column' | 'line' | 'spline';
|
|
46
|
-
export interface PresentationVisualChordDiagramViewConfig extends PresentationVisualViewConfig {
|
|
47
|
-
categoryId: 'chordDiagram';
|
|
48
|
-
}
|
|
49
46
|
export interface PresentationVisualPeriodFlowBoundariesChartViewConfig extends PresentationVisualViewConfig {
|
|
50
47
|
categoryId: 'periodFlowBoundariesChart';
|
|
51
48
|
}
|
|
@@ -59,15 +56,6 @@ export interface PresentationVisualRangeChartViewConfig extends PresentationVisu
|
|
|
59
56
|
typeId: PresentationRangeTypeId;
|
|
60
57
|
}
|
|
61
58
|
export type PresentationRangeTypeId = 'areaLine' | 'areaSpline' | 'bar' | 'column';
|
|
62
|
-
export interface PresentationVisualSankeyDiagramViewConfig extends PresentationVisualViewConfig {
|
|
63
|
-
categoryId: 'sankeyDiagram';
|
|
64
|
-
}
|
|
65
|
-
export interface PresentationVisualStreamGraphViewConfig extends PresentationVisualViewConfig {
|
|
66
|
-
categoryId: 'streamGraph';
|
|
67
|
-
}
|
|
68
|
-
export interface PresentationVisualValueTableViewConfig extends PresentationVisualViewConfig {
|
|
69
|
-
categoryId: 'valueTable';
|
|
70
|
-
}
|
|
71
59
|
export interface PresentationView {
|
|
72
60
|
resize: () => void;
|
|
73
61
|
vendorId: string;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { PLACEHOLDER };
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LocaleId, LocaleLabel } from '../locale/label';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
type EncodingGroupId = keyof typeof ENCODING_GROUP_CONFIG_DATA;
|
|
3
|
+
type EncodingTypeId = keyof typeof ENCODING_TYPE_CONFIG_DATA;
|
|
4
|
+
interface EncodingGroupConfig {
|
|
5
5
|
id: EncodingGroupId;
|
|
6
6
|
label: LocaleLabel;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
interface EncodingTypeConfig {
|
|
9
9
|
id: EncodingTypeId;
|
|
10
10
|
groupId: EncodingGroupId | null;
|
|
11
11
|
isDetectable: boolean;
|
|
@@ -5,7 +5,7 @@ export interface SerialisedError {
|
|
|
5
5
|
name: string;
|
|
6
6
|
stack: string | undefined;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
declare class DPUseError extends Error {
|
|
9
9
|
readonly data: Record<string, unknown> | undefined;
|
|
10
10
|
readonly locator: string;
|
|
11
11
|
constructor(message: string, locator: string, data?: Record<string, unknown>, options?: ErrorOptions);
|
|
@@ -35,3 +35,4 @@ export declare function ignoreErrors(action: () => void): void;
|
|
|
35
35
|
export declare function normalizeToError(value: unknown): Error;
|
|
36
36
|
export declare function serialiseError(error?: unknown): SerialisedError[];
|
|
37
37
|
export declare function unserialiseError(serialisedErrors: SerialisedError[]): Error;
|
|
38
|
+
export {};
|
|
@@ -1,3 +1,27 @@
|
|
|
1
1
|
import { InferOutput, strictObject } from 'valibot';
|
|
2
2
|
import { baseConfigSchema } from './baseConfig.schema';
|
|
3
3
|
export type BaseConfig = InferOutput<ReturnType<typeof strictObject<typeof baseConfigSchema>>>;
|
|
4
|
+
export * from './component';
|
|
5
|
+
export * from './component/connection';
|
|
6
|
+
export * from './component/context';
|
|
7
|
+
export * from './component/context/model';
|
|
8
|
+
export * from './component/context/model/dimension';
|
|
9
|
+
export * from './component/context/model/dimension/hierarchy';
|
|
10
|
+
export * from './component/context/model/entity';
|
|
11
|
+
export * from './component/context/model/entity/dataItem';
|
|
12
|
+
export * from './component/context/model/entity/event';
|
|
13
|
+
export * from './component/context/model/entity/primaryMeasure';
|
|
14
|
+
export * from './component/context/model/secondaryMeasure';
|
|
15
|
+
export * from './component/dataView';
|
|
16
|
+
export * from './component/eventQuery';
|
|
17
|
+
export * from './component/module';
|
|
18
|
+
export * from './component/module/connector';
|
|
19
|
+
export * from './component/module/cookbook';
|
|
20
|
+
export * from './component/module/engine';
|
|
21
|
+
export * from './component/module/presenter';
|
|
22
|
+
export * from './component/module/tool';
|
|
23
|
+
export * from './component/presentation';
|
|
24
|
+
export * from './encoding';
|
|
25
|
+
export * from './errors';
|
|
26
|
+
export * from './locale';
|
|
27
|
+
export * from './utilities';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type FlagId = 'es' | 'gb';
|
|
2
2
|
export type LocaleId = 'en' | 'es';
|
|
3
3
|
export type LocaleLabel = Partial<Record<LocaleId, string>>;
|
|
4
4
|
export type LocaleDescription = Partial<Record<LocaleId, string>>;
|
|
@@ -11,3 +11,4 @@ export declare const SUPPORTED_LANGUAGES: {
|
|
|
11
11
|
}[];
|
|
12
12
|
export declare function createLabelMap(labels: Record<string, string>): LocaleLabelMap;
|
|
13
13
|
export declare function resolveLabel(labels: LocaleLabelMap, localeId: string, fallbackLocaleId?: LocaleId): string | undefined;
|
|
14
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.865",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Common constants, types and utilities used across all DPUse projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,106 +21,6 @@
|
|
|
21
21
|
".": {
|
|
22
22
|
"import": "./dist/dpuse-shared.es.js",
|
|
23
23
|
"types": "./dist/types/src/index.d.ts"
|
|
24
|
-
},
|
|
25
|
-
"./component": {
|
|
26
|
-
"import": "./dist/dpuse-shared-component.es.js",
|
|
27
|
-
"types": "./dist/types/src/component/index.d.ts"
|
|
28
|
-
},
|
|
29
|
-
"./component/connection": {
|
|
30
|
-
"import": "./dist/dpuse-shared-componentConnection.es.js",
|
|
31
|
-
"types": "./dist/types/src/component/connection/index.d.ts"
|
|
32
|
-
},
|
|
33
|
-
"./component/dataView": {
|
|
34
|
-
"import": "./dist/dpuse-shared-componentDataView.es.js",
|
|
35
|
-
"types": "./dist/types/src/component/dataView/index.d.ts"
|
|
36
|
-
},
|
|
37
|
-
"./component/eventQuery": {
|
|
38
|
-
"import": "./dist/dpuse-shared-componentEventQuery.es.js",
|
|
39
|
-
"types": "./dist/types/src/component/eventQuery/index.d.ts"
|
|
40
|
-
},
|
|
41
|
-
"./component/context": {
|
|
42
|
-
"import": "./dist/dpuse-shared-componentContext.es.js",
|
|
43
|
-
"types": "./dist/types/src/component/context/index.d.ts"
|
|
44
|
-
},
|
|
45
|
-
"./component/context/model": {
|
|
46
|
-
"import": "./dist/dpuse-shared-componentContextModel.es.js",
|
|
47
|
-
"types": "./dist/types/src/component/context/model/index.d.ts"
|
|
48
|
-
},
|
|
49
|
-
"./component/context/model/dimension": {
|
|
50
|
-
"import": "./dist/dpuse-shared-componentContextModelDimension.es.js",
|
|
51
|
-
"types": "./dist/types/src/component/context/model/dimension/index.d.ts"
|
|
52
|
-
},
|
|
53
|
-
"./component/context/model/dimension/hierarchy": {
|
|
54
|
-
"import": "./dist/dpuse-shared-componentContextModelDimensionHierarchy.es.js",
|
|
55
|
-
"types": "./dist/types/src/component/context/model/dimension/hierarchy/index.d.ts"
|
|
56
|
-
},
|
|
57
|
-
"./component/context/model/entity": {
|
|
58
|
-
"import": "./dist/dpuse-shared-componentContextModelEntity.es.js",
|
|
59
|
-
"types": "./dist/types/src/component/context/model/entity/index.d.ts"
|
|
60
|
-
},
|
|
61
|
-
"./component/context/model/entity/dataItem": {
|
|
62
|
-
"import": "./dist/dpuse-shared-componentContextModelEntityDataItem.es.js",
|
|
63
|
-
"types": "./dist/types/src/component/context/model/entity/dataItem/index.d.ts"
|
|
64
|
-
},
|
|
65
|
-
"./component/context/model/entity/event": {
|
|
66
|
-
"import": "./dist/dpuse-shared-componentContextModelEntityEvent.es.js",
|
|
67
|
-
"types": "./dist/types/src/component/context/model/entity/event/index.d.ts"
|
|
68
|
-
},
|
|
69
|
-
"./component/context/model/entity/primaryMeasure": {
|
|
70
|
-
"import": "./dist/dpuse-shared-componentContextModelEntityPrimaryMeasure.es.js",
|
|
71
|
-
"types": "./dist/types/src/component/context/model/entity/primaryMeasure/index.d.ts"
|
|
72
|
-
},
|
|
73
|
-
"./component/context/model/secondaryMeasure": {
|
|
74
|
-
"import": "./dist/dpuse-shared-componentContextModelSecondaryMeasure.es.js",
|
|
75
|
-
"types": "./dist/types/src/component/context/model/secondaryMeasure/index.d.ts"
|
|
76
|
-
},
|
|
77
|
-
"./component/module": {
|
|
78
|
-
"import": "./dist/dpuse-shared-componentModule.es.js",
|
|
79
|
-
"types": "./dist/types/src/component/module/index.d.ts"
|
|
80
|
-
},
|
|
81
|
-
"./component/module/connector": {
|
|
82
|
-
"import": "./dist/dpuse-shared-componentModuleConnector.es.js",
|
|
83
|
-
"types": "./dist/types/src/component/module/connector/index.d.ts"
|
|
84
|
-
},
|
|
85
|
-
"./component/module/engine": {
|
|
86
|
-
"import": "./dist/dpuse-shared-componentModuleEngine.es.js",
|
|
87
|
-
"types": "./dist/types/src/component/module/engine/index.d.ts"
|
|
88
|
-
},
|
|
89
|
-
"./component/module/presenter": {
|
|
90
|
-
"import": "./dist/dpuse-shared-componentModulePresenter.es.js",
|
|
91
|
-
"types": "./dist/types/src/component/module/presenter/index.d.ts"
|
|
92
|
-
},
|
|
93
|
-
"./component/module/cookbook": {
|
|
94
|
-
"import": "./dist/dpuse-shared-componentModuleCookbook.es.js",
|
|
95
|
-
"types": "./dist/types/src/component/module/cookbook/index.d.ts"
|
|
96
|
-
},
|
|
97
|
-
"./component/module/tool": {
|
|
98
|
-
"import": "./dist/dpuse-shared-componentModuleTool.es.js",
|
|
99
|
-
"types": "./dist/types/src/component/module/tool/index.d.ts"
|
|
100
|
-
},
|
|
101
|
-
"./component/presentation": {
|
|
102
|
-
"import": "./dist/dpuse-shared-componentPresentation.es.js",
|
|
103
|
-
"types": "./dist/types/src/component/presentation/index.d.ts"
|
|
104
|
-
},
|
|
105
|
-
"./component/recipe": {
|
|
106
|
-
"import": "./dist/dpuse-shared-componentRecipe.es.js",
|
|
107
|
-
"types": "./dist/types/src/component/recipe/index.d.ts"
|
|
108
|
-
},
|
|
109
|
-
"./encoding": {
|
|
110
|
-
"import": "./dist/dpuse-shared-encoding.es.js",
|
|
111
|
-
"types": "./dist/types/src/encoding/index.d.ts"
|
|
112
|
-
},
|
|
113
|
-
"./errors": {
|
|
114
|
-
"import": "./dist/dpuse-shared-errors.es.js",
|
|
115
|
-
"types": "./dist/types/src/errors/index.d.ts"
|
|
116
|
-
},
|
|
117
|
-
"./locale": {
|
|
118
|
-
"import": "./dist/dpuse-shared-locale.es.js",
|
|
119
|
-
"types": "./dist/types/src/locale/index.d.ts"
|
|
120
|
-
},
|
|
121
|
-
"./utilities": {
|
|
122
|
-
"import": "./dist/dpuse-shared-utilities.es.js",
|
|
123
|
-
"types": "./dist/types/src/utilities/index.d.ts"
|
|
124
24
|
}
|
|
125
25
|
},
|
|
126
26
|
"files": [
|
|
@@ -149,33 +49,26 @@
|
|
|
149
49
|
},
|
|
150
50
|
"scripts": {
|
|
151
51
|
"audit": "node -e \"import('@dpuse/dpuse-development').then(m => m.auditDependencies())\"",
|
|
152
|
-
"build": "node -e \"import('@dpuse/dpuse-development').then(m => m.buildProject())\"
|
|
153
|
-
"check": "node -e \"import('@dpuse/dpuse-development').then(m => m.
|
|
154
|
-
"document": "
|
|
155
|
-
"documentBundleSizes": "node -e \"import('@dpuse/dpuse-development').then(m => m.documentBundleSizes())\"",
|
|
156
|
-
"documentDependencies": "node -e \"import('@dpuse/dpuse-development').then(m => m.documentDependencies('Apache-2.0;BSD-3-Clause;MIT'))\"",
|
|
157
|
-
"documentGovernance": "node -e \"import('@dpuse/dpuse-development').then(m => m.documentGovernance())\"",
|
|
158
|
-
"documentOpening": "node -e \"import('@dpuse/dpuse-development').then(m => m.documentOpening())\"",
|
|
159
|
-
"documentUsage": "node -e \"import('@dpuse/dpuse-development').then(m => m.documentUsage())\"",
|
|
52
|
+
"build": "node -e \"import('@dpuse/dpuse-development').then(m => m.buildProject())\"",
|
|
53
|
+
"check": "node -e \"import('@dpuse/dpuse-development').then(m => m.checkProject())\"",
|
|
54
|
+
"document": "node -e \"import('@dpuse/dpuse-development').then(m => m.documentProject('BSD-3-Clause;MIT'))\"",
|
|
160
55
|
"format": "node -e \"import('@dpuse/dpuse-development').then(m => m.formatCode())\"",
|
|
161
|
-
"health": "npm run test:coverage && fallow --coverage coverage/coverage-final.json",
|
|
162
56
|
"lint": "node -e \"import('@dpuse/dpuse-development').then(m => m.lintCode())\"",
|
|
163
|
-
"release": "npm run sync && gh release create \"v$(npm pkg get version | tr -d '\"')\" --target \"$(git rev-parse HEAD)\" --generate-notes --latest",
|
|
57
|
+
"release": "npm run build && npm run document && npm run sync && gh release create \"v$(npm pkg get version | tr -d '\"')\" --target \"$(git rev-parse HEAD)\" --generate-notes --latest",
|
|
164
58
|
"sync": "node -e \"import('@dpuse/dpuse-development').then(m => m.syncProjectWithGitHub())\"",
|
|
165
|
-
"test": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject())\""
|
|
166
|
-
"test:coverage": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject(['unit'], true))\""
|
|
59
|
+
"test": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject())\""
|
|
167
60
|
},
|
|
168
61
|
"dependencies": {
|
|
169
62
|
"file-type": "^22.1.1",
|
|
170
63
|
"valibot": "^1.5.0"
|
|
171
64
|
},
|
|
172
65
|
"devDependencies": {
|
|
173
|
-
"@dpuse/dpuse-development": "^0.3.
|
|
66
|
+
"@dpuse/dpuse-development": "^0.3.791",
|
|
174
67
|
"@dpuse/eslint-config-dpuse": "^1.0.123",
|
|
175
68
|
"@types/node": "^26.6.3",
|
|
176
69
|
"@vitest/coverage-v8": "^5.0.2",
|
|
177
70
|
"eslint": "^10.11.0",
|
|
178
|
-
"fallow": "^3.
|
|
71
|
+
"fallow": "^3.30.0",
|
|
179
72
|
"fast-check": "^4.10.2",
|
|
180
73
|
"prettier": "^3.9.9",
|
|
181
74
|
"sonda": "^0.14.0",
|
|
@@ -184,4 +77,4 @@
|
|
|
184
77
|
"vite-plugin-dts": "^5.1.1",
|
|
185
78
|
"vitest": "^5.0.2"
|
|
186
79
|
}
|
|
187
|
-
}
|
|
80
|
+
}
|