@nsshunt/stsvueutils 1.0.97 → 1.0.99

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": "@nsshunt/stsvueutils",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "description": "Vue 3 framework utilities and plugins",
5
5
  "main": "./dist/stsvueutils.umd.js",
6
6
  "module": "./dist/stsvueutils.mjs",
@@ -1,37 +0,0 @@
1
- import { IContextBase } from '@nsshunt/stsobservability';
2
-
3
- export interface IAsyncRunnerContext extends IContextBase {
4
- id: string;
5
- hostName: string;
6
- agentName: string;
7
- threadId: string;
8
- asyncRunnerId: number;
9
- }
10
- /**
11
- * Inter-Worker (IW) Payload context base.
12
- */
13
- export interface IIWMessagePayloadContentBase {
14
- messageId?: string;
15
- }
16
- /**
17
- * Inter-Worker (IW) message commands.
18
- */
19
- export declare enum eIWMessageCommands {
20
- InstrumentTelemetry = "__STS__InstrumentTelemetry",// Used to send instrument telemetry
21
- MessagePort = "__STS__MessagePort",
22
- MessagePortResponse = "__STS__MessagePortResponse",
23
- AddAsyncRunner = "__STS__AddAsyncRunner",
24
- StopAllAsyncRunners = "__STS__StopAllAsyncRunners"
25
- }
26
- /**
27
- * Inter-Worker (IW) message command.
28
- */
29
- export type IIWMessageCommand = eIWMessageCommands;
30
- /**
31
- * Inter-Worker (IW) message payload.
32
- */
33
- export interface IIWMessagePayload {
34
- command: IIWMessageCommand;
35
- payload: IIWMessagePayloadContentBase;
36
- }
37
- //# sourceMappingURL=commonTypes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"commonTypes.d.ts","sourceRoot":"","sources":["../src/commonTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAExD,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACxD,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC7B,mBAAmB,+BAA8B,CAAE,oCAAoC;IACvF,WAAW,uBAAuB;IAClC,mBAAmB,+BAA+B;IAClD,cAAc,0BAA0B;IACxC,mBAAmB,+BAA+B;CAClD;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAA;AAElD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,iBAAiB,CAAA;IAC1B,OAAO,EAAE,4BAA4B,CAAA;CACxC"}
@@ -1,30 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- showFormValues?: boolean | undefined;
3
- }>, {
4
- showFormValues: boolean;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
- showFormValues?: boolean | undefined;
7
- }>, {
8
- showFormValues: boolean;
9
- }>>>, {
10
- showFormValues: boolean;
11
- }, {}>;
12
- export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- //# sourceMappingURL=UXTestForm.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UXTestForm.vue.d.ts","sourceRoot":"","sources":["../../src/components/UXTestForm.vue"],"names":[],"mappings":"AAuHA;;;;;;;;;;oBA+bqB,OAAO;;AAN5B,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import { default as UXTestForm } from './components/UXTestForm.vue';
2
- export * from './plugins/stsPluginKeys';
3
- export * from './plugins/emitter';
4
- export * from './plugins/storage';
5
- export * from './plugins/stsStorage';
6
- export * from './plugins/workerManager';
7
- export * from './plugins/requestResponseHelper';
8
- export * from './plugins/stsTestWorkerDefinitions';
9
- export * from './plugins/workerInstance';
10
- export * from './stores/TelemetryStore';
11
- export * from './commonTypes';
12
- export { UXTestForm };
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AAEvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AAEpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,oCAAoC,CAAA;AAClD,cAAc,0BAA0B,CAAA;AAExC,cAAc,yBAAyB,CAAA;AAEvC,cAAc,eAAe,CAAA;AAE7B,OAAO,UAAU,MAAM,6BAA6B,CAAA;AAEpD,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import * as te from 'tiny-emitter';
2
- export declare const useSTSEmitterPlugin: () => te.TinyEmitter;
3
- export declare const STSEmitterPlugin: {
4
- install: (app: any) => void;
5
- };
6
- //# sourceMappingURL=emitter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../src/plugins/emitter.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,cAAc,CAAC;AAInC,eAAO,MAAM,mBAAmB,QAAO,GAAG,WAA4D,CAAA;AAGtG,eAAO,MAAM,gBAAgB;mBAEV,GAAG;CAarB,CAAA"}
@@ -1,8 +0,0 @@
1
- import { IIWMessagePayload } from './../commonTypes';
2
-
3
- export declare class RequestResponseHelper {
4
- #private;
5
- constructor(port: MessagePort);
6
- PostMessage: (message: IIWMessagePayload) => Promise<IIWMessagePayload>;
7
- }
8
- //# sourceMappingURL=requestResponseHelper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"requestResponseHelper.d.ts","sourceRoot":"","sources":["../../src/plugins/requestResponseHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAYzD,qBAAa,qBAAqB;;gBAMlB,IAAI,EAAE,WAAW;IAK7B,WAAW,YAAa,iBAAiB,KAAG,QAAQ,iBAAiB,CAAC,CAyCrE;CAmBJ"}
@@ -1,10 +0,0 @@
1
- import { ClientStorageType, IStsStorage } from './stsStorage';
2
-
3
- export interface ISTSStoragePluginOptions {
4
- clientStorageType: ClientStorageType;
5
- }
6
- export declare const useSTSStoragePlugin: <T>() => IStsStorage<T>;
7
- export declare const STSStoragePlugin: {
8
- install: <T>(app: any, options: ISTSStoragePluginOptions) => void;
9
- };
10
- //# sourceMappingURL=storage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/plugins/storage.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAwB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAA;AAExF,MAAM,WAAW,wBAAwB;IACxC,iBAAiB,EAAE,iBAAiB,CAAA;CACpC;AAID,eAAO,MAAM,mBAAmB,WAAU,YAAY,CAAC,CAAkD,CAAA;AAGzG,eAAO,MAAM,gBAAgB;sBAEP,GAAG,WAAW,wBAAwB;CA2B3D,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare const STSStoragePluginKey: unique symbol;
2
- export declare const STSEmitterPluginKey: unique symbol;
3
- export declare const STSWorkerManagerPluginKey: unique symbol;
4
- //# sourceMappingURL=stsPluginKeys.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stsPluginKeys.d.ts","sourceRoot":"","sources":["../../src/plugins/stsPluginKeys.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,eAAoB,CAAA;AACpD,eAAO,MAAM,mBAAmB,eAAoB,CAAA;AACpD,eAAO,MAAM,yBAAyB,eAA0B,CAAA"}
@@ -1,24 +0,0 @@
1
- import { JSONObject } from '@nsshunt/stsutils';
2
-
3
- export interface IStsStorage<T> {
4
- get(key: string): T | null;
5
- set(key: string, value: T, options?: JSONObject): void;
6
- remove(key: string): void;
7
- }
8
- export declare enum ClientStorageType {
9
- LOCAL_STORAGE = "LocalStorage",//@@ todo
10
- SESSION_STORAGE = "SessionStorage",
11
- COOKIE_STORAGE = "CookieStorage",
12
- MEMORY_STORAGE = "MemoryStorage"
13
- }
14
- export interface IClientStorageOptions {
15
- clientStorageType: ClientStorageType;
16
- usePrefix: boolean;
17
- storageOptions?: JSONObject;
18
- }
19
- export declare class ClientStorageFactory<T> {
20
- #private;
21
- constructor(options: IClientStorageOptions);
22
- GetStorage(): IStsStorage<T>;
23
- }
24
- //# sourceMappingURL=stsStorage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stsStorage.d.ts","sourceRoot":"","sources":["../../src/plugins/stsStorage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIpD,MAAM,WAAW,WAAW,CAAC,CAAC;IAC7B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,CAAA;IAC1B,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IACtD,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB;AAED,oBAAY,iBAAiB;IAC5B,aAAa,iBAAiB,CAAE,SAAS;IACzC,eAAe,mBAAmB;IAClC,cAAc,kBAAkB;IAChC,cAAc,kBAAkB;CAChC;AAqGD,MAAM,WAAW,qBAAqB;IACrC,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,SAAS,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,UAAU,CAAA;CAC3B;AAED,qBAAa,oBAAoB,CAAC,CAAC;;gBAInB,OAAO,EAAE,qBAAqB;IAuB1C,UAAU,IAAI,WAAW,CAAC,CAAC,CAAC;CAI/B"}
@@ -1,95 +0,0 @@
1
- import { IIWMessagePayloadContentBase, IIWMessagePayload, IAsyncRunnerContext } from './../commonTypes';
2
- import { PublishInstrumentController } from '@nsshunt/stsobservability';
3
-
4
- export interface ISTSAgentWorkerMessagePort extends IIWMessagePayloadContentBase {
5
- port: MessagePort;
6
- options: IWorkerOptions;
7
- }
8
- export declare enum IRunnerState {
9
- created = "created",
10
- running = "running",
11
- stopped = "stopped",
12
- paused = "paused",
13
- error = "error"
14
- }
15
- export interface IRunnerTelemetry {
16
- requestCount: number;
17
- errorCount: number;
18
- retryCount: number;
19
- authenticationCount: number;
20
- authenticationErrorCount: number;
21
- authenticationRetryCount: number;
22
- velocity: number;
23
- coreCount: number;
24
- timer: number;
25
- duration: number;
26
- latency: number;
27
- activeRequestCount: number;
28
- message: string[];
29
- childCount: number;
30
- rx: number;
31
- tx: number;
32
- }
33
- export interface IRunner {
34
- id: number;
35
- asyncRunnerContext: IAsyncRunnerContext;
36
- options: IRunnerOptions;
37
- state: IRunnerState;
38
- instrumentData: IRunnerTelemetry;
39
- }
40
- export interface IRunnerEx extends IRunner {
41
- publishInstrumentController: PublishInstrumentController;
42
- Stop: () => Promise<boolean>;
43
- }
44
- export declare enum IWorkerState {
45
- starting = "starting",
46
- started = "started",
47
- stopped = "stopped"
48
- }
49
- export interface IWorkerOptions {
50
- hostName: string;
51
- agentId: string;
52
- userAgent: string;
53
- }
54
- export type Runners = Record<string, IRunner>;
55
- export interface IWorker {
56
- id: number;
57
- state: IWorkerState;
58
- primaryThreadWorkerOptions: IWorkerOptions;
59
- workerThreadWorkerOptions: IWorkerOptions;
60
- runners?: Runners;
61
- }
62
- export type Workers = Record<string, IWorker>;
63
- export interface IPrimaryWorker {
64
- ProcessMessageFromWorker(workerPort: MessagePort, publishMessagePayload: IIWMessagePayload): Promise<void>;
65
- }
66
- export interface IRunnerOptions {
67
- }
68
- export interface IWorkerEx extends IWorker {
69
- worker: Worker;
70
- primaryWorker: IPrimaryWorker;
71
- runnersEx: Record<string, IRunnerEx>;
72
- AddRunner: (runnerOptions: IRunnerOptions) => IRunnerEx;
73
- StopRunner: (runner: IRunnerEx) => Promise<boolean>;
74
- Stop: () => Promise<boolean>;
75
- }
76
- export interface ISTSTestWorkerOptions {
77
- messageMod: number;
78
- iterations: number;
79
- }
80
- export interface ITelemetryStore {
81
- workers: Workers;
82
- }
83
- export interface ITestRunnerTelemetryPayload extends IIWMessagePayloadContentBase {
84
- runner: IRunner;
85
- }
86
- export interface IWorkerFactory {
87
- createPrimaryThreadWorker: (app: any, options: IWorkerOptions) => IPrimaryWorker;
88
- createWorkerThreadWorker: () => Worker;
89
- get workerThreadWorkerOptions(): IWorkerOptions;
90
- get primaryThreadWorkerOptions(): IWorkerOptions;
91
- }
92
- export interface IWorkerManagerOptions {
93
- workerFactory: IWorkerFactory;
94
- }
95
- //# sourceMappingURL=stsTestWorkerDefinitions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stsTestWorkerDefinitions.d.ts","sourceRoot":"","sources":["../../src/plugins/stsTestWorkerDefinitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAA;AAE5E,OAAO,KAAK,EAAE,4BAA4B,EACtC,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAEpE,MAAM,WAAW,0BAA2B,SAAQ,4BAA4B;IAC5E,IAAI,EAAE,WAAW,CAAA;IACjB,OAAO,EAAE,cAAc,CAAA;CAC1B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Ac,CAAA;CACnD;AAED,MAAM,WAAW,qBAAqB;IAClC,aAAa,EAAE,cAAc,CAAA;CAChC"}
@@ -1,18 +0,0 @@
1
- import { RequestResponseHelper } from './requestResponseHelper';
2
- import { IRunner } from './stsTestWorkerDefinitions';
3
-
4
- export interface IWorkerInstanceOptions {
5
- }
6
- export declare abstract class WorkerInstance {
7
- #private;
8
- constructor();
9
- GetRandomInt: (max: number) => number;
10
- StartWork: (runner: IRunner) => Promise<void>;
11
- PostTelemetry: (runner: IRunner) => void;
12
- get RequestResponseHelper(): RequestResponseHelper | null;
13
- get CollectorCollectorPort(): MessagePort | null;
14
- get Options(): IWorkerInstanceOptions | null;
15
- StartRunner: (runner: IRunner) => Promise<void>;
16
- ProcessMessage: (data: MessageEvent) => Promise<void>;
17
- }
18
- //# sourceMappingURL=workerInstance.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workerInstance.d.ts","sourceRoot":"","sources":["../../src/plugins/workerInstance.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAA8B,OAAO,EAA+B,MAAM,4BAA4B,CAAA;AAGlH,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAG/D,MAAM,WAAW,sBAAsB;CAEtC;AAED,8BAAsB,cAAc;;;IAUhC,YAAY,QAAS,MAAM,YAGzB;IAGF,SAAS,WAAkB,OAAO,KAAG,QAAQ,IAAI,CAAC,CAGjD;IAED,aAAa,WAAY,OAAO,UAW/B;IAED,IAAI,qBAAqB,IAAI,qBAAqB,GAAG,IAAI,CAExD;IAED,IAAI,sBAAsB,IAAI,WAAW,GAAG,IAAI,CAE/C;IAED,IAAI,OAAO,IAAI,sBAAsB,GAAG,IAAI,CAE3C;IAmBD,WAAW,WAAkB,OAAO,mBAKnC;IAuBD,cAAc,SAAe,YAAY,mBAsBxC;CACJ"}
@@ -1,22 +0,0 @@
1
- import { IWorkerEx, IRunnerEx, IRunnerOptions, IWorkerManagerOptions, IWorkerFactory } from './stsTestWorkerDefinitions';
2
-
3
- export declare class STSWorkerManager {
4
- #private;
5
- constructor(app: any, options?: IWorkerManagerOptions);
6
- get WorkersEx(): Record<string, IWorkerEx>;
7
- AddWorker: (useWorkerFactory?: IWorkerFactory) => Promise<IWorkerEx>;
8
- AddRunnerToWorker: (stsWorkerEx: IWorkerEx, runnerOptions: IRunnerOptions) => IRunnerEx;
9
- GetNextAvailableWorker: () => IWorkerEx | null;
10
- GetBusyWorker: () => IWorkerEx | null;
11
- get Options(): IWorkerManagerOptions;
12
- set Options(options: IWorkerManagerOptions);
13
- StopAllWorkers: () => Promise<void>;
14
- }
15
- export declare const GetSTSInstrumentControllerPluginKeyWM: () => symbol;
16
- export declare const CompareSTSInstrumentControllerPluginKeyWM: (val: symbol) => boolean;
17
- export declare const CompareSTSInstrumentControllerPluginKeyWMEx: () => boolean;
18
- export declare const useSTSWorkerManager: () => STSWorkerManager;
19
- export declare const STSWorkerManagerPlugin: {
20
- install: (app: any, options?: IWorkerManagerOptions) => void;
21
- };
22
- //# sourceMappingURL=workerManager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workerManager.d.ts","sourceRoot":"","sources":["../../src/plugins/workerManager.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAA8B,SAAS,EAAW,SAAS,EACtC,cAAc,EAC3C,qBAAqB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAc7E,qBAAa,gBAAgB;;gBAWb,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAgCrD,IAAI,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAGzC;IAED,SAAS,sBAA6B,cAAc,KAAG,QAAQ,SAAS,CAAC,CAmExE;IAED,iBAAiB,gBAAiB,SAAS,iBAAiB,cAAc,KAAG,SAAS,CAMrF;IAkTD,sBAAsB,QAAO,SAAS,GAAG,IAAI,CAa5C;IAED,aAAa,QAAO,SAAS,GAAG,IAAI,CAanC;IAED,IAAI,OAAO,IAAI,qBAAqB,CAEnC;IAED,IAAI,OAAO,CAAC,OAAO,EAAE,qBAAqB,EAEzC;IAoCD,cAAc,sBAOb;CACJ;AAED,eAAO,MAAM,qCAAqC,QAAO,MAA0C,CAAA;AAEnG,eAAO,MAAM,yCAAyC,QAAS,MAAM,KAAG,OAAmD,CAAA;AAE3H,eAAO,MAAM,2CAA2C,QAAO,OAAqF,CAAA;AAIpJ,eAAO,MAAM,mBAAmB,QAAO,gBAAyE,CAAA;AAEhH,eAAO,MAAM,sBAAsB;mBAEhB,GAAG,YAAY,qBAAqB;CAatD,CAAA"}
@@ -1,8 +0,0 @@
1
- import { IWorkerEx, IRunnerEx, ITelemetryStore } from './../plugins/stsTestWorkerDefinitions';
2
-
3
- export declare const TelemetryStore: import('pinia').StoreDefinition<"__sts__TelemetryStore", ITelemetryStore, {}, {
4
- RemoveWorker(workerEx: IWorkerEx): void;
5
- RemoveRunner(workerEx: IWorkerEx, runnerEx: IRunnerEx): void;
6
- Update(workerEx: IWorkerEx, runnerEx: IRunnerEx): void;
7
- }>;
8
- //# sourceMappingURL=TelemetryStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TelemetryStore.d.ts","sourceRoot":"","sources":["../../src/stores/TelemetryStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,SAAS,EAAE,SAAS,EAAW,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAIpH,eAAO,MAAM,cAAc;2BAeI,SAAS;2BAIT,SAAS,YAAY,SAAS;qBAOpC,SAAS,YAAY,SAAS;EA+BrD,CAAC"}