@keystrokehq/screenshot_fyi 0.1.3 → 0.1.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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/take-screenshot.cjs +1 -0
- package/dist/actions/take-screenshot.cjs.map +1 -1
- package/dist/actions/take-screenshot.d.cts +3 -9
- package/dist/actions/take-screenshot.d.cts.map +1 -1
- package/dist/actions/take-screenshot.d.mts +3 -9
- package/dist/actions/take-screenshot.d.mts.map +1 -1
- package/dist/actions/take-screenshot.mjs +1 -0
- package/dist/actions/take-screenshot.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["screenshotFyi","executeScreenshotFyiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { screenshotFyi } from \"./app\";\nimport { executeScreenshotFyiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["screenshotFyi","executeScreenshotFyiTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { screenshotFyi } from \"./app\";\nimport { executeScreenshotFyiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof screenshotFyi.credential> {\n return screenshotFyi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeScreenshotFyiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO6D;CAC7D,OAAOA,YAAAA,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { screenshotFyi } from \"./app\";\nimport { executeScreenshotFyiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { screenshotFyi } from \"./app\";\nimport { executeScreenshotFyiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof screenshotFyi.credential> {\n return screenshotFyi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeScreenshotFyiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO6D;CAC7D,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"take-screenshot.cjs","names":["z","action"],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).passthrough().describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"take-screenshot.cjs","names":["z","action"],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { screenshotFyi } from \"../app\";\n\nexport const ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).passthrough().describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot: AppAction<\n typeof ScreenshotFyiTakeScreenshotInput,\n typeof ScreenshotFyiTakeScreenshotOutput,\n typeof screenshotFyi.credential\n> = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC3E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACtM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { screenshotFyi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/take-screenshot.d.ts
|
|
@@ -18,15 +20,7 @@ declare const ScreenshotFyiTakeScreenshotOutput: z.ZodObject<{
|
|
|
18
20
|
target_url: z.ZodNullable<z.ZodString>;
|
|
19
21
|
screenshot_url: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const screenshotFyiTakeScreenshot:
|
|
22
|
-
url: string;
|
|
23
|
-
format?: "png" | "jpg" | "jpeg" | undefined;
|
|
24
|
-
dark_mode?: boolean | undefined;
|
|
25
|
-
full_page?: boolean | undefined;
|
|
26
|
-
viewport_width?: number | undefined;
|
|
27
|
-
viewport_height?: number | undefined;
|
|
28
|
-
disable_cookie_banners?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const screenshotFyiTakeScreenshot: AppAction<typeof ScreenshotFyiTakeScreenshotInput, typeof ScreenshotFyiTakeScreenshotOutput, typeof screenshotFyi.credential>;
|
|
30
24
|
//#endregion
|
|
31
25
|
export { screenshotFyiTakeScreenshot };
|
|
32
26
|
//# sourceMappingURL=take-screenshot.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"take-screenshot.d.cts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"take-screenshot.d.cts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { screenshotFyi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/take-screenshot.d.ts
|
|
@@ -18,15 +20,7 @@ declare const ScreenshotFyiTakeScreenshotOutput: z.ZodObject<{
|
|
|
18
20
|
target_url: z.ZodNullable<z.ZodString>;
|
|
19
21
|
screenshot_url: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const screenshotFyiTakeScreenshot:
|
|
22
|
-
url: string;
|
|
23
|
-
format?: "png" | "jpg" | "jpeg" | undefined;
|
|
24
|
-
dark_mode?: boolean | undefined;
|
|
25
|
-
full_page?: boolean | undefined;
|
|
26
|
-
viewport_width?: number | undefined;
|
|
27
|
-
viewport_height?: number | undefined;
|
|
28
|
-
disable_cookie_banners?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const screenshotFyiTakeScreenshot: AppAction<typeof ScreenshotFyiTakeScreenshotInput, typeof ScreenshotFyiTakeScreenshotOutput, typeof screenshotFyi.credential>;
|
|
30
24
|
//#endregion
|
|
31
25
|
export { screenshotFyiTakeScreenshot };
|
|
32
26
|
//# sourceMappingURL=take-screenshot.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"take-screenshot.d.mts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"take-screenshot.d.mts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -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 ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).passthrough().describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"take-screenshot.mjs","names":[],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { screenshotFyi } from \"../app\";\n\nexport const ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).passthrough().describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot: AppAction<\n typeof ScreenshotFyiTakeScreenshotInput,\n typeof ScreenshotFyiTakeScreenshotOutput,\n typeof screenshotFyi.credential\n> = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC3E,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAO;EAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACtM,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,2DAcH;CACP,QAd+C,EAAE,OAAO;EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_key: require("zod").z.string() };
|
|
4
|
+
const screenshotFyi = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "screenshot_fyi",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.screenshotFyi = screenshotFyi;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const screenshotFyi = defineApp({\n slug: \"screenshot_fyi\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,iBAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_key: z.string(),\n};\n\nexport const screenshotFyi: KeystrokeApp<\"screenshot_fyi\", typeof credential> = defineApp({\n slug: \"screenshot_fyi\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,iBAAA,GAAA,2BAAA,UAAA,CAA6E;CACxF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const screenshotFyi: KeystrokeApp<"screenshot_fyi", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { screenshotFyi };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,aAAA,EAAe,YAAY,0BAA0B,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const screenshotFyi: KeystrokeApp<"screenshot_fyi", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { screenshotFyi };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,aAAA,EAAe,YAAY,0BAA0B,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const screenshotFyi = defineApp({
|
|
4
4
|
slug: "screenshot_fyi",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { screenshotFyi };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const screenshotFyi = defineApp({\n slug: \"screenshot_fyi\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_key: z.string(),\n};\n\nexport const screenshotFyi: KeystrokeApp<\"screenshot_fyi\", typeof credential> = defineApp({\n slug: \"screenshot_fyi\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,gBAAmE,UAAU;CACxF,MAAM;CACN,MAAM;CACN,cANA,aAAa,EAAE,OAAO,EAMtB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { screenshotFyiTakeScreenshot } from "./actions/take-screenshot.cjs";
|
|
2
1
|
import { screenshotFyi } from "./app.cjs";
|
|
2
|
+
import { screenshotFyiTakeScreenshot } from "./actions/take-screenshot.cjs";
|
|
3
3
|
import { screenshotFyiCatalog } from "./catalog.cjs";
|
|
4
4
|
export { screenshotFyi, screenshotFyiCatalog, screenshotFyiTakeScreenshot };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { screenshotFyiTakeScreenshot } from "./actions/take-screenshot.mjs";
|
|
2
1
|
import { screenshotFyi } from "./app.mjs";
|
|
2
|
+
import { screenshotFyiTakeScreenshot } from "./actions/take-screenshot.mjs";
|
|
3
3
|
import { screenshotFyiCatalog } from "./catalog.mjs";
|
|
4
4
|
export { screenshotFyi, screenshotFyiCatalog, screenshotFyiTakeScreenshot };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/screenshot_fyi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|