@umituz/react-native-ai-generation-content 1.20.30 → 1.20.31
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.20.
|
|
3
|
+
"version": "1.20.31",
|
|
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",
|
|
@@ -43,7 +43,7 @@ export interface AIGenerateWizardFlowProps {
|
|
|
43
43
|
style: string;
|
|
44
44
|
duration: number;
|
|
45
45
|
images: { uri: string }[];
|
|
46
|
-
}) => Promise<string | null>;
|
|
46
|
+
}) => Promise<string | null | void>;
|
|
47
47
|
readonly onBack?: () => void;
|
|
48
48
|
readonly onSave?: (uri: string) => void;
|
|
49
49
|
readonly t: (key: string) => string;
|
|
@@ -128,7 +128,7 @@ export type GenerationErrorType =
|
|
|
128
128
|
| "unknown";
|
|
129
129
|
|
|
130
130
|
export interface UseGenerationOrchestratorReturn<TInput, TResult> {
|
|
131
|
-
generate: (input: TInput) => Promise<TResult>;
|
|
131
|
+
generate: (input: TInput) => Promise<TResult | void>;
|
|
132
132
|
reset: () => void;
|
|
133
133
|
status: OrchestratorStatus;
|
|
134
134
|
isGenerating: boolean;
|