@keystrokehq/prerender 0.1.4 → 0.1.6

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.
Files changed (93) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/change-recache-speed.cjs +1 -0
  4. package/dist/actions/change-recache-speed.cjs.map +1 -1
  5. package/dist/actions/change-recache-speed.d.cts +3 -3
  6. package/dist/actions/change-recache-speed.d.cts.map +1 -1
  7. package/dist/actions/change-recache-speed.d.mts +3 -3
  8. package/dist/actions/change-recache-speed.d.mts.map +1 -1
  9. package/dist/actions/change-recache-speed.mjs +1 -0
  10. package/dist/actions/change-recache-speed.mjs.map +1 -1
  11. package/dist/actions/check-health.cjs +1 -0
  12. package/dist/actions/check-health.cjs.map +1 -1
  13. package/dist/actions/check-health.d.cts +3 -1
  14. package/dist/actions/check-health.d.cts.map +1 -1
  15. package/dist/actions/check-health.d.mts +3 -1
  16. package/dist/actions/check-health.d.mts.map +1 -1
  17. package/dist/actions/check-health.mjs +1 -0
  18. package/dist/actions/check-health.mjs.map +1 -1
  19. package/dist/actions/clear-cache.cjs +1 -0
  20. package/dist/actions/clear-cache.cjs.map +1 -1
  21. package/dist/actions/clear-cache.d.cts +3 -3
  22. package/dist/actions/clear-cache.d.cts.map +1 -1
  23. package/dist/actions/clear-cache.d.mts +3 -3
  24. package/dist/actions/clear-cache.d.mts.map +1 -1
  25. package/dist/actions/clear-cache.mjs +1 -0
  26. package/dist/actions/clear-cache.mjs.map +1 -1
  27. package/dist/actions/create-seo-audit-report.cjs +1 -0
  28. package/dist/actions/create-seo-audit-report.cjs.map +1 -1
  29. package/dist/actions/create-seo-audit-report.d.cts +3 -6
  30. package/dist/actions/create-seo-audit-report.d.cts.map +1 -1
  31. package/dist/actions/create-seo-audit-report.d.mts +3 -6
  32. package/dist/actions/create-seo-audit-report.d.mts.map +1 -1
  33. package/dist/actions/create-seo-audit-report.mjs +1 -0
  34. package/dist/actions/create-seo-audit-report.mjs.map +1 -1
  35. package/dist/actions/get-cache-clear-status.cjs +1 -0
  36. package/dist/actions/get-cache-clear-status.cjs.map +1 -1
  37. package/dist/actions/get-cache-clear-status.d.cts +3 -3
  38. package/dist/actions/get-cache-clear-status.d.cts.map +1 -1
  39. package/dist/actions/get-cache-clear-status.d.mts +3 -3
  40. package/dist/actions/get-cache-clear-status.d.mts.map +1 -1
  41. package/dist/actions/get-cache-clear-status.mjs +1 -0
  42. package/dist/actions/get-cache-clear-status.mjs.map +1 -1
  43. package/dist/actions/get-prerendered-page.cjs +1 -0
  44. package/dist/actions/get-prerendered-page.cjs.map +1 -1
  45. package/dist/actions/get-prerendered-page.d.cts +3 -3
  46. package/dist/actions/get-prerendered-page.d.cts.map +1 -1
  47. package/dist/actions/get-prerendered-page.d.mts +3 -3
  48. package/dist/actions/get-prerendered-page.d.mts.map +1 -1
  49. package/dist/actions/get-prerendered-page.mjs +1 -0
  50. package/dist/actions/get-prerendered-page.mjs.map +1 -1
  51. package/dist/actions/list-healthz.cjs +1 -0
  52. package/dist/actions/list-healthz.cjs.map +1 -1
  53. package/dist/actions/list-healthz.d.cts +3 -1
  54. package/dist/actions/list-healthz.d.cts.map +1 -1
  55. package/dist/actions/list-healthz.d.mts +3 -1
  56. package/dist/actions/list-healthz.d.mts.map +1 -1
  57. package/dist/actions/list-healthz.mjs +1 -0
  58. package/dist/actions/list-healthz.mjs.map +1 -1
  59. package/dist/actions/list-v3.cjs +1 -0
  60. package/dist/actions/list-v3.cjs.map +1 -1
  61. package/dist/actions/list-v3.d.cts +3 -1
  62. package/dist/actions/list-v3.d.cts.map +1 -1
  63. package/dist/actions/list-v3.d.mts +3 -1
  64. package/dist/actions/list-v3.d.mts.map +1 -1
  65. package/dist/actions/list-v3.mjs +1 -0
  66. package/dist/actions/list-v3.mjs.map +1 -1
  67. package/dist/actions/recache-url.cjs +1 -0
  68. package/dist/actions/recache-url.cjs.map +1 -1
  69. package/dist/actions/recache-url.d.cts +4 -6
  70. package/dist/actions/recache-url.d.cts.map +1 -1
  71. package/dist/actions/recache-url.d.mts +4 -6
  72. package/dist/actions/recache-url.d.mts.map +1 -1
  73. package/dist/actions/recache-url.mjs +1 -0
  74. package/dist/actions/recache-url.mjs.map +1 -1
  75. package/dist/actions/search-cached-urls.cjs +1 -0
  76. package/dist/actions/search-cached-urls.cjs.map +1 -1
  77. package/dist/actions/search-cached-urls.d.cts +4 -7
  78. package/dist/actions/search-cached-urls.d.cts.map +1 -1
  79. package/dist/actions/search-cached-urls.d.mts +4 -7
  80. package/dist/actions/search-cached-urls.d.mts.map +1 -1
  81. package/dist/actions/search-cached-urls.mjs +1 -0
  82. package/dist/actions/search-cached-urls.mjs.map +1 -1
  83. package/dist/app.cjs +5 -2
  84. package/dist/app.cjs.map +1 -1
  85. package/dist/app.d.cts +7 -1
  86. package/dist/app.d.cts.map +1 -1
  87. package/dist/app.d.mts +7 -1
  88. package/dist/app.d.mts.map +1 -1
  89. package/dist/app.mjs +3 -2
  90. package/dist/app.mjs.map +1 -1
  91. package/dist/index.d.cts +1 -1
  92. package/dist/index.d.mts +1 -1
  93. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-healthz.d.ts
