@evitcastudio/kit 1.1.2 → 1.1.4
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/lib/bundle/cli/cli.js +21 -11
- package/lib/kit.d.ts.map +1 -1
- package/lib/kit.js +0 -1
- package/lib/types/shared-types.d.ts +2 -2
- package/lib/types/shared-types.d.ts.map +1 -1
- package/package.json +18 -8
- package/CONTRIBUTING.md +0 -0
- package/bin/cli.ts +0 -71
- package/bin/index.ts +0 -11
- package/bin/resource-builder.ts +0 -219
- package/bin/types/shared-types.ts +0 -10
- package/bun-build.ts +0 -56
- package/bun.lockb +0 -0
- package/bunfig.toml +0 -4
- package/docs/.nojekyll +0 -1
- package/docs/assets/hierarchy.js +0 -1
- package/docs/assets/highlight.css +0 -85
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1610
- package/docs/classes/index.Kit.html +0 -24
- package/docs/index.html +0 -16
- package/docs/modules/index.html +0 -1
- package/docs/modules/types_shared-types.html +0 -1
- package/docs/modules.html +0 -1
- package/docs/types/types_shared-types.EmitterEvent.html +0 -4
- package/docs/types/types_shared-types.KitPluginConstructor.html +0 -1
- package/docs/types/types_shared-types.Listener.html +0 -1
- package/docs/types/types_shared-types.ResourceData.html +0 -1
- package/docs/variables/types_shared-types.VYLO.html +0 -1
- package/src/event-system.ts +0 -30
- package/src/index.ts +0 -1
- package/src/kit.ts +0 -177
- package/src/types/shared-types.ts +0 -29
- package/src/types/vylo.d.ts +0 -3790
- package/tests/kit-cli.test.ts +0 -75
- package/tests/kit.test.ts +0 -33
- package/tsconfig.json +0 -37
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { KitPlugin } from '@evitcastudio/kit-plugin';
|
|
2
|
-
declare global {
|
|
3
|
-
/**
|
|
4
|
-
* The EmitterEvent type is used to define the shape of the data that is passed to the event listeners.
|
|
5
|
-
*/
|
|
6
|
-
type EmitterEvent = {
|
|
7
|
-
/**
|
|
8
|
-
* The event name, e.g., "draw-frame".
|
|
9
|
-
*/
|
|
10
|
-
event: string;
|
|
11
|
-
/**
|
|
12
|
-
* The data associated with the event.
|
|
13
|
-
*/
|
|
14
|
-
data?: Record<string, any>;
|
|
15
|
-
} & Record<string, any>;
|
|
16
|
-
|
|
17
|
-
type ResourceData = {
|
|
18
|
-
resourceIdentifier: string,
|
|
19
|
-
fileName: string
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
type Listener = (pData: EmitterEvent) => void;
|
|
23
|
-
|
|
24
|
-
type KitPluginConstructor<T extends KitPlugin> = new () => T;
|
|
25
|
-
|
|
26
|
-
var VYLO: VyloType;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type {};
|