@umituz/react-native-ai-generation-content 1.20.4 → 1.20.5
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 +1 -1
- package/src/features/remove-background/domain/types/index.ts +0 -5
- package/src/features/remove-background/domain/types/remove-background.types.ts +0 -7
- package/src/features/remove-background/index.ts +2 -6
- package/src/features/upscaling/domain/types/upscale.types.ts +0 -12
- package/src/features/upscaling/index.ts +2 -9
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.5",
|
|
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",
|
|
@@ -16,13 +16,6 @@ export interface RemoveBackgroundOptions {
|
|
|
16
16
|
backgroundColor?: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export interface RemoveBackgroundRequest {
|
|
20
|
-
imageUri: string;
|
|
21
|
-
imageBase64?: string;
|
|
22
|
-
userId: string;
|
|
23
|
-
options?: RemoveBackgroundOptions;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
19
|
export type RemoveBackgroundResult = BaseImageResult;
|
|
27
20
|
|
|
28
21
|
export type RemoveBackgroundFeatureState = BaseSingleImageState;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
export * from "./presentation/components";
|
|
3
2
|
* Remove Background Feature
|
|
4
3
|
* Provider-agnostic background removal feature
|
|
5
4
|
*/
|
|
@@ -7,7 +6,6 @@ export * from "./presentation/components";
|
|
|
7
6
|
// Domain Types
|
|
8
7
|
export type {
|
|
9
8
|
RemoveBackgroundOptions,
|
|
10
|
-
RemoveBackgroundRequest,
|
|
11
9
|
RemoveBackgroundResult,
|
|
12
10
|
RemoveBackgroundFeatureState,
|
|
13
11
|
RemoveBackgroundTranslations,
|
|
@@ -15,9 +13,7 @@ export type {
|
|
|
15
13
|
} from "./domain";
|
|
16
14
|
|
|
17
15
|
// Presentation Hooks
|
|
18
|
-
export { useRemoveBackgroundFeature } from "./presentation";
|
|
19
|
-
export type { UseRemoveBackgroundFeatureProps } from "./presentation";
|
|
16
|
+
export { useRemoveBackgroundFeature, type UseRemoveBackgroundFeatureProps } from "./presentation";
|
|
20
17
|
|
|
21
18
|
// Presentation Components
|
|
22
|
-
export { RemoveBackgroundFeature } from "./presentation";
|
|
23
|
-
export type { RemoveBackgroundFeatureProps } from "./presentation";
|
|
19
|
+
export { RemoveBackgroundFeature, type RemoveBackgroundFeatureProps } from "./presentation";
|
|
@@ -12,18 +12,6 @@ import type {
|
|
|
12
12
|
|
|
13
13
|
export type UpscaleScaleFactor = 2 | 4 | 8;
|
|
14
14
|
|
|
15
|
-
export interface UpscaleOptions {
|
|
16
|
-
scaleFactor?: UpscaleScaleFactor;
|
|
17
|
-
enhanceFaces?: boolean;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface UpscaleRequest {
|
|
21
|
-
imageUri: string;
|
|
22
|
-
imageBase64?: string;
|
|
23
|
-
userId: string;
|
|
24
|
-
options?: UpscaleOptions;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
15
|
export type UpscaleResult = BaseImageResult;
|
|
28
16
|
|
|
29
17
|
export type UpscaleFeatureState = BaseSingleImageState;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
export * from "./presentation/components";
|
|
3
2
|
* Upscaling Feature
|
|
4
3
|
* Provider-agnostic image upscaling feature
|
|
5
4
|
*/
|
|
@@ -7,8 +6,6 @@ export * from "./presentation/components";
|
|
|
7
6
|
// Domain Types
|
|
8
7
|
export type {
|
|
9
8
|
UpscaleScaleFactor,
|
|
10
|
-
UpscaleOptions,
|
|
11
|
-
UpscaleRequest,
|
|
12
9
|
UpscaleResult,
|
|
13
10
|
UpscaleFeatureState,
|
|
14
11
|
UpscaleTranslations,
|
|
@@ -16,12 +13,8 @@ export type {
|
|
|
16
13
|
} from "./domain";
|
|
17
14
|
|
|
18
15
|
// Presentation Hooks
|
|
19
|
-
export { useUpscaleFeature } from "./presentation";
|
|
20
|
-
export type { UseUpscaleFeatureProps } from "./presentation";
|
|
16
|
+
export { useUpscaleFeature, type UseUpscaleFeatureProps } from "./presentation";
|
|
21
17
|
|
|
22
18
|
// Presentation Components
|
|
23
19
|
export { UpscaleFeature, UpscaleResultView } from "./presentation";
|
|
24
|
-
export type {
|
|
25
|
-
UpscaleFeatureProps,
|
|
26
|
-
UpscaleResultViewProps,
|
|
27
|
-
} from "./presentation";
|
|
20
|
+
export type { UpscaleFeatureProps, UpscaleResultViewProps } from "./presentation";
|