@@ -5,7 +7,7 @@ declare const PrerenderListHealthzInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PrerenderListHealthzOutput: z.ZodObject<{
6
8
  success: z.ZodNullable<z.ZodBoolean>;
7
9
  }, z.core.$loose>;
8
- declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const prerenderListHealthz: AppAction<typeof PrerenderListHealthzInput, typeof PrerenderListHealthzOutput, typeof prerender.credential>;
9
11
  //#endregion
10
12
  export { prerenderListHealthz };
11
13
  //# sourceMappingURL=list-healthz.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-healthz.d.cts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-healthz.d.cts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-healthz.d.ts
@@ -5,7 +7,7 @@ declare const PrerenderListHealthzInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PrerenderListHealthzOutput: z.ZodObject<{
6
8
  success: z.ZodNullable<z.ZodBoolean>;
7
9
  }, z.core.$loose>;
8
- declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const prerenderListHealthz: AppAction<typeof PrerenderListHealthzInput, typeof PrerenderListHealthzOutput, typeof prerender.credential>;
9
11
  //#endregion
10
12
  export { prerenderListHealthz };
11
13
  //# sourceMappingURL=list-healthz.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-healthz.d.mts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-healthz.d.mts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const prerenderListHealthz = action("PRERENDER_LIST_HEALTHZ", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-healthz.mjs","names":[],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListHealthzInput = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\").nullable(),\n}).passthrough().describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAStD;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-healthz.mjs","names":[],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prerender } from \"../app\";\n\nexport const PrerenderListHealthzInput = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\").nullable(),\n}).passthrough().describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz: AppAction<\n typeof PrerenderListHealthzInput,\n typeof PrerenderListHealthzOutput,\n typeof prerender.credential\n> = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;;AAWA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAatD;CACP,QAbwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-v3.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.cjs","names":["z","action"],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\").nullable(),\n}).passthrough().describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACxH,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-v3.cjs","names":["z","action"],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prerender } from \"../app\";\n\nexport const PrerenderListV3Input = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\").nullable(),\n}).passthrough().describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3: AppAction<\n typeof PrerenderListV3Input,\n typeof PrerenderListV3Output,\n typeof prerender.credential\n> = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACxH,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-v3.d.ts
