@flighthq/sdk 0.1.0
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/dist/index.d.ts +97 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +97 -0
- package/dist/index.js.map +1 -0
- package/package.json +132 -0
- package/src/index.test.ts +115 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export * from '@flighthq/animation';
|
|
2
|
+
export * from '@flighthq/app';
|
|
3
|
+
export * from '@flighthq/application';
|
|
4
|
+
export * from '@flighthq/audio';
|
|
5
|
+
export * from '@flighthq/camera';
|
|
6
|
+
export * from '@flighthq/clip';
|
|
7
|
+
export * from '@flighthq/clipboard';
|
|
8
|
+
export * from '@flighthq/device';
|
|
9
|
+
export * from '@flighthq/dialog';
|
|
10
|
+
export * from '@flighthq/displayobject';
|
|
11
|
+
export * from '@flighthq/displayobject-canvas';
|
|
12
|
+
export * from '@flighthq/displayobject-dom';
|
|
13
|
+
export * from '@flighthq/displayobject-gl';
|
|
14
|
+
export * from '@flighthq/displayobject-wgpu';
|
|
15
|
+
export * from '@flighthq/easing';
|
|
16
|
+
export * from '@flighthq/effects';
|
|
17
|
+
export * from '@flighthq/effects-canvas';
|
|
18
|
+
export * from '@flighthq/effects-gl';
|
|
19
|
+
export * from '@flighthq/effects-wgpu';
|
|
20
|
+
export * from '@flighthq/entity';
|
|
21
|
+
export * from '@flighthq/filesystem';
|
|
22
|
+
export * from '@flighthq/filters';
|
|
23
|
+
export * from '@flighthq/filters-canvas';
|
|
24
|
+
export * from '@flighthq/filters-css';
|
|
25
|
+
export * from '@flighthq/filters-gl';
|
|
26
|
+
export * from '@flighthq/filters-math';
|
|
27
|
+
export * from '@flighthq/filters-surface';
|
|
28
|
+
export * from '@flighthq/filters-wgpu';
|
|
29
|
+
export * from '@flighthq/font';
|
|
30
|
+
export * from '@flighthq/geolocation';
|
|
31
|
+
export * from '@flighthq/geometry';
|
|
32
|
+
export * from '@flighthq/haptics';
|
|
33
|
+
export * from '@flighthq/image';
|
|
34
|
+
export * from '@flighthq/input';
|
|
35
|
+
export * from '@flighthq/interaction';
|
|
36
|
+
export * from '@flighthq/ipc';
|
|
37
|
+
export * from '@flighthq/keyboard';
|
|
38
|
+
export * from '@flighthq/lifecycle';
|
|
39
|
+
export * from '@flighthq/lighting';
|
|
40
|
+
export * from '@flighthq/loader';
|
|
41
|
+
export * from '@flighthq/log';
|
|
42
|
+
export * from '@flighthq/materials';
|
|
43
|
+
export * from '@flighthq/math';
|
|
44
|
+
export * from '@flighthq/media';
|
|
45
|
+
export * from '@flighthq/menu';
|
|
46
|
+
export * from '@flighthq/mesh';
|
|
47
|
+
export * from '@flighthq/network';
|
|
48
|
+
export * from '@flighthq/node';
|
|
49
|
+
export * from '@flighthq/notification';
|
|
50
|
+
export * from '@flighthq/particles';
|
|
51
|
+
export * from '@flighthq/particles-formats';
|
|
52
|
+
export * from '@flighthq/path';
|
|
53
|
+
export * from '@flighthq/picking';
|
|
54
|
+
export * from '@flighthq/platform';
|
|
55
|
+
export * from '@flighthq/power';
|
|
56
|
+
export * from '@flighthq/protocol';
|
|
57
|
+
export * from '@flighthq/render';
|
|
58
|
+
export * from '@flighthq/render-gl';
|
|
59
|
+
export * from '@flighthq/render-wgpu';
|
|
60
|
+
export * from '@flighthq/scene';
|
|
61
|
+
export * from '@flighthq/scene-formats';
|
|
62
|
+
export * from '@flighthq/scene-gl';
|
|
63
|
+
export * from '@flighthq/scene-wgpu';
|
|
64
|
+
export * from '@flighthq/screen';
|
|
65
|
+
export * from '@flighthq/sensors';
|
|
66
|
+
export * from '@flighthq/shape';
|
|
67
|
+
export * from '@flighthq/share';
|
|
68
|
+
export * from '@flighthq/shell';
|
|
69
|
+
export * from '@flighthq/shortcut';
|
|
70
|
+
export * from '@flighthq/signals';
|
|
71
|
+
export * from '@flighthq/skeleton';
|
|
72
|
+
export * from '@flighthq/sprite';
|
|
73
|
+
export * from '@flighthq/spritesheet';
|
|
74
|
+
export * from '@flighthq/spritesheet-formats';
|
|
75
|
+
export * from '@flighthq/statusbar';
|
|
76
|
+
export * from '@flighthq/storage';
|
|
77
|
+
export * from '@flighthq/surface';
|
|
78
|
+
export * from '@flighthq/text';
|
|
79
|
+
export * from '@flighthq/textinput';
|
|
80
|
+
export * from '@flighthq/textlayout';
|
|
81
|
+
export * from '@flighthq/textshaper';
|
|
82
|
+
export * from '@flighthq/textshaper-canvas';
|
|
83
|
+
export * from '@flighthq/texture';
|
|
84
|
+
export * from '@flighthq/textureatlas';
|
|
85
|
+
export * from '@flighthq/textureatlas-formats';
|
|
86
|
+
export * from '@flighthq/tileset';
|
|
87
|
+
export * from '@flighthq/timeline';
|
|
88
|
+
export * from '@flighthq/tray';
|
|
89
|
+
export * from '@flighthq/tween';
|
|
90
|
+
export * from '@flighthq/types';
|
|
91
|
+
export * from '@flighthq/updater';
|
|
92
|
+
export * from '@flighthq/useragent';
|
|
93
|
+
export * from '@flighthq/velocity';
|
|
94
|
+
export * from '@flighthq/video';
|
|
95
|
+
export * from '@flighthq/webcam';
|
|
96
|
+
export * from '@flighthq/xml';
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,c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AAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export * from '@flighthq/animation';
|
|
2
|
+
export * from '@flighthq/app';
|
|
3
|
+
export * from '@flighthq/application';
|
|
4
|
+
export * from '@flighthq/audio';
|
|
5
|
+
export * from '@flighthq/camera';
|
|
6
|
+
export * from '@flighthq/clip';
|
|
7
|
+
export * from '@flighthq/clipboard';
|
|
8
|
+
export * from '@flighthq/device';
|
|
9
|
+
export * from '@flighthq/dialog';
|
|
10
|
+
export * from '@flighthq/displayobject';
|
|
11
|
+
export * from '@flighthq/displayobject-canvas';
|
|
12
|
+
export * from '@flighthq/displayobject-dom';
|
|
13
|
+
export * from '@flighthq/displayobject-gl';
|
|
14
|
+
export * from '@flighthq/displayobject-wgpu';
|
|
15
|
+
export * from '@flighthq/easing';
|
|
16
|
+
export * from '@flighthq/effects';
|
|
17
|
+
export * from '@flighthq/effects-canvas';
|
|
18
|
+
export * from '@flighthq/effects-gl';
|
|
19
|
+
export * from '@flighthq/effects-wgpu';
|
|
20
|
+
export * from '@flighthq/entity';
|
|
21
|
+
export * from '@flighthq/filesystem';
|
|
22
|
+
export * from '@flighthq/filters';
|
|
23
|
+
export * from '@flighthq/filters-canvas';
|
|
24
|
+
export * from '@flighthq/filters-css';
|
|
25
|
+
export * from '@flighthq/filters-gl';
|
|
26
|
+
export * from '@flighthq/filters-math';
|
|
27
|
+
export * from '@flighthq/filters-surface';
|
|
28
|
+
export * from '@flighthq/filters-wgpu';
|
|
29
|
+
export * from '@flighthq/font';
|
|
30
|
+
export * from '@flighthq/geolocation';
|
|
31
|
+
export * from '@flighthq/geometry';
|
|
32
|
+
export * from '@flighthq/haptics';
|
|
33
|
+
export * from '@flighthq/image';
|
|
34
|
+
export * from '@flighthq/input';
|
|
35
|
+
export * from '@flighthq/interaction';
|
|
36
|
+
export * from '@flighthq/ipc';
|
|
37
|
+
export * from '@flighthq/keyboard';
|
|
38
|
+
export * from '@flighthq/lifecycle';
|
|
39
|
+
export * from '@flighthq/lighting';
|
|
40
|
+
export * from '@flighthq/loader';
|
|
41
|
+
export * from '@flighthq/log';
|
|
42
|
+
export * from '@flighthq/materials';
|
|
43
|
+
export * from '@flighthq/math';
|
|
44
|
+
export * from '@flighthq/media';
|
|
45
|
+
export * from '@flighthq/menu';
|
|
46
|
+
export * from '@flighthq/mesh';
|
|
47
|
+
export * from '@flighthq/network';
|
|
48
|
+
export * from '@flighthq/node';
|
|
49
|
+
export * from '@flighthq/notification';
|
|
50
|
+
export * from '@flighthq/particles';
|
|
51
|
+
export * from '@flighthq/particles-formats';
|
|
52
|
+
export * from '@flighthq/path';
|
|
53
|
+
export * from '@flighthq/picking';
|
|
54
|
+
export * from '@flighthq/platform';
|
|
55
|
+
export * from '@flighthq/power';
|
|
56
|
+
export * from '@flighthq/protocol';
|
|
57
|
+
export * from '@flighthq/render';
|
|
58
|
+
export * from '@flighthq/render-gl';
|
|
59
|
+
export * from '@flighthq/render-wgpu';
|
|
60
|
+
export * from '@flighthq/scene';
|
|
61
|
+
export * from '@flighthq/scene-formats';
|
|
62
|
+
export * from '@flighthq/scene-gl';
|
|
63
|
+
export * from '@flighthq/scene-wgpu';
|
|
64
|
+
export * from '@flighthq/screen';
|
|
65
|
+
export * from '@flighthq/sensors';
|
|
66
|
+
export * from '@flighthq/shape';
|
|
67
|
+
export * from '@flighthq/share';
|
|
68
|
+
export * from '@flighthq/shell';
|
|
69
|
+
export * from '@flighthq/shortcut';
|
|
70
|
+
export * from '@flighthq/signals';
|
|
71
|
+
export * from '@flighthq/skeleton';
|
|
72
|
+
export * from '@flighthq/sprite';
|
|
73
|
+
export * from '@flighthq/spritesheet';
|
|
74
|
+
export * from '@flighthq/spritesheet-formats';
|
|
75
|
+
export * from '@flighthq/statusbar';
|
|
76
|
+
export * from '@flighthq/storage';
|
|
77
|
+
export * from '@flighthq/surface';
|
|
78
|
+
export * from '@flighthq/text';
|
|
79
|
+
export * from '@flighthq/textinput';
|
|
80
|
+
export * from '@flighthq/textlayout';
|
|
81
|
+
export * from '@flighthq/textshaper';
|
|
82
|
+
export * from '@flighthq/textshaper-canvas';
|
|
83
|
+
export * from '@flighthq/texture';
|
|
84
|
+
export * from '@flighthq/textureatlas';
|
|
85
|
+
export * from '@flighthq/textureatlas-formats';
|
|
86
|
+
export * from '@flighthq/tileset';
|
|
87
|
+
export * from '@flighthq/timeline';
|
|
88
|
+
export * from '@flighthq/tray';
|
|
89
|
+
export * from '@flighthq/tween';
|
|
90
|
+
export * from '@flighthq/types';
|
|
91
|
+
export * from '@flighthq/updater';
|
|
92
|
+
export * from '@flighthq/useragent';
|
|
93
|
+
export * from '@flighthq/velocity';
|
|
94
|
+
export * from '@flighthq/video';
|
|
95
|
+
export * from '@flighthq/webcam';
|
|
96
|
+
export * from '@flighthq/xml';
|
|
97
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB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AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@flighthq/sdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"src/**/*.test.ts",
|
|
16
|
+
"!dist/**/*.test.js",
|
|
17
|
+
"!dist/**/*.test.d.ts",
|
|
18
|
+
"!dist/**/*.test.js.map",
|
|
19
|
+
"!dist/**/*.test.d.ts.map"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsc -b",
|
|
23
|
+
"clean": "tsc -b --clean",
|
|
24
|
+
"test": "vitest run --config vitest.config.ts",
|
|
25
|
+
"test:watch": "vitest --watch --config vitest.config.ts",
|
|
26
|
+
"prepack": "npm run clean && npm run clean:dist && npm run build",
|
|
27
|
+
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@flighthq/animation": "0.1.0",
|
|
31
|
+
"@flighthq/app": "0.1.0",
|
|
32
|
+
"@flighthq/application": "0.1.0",
|
|
33
|
+
"@flighthq/camera": "0.1.0",
|
|
34
|
+
"@flighthq/clip": "0.1.0",
|
|
35
|
+
"@flighthq/clipboard": "0.1.0",
|
|
36
|
+
"@flighthq/device": "0.1.0",
|
|
37
|
+
"@flighthq/dialog": "0.1.0",
|
|
38
|
+
"@flighthq/displayobject": "0.1.0",
|
|
39
|
+
"@flighthq/displayobject-canvas": "0.1.0",
|
|
40
|
+
"@flighthq/displayobject-dom": "0.1.0",
|
|
41
|
+
"@flighthq/displayobject-gl": "0.1.0",
|
|
42
|
+
"@flighthq/displayobject-wgpu": "0.1.0",
|
|
43
|
+
"@flighthq/easing": "0.1.0",
|
|
44
|
+
"@flighthq/effects": "0.1.0",
|
|
45
|
+
"@flighthq/effects-canvas": "0.1.0",
|
|
46
|
+
"@flighthq/effects-gl": "0.1.0",
|
|
47
|
+
"@flighthq/effects-wgpu": "0.1.0",
|
|
48
|
+
"@flighthq/entity": "0.1.0",
|
|
49
|
+
"@flighthq/filesystem": "0.1.0",
|
|
50
|
+
"@flighthq/filters": "0.1.0",
|
|
51
|
+
"@flighthq/filters-canvas": "0.1.0",
|
|
52
|
+
"@flighthq/filters-css": "0.1.0",
|
|
53
|
+
"@flighthq/filters-gl": "0.1.0",
|
|
54
|
+
"@flighthq/filters-math": "0.1.0",
|
|
55
|
+
"@flighthq/filters-surface": "0.1.0",
|
|
56
|
+
"@flighthq/filters-wgpu": "0.1.0",
|
|
57
|
+
"@flighthq/geolocation": "0.1.0",
|
|
58
|
+
"@flighthq/geometry": "0.1.0",
|
|
59
|
+
"@flighthq/haptics": "0.1.0",
|
|
60
|
+
"@flighthq/input": "0.1.0",
|
|
61
|
+
"@flighthq/interaction": "0.1.0",
|
|
62
|
+
"@flighthq/ipc": "0.1.0",
|
|
63
|
+
"@flighthq/keyboard": "0.1.0",
|
|
64
|
+
"@flighthq/lifecycle": "0.1.0",
|
|
65
|
+
"@flighthq/lighting": "0.1.0",
|
|
66
|
+
"@flighthq/loader": "0.1.0",
|
|
67
|
+
"@flighthq/log": "0.1.0",
|
|
68
|
+
"@flighthq/materials": "0.1.0",
|
|
69
|
+
"@flighthq/math": "0.1.0",
|
|
70
|
+
"@flighthq/media": "0.1.0",
|
|
71
|
+
"@flighthq/menu": "0.1.0",
|
|
72
|
+
"@flighthq/mesh": "0.1.0",
|
|
73
|
+
"@flighthq/network": "0.1.0",
|
|
74
|
+
"@flighthq/node": "0.1.0",
|
|
75
|
+
"@flighthq/notification": "0.1.0",
|
|
76
|
+
"@flighthq/particles": "0.1.0",
|
|
77
|
+
"@flighthq/particles-formats": "0.1.0",
|
|
78
|
+
"@flighthq/picking": "0.1.0",
|
|
79
|
+
"@flighthq/path": "0.1.0",
|
|
80
|
+
"@flighthq/platform": "0.1.0",
|
|
81
|
+
"@flighthq/power": "0.1.0",
|
|
82
|
+
"@flighthq/protocol": "0.1.0",
|
|
83
|
+
"@flighthq/render": "0.1.0",
|
|
84
|
+
"@flighthq/render-gl": "0.1.0",
|
|
85
|
+
"@flighthq/render-wgpu": "0.1.0",
|
|
86
|
+
"@flighthq/textureatlas-formats": "0.1.0",
|
|
87
|
+
"@flighthq/audio": "0.1.0",
|
|
88
|
+
"@flighthq/font": "0.1.0",
|
|
89
|
+
"@flighthq/image": "0.1.0",
|
|
90
|
+
"@flighthq/video": "0.1.0",
|
|
91
|
+
"@flighthq/scene": "0.1.0",
|
|
92
|
+
"@flighthq/scene-formats": "0.1.0",
|
|
93
|
+
"@flighthq/scene-gl": "0.1.0",
|
|
94
|
+
"@flighthq/scene-wgpu": "0.1.0",
|
|
95
|
+
"@flighthq/screen": "0.1.0",
|
|
96
|
+
"@flighthq/sensors": "0.1.0",
|
|
97
|
+
"@flighthq/shape": "0.1.0",
|
|
98
|
+
"@flighthq/share": "0.1.0",
|
|
99
|
+
"@flighthq/shell": "0.1.0",
|
|
100
|
+
"@flighthq/shortcut": "0.1.0",
|
|
101
|
+
"@flighthq/signals": "0.1.0",
|
|
102
|
+
"@flighthq/skeleton": "0.1.0",
|
|
103
|
+
"@flighthq/sprite": "0.1.0",
|
|
104
|
+
"@flighthq/spritesheet": "0.1.0",
|
|
105
|
+
"@flighthq/spritesheet-formats": "0.1.0",
|
|
106
|
+
"@flighthq/statusbar": "0.1.0",
|
|
107
|
+
"@flighthq/storage": "0.1.0",
|
|
108
|
+
"@flighthq/surface": "0.1.0",
|
|
109
|
+
"@flighthq/text": "0.1.0",
|
|
110
|
+
"@flighthq/textinput": "0.1.0",
|
|
111
|
+
"@flighthq/textlayout": "0.1.0",
|
|
112
|
+
"@flighthq/textshaper": "0.1.0",
|
|
113
|
+
"@flighthq/textshaper-canvas": "0.1.0",
|
|
114
|
+
"@flighthq/texture": "0.1.0",
|
|
115
|
+
"@flighthq/textureatlas": "0.1.0",
|
|
116
|
+
"@flighthq/tileset": "0.1.0",
|
|
117
|
+
"@flighthq/timeline": "0.1.0",
|
|
118
|
+
"@flighthq/tray": "0.1.0",
|
|
119
|
+
"@flighthq/tween": "0.1.0",
|
|
120
|
+
"@flighthq/types": "0.1.0",
|
|
121
|
+
"@flighthq/updater": "0.1.0",
|
|
122
|
+
"@flighthq/useragent": "0.1.0",
|
|
123
|
+
"@flighthq/velocity": "0.1.0",
|
|
124
|
+
"@flighthq/webcam": "0.1.0",
|
|
125
|
+
"@flighthq/xml": "0.1.0"
|
|
126
|
+
},
|
|
127
|
+
"devDependencies": {
|
|
128
|
+
"typescript": "^5.3.0"
|
|
129
|
+
},
|
|
130
|
+
"description": "Single entry point re-exporting all packages",
|
|
131
|
+
"sideEffects": false
|
|
132
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as sdk from './index';
|
|
2
|
+
|
|
3
|
+
describe('package exports', () => {
|
|
4
|
+
describe('application domain', () => {
|
|
5
|
+
it('exports createApplication', () => {
|
|
6
|
+
expect(sdk.createApplication).toBeTypeOf('function');
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
it('exports createApplicationWindow', () => {
|
|
10
|
+
expect(sdk.createApplicationWindow).toBeTypeOf('function');
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
describe('display object domain', () => {
|
|
15
|
+
it('exports BitmapKind with expected value', () => {
|
|
16
|
+
expect(sdk.BitmapKind).toBe('Bitmap');
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('exports createBitmap', () => {
|
|
20
|
+
expect(sdk.createBitmap).toBeTypeOf('function');
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
it('exports createDisplayObject', () => {
|
|
24
|
+
expect(sdk.createDisplayObject).toBeTypeOf('function');
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
it('exports DisplayObjectKind with expected value', () => {
|
|
28
|
+
expect(sdk.DisplayObjectKind).toBe('DisplayObject');
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
describe('effects domain', () => {
|
|
33
|
+
it('exports createBloomEffect', () => {
|
|
34
|
+
expect(sdk.createBloomEffect).toBeTypeOf('function');
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
describe('filters domain', () => {
|
|
39
|
+
it('exports createBlurFilter', () => {
|
|
40
|
+
expect(sdk.createBlurFilter).toBeTypeOf('function');
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
describe('geometry domain', () => {
|
|
45
|
+
it('exports createMatrix', () => {
|
|
46
|
+
expect(sdk.createMatrix).toBeTypeOf('function');
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it('exports createRectangle', () => {
|
|
50
|
+
expect(sdk.createRectangle).toBeTypeOf('function');
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
describe('loader domain', () => {
|
|
55
|
+
it('exports createResourceLoader', () => {
|
|
56
|
+
expect(sdk.createResourceLoader).toBeTypeOf('function');
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
describe('particles domain', () => {
|
|
61
|
+
it('exports createParticleEmitterConfig', () => {
|
|
62
|
+
expect(sdk.createParticleEmitterConfig).toBeTypeOf('function');
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
it('exports ParticleEmitterKind with expected value', () => {
|
|
66
|
+
expect(sdk.ParticleEmitterKind).toBe('ParticleEmitter');
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
describe('platform domain', () => {
|
|
71
|
+
it('exports getPlatformName', () => {
|
|
72
|
+
expect(sdk.getPlatformName).toBeTypeOf('function');
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
describe('render domain', () => {
|
|
77
|
+
it('exports createRenderState', () => {
|
|
78
|
+
expect(sdk.createRenderState).toBeTypeOf('function');
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
it('exports registerRenderer', () => {
|
|
82
|
+
expect(sdk.registerRenderer).toBeTypeOf('function');
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
describe('sprite domain', () => {
|
|
87
|
+
it('exports createSprite', () => {
|
|
88
|
+
expect(sdk.createSprite).toBeTypeOf('function');
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
it('exports SpriteKind with expected value', () => {
|
|
92
|
+
expect(sdk.SpriteKind).toBe('Sprite');
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
describe('text domain', () => {
|
|
97
|
+
it('exports createTextLabel', () => {
|
|
98
|
+
expect(sdk.createTextLabel).toBeTypeOf('function');
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
it('exports TextLabelKind with expected value', () => {
|
|
102
|
+
expect(sdk.TextLabelKind).toBe('TextLabel');
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
describe('timeline/tween domain', () => {
|
|
107
|
+
it('exports createTween', () => {
|
|
108
|
+
expect(sdk.createTween).toBeTypeOf('function');
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
it('exports createTweenManager', () => {
|
|
112
|
+
expect(sdk.createTweenManager).toBeTypeOf('function');
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
});
|