@vnejs/plugins.compatibility.choose.fastforward 0.1.5 → 0.1.7
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/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/types.d.ts +5 -5
- package/package.json +2 -2
- package/src/index.ts +2 -2
- package/src/types.ts +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ModuleCore } from "@vnejs/module.core";
|
|
2
2
|
import type { PluginConstants, PluginEvents, PluginParams, PluginSettings } from "./types.js";
|
|
3
|
-
export declare class CompatibilityChooseFastforward extends
|
|
3
|
+
export declare class CompatibilityChooseFastforward extends ModuleCore<PluginEvents, PluginConstants, PluginSettings, PluginParams> {
|
|
4
4
|
name: string;
|
|
5
5
|
subscribe: () => void;
|
|
6
6
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ModuleCore } from "@vnejs/module.core";
|
|
2
2
|
import { regModule } from "@vnejs/shared";
|
|
3
|
-
export class CompatibilityChooseFastforward extends
|
|
3
|
+
export class CompatibilityChooseFastforward extends ModuleCore {
|
|
4
4
|
name = "compatibility.choose.fastforward";
|
|
5
5
|
subscribe = () => {
|
|
6
6
|
this.on(this.EVENTS.CHOOSE.OPTION, () => this.emit(this.EVENTS.FASTFORWARD.CHECK));
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ModuleCoreConstants, ModuleCoreEvents, ModuleCoreParams, ModuleCoreSettings } from "@vnejs/module.core";
|
|
2
2
|
import type { PluginName as ChoosePluginName, SubscribeEvents as ChooseSubscribeEvents } from "@vnejs/plugins.views.scenario.choose.contract";
|
|
3
3
|
import type { PluginName as FastforwardPluginName, SubscribeEvents as FastforwardSubscribeEvents } from "@vnejs/plugins.scenario.fastforward.contract";
|
|
4
|
-
export type PluginEvents =
|
|
5
|
-
export type PluginConstants =
|
|
6
|
-
export type PluginSettings =
|
|
7
|
-
export type PluginParams =
|
|
4
|
+
export type PluginEvents = ModuleCoreEvents & Record<ChoosePluginName, ChooseSubscribeEvents> & Record<FastforwardPluginName, FastforwardSubscribeEvents>;
|
|
5
|
+
export type PluginConstants = ModuleCoreConstants;
|
|
6
|
+
export type PluginSettings = ModuleCoreSettings;
|
|
7
|
+
export type PluginParams = ModuleCoreParams;
|
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.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"author": "",
|
|
31
31
|
"license": "ISC",
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@vnejs/module": "~0.1.0",
|
|
33
|
+
"@vnejs/module.core": "~0.1.0",
|
|
34
34
|
"@vnejs/plugins.views.scenario.choose.contract": "~0.1.0",
|
|
35
35
|
"@vnejs/plugins.scenario.fastforward.contract": "~0.1.0",
|
|
36
36
|
"@vnejs/shared": "~0.1.0"
|
package/src/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ModuleCore } from "@vnejs/module.core";
|
|
2
2
|
import { regModule } from "@vnejs/shared";
|
|
3
3
|
|
|
4
4
|
import type { PluginConstants, PluginEvents, PluginParams, PluginSettings } from "./types.js";
|
|
5
5
|
|
|
6
|
-
export class CompatibilityChooseFastforward extends
|
|
6
|
+
export class CompatibilityChooseFastforward extends ModuleCore<PluginEvents, PluginConstants, PluginSettings, PluginParams> {
|
|
7
7
|
name = "compatibility.choose.fastforward";
|
|
8
8
|
|
|
9
9
|
subscribe = () => {
|
package/src/types.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ModuleCoreConstants, ModuleCoreEvents, ModuleCoreParams, ModuleCoreSettings } from "@vnejs/module.core";
|
|
2
2
|
import type { PluginName as ChoosePluginName, SubscribeEvents as ChooseSubscribeEvents } from "@vnejs/plugins.views.scenario.choose.contract";
|
|
3
3
|
import type { PluginName as FastforwardPluginName, SubscribeEvents as FastforwardSubscribeEvents } from "@vnejs/plugins.scenario.fastforward.contract";
|
|
4
4
|
|
|
5
|
-
export type PluginEvents =
|
|
5
|
+
export type PluginEvents = ModuleCoreEvents &
|
|
6
6
|
Record<ChoosePluginName, ChooseSubscribeEvents> &
|
|
7
7
|
Record<FastforwardPluginName, FastforwardSubscribeEvents>;
|
|
8
8
|
|
|
9
|
-
export type PluginConstants =
|
|
9
|
+
export type PluginConstants = ModuleCoreConstants;
|
|
10
10
|
|
|
11
|
-
export type PluginSettings =
|
|
11
|
+
export type PluginSettings = ModuleCoreSettings;
|
|
12
12
|
|
|
13
|
-
export type PluginParams =
|
|
13
|
+
export type PluginParams = ModuleCoreParams;
|