@uploadista/flow-images-replicate 0.0.9 → 0.0.10
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/dist/index.d.cts +2 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.mts.map +1 -1
- package/package.json +7 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UploadistaError } from "@uploadista/core/errors";
|
|
2
|
-
import { ImageAiContext } from "@uploadista/core/flow";
|
|
2
|
+
import { ImageAiContext, ImageAiPlugin } from "@uploadista/core/flow";
|
|
3
3
|
import { Effect, Layer } from "effect";
|
|
4
4
|
|
|
5
5
|
//#region src/image-ai-plugin.d.ts
|
|
@@ -39,7 +39,7 @@ type PluginConfig = string | {
|
|
|
39
39
|
declare const imageAiPlugin: (config: PluginConfig, options?: {
|
|
40
40
|
removeBackgroundModelId?: ModelId;
|
|
41
41
|
describeImageModelId?: ModelId;
|
|
42
|
-
}) => Layer.Layer<
|
|
42
|
+
}) => Layer.Layer<ImageAiPlugin, never, never>;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { imageAiPlugin };
|
|
45
45
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/image-ai-plugin.ts"],"sourcesContent":[],"mappings":";;;;;KASK,OAAA;KAMA,oBAAA;EANA,MAAA,EAAA,MAAO;AAAA,CAAA;AAMa,KAKpB,kBAAA,GAAkB,CAAA,OAAA,EACZ,cADY,GAAA;EACZ,WAAA,EAAA,WAAA;CACQ,EAAA,GAAd,MAAA,CAAO,MAAO,CAAA,oBAAA,EAAsB,eAAtB,CAAA;KAGd,YAAA,GAHoC,MAAA,GAAA;EAApC,kBAAO,CAAA,EAMe,kBANf;EAAM,4BAAA,CAAA,EAAA,OAAA;EAGb,uBAAY,CAAA,EAKe,OALf;EAGU,oBAAA,CAAA,EAGE,OAHF;CAEK;;;AAwBhC;;;;;;;;;;;;;;;;;;cAAa,wBACH;4BAEoB;yBACH;MACxB,KAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/image-ai-plugin.ts"],"sourcesContent":[],"mappings":";;;;;KASK,OAAA;KAMA,oBAAA;EANA,MAAA,EAAA,MAAO;AAAA,CAAA;AAMa,KAKpB,kBAAA,GAAkB,CAAA,OAAA,EACZ,cADY,GAAA;EACZ,WAAA,EAAA,WAAA;CACQ,EAAA,GAAd,MAAA,CAAO,MAAO,CAAA,oBAAA,EAAsB,eAAtB,CAAA;KAGd,YAAA,GAHoC,MAAA,GAAA;EAApC,kBAAO,CAAA,EAMe,kBANf;EAAM,4BAAA,CAAA,EAAA,OAAA;EAGb,uBAAY,CAAA,EAKe,OALf;EAGU,oBAAA,CAAA,EAGE,OAHF;CAEK;;;AAwBhC;;;;;;;;;;;;;;;;;;cAAa,wBACH;4BAEoB;yBACH;MACxB,KAAA,CAAA,MAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UploadistaError } from "@uploadista/core/errors";
|
|
2
|
-
import { ImageAiContext } from "@uploadista/core/flow";
|
|
2
|
+
import { ImageAiContext, ImageAiPlugin } from "@uploadista/core/flow";
|
|
3
3
|
import { Effect, Layer } from "effect";
|
|
4
4
|
|
|
5
5
|
//#region src/image-ai-plugin.d.ts
|
|
@@ -39,7 +39,7 @@ type PluginConfig = string | {
|
|
|
39
39
|
declare const imageAiPlugin: (config: PluginConfig, options?: {
|
|
40
40
|
removeBackgroundModelId?: ModelId;
|
|
41
41
|
describeImageModelId?: ModelId;
|
|
42
|
-
}) => Layer.Layer<
|
|
42
|
+
}) => Layer.Layer<ImageAiPlugin, never, never>;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { imageAiPlugin };
|
|
45
45
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/image-ai-plugin.ts"],"sourcesContent":[],"mappings":";;;;;KASK,OAAA;KAMA,oBAAA;EANA,MAAA,EAAA,MAAO;AAAA,CAAA;AAMa,KAKpB,oBAAA,GAAA,CAAkB,OAAA,EACZ,cADY,GAAA;EACZ,WAAA,EAAA,WAAA;CACQ,EAAA,GAAd,MAAA,CAAO,MAAO,CAAA,oBAAA,EAAsB,eAAtB,CAAA;KAGd,YAAA,GAHoC,MAAA,GAAA;EAApC,kBAAO,CAAA,EAMe,oBANf;EAAM,4BAAA,CAAA,EAAA,OAAA;EAGb,uBAAY,CAAA,EAKe,OALf;EAGU,oBAAA,CAAA,EAGE,OAHF;CAEK;;;AAwBhC;;;;;;;;;;;;;;;;;;cAAa,wBACH;4BAEoB;yBACH;MACxB,KAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/image-ai-plugin.ts"],"sourcesContent":[],"mappings":";;;;;KASK,OAAA;KAMA,oBAAA;EANA,MAAA,EAAA,MAAO;AAAA,CAAA;AAMa,KAKpB,oBAAA,GAAA,CAAkB,OAAA,EACZ,cADY,GAAA;EACZ,WAAA,EAAA,WAAA;CACQ,EAAA,GAAd,MAAA,CAAO,MAAO,CAAA,oBAAA,EAAsB,eAAtB,CAAA;KAGd,YAAA,GAHoC,MAAA,GAAA;EAApC,kBAAO,CAAA,EAMe,oBANf;EAAM,4BAAA,CAAA,EAAA,OAAA;EAGb,uBAAY,CAAA,EAKe,OALf;EAGU,oBAAA,CAAA,EAGE,OAHF;CAEK;;;AAwBhC;;;;;;;;;;;;;;;;;;cAAa,wBACH;4BAEoB;yBACH;MACxB,KAAA,CAAA,MAAA"}
|
package/package.json
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadista/flow-images-replicate",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.10",
|
|
5
5
|
"description": "Replicate image AI processing service for Uploadista Flow",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Uploadista",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./dist/index.d.
|
|
11
|
-
"import": "./dist/index.
|
|
12
|
-
"
|
|
10
|
+
"types": "./dist/index.d.mts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"replicate": "1.3.1",
|
|
17
18
|
"effect": "3.19.0",
|
|
18
19
|
"zod": "4.1.12",
|
|
19
|
-
"@uploadista/core": "0.0.
|
|
20
|
+
"@uploadista/core": "0.0.10"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
23
|
"@types/node": "24.10.0",
|
|
23
24
|
"tsdown": "0.16.0",
|
|
24
|
-
"@uploadista/typescript-config": "0.0.
|
|
25
|
+
"@uploadista/typescript-config": "0.0.10"
|
|
25
26
|
},
|
|
26
27
|
"scripts": {
|
|
27
28
|
"build": "tsdown",
|