@visactor/vchart-schema 0.0.1-alpha.0 → 0.0.1-beta.1

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.
Files changed (2) hide show
  1. package/package.json +28 -3
  2. package/vchart.json +28 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "0.0.1-alpha.0",
3
+ "version": "0.0.1-beta.1",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
@@ -9,13 +9,38 @@
9
9
  ],
10
10
  "dependencies": {},
11
11
  "devDependencies": {
12
+ "@rushstack/eslint-patch": "~1.1.4",
12
13
  "ts-json-schema-generator": "^1.2.0",
13
14
  "ajv": "^8.12.0",
14
15
  "ajv-keywords": "^5.1.0",
15
- "semver": "7.3.4"
16
+ "semver": "7.3.4",
17
+ "@types/jest": "^26.0.0",
18
+ "jest": "^26.0.0",
19
+ "jest-electron": "^0.1.12",
20
+ "ts-jest": "^26.0.0",
21
+ "@types/semver": "7.3.12",
22
+ "@internal/eslint-config": "0.0.1",
23
+ "@internal/ts-config": "0.0.1"
16
24
  },
25
+ "homepage": "",
26
+ "bugs": "https://github.com/VisActor/VChart/issues",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "GitHub - VisActor/VChart: The chart library for web and multi-platform",
30
+ "directory": "packages/vchart-schema"
31
+ },
32
+ "author": {
33
+ "name": "VisActor",
34
+ "url": "https://www.visactor.io/"
35
+ },
36
+ "license": "MIT",
17
37
  "publishConfig": {
18
38
  "access": "public",
19
39
  "registry": "https://registry.npmjs.org/"
40
+ },
41
+ "scripts": {
42
+ "test": "jest",
43
+ "test-live": "npm run test-watch __tests__",
44
+ "test-watch": "DEBUG_MODE=1 jest --watch"
20
45
  }
21
- }
46
+ }
package/vchart.json CHANGED
@@ -37010,9 +37010,7 @@
37010
37010
  },
37011
37011
  "required": [
37012
37012
  "map",
37013
- "nameField",
37014
- "type",
37015
- "valueField"
37013
+ "type"
37016
37014
  ],
37017
37015
  "type": "object"
37018
37016
  },
@@ -37290,9 +37288,7 @@
37290
37288
  },
37291
37289
  "required": [
37292
37290
  "map",
37293
- "nameField",
37294
- "type",
37295
- "valueField"
37291
+ "type"
37296
37292
  ],
37297
37293
  "type": "object"
37298
37294
  },
@@ -49532,6 +49528,9 @@
49532
49528
  "toCanvas": {
49533
49529
  "typeof": "function"
49534
49530
  },
49531
+ "tryInitInteractiveLayer": {
49532
+ "typeof": "function"
49533
+ },
49535
49534
  "type": {
49536
49535
  "type": "string"
49537
49536
  },
@@ -49650,6 +49649,7 @@
49650
49649
  "startAnimate",
49651
49650
  "ticker",
49652
49651
  "toCanvas",
49652
+ "tryInitInteractiveLayer",
49653
49653
  "viewBox",
49654
49654
  "viewHeight",
49655
49655
  "viewWidth",
@@ -57098,7 +57098,7 @@
57098
57098
  },
