@keystrokehq/renderform 0.1.0 → 0.1.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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-pdf-from-url.cjs +6 -6
- package/dist/actions/create-pdf-from-url.cjs.map +1 -1
- package/dist/actions/create-pdf-from-url.d.cts +28 -3
- package/dist/actions/create-pdf-from-url.d.cts.map +1 -1
- package/dist/actions/create-pdf-from-url.d.mts +28 -3
- package/dist/actions/create-pdf-from-url.d.mts.map +1 -1
- package/dist/actions/create-pdf-from-url.mjs +6 -6
- package/dist/actions/create-pdf-from-url.mjs.map +1 -1
- package/dist/actions/delete-result.cjs +1 -1
- package/dist/actions/delete-result.cjs.map +1 -1
- package/dist/actions/delete-result.d.cts +10 -3
- package/dist/actions/delete-result.d.cts.map +1 -1
- package/dist/actions/delete-result.d.mts +10 -3
- package/dist/actions/delete-result.d.mts.map +1 -1
- package/dist/actions/delete-result.mjs +1 -1
- package/dist/actions/delete-result.mjs.map +1 -1
- package/dist/actions/get-result.cjs +1 -1
- package/dist/actions/get-result.cjs.map +1 -1
- package/dist/actions/get-result.d.cts +18 -3
- package/dist/actions/get-result.d.cts.map +1 -1
- package/dist/actions/get-result.d.mts +18 -3
- package/dist/actions/get-result.d.mts.map +1 -1
- package/dist/actions/get-result.mjs +1 -1
- package/dist/actions/get-result.mjs.map +1 -1
- package/dist/actions/list-fonts.cjs +3 -3
- package/dist/actions/list-fonts.cjs.map +1 -1
- package/dist/actions/list-fonts.d.cts +18 -3
- package/dist/actions/list-fonts.d.cts.map +1 -1
- package/dist/actions/list-fonts.d.mts +18 -3
- package/dist/actions/list-fonts.d.mts.map +1 -1
- package/dist/actions/list-fonts.mjs +3 -3
- package/dist/actions/list-fonts.mjs.map +1 -1
- package/dist/actions/list-results-v2.cjs +9 -9
- package/dist/actions/list-results-v2.cjs.map +1 -1
- package/dist/actions/list-results-v2.d.cts +50 -3
- package/dist/actions/list-results-v2.d.cts.map +1 -1
- package/dist/actions/list-results-v2.d.mts +50 -3
- package/dist/actions/list-results-v2.d.mts.map +1 -1
- package/dist/actions/list-results-v2.mjs +9 -9
- package/dist/actions/list-results-v2.mjs.map +1 -1
- package/dist/actions/list-templates-v2.cjs +2 -2
- package/dist/actions/list-templates-v2.cjs.map +1 -1
- package/dist/actions/list-templates-v2.d.cts +37 -3
- package/dist/actions/list-templates-v2.d.cts.map +1 -1
- package/dist/actions/list-templates-v2.d.mts +37 -3
- package/dist/actions/list-templates-v2.d.mts.map +1 -1
- package/dist/actions/list-templates-v2.mjs +2 -2
- package/dist/actions/list-templates-v2.mjs.map +1 -1
- package/dist/actions/take-screenshot.cjs +7 -7
- package/dist/actions/take-screenshot.cjs.map +1 -1
- package/dist/actions/take-screenshot.d.cts +21 -3
- package/dist/actions/take-screenshot.d.cts.map +1 -1
- package/dist/actions/take-screenshot.d.mts +21 -3
- package/dist/actions/take-screenshot.d.mts.map +1 -1
- package/dist/actions/take-screenshot.mjs +7 -7
- package/dist/actions/take-screenshot.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/take-screenshot.d.ts
|
|
4
|
-
declare const RenderformTakeScreenshotInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RenderformTakeScreenshotInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
width: z.ZodNumber;
|
|
7
|
+
height: z.ZodNumber;
|
|
8
|
+
waitTime: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RenderformTakeScreenshotOutput: z.ZodObject<{
|
|
11
|
+
href: z.ZodNullable<z.ZodString>;
|
|
12
|
+
request: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
url: z.ZodNullable<z.ZodString>;
|
|
14
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
requestId: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
|
+
declare const renderformTakeScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
url: string;
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
waitTime?: number | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { renderformTakeScreenshot };
|
|
9
27
|
//# sourceMappingURL=take-screenshot.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"take-screenshot.d.mts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"take-screenshot.d.mts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -8,20 +8,20 @@ const RenderformTakeScreenshotInput = z.object({
|
|
|
8
8
|
waitTime: z.number().int().describe("Optional wait time before capture, in milliseconds (500–5000)").optional()
|
|
9
9
|
});
|
|
10
10
|
const RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema = z.object({
|
|
11
|
-
url: z.string().describe("URL of the website captured"),
|
|
12
|
-
width: z.number().int().describe("Width of the screenshot in pixels"),
|
|
13
|
-
height: z.number().int().describe("Height of the screenshot in pixels")
|
|
14
|
-
});
|
|
11
|
+
url: z.string().describe("URL of the website captured").nullable(),
|
|
12
|
+
width: z.number().int().describe("Width of the screenshot in pixels").nullable(),
|
|
13
|
+
height: z.number().int().describe("Height of the screenshot in pixels").nullable()
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const renderformTakeScreenshot = action("RENDERFORM_TAKE_SCREENSHOT", {
|
|
16
16
|
slug: "renderform-take-screenshot",
|
|
17
17
|
name: "Take Website Screenshot",
|
|
18
18
|
description: "Tool to capture a screenshot of a website with given dimensions. Use when you need a visual snapshot of a page with optional wait time before capture.",
|
|
19
19
|
input: RenderformTakeScreenshotInput,
|
|
20
20
|
output: z.object({
|
|
21
|
-
href: z.string().describe("URL to the captured screenshot image"),
|
|
21
|
+
href: z.string().describe("URL to the captured screenshot image").nullable(),
|
|
22
22
|
request: RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema.nullable(),
|
|
23
|
-
requestId: z.string().describe("Unique identifier for this screenshot request")
|
|
24
|
-
})
|
|
23
|
+
requestId: z.string().describe("Unique identifier for this screenshot request").nullable()
|
|
24
|
+
}).passthrough()
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { renderformTakeScreenshot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"take-screenshot.mjs","names":[],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformTakeScreenshotInput
|
|
1
|
+
{"version":3,"file":"take-screenshot.mjs","names":[],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RenderformTakeScreenshotInput = z.object({\n url: z.string().describe(\"Complete URL of the website to capture; must include http:// or https://\"),\n width: z.number().int().describe(\"Width of the screenshot in pixels\"),\n height: z.number().int().describe(\"Height of the screenshot in pixels\"),\n waitTime: z.number().int().describe(\"Optional wait time before capture, in milliseconds (500–5000)\").optional(),\n});\nconst RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema = z.object({\n url: z.string().describe(\"URL of the website captured\").nullable(),\n width: z.number().int().describe(\"Width of the screenshot in pixels\").nullable(),\n height: z.number().int().describe(\"Height of the screenshot in pixels\").nullable(),\n}).passthrough();\nexport const RenderformTakeScreenshotOutput = z.object({\n href: z.string().describe(\"URL to the captured screenshot image\").nullable(),\n request: RenderformTakeScreenshot_RenderformTakeScreenshotResponseRequestSchema.nullable(),\n requestId: z.string().describe(\"Unique identifier for this screenshot request\").nullable(),\n}).passthrough();\n\nexport const renderformTakeScreenshot = action(\"RENDERFORM_TAKE_SCREENSHOT\", {\n slug: \"renderform-take-screenshot\",\n name: \"Take Website Screenshot\",\n description: \"Tool to capture a screenshot of a website with given dimensions. Use when you need a visual snapshot of a page with optional wait time before capture.\",\n input: RenderformTakeScreenshotInput,\n output: RenderformTakeScreenshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAM,yEAAyE,EAAE,OAAO;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,SAAS,uEAAuE,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const renderformCatalog = {
|
|
|
7
7
|
"category": "Images & Design",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/renderform",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "RenderForm API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your RenderForm API Key for authentication. Generate one from your RenderForm dashboard."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.renderformCatalog = renderformCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const renderformCatalog = {\n \"slug\": \"renderform\",\n \"name\": \"Renderform\",\n \"description\": \"RenderForm is a user-friendly automation and design tool that enables the creation of templates and images with custom content such as images, texts, and QR codes.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/renderform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const renderformCatalog = {\n \"slug\": \"renderform\",\n \"name\": \"Renderform\",\n \"description\": \"RenderForm is a user-friendly automation and design tool that enables the creation of templates and images with custom content such as images, texts, and QR codes.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/renderform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"RenderForm API Key\",\n \"secret\": true,\n \"description\": \"Your RenderForm API Key for authentication. Generate one from your RenderForm dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const renderformCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/renderform";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "RenderForm API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your RenderForm API Key for authentication. Generate one from your RenderForm dashboard.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { renderformCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const renderformCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/renderform";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "RenderForm API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your RenderForm API Key for authentication. Generate one from your RenderForm dashboard.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { renderformCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const renderformCatalog = {
|
|
|
7
7
|
"category": "Images & Design",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/renderform",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "RenderForm API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your RenderForm API Key for authentication. Generate one from your RenderForm dashboard."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { renderformCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const renderformCatalog = {\n \"slug\": \"renderform\",\n \"name\": \"Renderform\",\n \"description\": \"RenderForm is a user-friendly automation and design tool that enables the creation of templates and images with custom content such as images, texts, and QR codes.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/renderform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const renderformCatalog = {\n \"slug\": \"renderform\",\n \"name\": \"Renderform\",\n \"description\": \"RenderForm is a user-friendly automation and design tool that enables the creation of templates and images with custom content such as images, texts, and QR codes.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/renderform\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"RenderForm API Key\",\n \"secret\": true,\n \"description\": \"Your RenderForm API Key for authentication. Generate one from your RenderForm dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/renderform",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|