@plyaz/types 1.7.23 → 1.7.25

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
+ }
@@ -77,11 +77,11 @@ export interface GlobalWithNavigator {
77
77
  /**
78
78
  * Connection types for adaptive behavior
79
79
  */
80
- export type ConnectionType = 'slow-2g' | '2g' | '3g' | '4g' | '5g' | 'wifi' | 'ethernet' | 'unknown';
80
+ export type ConnectionType = 'bluetooth' | 'cellular' | 'ethernet' | 'none' | 'wifi' | 'wimax' | 'other' | 'unknown';
81
81
  /**
82
82
  * Effective connection type
83
83
  */
84
- export type EffectiveConnectionType = 'slow-2g' | '2g' | '3g' | '4g' | 'unknown';
84
+ export type EffectiveConnectionType = 'slow-2g' | '2g' | '3g' | '4g' | '5g' | 'wifi' | 'ethernet' | 'unknown';
85
85
  /**
86
86
  * Network connection information
87
87
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.7.23",
3
+ "version": "1.7.25",
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.",