@vnejs/contracts.views.screens.mainmenu 0.1.1 → 0.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/dist/commands.d.ts +7 -0
- package/dist/commands.js +6 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/package.json +7 -5
- package/src/commands.ts +10 -0
- package/src/index.ts +4 -0
package/dist/commands.js
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import "@vnejs/shared";
|
|
2
|
+
import { SCENARIO_COMMANDS } from "./commands.js";
|
|
2
3
|
import { SUBSCRIBE_EVENTS } from "./events.js";
|
|
3
4
|
import { PARAMS } from "./params.js";
|
|
4
5
|
export declare const PLUGIN_NAME: "MAINMENU";
|
|
5
6
|
export type PluginName = typeof PLUGIN_NAME;
|
|
7
|
+
export { SCENARIO_COMMANDS };
|
|
8
|
+
export type { ScenarioCommands } from "./commands.js";
|
|
6
9
|
export { SUBSCRIBE_EVENTS };
|
|
7
10
|
export type { SubscribeEvents } from "./events.js";
|
|
8
11
|
export { PARAMS };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import "@vnejs/shared";
|
|
2
|
+
import { SCENARIO_COMMANDS } from "./commands.js";
|
|
2
3
|
import { SUBSCRIBE_EVENTS } from "./events.js";
|
|
3
4
|
import { PARAMS } from "./params.js";
|
|
4
5
|
export const PLUGIN_NAME = "MAINMENU";
|
|
6
|
+
export { SCENARIO_COMMANDS };
|
|
5
7
|
export { SUBSCRIBE_EVENTS };
|
|
6
8
|
export { PARAMS };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vnejs/contracts.views.screens.mainmenu",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Contracts for @vnejs/plugins.views.screens.mainmenu",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,11 +26,13 @@
|
|
|
26
26
|
"author": "",
|
|
27
27
|
"license": "ISC",
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@vnejs/module": "~0.
|
|
30
|
-
"@vnejs/shared": "~0.
|
|
31
|
-
"@vnejs/uis.react.position-box": "~0.
|
|
29
|
+
"@vnejs/module": "~0.2.0",
|
|
30
|
+
"@vnejs/shared": "~0.2.0",
|
|
31
|
+
"@vnejs/uis.react.position-box": "~0.2.0",
|
|
32
|
+
"@vnejs/contracts.core.scenario": "~0.2.0"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@vnejs/configs.ts-common": "~0.
|
|
35
|
+
"@vnejs/configs.ts-common": "~0.2.0",
|
|
36
|
+
"@vnejs/contracts.core.scenario": "~0.2.0"
|
|
35
37
|
}
|
|
36
38
|
}
|
package/src/commands.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ScenarioCommandsManifest } from "@vnejs/contracts.core.scenario";
|
|
2
|
+
|
|
3
|
+
/** Commands owned by plugins.views.screens.mainmenu */
|
|
4
|
+
export const SCENARIO_COMMANDS = {
|
|
5
|
+
modules: {
|
|
6
|
+
mainmenu: {},
|
|
7
|
+
},
|
|
8
|
+
} as const satisfies ScenarioCommandsManifest;
|
|
9
|
+
|
|
10
|
+
export type ScenarioCommands = typeof SCENARIO_COMMANDS;
|
package/src/index.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import "@vnejs/shared";
|
|
2
2
|
|
|
3
|
+
import { SCENARIO_COMMANDS } from "./commands.js";
|
|
3
4
|
import { SUBSCRIBE_EVENTS } from "./events.js";
|
|
4
5
|
import { PARAMS } from "./params.js";
|
|
5
6
|
|
|
6
7
|
export const PLUGIN_NAME = "MAINMENU" as const;
|
|
7
8
|
export type PluginName = typeof PLUGIN_NAME;
|
|
8
9
|
|
|
10
|
+
export { SCENARIO_COMMANDS };
|
|
11
|
+
export type { ScenarioCommands } from "./commands.js";
|
|
12
|
+
|
|
9
13
|
export { SUBSCRIBE_EVENTS };
|
|
10
14
|
export type { SubscribeEvents } from "./events.js";
|
|
11
15
|
export { PARAMS };
|