@@ -5,7 +7,7 @@ declare const PrerenderListV3Input: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PrerenderListV3Output: z.ZodObject<{
6
8
  message: z.ZodNullable<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const prerenderListV3: AppAction<typeof PrerenderListV3Input, typeof PrerenderListV3Output, typeof prerender.credential>;
9
11
  //#endregion
10
12
  export { prerenderListV3 };
11
13
  //# sourceMappingURL=list-v3.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.d.cts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-v3.d.cts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-v3.d.ts
@@ -5,7 +7,7 @@ declare const PrerenderListV3Input: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PrerenderListV3Output: z.ZodObject<{
6
8
  message: z.ZodNullable<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const prerenderListV3: AppAction<typeof PrerenderListV3Input, typeof PrerenderListV3Output, typeof prerender.credential>;
9
11
  //#endregion
10
12
  export { prerenderListV3 };
11
13
  //# sourceMappingURL=list-v3.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.d.mts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-v3.d.mts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const prerenderListV3 = action("PRERENDER_LIST_V3", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-v3.mjs","names":[],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\").nullable(),\n}).passthrough().describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DASjD;CACP,QATmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-v3.mjs","names":[],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prerender } from \"../app\";\n\nexport const PrerenderListV3Input = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\").nullable(),\n}).passthrough().describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3: AppAction<\n typeof PrerenderListV3Input,\n typeof PrerenderListV3Output,\n typeof prerender.credential\n> = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;;AAWA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAajD;CACP,QAbmC,EAAE,OAAO,EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/recache-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.cjs","names":["z","action"],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\").nullable(),\n}).passthrough().describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CAC/N,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACvR,eAAeA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"recache-url.cjs","names":["z","action"],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prerender } from \"../app\";\n\nexport const PrerenderRecacheUrlInput = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\").nullable(),\n}).passthrough().describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl: AppAction<\n typeof PrerenderRecacheUrlInput,\n typeof PrerenderRecacheUrlOutput,\n typeof prerender.credential\n> = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CAC/N,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACvR,eAAeA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recache-url.d.ts
@@ -5,19 +7,15 @@ declare const PrerenderRecacheUrlInput: z.ZodObject<{
5
7
  url: z.ZodOptional<z.ZodString>;
6
8
  urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
9
  adaptive_type: z.ZodOptional<z.ZodEnum<{
8
- desktop: "desktop";
9
10
  mobile: "mobile";
11
+ desktop: "desktop";
10
12
  }>>;
11
13
  }, z.core.$strip>;
12
14
  declare const PrerenderRecacheUrlOutput: z.ZodObject<{
13
15
  message: z.ZodNullable<z.ZodString>;
14
16
  status_code: z.ZodNullable<z.ZodNumber>;
15
17
  }, z.core.$loose>;
16
- declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- url?: string | undefined;
18
- urls?: string[] | undefined;
19
- adaptive_type?: "desktop" | "mobile" | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const prerenderRecacheUrl: AppAction<typeof PrerenderRecacheUrlInput, typeof PrerenderRecacheUrlOutput, typeof prerender.credential>;
21
19
  //#endregion
22
20
  export { prerenderRecacheUrl };
23
21
  //# sourceMappingURL=recache-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.d.cts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"recache-url.d.cts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recache-url.d.ts
@@ -5,19 +7,15 @@ declare const PrerenderRecacheUrlInput: z.ZodObject<{
5
7
  url: z.ZodOptional<z.ZodString>;
6
8
  urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
9
  adaptive_type: z.ZodOptional<z.ZodEnum<{
8
- desktop: "desktop";
9
10
  mobile: "mobile";
11
+ desktop: "desktop";
10
12
  }>>;
11
13
  }, z.core.$strip>;
12
14
  declare const PrerenderRecacheUrlOutput: z.ZodObject<{
13
15
  message: z.ZodNullable<z.ZodString>;
14
16
  status_code: z.ZodNullable<z.ZodNumber>;
15
17
  }, z.core.$loose>;
16
- declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- url?: string | undefined;
18
- urls?: string[] | undefined;
19
- adaptive_type?: "desktop" | "mobile" | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const prerenderRecacheUrl: AppAction<typeof PrerenderRecacheUrlInput, typeof PrerenderRecacheUrlOutput, typeof prerender.credential>;
21
19
  //#endregion
22
20
  export { prerenderRecacheUrl };
23
21
  //# sourceMappingURL=recache-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.d.mts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"recache-url.d.mts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const prerenderRecacheUrl = action("PRERENDER_RECACHE_URL", {
@@ -1 +1 @@
1
- {"version":3,"file":"recache-url.mjs","names":[],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\").nullable(),\n}).passthrough().describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EAC/N,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACvR,eAAe,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"recache-url.mjs","names":[],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prerender } from \"../app\";\n\nexport const PrerenderRecacheUrlInput = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\").nullable(),\n}).passthrough().describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl: AppAction<\n typeof PrerenderRecacheUrlInput,\n typeof PrerenderRecacheUrlOutput,\n typeof prerender.credential\n> = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EAC/N,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACvR,eAAe,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,8CAcH;CACP,QAduC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACrJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-cached-urls.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.cjs","names":["z","action"],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).passthrough().describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-cached-urls.cjs","names":["z","action"],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prerender } from \"../app\";\n\nexport const PrerenderSearchCachedUrlsInput = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).passthrough().describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls: AppAction<\n typeof PrerenderSearchCachedUrlsInput,\n typeof PrerenderSearchCachedUrlsOutput,\n typeof prerender.credential\n> = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-cached-urls.d.ts
@@ -6,8 +8,8 @@ declare const PrerenderSearchCachedUrlsInput: z.ZodObject<{
6
8
  start: z.ZodOptional<z.ZodNumber>;
7
9
  exact_match: z.ZodOptional<z.ZodString>;
8
10
  adaptive_type: z.ZodOptional<z.ZodEnum<{
9
- desktop: "desktop";
10
11
  mobile: "mobile";
12
+ desktop: "desktop";
11
13
  }>>;
12
14
  }, z.core.$strip>;
13
15
  declare const PrerenderSearchCachedUrlsOutput: z.ZodObject<{
@@ -20,12 +22,7 @@ declare const PrerenderSearchCachedUrlsOutput: z.ZodObject<{
20
22
  requested_recache_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>>>;
22
24
  }, z.core.$loose>;
23
- declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- query?: string | undefined;
25
- start?: number | undefined;
26
- exact_match?: string | undefined;
27
- adaptive_type?: "desktop" | "mobile" | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const prerenderSearchCachedUrls: AppAction<typeof PrerenderSearchCachedUrlsInput, typeof PrerenderSearchCachedUrlsOutput, typeof prerender.credential>;
29
26
  //#endregion
30
27
  export { prerenderSearchCachedUrls };
31
28
  //# sourceMappingURL=search-cached-urls.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.d.cts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"search-cached-urls.d.cts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prerender } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-cached-urls.d.ts
@@ -6,8 +8,8 @@ declare const PrerenderSearchCachedUrlsInput: z.ZodObject<{
6
8
  start: z.ZodOptional<z.ZodNumber>;
7
9
  exact_match: z.ZodOptional<z.ZodString>;
8
10
  adaptive_type: z.ZodOptional<z.ZodEnum<{
9
- desktop: "desktop";
10
11
  mobile: "mobile";
12
+ desktop: "desktop";
11
13
  }>>;
12
14
  }, z.core.$strip>;
13
15
  declare const PrerenderSearchCachedUrlsOutput: z.ZodObject<{
@@ -20,12 +22,7 @@ declare const PrerenderSearchCachedUrlsOutput: z.ZodObject<{
20
22
  requested_recache_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>>>;
22
24
  }, z.core.$loose>;
23
- declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- query?: string | undefined;
25
- start?: number | undefined;
26
- exact_match?: string | undefined;
27
- adaptive_type?: "desktop" | "mobile" | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const prerenderSearchCachedUrls: AppAction<typeof PrerenderSearchCachedUrlsInput, typeof PrerenderSearchCachedUrlsOutput, typeof prerender.credential>;
29
26
  //#endregion
30
27
  export { prerenderSearchCachedUrls };
31
28
  //# sourceMappingURL=search-cached-urls.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.d.mts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"search-cached-urls.d.mts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/search-cached-urls.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-cached-urls.mjs","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).passthrough().describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAe,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAKvD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"search-cached-urls.mjs","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prerender } from \"../app\";\n\nexport const PrerenderSearchCachedUrlsInput = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).passthrough().describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls: AppAction<\n typeof PrerenderSearchCachedUrlsInput,\n typeof PrerenderSearchCachedUrlsOutput,\n typeof prerender.credential\n> = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAe,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAKvD,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;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 prerender = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const prerender = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "prerender",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.prerender = prerender;
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 prerender = defineApp({\n slug: \"prerender\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
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_api_key: z.string(),\n};\n\nexport const prerender: KeystrokeApp<\"prerender\", typeof credential> = defineApp({\n slug: \"prerender\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,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 prerender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const prerender: KeystrokeApp<"prerender", typeof credential>;
3
9
  //#endregion
4
10
  export { prerender };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,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 prerender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const prerender: KeystrokeApp<"prerender", typeof credential>;
3
9
  //#endregion
4
10
  export { prerender };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const prerender = defineApp({
4
4
  slug: "prerender",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { prerender };
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 prerender = defineApp({\n slug: \"prerender\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
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_api_key: z.string(),\n};\n\nexport const prerender: KeystrokeApp<\"prerender\", typeof credential> = defineApp({\n slug: \"prerender\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { prerender } from "./app.cjs";
1
2
  import { prerenderChangeRecacheSpeed } from "./actions/change-recache-speed.cjs";
2
3
  import { prerenderCheckHealth } from "./actions/check-health.cjs";
3
4
  import { prerenderClearCache } from "./actions/clear-cache.cjs";
@@ -8,6 +9,5 @@ import { prerenderListHealthz } from "./actions/list-healthz.cjs";
8
9
  import { prerenderListV3 } from "./actions/list-v3.cjs";
9
10
  import { prerenderRecacheUrl } from "./actions/recache-url.cjs";
10
11
  import { prerenderSearchCachedUrls } from "./actions/search-cached-urls.cjs";
11
- import { prerender } from "./app.cjs";
12
12
  import { prerenderCatalog } from "./catalog.cjs";
13
13
  export { prerender, prerenderCatalog, prerenderChangeRecacheSpeed, prerenderCheckHealth, prerenderClearCache, prerenderCreateSeoAuditReport, prerenderGetCacheClearStatus, prerenderGetPrerenderedPage, prerenderListHealthz, prerenderListV3, prerenderRecacheUrl, prerenderSearchCachedUrls };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { prerender } from "./app.mjs";
1
2
  import { prerenderChangeRecacheSpeed } from "./actions/change-recache-speed.mjs";
2
3
  import { prerenderCheckHealth } from "./actions/check-health.mjs";
3
4
  import { prerenderClearCache } from "./actions/clear-cache.mjs";
@@ -8,6 +9,5 @@ import { prerenderListHealthz } from "./actions/list-healthz.mjs";
8
9
  import { prerenderListV3 } from "./actions/list-v3.mjs";
9
10
  import { prerenderRecacheUrl } from "./actions/recache-url.mjs";
10
11
  import { prerenderSearchCachedUrls } from "./actions/search-cached-urls.mjs";
11
- import { prerender } from "./app.mjs";
12
12
  import { prerenderCatalog } from "./catalog.mjs";
13
13
  export { prerender, prerenderCatalog, prerenderChangeRecacheSpeed, prerenderCheckHealth, prerenderClearCache, prerenderCreateSeoAuditReport, prerenderGetCacheClearStatus, prerenderGetPrerenderedPage, prerenderListHealthz, prerenderListV3, prerenderRecacheUrl, prerenderSearchCachedUrls };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/prerender",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
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.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {