@keystrokehq/ritekit 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 (125) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/auto-hashtag.cjs +1 -0
  4. package/dist/actions/auto-hashtag.cjs.map +1 -1
  5. package/dist/actions/auto-hashtag.d.cts +3 -5
  6. package/dist/actions/auto-hashtag.d.cts.map +1 -1
  7. package/dist/actions/auto-hashtag.d.mts +3 -5
  8. package/dist/actions/auto-hashtag.d.mts.map +1 -1
  9. package/dist/actions/auto-hashtag.mjs +1 -0
  10. package/dist/actions/auto-hashtag.mjs.map +1 -1
  11. package/dist/actions/banned-instagram-hashtags.cjs +1 -0
  12. package/dist/actions/banned-instagram-hashtags.cjs.map +1 -1
  13. package/dist/actions/banned-instagram-hashtags.d.cts +3 -5
  14. package/dist/actions/banned-instagram-hashtags.d.cts.map +1 -1
  15. package/dist/actions/banned-instagram-hashtags.d.mts +3 -5
  16. package/dist/actions/banned-instagram-hashtags.d.mts.map +1 -1
  17. package/dist/actions/banned-instagram-hashtags.mjs +1 -0
  18. package/dist/actions/banned-instagram-hashtags.mjs.map +1 -1
  19. package/dist/actions/detect-disposable-email.cjs +1 -0
  20. package/dist/actions/detect-disposable-email.cjs.map +1 -1
  21. package/dist/actions/detect-disposable-email.d.cts +3 -3
  22. package/dist/actions/detect-disposable-email.d.cts.map +1 -1
  23. package/dist/actions/detect-disposable-email.d.mts +3 -3
  24. package/dist/actions/detect-disposable-email.d.mts.map +1 -1
  25. package/dist/actions/detect-disposable-email.mjs +1 -0
  26. package/dist/actions/detect-disposable-email.mjs.map +1 -1
  27. package/dist/actions/detect-email-typo.cjs +1 -0
  28. package/dist/actions/detect-email-typo.cjs.map +1 -1
  29. package/dist/actions/detect-email-typo.d.cts +3 -4
  30. package/dist/actions/detect-email-typo.d.cts.map +1 -1
  31. package/dist/actions/detect-email-typo.d.mts +3 -4
  32. package/dist/actions/detect-email-typo.d.mts.map +1 -1
  33. package/dist/actions/detect-email-typo.mjs +1 -0
  34. package/dist/actions/detect-email-typo.mjs.map +1 -1
  35. package/dist/actions/freemail-detection.cjs +1 -0
  36. package/dist/actions/freemail-detection.cjs.map +1 -1
  37. package/dist/actions/freemail-detection.d.cts +3 -3
  38. package/dist/actions/freemail-detection.d.cts.map +1 -1
  39. package/dist/actions/freemail-detection.d.mts +3 -3
  40. package/dist/actions/freemail-detection.d.mts.map +1 -1
  41. package/dist/actions/freemail-detection.mjs +1 -0
  42. package/dist/actions/freemail-detection.mjs.map +1 -1
  43. package/dist/actions/get-access-token.cjs +1 -0
  44. package/dist/actions/get-access-token.cjs.map +1 -1
  45. package/dist/actions/get-access-token.d.cts +3 -5
  46. package/dist/actions/get-access-token.d.cts.map +1 -1
  47. package/dist/actions/get-access-token.d.mts +3 -5
  48. package/dist/actions/get-access-token.d.mts.map +1 -1
  49. package/dist/actions/get-access-token.mjs +1 -0
  50. package/dist/actions/get-access-token.mjs.map +1 -1
  51. package/dist/actions/get-client-id.cjs +1 -0
  52. package/dist/actions/get-client-id.cjs.map +1 -1
  53. package/dist/actions/get-client-id.d.cts +3 -3
  54. package/dist/actions/get-client-id.d.cts.map +1 -1
  55. package/dist/actions/get-client-id.d.mts +3 -3
  56. package/dist/actions/get-client-id.d.mts.map +1 -1
  57. package/dist/actions/get-client-id.mjs +1 -0
  58. package/dist/actions/get-client-id.mjs.map +1 -1
  59. package/dist/actions/get-client-secret.cjs +1 -0
  60. package/dist/actions/get-client-secret.cjs.map +1 -1
  61. package/dist/actions/get-client-secret.d.cts +3 -3
  62. package/dist/actions/get-client-secret.d.cts.map +1 -1
  63. package/dist/actions/get-client-secret.d.mts +3 -3
  64. package/dist/actions/get-client-secret.d.mts.map +1 -1
  65. package/dist/actions/get-client-secret.mjs +1 -0
  66. package/dist/actions/get-client-secret.mjs.map +1 -1
  67. package/dist/actions/get-full-email-insights.cjs +1 -0
  68. package/dist/actions/get-full-email-insights.cjs.map +1 -1
  69. package/dist/actions/get-full-email-insights.d.cts +3 -4
  70. package/dist/actions/get-full-email-insights.d.cts.map +1 -1
  71. package/dist/actions/get-full-email-insights.d.mts +3 -4
  72. package/dist/actions/get-full-email-insights.d.mts.map +1 -1
  73. package/dist/actions/get-full-email-insights.mjs +1 -0
  74. package/dist/actions/get-full-email-insights.mjs.map +1 -1
  75. package/dist/actions/hashtag-suggestions.cjs +1 -0
  76. package/dist/actions/hashtag-suggestions.cjs.map +1 -1
  77. package/dist/actions/hashtag-suggestions.d.cts +3 -5
  78. package/dist/actions/hashtag-suggestions.d.cts.map +1 -1
  79. package/dist/actions/hashtag-suggestions.d.mts +3 -5
  80. package/dist/actions/hashtag-suggestions.d.mts.map +1 -1
  81. package/dist/actions/hashtag-suggestions.mjs +1 -0
  82. package/dist/actions/hashtag-suggestions.mjs.map +1 -1
  83. package/dist/actions/link-ad-delete.cjs +1 -0
  84. package/dist/actions/link-ad-delete.cjs.map +1 -1
  85. package/dist/actions/link-ad-delete.d.cts +3 -3
  86. package/dist/actions/link-ad-delete.d.cts.map +1 -1
  87. package/dist/actions/link-ad-delete.d.mts +3 -3
  88. package/dist/actions/link-ad-delete.d.mts.map +1 -1
  89. package/dist/actions/link-ad-delete.mjs +1 -0
  90. package/dist/actions/link-ad-delete.mjs.map +1 -1
  91. package/dist/actions/list-link-ads.cjs +1 -0
  92. package/dist/actions/list-link-ads.cjs.map +1 -1
  93. package/dist/actions/list-link-ads.d.cts +3 -4
  94. package/dist/actions/list-link-ads.d.cts.map +1 -1
  95. package/dist/actions/list-link-ads.d.mts +3 -4
  96. package/dist/actions/list-link-ads.d.mts.map +1 -1
  97. package/dist/actions/list-link-ads.mjs +1 -0
  98. package/dist/actions/list-link-ads.mjs.map +1 -1
  99. package/dist/actions/shorten-link.cjs +1 -0
  100. package/dist/actions/shorten-link.cjs.map +1 -1
  101. package/dist/actions/shorten-link.d.cts +3 -4
  102. package/dist/actions/shorten-link.d.cts.map +1 -1
  103. package/dist/actions/shorten-link.d.mts +3 -4
  104. package/dist/actions/shorten-link.d.mts.map +1 -1
  105. package/dist/actions/shorten-link.mjs +1 -0
  106. package/dist/actions/shorten-link.mjs.map +1 -1
  107. package/dist/actions/text-to-image.cjs +1 -0
  108. package/dist/actions/text-to-image.cjs.map +1 -1
  109. package/dist/actions/text-to-image.d.cts +3 -20
  110. package/dist/actions/text-to-image.d.cts.map +1 -1
  111. package/dist/actions/text-to-image.d.mts +3 -20
  112. package/dist/actions/text-to-image.d.mts.map +1 -1
  113. package/dist/actions/text-to-image.mjs +1 -0
  114. package/dist/actions/text-to-image.mjs.map +1 -1
  115. package/dist/app.cjs +5 -2
  116. package/dist/app.cjs.map +1 -1
  117. package/dist/app.d.cts +7 -1
  118. package/dist/app.d.cts.map +1 -1
  119. package/dist/app.d.mts +7 -1
  120. package/dist/app.d.mts.map +1 -1
  121. package/dist/app.mjs +3 -2
  122. package/dist/app.mjs.map +1 -1
  123. package/dist/index.d.cts +1 -1
  124. package/dist/index.d.mts +1 -1
  125. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/shorten-link.d.ts
