@digo-org/digo-api 1.0.39 → 1.0.40

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
@@ -60,9 +60,6 @@ export class MyVisualization extends DigoAsset {
60
60
  ### Constants
61
61
  - [`API_MESSAGES`](src/constants.ts) - Message types for asset communication
62
62
 
63
- ### Examples
64
- - [`DATA_ASSET_DEFINITION_EXAMPLES`](src/examples/data-examples.ts) - Sample data structures
65
-
66
63
  > **Note**: Types in [`types-misc.ts`](src/types-misc.ts) and [`types-llm.ts`](src/types-llm.ts) are internal implementation details and not intended for public use.
67
64
 
68
65
  ## Development
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@digo-org/digo-api",
3
3
  "private": false,
4
- "version": "1.0.39",
4
+ "version": "1.0.40",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
7
7
  "types": "src/index.ts",
package/src/index.ts CHANGED
@@ -13,5 +13,3 @@ export * from '@digo-org/digo-api/src/types-viz-files';
13
13
  export * from '@digo-org/digo-api/src/constants';
14
14
 
15
15
  export * from '@digo-org/digo-api/src/digo-asset';
16
-
17
- export * from '@digo-org/digo-api/src/examples/data-examples';
@@ -1,74 +0,0 @@
1
- import { DataAssetDefinition, ParameterType } from '@digo-org/digo-api';
2
-
3
- export const DATA_ASSET_DEFINITION_EXAMPLES: DataAssetDefinition[] = [
4
- {
5
- rows: [
6
- {
7
- 'id': 'row-1',
8
- 'name': 'Iphone',
9
- 'hidden': false,
10
- 'color-1': '#41c968',
11
- 'number-1': 10,
12
- 'number-2': 2000,
13
- },
14
- {
15
- 'id': 'row-2',
16
- 'name': 'Mac',
17
- 'hidden': false,
18
- 'color-1': '#536fa6',
19
- 'number-1': 20,
20
- 'number-2': 2010,
21
- },
22
- {
23
- 'id': 'row-3',
24
- 'name': 'Watch',
25
- 'hidden': false,
26
- 'color-1': '#a6ba62',
27
- 'number-1': 40,
28
- 'number-2': 2020,
29
- },
30
- {
31
- 'id': 'row-4',
32
- 'name': 'Vision Pro',
33
- 'hidden': false,
34
- 'color-1': '#e75a5a',
35
- 'number-1': 30,
36
- 'number-2': 2025,
37
- },
38
- ],
39
- columns: [
40
- {
41
- id: 'number-1',
42
- name: 'Market Share (%)',
43
- type: ParameterType.NUMBER,
44
- isArray: false,
45
- definition: {
46
- max: 100,
47
- min: 0,
48
- defaultValue: 0,
49
- },
50
- },
51
- {
52
- id: 'color-1',
53
- name: 'Color',
54
- type: ParameterType.COLOR,
55
- isArray: false,
56
- definition: {
57
- defaultValue: '#FFFFFF',
58
- },
59
- },
60
- {
61
- id: 'number-2',
62
- name: 'Year',
63
- type: ParameterType.NUMBER,
64
- isArray: false,
65
- definition: {
66
- max: 2025,
67
- min: 2000,
68
- defaultValue: 0,
69
- },
70
- },
71
- ],
72
- timeArray: [],
73
- },
74
- ];