@vnejs/contracts.rpg.skills 0.2.3 → 0.2.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/const.d.ts CHANGED
@@ -1,2 +1,13 @@
1
- export declare const CONSTANTS: {};
1
+ export declare const LOGS_ACTIONS: {
2
+ readonly EMIT: "emit";
3
+ readonly START: "start";
4
+ readonly FINISH: "finish";
5
+ };
6
+ export declare const CONSTANTS: {
7
+ readonly LOGS_ACTIONS: {
8
+ readonly EMIT: "emit";
9
+ readonly START: "start";
10
+ readonly FINISH: "finish";
11
+ };
12
+ };
2
13
  export type Constants = typeof CONSTANTS;
package/dist/const.js CHANGED
@@ -1 +1,8 @@
1
- export const CONSTANTS = {};
1
+ export const LOGS_ACTIONS = {
2
+ EMIT: "emit",
3
+ START: "start",
4
+ FINISH: "finish",
5
+ };
6
+ export const CONSTANTS = {
7
+ LOGS_ACTIONS,
8
+ };
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import "@vnejs/module";
2
2
  import "@vnejs/shared";
3
- import { CONSTANTS } from "./const.js";
3
+ import { CONSTANTS, LOGS_ACTIONS } from "./const.js";
4
4
  import { SUBSCRIBE_EVENTS } from "./events.js";
5
5
  import { PARAMS } from "./params.js";
6
6
  import type { SkillsCheckPayload, SkillsEmitLifecyclePayload, SkillsEmitPayload } from "./payloads.js";
7
7
  export declare const PLUGIN_NAME: "SKILLS";
8
8
  export type PluginName = typeof PLUGIN_NAME;
9
- export { CONSTANTS };
9
+ export { CONSTANTS, LOGS_ACTIONS };
10
10
  export type { Constants } from "./const.js";
11
11
  export { SUBSCRIBE_EVENTS };
12
12
  export type { SubscribeEvents } from "./events.js";
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "@vnejs/module";
2
2
  import "@vnejs/shared";
3
- import { CONSTANTS } from "./const.js";
3
+ import { CONSTANTS, LOGS_ACTIONS } from "./const.js";
4
4
  import { SUBSCRIBE_EVENTS } from "./events.js";
5
5
  export const PLUGIN_NAME = "SKILLS";
6
- export { CONSTANTS };
6
+ export { CONSTANTS, LOGS_ACTIONS };
7
7
  export { SUBSCRIBE_EVENTS };
8
8
  export { PARAMS, TYPES } from "./params.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/contracts.rpg.skills",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Contracts for @vnejs/plugins.rpg.skills",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/const.ts CHANGED
@@ -1,3 +1,11 @@
1
- export const CONSTANTS = {} as const;
1
+ export const LOGS_ACTIONS = {
2
+ EMIT: "emit",
3
+ START: "start",
4
+ FINISH: "finish",
5
+ } as const;
6
+
7
+ export const CONSTANTS = {
8
+ LOGS_ACTIONS,
9
+ } as const;
2
10
 
3
11
  export type Constants = typeof CONSTANTS;
package/src/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import "@vnejs/module";
2
2
  import "@vnejs/shared";
3
3
 
4
- import { CONSTANTS } from "./const.js";
4
+ import { CONSTANTS, LOGS_ACTIONS } from "./const.js";
5
5
  import { SUBSCRIBE_EVENTS } from "./events.js";
6
6
  import { PARAMS } from "./params.js";
7
7
  import type { SkillsCheckPayload, SkillsEmitLifecyclePayload, SkillsEmitPayload } from "./payloads.js";
@@ -9,7 +9,7 @@ import type { SkillsCheckPayload, SkillsEmitLifecyclePayload, SkillsEmitPayload
9
9
  export const PLUGIN_NAME = "SKILLS" as const;
10
10
  export type PluginName = typeof PLUGIN_NAME;
11
11
 
12
- export { CONSTANTS };
12
+ export { CONSTANTS, LOGS_ACTIONS };
13
13
  export type { Constants } from "./const.js";
14
14
  export { SUBSCRIBE_EVENTS };
15
15
  export type { SubscribeEvents } from "./events.js";