@plyaz/types 1.7.23 → 1.7.24

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.
@@ -3,5 +3,6 @@
3
3
  * Re-exports all event-related types for the API package
4
4
  */
5
5
  export type * from './factories';
6
+ export type * from './queue';
6
7
  export type * from './types';
7
8
  export * from './enum';
@@ -0,0 +1 @@
1
+ export type * from './types';
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Event Queue Type Definitions
3
+ */
4
+ import type { EventScopeWithTemporary } from '..';
5
+ import type { ApiConfig } from '../../config/types';
6
+ /**
7
+ * Queued event for deferred processing
8
+ */
9
+ export interface QueuedEvent {
10
+ eventType: string;
11
+ eventName: string;
12
+ data: unknown;
13
+ scopes?: EventScopeWithTemporary[];
14
+ timestamp: number;
15
+ metadata?: {
16
+ source?: string;
17
+ priority?: 'critical' | 'high' | 'normal' | 'low';
18
+ retryCount?: number;
19
+ };
20
+ }
21
+ /**
22
+ * Queued config update
23
+ */
24
+ export interface QueuedConfigUpdate {
25
+ config: Partial<ApiConfig>;
26
+ strategy: 'merge' | 'replace' | 'temporary';
27
+ scope: EventScopeWithTemporary;
28
+ timestamp: number;
29
+ metadata?: {
30
+ source?: string;
31
+ priority?: 'critical' | 'high' | 'normal' | 'low';
32
+ clearOnComplete?: boolean;
33
+ };
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.7.23",
3
+ "version": "1.7.24",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",