57099
57099
  "Map<Function,(...args:any[])=>void>": {
57100
57100
  "properties": {
57101
- "__@toStringTag@10888": {
57101
+ "__@toStringTag@10979": {
57102
57102
  "type": "string"
57103
57103
  },
57104
57104
  "size": {
@@ -57106,14 +57106,14 @@
57106
57106
  }
57107
57107
  },
57108
57108
  "required": [
57109
- "__@toStringTag@10888",
57109
+ "__@toStringTag@10979",
57110
57110
  "size"
57111
57111
  ],
57112
57112
  "type": "object"
57113
57113
  },
57114
57114
  "Map<number,IGraphicPicker>": {
57115
57115
  "properties": {
57116
- "__@toStringTag@10888": {
57116
+ "__@toStringTag@10979": {
57117
57117
  "type": "string"
57118
57118
  },
57119
57119
  "size": {
@@ -57121,14 +57121,14 @@
57121
57121
  }
57122
57122
  },
57123
57123
  "required": [
57124
- "__@toStringTag@10888",
57124
+ "__@toStringTag@10979",
57125
57125
  "size"
57126
57126
  ],
57127
57127
  "type": "object"
57128
57128
  },
57129
57129
  "Map<number,IGraphicRender>": {
57130
57130
  "properties": {
57131
- "__@toStringTag@10888": {
57131
+ "__@toStringTag@10979": {
57132
57132
  "type": "string"
57133
57133
  },
57134
57134
  "size": {
@@ -57136,14 +57136,14 @@
57136
57136
  }
57137
57137
  },
57138
57138
  "required": [
57139
- "__@toStringTag@10888",
57139
+ "__@toStringTag@10979",
57140
57140
  "size"
57141
57141
  ],
57142
57142
  "type": "object"
57143
57143
  },
57144
57144
  "Map<number,{layer:ILayer;group?:IGroup;zIndex:number;drawContribution?:IDrawContribution;}>": {
57145
57145
  "properties": {
57146
- "__@toStringTag@10888": {
57146
+ "__@toStringTag@10979": {
57147
57147
  "type": "string"
57148
57148
  },
57149
57149
  "size": {
@@ -57151,14 +57151,14 @@
57151
57151
  }
57152
57152
  },
57153
57153
  "required": [
57154
- "__@toStringTag@10888",
57154
+ "__@toStringTag@10979",
57155
57155
  "size"
57156
57156
  ],
57157
57157
  "type": "object"
57158
57158
  },
57159
57159
  "Map<string,Map<number,IGraphicRender>>": {
57160
57160
  "properties": {
57161
- "__@toStringTag@10888": {
57161
+ "__@toStringTag@10979": {
57162
57162
  "type": "string"
57163
57163
  },
57164
57164
  "size": {
@@ -57166,14 +57166,14 @@
57166
57166
  }
57167
57167
  },
57168
57168
  "required": [
57169
- "__@toStringTag@10888",
57169
+ "__@toStringTag@10979",
57170
57170
  "size"
57171
57171
  ],
57172
57172
  "type": "object"
57173
57173
  },
57174
57174
  "Map<string,any>": {
57175
57175
  "properties": {
57176
- "__@toStringTag@10888": {
57176
+ "__@toStringTag@10979": {
57177
57177
  "type": "string"
57178
57178
  },
57179
57179
  "size": {
@@ -57181,14 +57181,14 @@
57181
57181
  }
57182
57182
  },
57183
57183
  "required": [
57184
- "__@toStringTag@10888",
57184
+ "__@toStringTag@10979",
57185
57185
  "size"
57186
57186
  ],
57187
57187
  "type": "object"
57188
57188
  },
57189
57189
  "Map<string|HTMLCanvasElement|HTMLImageElement,{state:\"loading\"|\"fail\"|\"success\"|\"init\";data?:HTMLCanvasElement|HTMLImageElement;}>": {
57190
57190
  "properties": {
57191
- "__@toStringTag@10888": {
57191
+ "__@toStringTag@10979": {
57192
57192
  "type": "string"
57193
57193
  },
57194
57194
  "size": {
@@ -57196,14 +57196,14 @@
57196
57196
  }
57197
57197
  },
57198
57198
  "required": [
57199
- "__@toStringTag@10888",
57199
+ "__@toStringTag@10979",
57200
57200
  "size"
57201
57201
  ],
57202
57202
  "type": "object"
57203
57203
  },
57204
57204
  "Map<string|number,IAnimate>": {
57205
57205
  "properties": {
57206
- "__@toStringTag@10888": {
57206
+ "__@toStringTag@10979": {
57207
57207
  "type": "string"
57208
57208
  },
57209
57209
  "size": {
@@ -57211,7 +57211,7 @@
57211
57211
  }
57212
57212
  },
57213
57213
  "required": [
57214
- "__@toStringTag@10888",
57214
+ "__@toStringTag@10979",
57215
57215
  "size"
57216
57216
  ],
57217
57217
  "type": "object"
@@ -68588,34 +68588,34 @@
68588
68588
  },
68589
68589
  "Promise<FontFaceSet>": {
68590
68590
  "properties": {
68591
- "__@toStringTag@10888": {
68591
+ "__@toStringTag@10979": {
68592
68592
  "type": "string"
68593
68593
  }
68594
68594
  },
68595
68595
  "required": [
68596
- "__@toStringTag@10888"
68596
+ "__@toStringTag@10979"
68597
68597
  ],
68598
68598
  "type": "object"
68599
68599
  },
68600
68600
  "Promise<ServiceWorkerRegistration>": {
68601
68601
  "properties": {
68602
- "__@toStringTag@10888": {
68602
+ "__@toStringTag@10979": {
68603
68603
  "type": "string"
68604
68604
  }
68605
68605
  },
68606
68606
  "required": [
68607
- "__@toStringTag@10888"
68607
+ "__@toStringTag@10979"
68608
68608
  ],
68609
68609
  "type": "object"
68610
68610
  },
68611
68611
  "Promise<any>": {
68612
68612
  "properties": {
68613
- "__@toStringTag@10888": {
68613
+ "__@toStringTag@10979": {
68614
68614
  "type": "string"
68615
68615
  }
68616
68616
  },
68617
68617
  "required": [
68618
- "__@toStringTag@10888"
68618
+ "__@toStringTag@10979"
68619
68619
  ],
68620
68620
  "type": "object"
68621
68621
  },