@vnejs/plugins.compatibility.choose.fastforward 0.1.1 → 0.1.3
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/types.d.ts +2 -5
- package/dist/types.js +0 -3
- package/package.json +4 -3
- package/src/types.ts +2 -5
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { VnePluginConstantsMapRegistry, VnePluginEventsMapRegistry, VnePluginParamsMapRegistry, VnePluginSettingsMapRegistry } from "@vnejs/shared";
|
|
2
|
+
import type { PluginName as ChoosePluginName, SubscribeEvents as ChooseSubscribeEvents } from "@vnejs/plugins.views.scenario.choose.contract";
|
|
2
3
|
import type { PluginName as FastforwardPluginName, SubscribeEvents as FastforwardSubscribeEvents } from "@vnejs/plugins.scenario.fastforward.contract";
|
|
3
|
-
|
|
4
|
-
readonly OPTION: "vne:choose:option";
|
|
5
|
-
};
|
|
6
|
-
export type PluginEvents = VnePluginEventsMapRegistry & Record<"CHOOSE", typeof CHOOSE_EVENTS> & Record<FastforwardPluginName, FastforwardSubscribeEvents>;
|
|
4
|
+
export type PluginEvents = VnePluginEventsMapRegistry & Record<ChoosePluginName, ChooseSubscribeEvents> & Record<FastforwardPluginName, FastforwardSubscribeEvents>;
|
|
7
5
|
export type PluginConstants = VnePluginConstantsMapRegistry;
|
|
8
6
|
export type PluginSettings = VnePluginSettingsMapRegistry;
|
|
9
7
|
export type PluginParams = VnePluginParamsMapRegistry;
|
|
10
|
-
export {};
|
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vnejs/plugins.compatibility.choose.fastforward",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,10 +31,11 @@
|
|
|
31
31
|
"license": "ISC",
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@vnejs/module": "~0.0.1",
|
|
34
|
+
"@vnejs/plugins.views.scenario.choose.contract": "~0.0.1",
|
|
34
35
|
"@vnejs/plugins.scenario.fastforward.contract": "~0.0.1",
|
|
35
|
-
"@vnejs/shared": "~0.0
|
|
36
|
+
"@vnejs/shared": "~0.1.0"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@vnejs/configs.ts-common": "~0.0
|
|
39
|
+
"@vnejs/configs.ts-common": "~0.1.0"
|
|
39
40
|
}
|
|
40
41
|
}
|
package/src/types.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import type { VnePluginConstantsMapRegistry, VnePluginEventsMapRegistry, VnePluginParamsMapRegistry, VnePluginSettingsMapRegistry } from "@vnejs/shared";
|
|
2
|
+
import type { PluginName as ChoosePluginName, SubscribeEvents as ChooseSubscribeEvents } from "@vnejs/plugins.views.scenario.choose.contract";
|
|
2
3
|
import type { PluginName as FastforwardPluginName, SubscribeEvents as FastforwardSubscribeEvents } from "@vnejs/plugins.scenario.fastforward.contract";
|
|
3
4
|
|
|
4
|
-
const CHOOSE_EVENTS = {
|
|
5
|
-
OPTION: "vne:choose:option",
|
|
6
|
-
} as const;
|
|
7
|
-
|
|
8
5
|
export type PluginEvents = VnePluginEventsMapRegistry &
|
|
9
|
-
Record<
|
|
6
|
+
Record<ChoosePluginName, ChooseSubscribeEvents> &
|
|
10
7
|
Record<FastforwardPluginName, FastforwardSubscribeEvents>;
|
|
11
8
|
|
|
12
9
|
export type PluginConstants = VnePluginConstantsMapRegistry;
|