@frogbotai/piece-image-helper 0.25.0 → 0.27.0
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/files.d.ts +3 -3
- package/package.json +4 -4
package/dist/files.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FrogBotRequest } from 'frogbot';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const imageFile: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4
4
|
export declare const savedImage: z.ZodObject<{
|
|
@@ -14,9 +14,9 @@ export type LoadedImage = {
|
|
|
14
14
|
extension?: string;
|
|
15
15
|
mimeType: string;
|
|
16
16
|
};
|
|
17
|
-
export declare function loadImage(req:
|
|
17
|
+
export declare function loadImage(req: FrogBotRequest, id: string | number): Promise<LoadedImage>;
|
|
18
18
|
export declare function saveImage({ req, data, name, mimeType, }: {
|
|
19
|
-
req:
|
|
19
|
+
req: FrogBotRequest;
|
|
20
20
|
data: Buffer;
|
|
21
21
|
name: string;
|
|
22
22
|
mimeType: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/piece-image-helper",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "image-helper tools for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"zod": "^4.3.6"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"frogbot": "0.
|
|
30
|
+
"frogbot": "0.27.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/heic-convert": "2.1.1",
|
|
34
34
|
"@types/mime-types": "2.1.1",
|
|
35
35
|
"typescript": "5.6.2",
|
|
36
|
-
"frogbot": "0.
|
|
36
|
+
"frogbot": "0.27.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
|
-
"build": "tsc -p tsconfig.json",
|
|
42
|
+
"build": "rm -rf dist && tsc -p tsconfig.json",
|
|
43
43
|
"clean": "rm -rf dist",
|
|
44
44
|
"typecheck": "tsc --noEmit"
|
|
45
45
|
}
|