@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.
Files changed (41) hide show
  1. package/lib/bundle/cli/cli.js +21 -11
  2. package/lib/kit.d.ts.map +1 -1
  3. package/lib/kit.js +0 -1
  4. package/lib/types/shared-types.d.ts +2 -2
  5. package/lib/types/shared-types.d.ts.map +1 -1
  6. package/package.json +18 -8
  7. package/CONTRIBUTING.md +0 -0
  8. package/bin/cli.ts +0 -71
  9. package/bin/index.ts +0 -11
  10. package/bin/resource-builder.ts +0 -219
  11. package/bin/types/shared-types.ts +0 -10
  12. package/bun-build.ts +0 -56
  13. package/bun.lockb +0 -0
  14. package/bunfig.toml +0 -4
  15. package/docs/.nojekyll +0 -1
  16. package/docs/assets/hierarchy.js +0 -1
  17. package/docs/assets/highlight.css +0 -85
  18. package/docs/assets/icons.js +0 -18
  19. package/docs/assets/icons.svg +0 -1
  20. package/docs/assets/main.js +0 -60
  21. package/docs/assets/navigation.js +0 -1
  22. package/docs/assets/search.js +0 -1
  23. package/docs/assets/style.css +0 -1610
  24. package/docs/classes/index.Kit.html +0 -24
  25. package/docs/index.html +0 -16
  26. package/docs/modules/index.html +0 -1
  27. package/docs/modules/types_shared-types.html +0 -1
  28. package/docs/modules.html +0 -1
  29. package/docs/types/types_shared-types.EmitterEvent.html +0 -4
  30. package/docs/types/types_shared-types.KitPluginConstructor.html +0 -1
  31. package/docs/types/types_shared-types.Listener.html +0 -1
  32. package/docs/types/types_shared-types.ResourceData.html +0 -1
  33. package/docs/variables/types_shared-types.VYLO.html +0 -1
  34. package/src/event-system.ts +0 -30
  35. package/src/index.ts +0 -1
  36. package/src/kit.ts +0 -177
  37. package/src/types/shared-types.ts +0 -29
  38. package/src/types/vylo.d.ts +0 -3790
  39. package/tests/kit-cli.test.ts +0 -75
  40. package/tests/kit.test.ts +0 -33
  41. 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 {};