@vnejs/plugins.compatibility.choose.counters 0.1.2 → 0.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.
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 VarsCountersPluginName, Constants as VarsCountersConstants, SubscribeEvents as VarsCountersSubscribeEvents } from "@vnejs/plugins.vars.counters.contract";
3
- declare const CHOOSE_EVENTS: {
4
- readonly EXEC_REG: "vne:choose:exec_reg";
5
- };
6
- export type PluginEvents = VnePluginEventsMapRegistry & Record<"CHOOSE", typeof CHOOSE_EVENTS> & Record<VarsCountersPluginName, VarsCountersSubscribeEvents>;
4
+ export type PluginEvents = VnePluginEventsMapRegistry & Record<ChoosePluginName, ChooseSubscribeEvents> & Record<VarsCountersPluginName, VarsCountersSubscribeEvents>;
7
5
  export type PluginConstants = VnePluginConstantsMapRegistry & Record<VarsCountersPluginName, VarsCountersConstants>;
8
6
  export type PluginSettings = VnePluginSettingsMapRegistry;
9
7
  export type PluginParams = VnePluginParamsMapRegistry;
10
- export {};
package/dist/types.js CHANGED
@@ -1,4 +1 @@
1
- const CHOOSE_EVENTS = {
2
- EXEC_REG: "vne:choose:exec_reg",
3
- };
4
1
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.compatibility.choose.counters",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
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.vars.counters.contract": "~0.0.1",
35
- "@vnejs/shared": "~0.0.9"
36
+ "@vnejs/shared": "~0.1.0"
36
37
  },
37
38
  "devDependencies": {
38
- "@vnejs/configs.ts-common": "~0.0.1"
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 VarsCountersPluginName, Constants as VarsCountersConstants, SubscribeEvents as VarsCountersSubscribeEvents } from "@vnejs/plugins.vars.counters.contract";
3
4
 
4
- const CHOOSE_EVENTS = {
5
- EXEC_REG: "vne:choose:exec_reg",
6
- } as const;
7
-
8
5
  export type PluginEvents = VnePluginEventsMapRegistry &
9
- Record<"CHOOSE", typeof CHOOSE_EVENTS> &
6
+ Record<ChoosePluginName, ChooseSubscribeEvents> &
10
7
  Record<VarsCountersPluginName, VarsCountersSubscribeEvents>;
11
8
 
12
9
  export type PluginConstants = VnePluginConstantsMapRegistry & Record<VarsCountersPluginName, VarsCountersConstants>;