@evitcastudio/kit 1.1.5 → 1.2.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/lib/bundle/cli/cli.js +3 -3
- package/lib/event-system.d.ts +1 -1
- package/lib/event-system.d.ts.map +1 -1
- package/lib/event-system.js +0 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/kit.d.ts +1 -1
- package/lib/kit.d.ts.map +1 -1
- package/lib/kit.js +0 -1
- package/lib/types/shared-types.d.ts +19 -19
- package/lib/types/shared-types.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/bundle/cli/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
/*!
|
|
4
|
-
* @evitcastudio/kit@1.
|
|
5
|
-
* Compiled Wed, 01 Jan 2025
|
|
4
|
+
* @evitcastudio/kit@1.2.0 git+https://github.com/EvitcaStudio/Kit.git
|
|
5
|
+
* Compiled Wed, 01 Jan 2025 09:48:35 UTC
|
|
6
6
|
* Copyright (c) 2025 Jared Bates, Evitca Studio, "doubleactii"
|
|
7
7
|
*
|
|
8
8
|
* @evitcastudio/kit is licensed under the MIT License.
|
|
@@ -2575,7 +2575,7 @@ class KitCLI {
|
|
|
2575
2575
|
// package.json
|
|
2576
2576
|
var package_default = {
|
|
2577
2577
|
name: "@evitcastudio/kit",
|
|
2578
|
-
version: "1.
|
|
2578
|
+
version: "1.2.0",
|
|
2579
2579
|
author: "doubleactii 56242467+doubleactii@users.noreply.github.com (https://evitcastudio.com)",
|
|
2580
2580
|
main: "./lib/index.js",
|
|
2581
2581
|
types: "./lib/index.d.ts",
|
package/lib/event-system.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-system.d.ts","sourceRoot":"","sources":["../src/event-system.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"event-system.d.ts","sourceRoot":"","sources":["../src/event-system.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,qBAAa,YAAY;IACrB,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,MAAM,CAAY;gBAEd,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS;IAKnD;;;OAGG;IACH,IAAI,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;CAcnC"}
|
package/lib/event-system.js
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC"}
|
package/lib/index.js
CHANGED
package/lib/kit.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { KitPlugin } from '@evitcastudio/kit-plugin';
|
|
2
|
-
import './types/shared-types';
|
|
2
|
+
import type { EmitterEvent, Listener, KitPluginConstructor } from './types/shared-types';
|
|
3
3
|
export declare class Kit {
|
|
4
4
|
/**
|
|
5
5
|
* A record of all plugins registered with the Kit class.
|
package/lib/kit.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kit.d.ts","sourceRoot":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AC,KAAK,EAAE,YAAY,KAAK,IAAI,GAAG,IAAI;IAOnG;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAiB1B;;OAEG;WACU,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;CA0B7C"}
|
package/lib/kit.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import type { KitPlugin } from '@evitcastudio/kit-plugin';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The EmitterEvent type is used to define the shape of the data that is passed to the event listeners.
|
|
4
|
+
*/
|
|
5
|
+
type EmitterEvent = {
|
|
6
|
+
/**
|
|
7
|
+
* The event name, e.g., "draw-frame".
|
|
8
|
+
*/
|
|
9
|
+
event: string;
|
|
3
10
|
/**
|
|
4
|
-
* The
|
|
11
|
+
* The data associated with the event.
|
|
5
12
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} & Record<string, unknown>;
|
|
16
|
-
type ResourceData = {
|
|
17
|
-
resourceIdentifier: string;
|
|
18
|
-
fileName: string;
|
|
19
|
-
};
|
|
20
|
-
type Listener = (pData: EmitterEvent) => void;
|
|
21
|
-
type KitPluginConstructor<T extends KitPlugin> = new () => T;
|
|
13
|
+
data?: Record<string, unknown>;
|
|
14
|
+
} & Record<string, unknown>;
|
|
15
|
+
type ResourceData = {
|
|
16
|
+
resourceIdentifier: string;
|
|
17
|
+
fileName: string;
|
|
18
|
+
};
|
|
19
|
+
type Listener = (pData: EmitterEvent) => void;
|
|
20
|
+
type KitPluginConstructor<T extends KitPlugin> = new () => T;
|
|
21
|
+
declare global {
|
|
22
22
|
var VYLO: VyloType;
|
|
23
23
|
}
|
|
24
|
-
export type {};
|
|
24
|
+
export type { EmitterEvent, ResourceData, Listener, KitPluginConstructor };
|
|
25
25
|
//# sourceMappingURL=shared-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-types.d.ts","sourceRoot":"","sources":["../../src/types/shared-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D
|
|
1
|
+
{"version":3,"file":"shared-types.d.ts","sourceRoot":"","sources":["../../src/types/shared-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D;;GAEG;AACH,KAAK,YAAY,GAAG;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5B,KAAK,YAAY,GAAG;IAChB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC;AAEF,KAAK,QAAQ,GAAG,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;AAE9C,KAAK,oBAAoB,CAAC,CAAC,SAAS,SAAS,IAAI,UAAU,CAAC,CAAC;AAC7D,OAAO,CAAC,MAAM,CAAC;IAEX,IAAI,IAAI,EAAE,QAAQ,CAAC;CACtB;AAED,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,oBAAoB,EAAE,CAAC"}
|