@umituz/react-native-ai-generation-content 1.83.2 → 1.83.3
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": "@umituz/react-native-ai-generation-content",
|
|
3
|
-
"version": "1.83.
|
|
3
|
+
"version": "1.83.3",
|
|
4
4
|
"description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
package/src/exports/domain.ts
CHANGED
|
@@ -28,6 +28,10 @@ export type {
|
|
|
28
28
|
} from "../domain/entities";
|
|
29
29
|
export { DEFAULT_POLLING_CONFIG, DEFAULT_QUEUE_CONFIG } from "../domain/entities";
|
|
30
30
|
|
|
31
|
+
// Queue & Creation Status — canonical values used across all apps
|
|
32
|
+
export { QUEUE_STATUS, CREATION_STATUS } from "../domain/constants/queue-status.constants";
|
|
33
|
+
export type { QueueStatus, CreationStatus } from "../domain/constants/queue-status.constants";
|
|
34
|
+
|
|
31
35
|
// Processing Modes
|
|
32
36
|
export type { ImageProcessingMode, ModeConfig, ModeCatalog } from "../domain/entities/processing-modes.types";
|
|
33
37
|
export {
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Job Polling Constants
|
|
3
|
-
* Single Responsibility: Define polling configuration constants
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export const POLLING_CONFIG = {
|
|
7
|
-
MAX_ATTEMPTS: 60,
|
|
8
|
-
INTERVAL_MS: 5000,
|
|
9
|
-
INITIAL_PROGRESS: 20,
|
|
10
|
-
FINAL_PROGRESS: 90,
|
|
11
|
-
COMPLETION_PROGRESS: 100,
|
|
12
|
-
} as const;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AI Generation Status Constants
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export const FAL_AI_STATUS = {
|
|
6
|
-
IN_QUEUE: "IN_QUEUE",
|
|
7
|
-
QUEUED: "QUEUED",
|
|
8
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
9
|
-
PROCESSING: "PROCESSING",
|
|
10
|
-
COMPLETED: "COMPLETED",
|
|
11
|
-
FAILED: "FAILED",
|
|
12
|
-
} as const;
|
|
13
|
-
|
|
14
|
-
export const CREATION_STATUS = {
|
|
15
|
-
PENDING: "pending",
|
|
16
|
-
QUEUED: "queued",
|
|
17
|
-
PROCESSING: "processing",
|
|
18
|
-
COMPLETED: "completed",
|
|
19
|
-
FAILED: "failed",
|
|
20
|
-
} as const;
|
|
21
|
-
|
|
22
|
-
export const PROVIDER = {
|
|
23
|
-
FAL: "fal",
|
|
24
|
-
} as const;
|