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