@datapos/datapos-shared 0.3.158 → 0.3.159

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,4 +1,4 @@
1
- import { PreviewColumn } from '../../Z_PreviewColumn';
1
+ import { PreviewColumn } from './OLD_PreviewColumn';
2
2
  export type ParsedValue = {
3
3
  isValid: boolean;
4
4
  value: bigint | boolean | number | string | null;
@@ -15,7 +15,6 @@ export interface ComponentConfig {
15
15
  statusId: ComponentStatusId;
16
16
  typeId: ComponentTypeId;
17
17
  }
18
- export type ComponentTypeId = 'connector' | 'connectorConnection' | 'context' | 'contextModelGroup' | 'contextModel' | 'contextModelDimensionGroup' | 'contextModelDimension' | 'contextModelDimensionHierarchy' | 'contextModelEntityGroup' | 'contextModelEntity' | 'contextModelEntityDataItem' | 'contextModelEntityEvent' | 'contextModelEntityPrimaryMeasure' | 'contextModelSecondaryMeasureGroup' | 'contextModelSecondaryMeasure' | 'dataView' | 'dimension' | 'eventQuery' | 'presenter' | 'presenterPresentation' | 'informer' | 'informerDocument';
19
18
  export type ComponentRef = {
20
19
  id: string;
21
20
  label: Partial<LocalisedString>;
@@ -30,3 +29,4 @@ export type ComponentStatus = {
30
29
  };
31
30
  export type ComponentStatusId = 'alpha' | 'beta' | 'generalAvailability' | 'notApplicable' | 'preAlpha' | 'proposed' | 'releaseCandidate' | 'unavailable' | 'underReview';
32
31
  export declare const getComponentStatus: (id: string, localeId?: LocaleCode) => ComponentStatus;
32
+ export type ComponentTypeId = 'connector' | 'connectorConnection' | 'context' | 'contextModelGroup' | 'contextModel' | 'contextModelDimensionGroup' | 'contextModelDimension' | 'contextModelDimensionHierarchy' | 'contextModelEntityGroup' | 'contextModelEntity' | 'contextModelEntityDataItem' | 'contextModelEntityEvent' | 'contextModelEntityPrimaryMeasure' | 'contextModelSecondaryMeasureGroup' | 'contextModelSecondaryMeasure' | 'dataView' | 'dimension' | 'eventQuery' | 'presenter' | 'presenterPresentation' | 'informer' | 'informerDocument';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.158",
3
+ "version": "0.3.159",
4
4
  "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -24,29 +24,31 @@
24
24
  "files": [
25
25
  "dist"
26
26
  ],
27
+ "peerDependencies": {
28
+ "csv-parse": "^6.1.0",
29
+ "date-fns": "^4.1.0",
30
+ "highcharts": "^12.4.0",
31
+ "markdown-it": "^14.1.0",
32
+ "zod": "^4.1.12"
33
+ },
27
34
  "devDependencies": {
28
35
  "@datapos/datapos-development": "^0.3.64",
29
36
  "@types/markdown-it": "^14.1.2",
30
37
  "@types/node": "^24.10.0",
31
38
  "@typescript-eslint/eslint-plugin": "^8.46.3",
32
39
  "@typescript-eslint/parser": "^8.46.3",
33
- "csv-parse": "^6.1.0",
34
- "date-fns": "^4.1.0",
35
40
  "eslint": "^9.39.1",
36
41
  "eslint-plugin-import": "^2.32.0",
37
- "highcharts": "^12.4.0",
38
42
  "jiti": "^2.6.1",
39
43
  "license-report": "^6.8.1",
40
44
  "license-report-check": "^0.1.2",
41
- "markdown-it": "^14.1.0",
42
45
  "nanoid": "^5.1.6",
43
46
  "npm-check-updates": "^19.1.2",
44
47
  "prettier": "^3.6.2",
45
48
  "retire": "^5.3.0",
46
49
  "typescript": "^5.9.3",
47
50
  "vite": "^7.2.2",
48
- "vite-plugin-dts": "^4.5.4",
49
- "zod": "^4.1.12"
51
+ "vite-plugin-dts": "^4.5.4"
50
52
  },
51
53
  "scripts": {
52
54
  "audit": "npm audit",
@@ -59,7 +61,7 @@
59
61
  "publish:toNPM": "npm publish --access public",
60
62
  "release": "npm run sync:withGitHub && npm run build && npm run publish:toNPM",
61
63
  "sync:withGitHub": "npm run bump:version && node -e \"import('@datapos/datapos-development').then(m => m.syncWithGitHub())\"",
62
- "test": "echo \"***** TEST SCRIPT NOT IMPLEMENTED. *****\"",
64
+ "test": "node -e \"import('@datapos/datapos-development').then(m => m.echoScriptNotImplemented('Test'))\"",
63
65
  "update:dataPosDeps": "npm run _update:developDeps",
64
66
  "_document:licenceReport": "license-report --only=prod,peer > LICENSES.json",
65
67
  "_document:licenceCheck": "license-report-check --source ./LICENSES.json --allowed 'MIT' --allowed 'n/a' --allowed 'Apache-2.0' --output=table",