@@ -16,10 +18,7 @@ declare const RitekitShortenLinkOutput: z.ZodObject<{
16
18
  original: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const ritekitShortenLink: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- cta: number;
21
- url: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const ritekitShortenLink: AppAction<typeof RitekitShortenLinkInput, typeof RitekitShortenLinkOutput, typeof ritekit.credential>;
23
22
  //#endregion
24
23
  export { ritekitShortenLink };
25
24
  //# sourceMappingURL=shorten-link.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shorten-link.d.mts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAUxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"shorten-link.d.mts","names":[],"sources":["../../src/actions/shorten-link.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAOvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,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/shorten-link.ts
@@ -1 +1 @@
1
- {"version":3,"file":"shorten-link.mjs","names":[],"sources":["../../src/actions/shorten-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitShortenLinkInput = z.object({\n cta: z.number().int().describe(\"ID of the call-to-action to attach to the shortened link\"),\n url: z.string().describe(\"URL to be shortened\"),\n}).describe(\"Request model for RiteKit Shorten Link API.\");\nconst RitekitShortenLink_LimitInfoSchema = z.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).passthrough().describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput = z.object({\n url: z.string().describe(\"Generated shortened URL with the specified CTA\").nullable().optional(),\n ctaId: z.string().describe(\"CTA ID attached to the link\").nullable().optional(),\n limit: RitekitShortenLink_LimitInfoSchema.nullable().optional(),\n result: z.boolean().describe(\"Whether the operation succeeded\").nullable().optional(),\n service: z.string().describe(\"Link shortening service used (e.g., rite.link)\").nullable().optional(),\n original: z.string().describe(\"Original URL that was shortened\").nullable().optional(),\n short_url: z.string().describe(\"Alternative field for shortened URL\").nullable().optional(),\n}).passthrough().describe(\"Response model for RiteKit Shorten Link API.\");\n\nexport const ritekitShortenLink = action(\"RITEKIT_SHORTEN_LINK\", {\n slug: \"ritekit-shorten-link\",\n name: \"Shorten Link\",\n description: \"Tool to shorten a URL with a specified CTA. Use when you need to generate a call-to-action-enabled short link.\",\n input: RitekitShortenLinkInput,\n output: RitekitShortenLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;AAChD,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,qCAAqC,EAAE,OAAO,EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAWvD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"shorten-link.mjs","names":[],"sources":["../../src/actions/shorten-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\n\nexport const RitekitShortenLinkInput = z.object({\n cta: z.number().int().describe(\"ID of the call-to-action to attach to the shortened link\"),\n url: z.string().describe(\"URL to be shortened\"),\n}).describe(\"Request model for RiteKit Shorten Link API.\");\nconst RitekitShortenLink_LimitInfoSchema = z.object({\n remaining: z.number().int().describe(\"Number of remaining API calls\").nullable().optional(),\n}).passthrough().describe(\"API rate limit information.\");\nexport const RitekitShortenLinkOutput = z.object({\n url: z.string().describe(\"Generated shortened URL with the specified CTA\").nullable().optional(),\n ctaId: z.string().describe(\"CTA ID attached to the link\").nullable().optional(),\n limit: RitekitShortenLink_LimitInfoSchema.nullable().optional(),\n result: z.boolean().describe(\"Whether the operation succeeded\").nullable().optional(),\n service: z.string().describe(\"Link shortening service used (e.g., rite.link)\").nullable().optional(),\n original: z.string().describe(\"Original URL that was shortened\").nullable().optional(),\n short_url: z.string().describe(\"Alternative field for shortened URL\").nullable().optional(),\n}).passthrough().describe(\"Response model for RiteKit Shorten Link API.\");\n\nexport const ritekitShortenLink: AppAction<\n typeof RitekitShortenLinkInput,\n typeof RitekitShortenLinkOutput,\n typeof ritekit.credential\n> = action(\"RITEKIT_SHORTEN_LINK\", {\n slug: \"ritekit-shorten-link\",\n name: \"Shorten Link\",\n description: \"Tool to shorten a URL with a specified CTA. Use when you need to generate a call-to-action-enabled short link.\",\n input: RitekitShortenLinkIn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js");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/text-to-image.ts
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-image.cjs","names":["z","action"],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitTextToImageInput = z.object({\n quote: z.string().describe(\"Text of the quote to render as an image\"),\n author: z.string().describe(\"Name of the author or source of the quote\").optional(),\n bgType: z.enum([\"solid\", \"gradient\"]).describe(\"Background type: 'solid' or 'gradient'\").optional(),\n fontSize: z.number().int().describe(\"Font size for the quote text (px, between 8 and 144)\").optional(),\n animation: z.enum([\"none\", \"rays\", \"glint\", \"circle\"]).describe(\"Animation effect: none, rays, glint, or circle\").optional(),\n brandLogo: z.string().describe(\"URL of a brand logo to include\").optional(),\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata\").optional(),\n quoteFont: z.string().describe(\"Font family for the quote text\").optional(),\n authorFont: z.string().describe(\"Font family for the author text\").optional(),\n gradientType: z.enum([\"linear\", \"radial\"]).describe(\"Gradient type when bgType is 'gradient'\").optional(),\n showQuoteMark: z.union([z.literal(0), z.literal(1)]).describe(\"Display quote mark (1 = yes, 0 = no)\").optional(),\n gradientColor1: z.string().describe(\"First color for gradient background\").optional(),\n gradientColor2: z.string().describe(\"Second color for gradient background\").optional(),\n highlightColor: z.string().describe(\"Color (hex or name) for highlight\").optional(),\n quoteFontColor: z.string().describe(\"Color (hex or name) for the quote text\").optional(),\n authorFontColor: z.string().describe(\"Color (hex or name) for the author text\").optional(),\n backgroundColor: z.string().describe(\"Background color for solid type\").optional(),\n enableHighlight: z.union([z.literal(0), z.literal(1)]).describe(\"Highlight behind quote text (1 = yes, 0 = no)\").optional(),\n}).describe(\"Request parameters for generating an image from text. Use when you have quote text and optional styling.\");\nexport const RitekitTextToImageOutput = z.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\n}).passthrough().describe(\"Response containing the URL of the generated image.\");\n\nexport const ritekitTextToImage = action(\"RITEKIT_TEXT_TO_IMAGE\", {\n slug: \"ritekit-text-to-image\",\n name: \"Convert Text to Image\",\n description: \"Tool to convert a quote into a styled image. Use after preparing quote text and style options.\",\n input: RitekitTextToImageInput,\n output: RitekitTextToImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,KAAK,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAS;CAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACjJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACtH,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"text-to-image.cjs","names":["z","action"],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\n\nexport const RitekitTextToImageInput = z.object({\n quote: z.string().describe(\"Text of the quote to render as an image\"),\n author: z.string().describe(\"Name of the author or source of the quote\").optional(),\n bgType: z.enum([\"solid\", \"gradient\"]).describe(\"Background type: 'solid' or 'gradient'\").optional(),\n fontSize: z.number().int().describe(\"Font size for the quote text (px, between 8 and 144)\").optional(),\n animation: z.enum([\"none\", \"rays\", \"glint\", \"circle\"]).describe(\"Animation effect: none, rays, glint, or circle\").optional(),\n brandLogo: z.string().describe(\"URL of a brand logo to include\").optional(),\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata\").optional(),\n quoteFont: z.string().describe(\"Font family for the quote text\").optional(),\n authorFont: z.string().describe(\"Font family for the author text\").optional(),\n gradientType: z.enum([\"linear\", \"radial\"]).describe(\"Gradient type when bgType is 'gradient'\").optional(),\n showQuoteMark: z.union([z.literal(0), z.literal(1)]).describe(\"Display quote mark (1 = yes, 0 = no)\").optional(),\n gradientColor1: z.string().describe(\"First color for gradient background\").optional(),\n gradientColor2: z.string().describe(\"Second color for gradient background\").optional(),\n highlightColor: z.string().describe(\"Color (hex or name) for highlight\").optional(),\n quoteFontColor: z.string().describe(\"Color (hex or name) for the quote text\").optional(),\n authorFontColor: z.string().describe(\"Color (hex or name) for the author text\").optional(),\n backgroundColor: z.string().describe(\"Background color for solid type\").optional(),\n enableHighlight: z.union([z.literal(0), z.literal(1)]).describe(\"Highlight behind quote text (1 = yes, 0 = no)\").optional(),\n}).describe(\"Request parameters for generating an image from text. Use when you have quote text and optional styling.\");\nexport const RitekitTextToImageOutput = z.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\n}).passthrough().describe(\"Response containing the URL of the generated image.\");\n\nexport const ritekitTextToImage: AppAction<\n typeof RitekitTextToImageInput,\n typeof RitekitTextToImageOutput,\n typeof ritekit.credential\n> = action(\"RITEKIT_TEXT_TO_IMAGE\", {\n slug: \"ritekit-text-to-image\",\n name: \"Convert Text to Image\",\n description: \"Tool to convert a quote into a styled image. Use after preparing quote text and style options.\",\n input: RitekitTextToImageInput,\n output: RitekitTextToImageOutput,\n});\n"],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;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACtH,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/text-to-image.d.ts
@@ -35,26 +37,7 @@ declare const RitekitTextToImageInput: z.ZodObject<{
35
37
  declare const RitekitTextToImageOutput: z.ZodObject<{
36
38
  url: z.ZodNullable<z.ZodString>;
37
39
  }, z.core.$loose>;
38
- declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- quote: string;
40
- author?: string | undefined;
41
- bgType?: "solid" | "gradient" | undefined;
42
- fontSize?: number | undefined;
43
- animation?: "none" | "rays" | "glint" | "circle" | undefined;
44
- brandLogo?: string | undefined;
45
- client_id?: string | undefined;
46
- quoteFont?: string | undefined;
47
- authorFont?: string | undefined;
48
- gradientType?: "linear" | "radial" | undefined;
49
- showQuoteMark?: 0 | 1 | undefined;
50
- gradientColor1?: string | undefined;
51
- gradientColor2?: string | undefined;
52
- highlightColor?: string | undefined;
53
- quoteFontColor?: string | undefined;
54
- authorFontColor?: string | undefined;
55
- backgroundColor?: string | undefined;
56
- enableHighlight?: 0 | 1 | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const ritekitTextToImage: AppAction<typeof RitekitTextToImageInput, typeof RitekitTextToImageOutput, typeof ritekit.credential>;
58
41
  //#endregion
59
42
  export { ritekitTextToImage };
60
43
  //# sourceMappingURL=text-to-image.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-image.d.cts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"text-to-image.d.cts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ritekit } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/text-to-image.d.ts
@@ -35,26 +37,7 @@ declare const RitekitTextToImageInput: z.ZodObject<{
35
37
  declare const RitekitTextToImageOutput: z.ZodObject<{
36
38
  url: z.ZodNullable<z.ZodString>;
37
39
  }, z.core.$loose>;
38
- declare const ritekitTextToImage: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- quote: string;
40
- author?: string | undefined;
41
- bgType?: "solid" | "gradient" | undefined;
42
- fontSize?: number | undefined;
43
- animation?: "none" | "rays" | "glint" | "circle" | undefined;
44
- brandLogo?: string | undefined;
45
- client_id?: string | undefined;
46
- quoteFont?: string | undefined;
47
- authorFont?: string | undefined;
48
- gradientType?: "linear" | "radial" | undefined;
49
- showQuoteMark?: 0 | 1 | undefined;
50
- gradientColor1?: string | undefined;
51
- gradientColor2?: string | undefined;
52
- highlightColor?: string | undefined;
53
- quoteFontColor?: string | undefined;
54
- authorFontColor?: string | undefined;
55
- backgroundColor?: string | undefined;
56
- enableHighlight?: 0 | 1 | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const ritekitTextToImage: AppAction<typeof RitekitTextToImageInput, typeof RitekitTextToImageOutput, typeof ritekit.credential>;
58
41
  //#endregion
59
42
  export { ritekitTextToImage };
60
43
  //# sourceMappingURL=text-to-image.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-image.d.mts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"text-to-image.d.mts","names":[],"sources":["../../src/actions/text-to-image.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,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 ritekitTextToImage = action("RITEKIT_TEXT_TO_IMAGE", {
@@ -1 +1 @@
1
- {"version":3,"file":"text-to-image.mjs","names":[],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RitekitTextToImageInput = z.object({\n quote: z.string().describe(\"Text of the quote to render as an image\"),\n author: z.string().describe(\"Name of the author or source of the quote\").optional(),\n bgType: z.enum([\"solid\", \"gradient\"]).describe(\"Background type: 'solid' or 'gradient'\").optional(),\n fontSize: z.number().int().describe(\"Font size for the quote text (px, between 8 and 144)\").optional(),\n animation: z.enum([\"none\", \"rays\", \"glint\", \"circle\"]).describe(\"Animation effect: none, rays, glint, or circle\").optional(),\n brandLogo: z.string().describe(\"URL of a brand logo to include\").optional(),\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata\").optional(),\n quoteFont: z.string().describe(\"Font family for the quote text\").optional(),\n authorFont: z.string().describe(\"Font family for the author text\").optional(),\n gradientType: z.enum([\"linear\", \"radial\"]).describe(\"Gradient type when bgType is 'gradient'\").optional(),\n showQuoteMark: z.union([z.literal(0), z.literal(1)]).describe(\"Display quote mark (1 = yes, 0 = no)\").optional(),\n gradientColor1: z.string().describe(\"First color for gradient background\").optional(),\n gradientColor2: z.string().describe(\"Second color for gradient background\").optional(),\n highlightColor: z.string().describe(\"Color (hex or name) for highlight\").optional(),\n quoteFontColor: z.string().describe(\"Color (hex or name) for the quote text\").optional(),\n authorFontColor: z.string().describe(\"Color (hex or name) for the author text\").optional(),\n backgroundColor: z.string().describe(\"Background color for solid type\").optional(),\n enableHighlight: z.union([z.literal(0), z.literal(1)]).describe(\"Highlight behind quote text (1 = yes, 0 = no)\").optional(),\n}).describe(\"Request parameters for generating an image from text. Use when you have quote text and optional styling.\");\nexport const RitekitTextToImageOutput = z.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\n}).passthrough().describe(\"Response containing the URL of the generated image.\");\n\nexport const ritekitTextToImage = action(\"RITEKIT_TEXT_TO_IMAGE\", {\n slug: \"ritekit-text-to-image\",\n name: \"Convert Text to Image\",\n description: \"Tool to convert a quote into a styled image. Use after preparing quote text and style options.\",\n input: RitekitTextToImageInput,\n output: RitekitTextToImageOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,KAAK,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAS;EAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACjJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACxG,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,0GASH;CACP,QATsC,EAAE,OAAO,EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"text-to-image.mjs","names":[],"sources":["../../src/actions/text-to-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ritekit } from \"../app\";\n\nexport const RitekitTextToImageInput = z.object({\n quote: z.string().describe(\"Text of the quote to render as an image\"),\n author: z.string().describe(\"Name of the author or source of the quote\").optional(),\n bgType: z.enum([\"solid\", \"gradient\"]).describe(\"Background type: 'solid' or 'gradient'\").optional(),\n fontSize: z.number().int().describe(\"Font size for the quote text (px, between 8 and 144)\").optional(),\n animation: z.enum([\"none\", \"rays\", \"glint\", \"circle\"]).describe(\"Animation effect: none, rays, glint, or circle\").optional(),\n brandLogo: z.string().describe(\"URL of a brand logo to include\").optional(),\n client_id: z.string().describe(\"Optional RiteKit API client ID. If not provided, the action attempts to read from connection metadata\").optional(),\n quoteFont: z.string().describe(\"Font family for the quote text\").optional(),\n authorFont: z.string().describe(\"Font family for the author text\").optional(),\n gradientType: z.enum([\"linear\", \"radial\"]).describe(\"Gradient type when bgType is 'gradient'\").optional(),\n showQuoteMark: z.union([z.literal(0), z.literal(1)]).describe(\"Display quote mark (1 = yes, 0 = no)\").optional(),\n gradientColor1: z.string().describe(\"First color for gradient background\").optional(),\n gradientColor2: z.string().describe(\"Second color for gradient background\").optional(),\n highlightColor: z.string().describe(\"Color (hex or name) for highlight\").optional(),\n quoteFontColor: z.string().describe(\"Color (hex or name) for the quote text\").optional(),\n authorFontColor: z.string().describe(\"Color (hex or name) for the author text\").optional(),\n backgroundColor: z.string().describe(\"Background color for solid type\").optional(),\n enableHighlight: z.union([z.literal(0), z.literal(1)]).describe(\"Highlight behind quote text (1 = yes, 0 = no)\").optional(),\n}).describe(\"Request parameters for generating an image from text. Use when you have quote text and optional styling.\");\nexport const RitekitTextToImageOutput = z.object({\n url: z.string().describe(\"URL of the generated image\").nullable(),\n}).passthrough().describe(\"Response containing the URL of the generated image.\");\n\nexport const ritekitTextToImage: AppAction<\n typeof RitekitTextToImageInput,\n typeof RitekitTextToImageOutput,\n typeof ritekit.credential\n> = action(\"RITEKIT_TEXT_TO_IMAGE\", {\n slug: \"ritekit-text-to-image\",\n name: \"Convert Text to Image\",\n description: \"Tool to convert a quote into a styled image. Use after preparing quote text and style options.\",\n input: RitekitTextToImageInput,\n output: RitekitTextToImageOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OA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CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,0GAaH;CACP,QAbsC,EAAE,OAAO,EAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;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 ritekit = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const ritekit = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "ritekit",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.ritekit = ritekit;
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 ritekit = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,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 ritekit: KeystrokeApp<\"ritekit\", typeof credential> = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,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 ritekit: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const ritekit: KeystrokeApp<"ritekit", typeof credential>;
3
9
  //#endregion
4
10
  export { ritekit };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,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,OAAA,EAAS,YAAY,mBAAmB,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 ritekit: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const ritekit: KeystrokeApp<"ritekit", typeof credential>;
3
9
  //#endregion
4
10
  export { ritekit };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,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,OAAA,EAAS,YAAY,mBAAmB,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 ritekit = defineApp({
4
4
  slug: "ritekit",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { ritekit };
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 ritekit = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,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 ritekit: KeystrokeApp<\"ritekit\", typeof credential> = defineApp({\n slug: \"ritekit\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ritekit } from "./app.cjs";
1
2
  import { ritekitAutoHashtag } from "./actions/auto-hashtag.cjs";
2
3
  import { ritekitBannedInstagramHashtags } from "./actions/banned-instagram-hashtags.cjs";
3
4
  import { ritekitDetectDisposableEmail } from "./actions/detect-disposable-email.cjs";
@@ -12,6 +13,5 @@ import { ritekitLinkAdDelete } from "./actions/link-ad-delete.cjs";
12
13
  import { ritekitListLinkAds } from "./actions/list-link-ads.cjs";
13
14
  import { ritekitShortenLink } from "./actions/shorten-link.cjs";
14
15
  import { ritekitTextToImage } from "./actions/text-to-image.cjs";
15
- import { ritekit } from "./app.cjs";
16
16
  import { ritekitCatalog } from "./catalog.cjs";
17
17
  export { ritekit, ritekitAutoHashtag, ritekitBannedInstagramHashtags, ritekitCatalog, ritekitDetectDisposableEmail, ritekitDetectEmailTypo, ritekitFreemailDetection, ritekitGetAccessToken, ritekitGetClientId, ritekitGetClientSecret, ritekitGetFullEmailInsights, ritekitHashtagSuggestions, ritekitLinkAdDelete, ritekitListLinkAds, ritekitShortenLink, ritekitTextToImage };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ritekit } from "./app.mjs";
1
2
  import { ritekitAutoHashtag } from "./actions/auto-hashtag.mjs";
2
3
  import { ritekitBannedInstagramHashtags } from "./actions/banned-instagram-hashtags.mjs";
3
4
  import { ritekitDetectDisposableEmail } from "./actions/detect-disposable-email.mjs";
@@ -12,6 +13,5 @@ import { ritekitLinkAdDelete } from "./actions/link-ad-delete.mjs";
12
13
  import { ritekitListLinkAds } from "./actions/list-link-ads.mjs";
13
14
  import { ritekitShortenLink } from "./actions/shorten-link.mjs";
14
15
  import { ritekitTextToImage } from "./actions/text-to-image.mjs";
15
- import { ritekit } from "./app.mjs";
16
16
  import { ritekitCatalog } from "./catalog.mjs";
17
17
  export { ritekit, ritekitAutoHashtag, ritekitBannedInstagramHashtags, ritekitCatalog, ritekitDetectDisposableEmail, ritekitDetectEmailTypo, ritekitFreemailDetection, ritekitGetAccessToken, ritekitGetClientId, ritekitGetClientSecret, ritekitGetFullEmailInsights, ritekitHashtagSuggestions, ritekitLinkAdDelete, ritekitListLinkAds, ritekitShortenLink, ritekitTextToImage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/ritekit",
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": {