@plyaz/types 1.7.27 → 1.7.28
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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { UnifiedOperationType } from '..';
|
|
2
|
+
import type { BaseOperation } from '../../queue';
|
|
3
|
+
/**
|
|
4
|
+
* Debugger-specific operation types
|
|
5
|
+
*/
|
|
6
|
+
export type DebuggerOperationType = 'config:change' | 'config:conflict' | 'headers:change' | 'headers:conflict' | 'network:override' | 'network:restore' | 'debug:track' | 'performance:metric' | 'event:operation' | string;
|
|
7
|
+
export interface DebuggerOperation extends BaseOperation {
|
|
8
|
+
operation: DebuggerOperationType;
|
|
9
|
+
retryCount?: number;
|
|
10
|
+
category?: 'tracking' | 'debugging' | 'analysis' | 'monitoring';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Minimal interface for the debugger instance
|
|
14
|
+
*/
|
|
15
|
+
export interface DebuggerInstanceInterface {
|
|
16
|
+
processEventOperation(operation: UnifiedOperationType, event: string, metadata: Record<string, unknown>): void;
|
|
17
|
+
}
|
package/dist/api/index.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export type * from './network/types';
|
|
|
22
22
|
export type * from './network/frameworks';
|
|
23
23
|
export type * from './endpoints/types';
|
|
24
24
|
export type * from './debugger/types';
|
|
25
|
+
export type * from './debugger/factories/types';
|
|
26
|
+
export type * from './debugger/queue/types';
|
|
25
27
|
export type * from './cache/types';
|
|
26
28
|
export type * from './retry/types';
|
|
27
29
|
export type * from './polling/types';
|
package/package.json
CHANGED