@vnejs/plugins.text.meet 0.2.4 → 0.2.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.text.meet",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -2,6 +2,7 @@ import "@vnejs/contracts.text";
2
2
  import "@vnejs/contracts.text.meet";
3
3
 
4
4
  import { regPlugin } from "@vnejs/registry";
5
+
5
6
  import { CONSTANTS, PLUGIN_NAME, SUBSCRIBE_EVENTS } from "@vnejs/contracts.text.meet";
6
7
 
7
8
  import { TextMeet } from "./modules/meet.js";
@@ -1,10 +1,13 @@
1
1
  import { ModuleCore } from "@vnejs/module.core";
2
- import { tokenizeExecLine } from "@vnejs/helpers";
3
2
 
4
3
  import type { LineExecHandlerArg } from "@vnejs/module.core";
5
- import type { TextMeetPayload } from "@vnejs/contracts.text.meet";
4
+
5
+ import { tokenizeExecLine } from "@vnejs/helpers";
6
+
6
7
  import { getTextSpeakerInfo } from "@vnejs/contracts.text";
7
8
 
9
+ import type { TextMeetPayload } from "@vnejs/contracts.text.meet";
10
+
8
11
  import type { TextMeetPluginConstants, TextMeetPluginEvents, TextMeetPluginParams, TextMeetPluginSettings } from "../types.js";
9
12
 
10
13
  export class TextMeet extends ModuleCore<TextMeetPluginEvents, TextMeetPluginConstants, TextMeetPluginSettings, TextMeetPluginParams> {
@@ -1,10 +1,12 @@
1
1
  import { beforeEach, describe, expect, it } from "vitest";
2
2
 
3
- import { SUBSCRIBE_EVENTS as TEXT_EVENTS } from "@vnejs/contracts.text";
4
- import { SUBSCRIBE_EVENTS as SCENARIO_EVENTS } from "@vnejs/contracts.core.scenario";
5
3
  import { spyEvent } from "@vnejs/test-utils";
6
4
 
5
+ import { SUBSCRIBE_EVENTS as SCENARIO_EVENTS } from "@vnejs/contracts.core.scenario";
6
+ import { SUBSCRIBE_EVENTS as TEXT_EVENTS } from "@vnejs/contracts.text";
7
+
7
8
  import { TextMeet } from "../modules/meet.js";
9
+
8
10
  import { createTextMeetTestModule, registerTextMeetPluginVne, SUBSCRIBE_EVENTS } from "./setup.js";
9
11
 
10
12
  describe("TextMeet", () => {
@@ -1,6 +1,7 @@
1
+ import { createTestModule as baseCreateTestModule, registerCoreVne, registerVnePlugin } from "@vnejs/test-utils";
2
+
1
3
  import { CONSTANTS as TEXT_CONST, PLUGIN_NAME as TEXT, SUBSCRIBE_EVENTS as TEXT_EVENTS } from "@vnejs/contracts.text";
2
4
  import { CONSTANTS, PLUGIN_NAME, SUBSCRIBE_EVENTS } from "@vnejs/contracts.text.meet";
3
- import { createTestModule as baseCreateTestModule, registerCoreVne, registerVnePlugin } from "@vnejs/test-utils";
4
5
 
5
6
  export const registerTextMeetPluginVne = () => {
6
7
  registerCoreVne();
package/src/types.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { ModuleCoreConstants, ModuleCoreEvents, ModuleCoreParams, ModuleCoreSettings } from "@vnejs/module.core";
2
+
2
3
  import type { PluginName as TextPluginName, SubscribeEvents as TextSubscribeEvents } from "@vnejs/contracts.text";
3
4
  import type { Constants, PluginName, SubscribeEvents } from "@vnejs/contracts.text.meet";
4
5