@keystrokehq/prismic 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 (53) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/content-api-get-documents-with-fulltext-search.cjs +1 -0
  4. package/dist/actions/content-api-get-documents-with-fulltext-search.cjs.map +1 -1
  5. package/dist/actions/content-api-get-documents-with-fulltext-search.d.cts +3 -9
  6. package/dist/actions/content-api-get-documents-with-fulltext-search.d.cts.map +1 -1
  7. package/dist/actions/content-api-get-documents-with-fulltext-search.d.mts +3 -9
  8. package/dist/actions/content-api-get-documents-with-fulltext-search.d.mts.map +1 -1
  9. package/dist/actions/content-api-get-documents-with-fulltext-search.mjs +1 -0
  10. package/dist/actions/content-api-get-documents-with-fulltext-search.mjs.map +1 -1
  11. package/dist/actions/content-api-query-documents.cjs +1 -0
  12. package/dist/actions/content-api-query-documents.cjs.map +1 -1
  13. package/dist/actions/content-api-query-documents.d.cts +3 -14
  14. package/dist/actions/content-api-query-documents.d.cts.map +1 -1
  15. package/dist/actions/content-api-query-documents.d.mts +3 -14
  16. package/dist/actions/content-api-query-documents.d.mts.map +1 -1
  17. package/dist/actions/content-api-query-documents.mjs +1 -0
  18. package/dist/actions/content-api-query-documents.mjs.map +1 -1
  19. package/dist/actions/repository-api-get-info.cjs +1 -0
  20. package/dist/actions/repository-api-get-info.cjs.map +1 -1
  21. package/dist/actions/repository-api-get-info.d.cts +3 -1
  22. package/dist/actions/repository-api-get-info.d.cts.map +1 -1
  23. package/dist/actions/repository-api-get-info.d.mts +3 -1
  24. package/dist/actions/repository-api-get-info.d.mts.map +1 -1
  25. package/dist/actions/repository-api-get-info.mjs +1 -0
  26. package/dist/actions/repository-api-get-info.mjs.map +1 -1
  27. package/dist/actions/tags-api-get-all-tags.cjs +1 -0
  28. package/dist/actions/tags-api-get-all-tags.cjs.map +1 -1
  29. package/dist/actions/tags-api-get-all-tags.d.cts +3 -1
  30. package/dist/actions/tags-api-get-all-tags.d.cts.map +1 -1
  31. package/dist/actions/tags-api-get-all-tags.d.mts +3 -1
  32. package/dist/actions/tags-api-get-all-tags.d.mts.map +1 -1
  33. package/dist/actions/tags-api-get-all-tags.mjs +1 -0
  34. package/dist/actions/tags-api-get-all-tags.mjs.map +1 -1
  35. package/dist/actions/types-api-get-types.cjs +1 -0
  36. package/dist/actions/types-api-get-types.cjs.map +1 -1
  37. package/dist/actions/types-api-get-types.d.cts +3 -5
  38. package/dist/actions/types-api-get-types.d.cts.map +1 -1
  39. package/dist/actions/types-api-get-types.d.mts +3 -5
  40. package/dist/actions/types-api-get-types.d.mts.map +1 -1
  41. package/dist/actions/types-api-get-types.mjs +1 -0
  42. package/dist/actions/types-api-get-types.mjs.map +1 -1
  43. package/dist/app.cjs +9 -2
  44. package/dist/app.cjs.map +1 -1
  45. package/dist/app.d.cts +8 -1
  46. package/dist/app.d.cts.map +1 -1
  47. package/dist/app.d.mts +8 -1
  48. package/dist/app.d.mts.map +1 -1
  49. package/dist/app.mjs +6 -2
  50. package/dist/app.mjs.map +1 -1
  51. package/dist/index.d.cts +1 -1
  52. package/dist/index.d.mts +1 -1
  53. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["prismic","executePrismicTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { prismic } from \"./app\";\nimport { executePrismicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return prismic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePrismicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["prismic","executePrismicTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { prismic } from \"./app\";\nimport { executePrismicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof prismic.credential> {\n return prismic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePrismicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { prismic } from \"./app\";\nimport { executePrismicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return prismic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePrismicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { prismic } from \"./app\";\nimport { executePrismicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof prismic.credential> {\n return prismic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePrismicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -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/content-api-get-documents-with-fulltext-search.ts
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-get-documents-with-fulltext-search.cjs","names":["z","action"],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicContentApiGetDocumentsWithFulltextSearchInput = z.object({\n q: z.string().describe(\"Full-text search query in Prismic predicate format. Must be wrapped in double square brackets. Format: [[fulltext(document, \\\"your search terms\\\")]]. Searches across all text fields in documents. Multiple words will match documents containing all terms.\"),\n lang: z.string().describe(\"Language code (e.g., 'en-us').\").optional(),\n page: z.number().int().default(1).describe(\"Page number, must be >= 1\").optional(),\n fetch: z.string().describe(\"Comma-separated list of field API IDs to fetch.\").optional(),\n pageSize: z.number().int().default(20).describe(\"Number of documents per page (1-100).\").optional(),\n orderings: z.string().describe(\"Sorting order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of linked document fields to fetch.\").optional(),\n}).describe(\"Request parameters to perform a full-text search on Prismic documents.\");\nconst PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiGetDocumentsWithFulltextSearchOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n license: z.string().describe(\"Content license information\").nullable().optional(),\n results: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema).describe(\"List of matched documents ordered by relevance\"),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiGetDocumentsWithFulltextSearch = action(\"PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH\", {\n slug: \"prismic-content-api-get-documents-with-fulltext-search\",\n name: \"Get Prismic Documents with Fulltext Search\",\n description: \"Search Prismic documents using full-text search. Searches across all text fields in documents for the specified terms. The search is case-insensitive and matches based on root words. Automatically retrieves the current master ref. Returns paginated results ordered by relevance.\",\n input: PrismicContentApiGetDocumentsWithFulltextSearchInput,\n output: PrismicContentApiGetDocumentsWithFulltextSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uDAAuDA,IAAAA,EAAE,OAAO;CAC3E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+PAA+P;CACtR,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAA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,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kDAAkDC,eAAAA,OAAO,0DAA0D;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"content-api-get-documents-with-fulltext-search.cjs","names":["z","action"],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicContentApiGetDocumentsWithFulltextSearchInput = z.object({\n q: z.string().describe(\"Full-text search query in Prismic predicate format. Must be wrapped in double square brackets. Format: [[fulltext(document, \\\"your search terms\\\")]]. Searches across all text fields in documents. Multiple words will match documents containing all terms.\"),\n lang: z.string().describe(\"Language code (e.g., 'en-us').\").optional(),\n page: z.number().int().default(1).describe(\"Page number, must be >= 1\").optional(),\n fetch: z.string().describe(\"Comma-separated list of field API IDs to fetch.\").optional(),\n pageSize: z.number().int().default(20).describe(\"Number of documents per page (1-100).\").optional(),\n orderings: z.string().describe(\"Sorting order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of linked document fields to fetch.\").optional(),\n}).describe(\"Request parameters to perform a full-text search on Prismic documents.\");\nconst PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiGetDocumentsWithFulltextSearchOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n license: z.string().describe(\"Content license information\").nullable().optional(),\n results: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema).describe(\"List of matched documents ordered by relevance\"),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiGetDocumentsWithFulltextSearch: AppAction<\n typeof PrismicContentApiGetDocumentsWithFulltextSearchInput,\n typeof PrismicContentApiGetDocumentsWithFulltextSearchOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH\", {\n slug: \"prismic-content-api-get-documents-with-fulltext-search\",\n name: \"Get Prismic Documents with Fulltext Search\",\n description: \"Search Prismic documents using full-text search. Searches across all text fields in documents for the specified terms. The search is case-insensitive and matches based on root words. Automatically retrieves the current master ref. Returns paginated results ordered by relevance.\",\n input: PrismicContentApiGetDocumentsWithFulltextSearchInput,\n output: PrismicContentApiGetDocumentsWithFulltextSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uDAAuDA,IAAAA,EAAE,OAAO;CAC3E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+PAA+P;CACtR,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,0EAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,KAAKA,IAAAA,E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//#region src/actions/content-api-get-documents-with-fulltext-search.d.ts
@@ -39,15 +41,7 @@ declare const PrismicContentApiGetDocumentsWithFulltextSearchOutput: z.ZodObject
39
41
  results_per_page: z.ZodNullable<z.ZodNumber>;
40
42
  total_results_size: z.ZodNullable<z.ZodNumber>;
41
43
  }, z.core.$loose>;
42
- declare const prismicContentApiGetDocumentsWithFulltextSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- q: string;
44
- lang?: string | undefined;
45
- page?: number | undefined;
46
- fetch?: string | undefined;
47
- pageSize?: number | undefined;
48
- orderings?: string | undefined;
49
- fetchLinks?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const prismicContentApiGetDocumentsWithFulltextSearch: AppAction<typeof PrismicContentApiGetDocumentsWithFulltextSearchInput, typeof PrismicContentApiGetDocumentsWithFulltextSearchOutput, typeof prismic.credential>;
51
45
  //#endregion
52
46
  export { prismicContentApiGetDocumentsWithFulltextSearch };
53
47
  //# sourceMappingURL=content-api-get-documents-with-fulltext-search.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-get-documents-with-fulltext-search.d.cts","names":[],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"mappings":";;;cAIa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;;;cA4BpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAarD,+CAAA,gCAA+C,wBAAA"}
1
+ {"version":3,"file":"content-api-get-documents-with-fulltext-search.d.cts","names":[],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"mappings":";;;;;cAMa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;;;cA4BpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAarD,+CAAA,EAAiD,SAAA,QACrD,oDAAA,SACA,qDAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/content-api-get-documents-with-fulltext-search.d.ts
@@ -39,15 +41,7 @@ declare const PrismicContentApiGetDocumentsWithFulltextSearchOutput: z.ZodObject
39
41
  results_per_page: z.ZodNullable<z.ZodNumber>;
40
42
  total_results_size: z.ZodNullable<z.ZodNumber>;
41
43
  }, z.core.$loose>;
42
- declare const prismicContentApiGetDocumentsWithFulltextSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- q: string;
44
- lang?: string | undefined;
45
- page?: number | undefined;
46
- fetch?: string | undefined;
47
- pageSize?: number | undefined;
48
- orderings?: string | undefined;
49
- fetchLinks?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const prismicContentApiGetDocumentsWithFulltextSearch: AppAction<typeof PrismicContentApiGetDocumentsWithFulltextSearchInput, typeof PrismicContentApiGetDocumentsWithFulltextSearchOutput, typeof prismic.credential>;
51
45
  //#endregion
52
46
  export { prismicContentApiGetDocumentsWithFulltextSearch };
53
47
  //# sourceMappingURL=content-api-get-documents-with-fulltext-search.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-get-documents-with-fulltext-search.d.mts","names":[],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"mappings":";;;cAIa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;;;cA4BpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAarD,+CAAA,gCAA+C,wBAAA"}
1
+ {"version":3,"file":"content-api-get-documents-with-fulltext-search.d.mts","names":[],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"mappings":";;;;;cAMa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;;;cA4BpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAarD,+CAAA,EAAiD,SAAA,QACrD,oDAAA,SACA,qDAAA,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/content-api-get-documents-with-fulltext-search.ts
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-get-documents-with-fulltext-search.mjs","names":[],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicContentApiGetDocumentsWithFulltextSearchInput = z.object({\n q: z.string().describe(\"Full-text search query in Prismic predicate format. Must be wrapped in double square brackets. Format: [[fulltext(document, \\\"your search terms\\\")]]. Searches across all text fields in documents. Multiple words will match documents containing all terms.\"),\n lang: z.string().describe(\"Language code (e.g., 'en-us').\").optional(),\n page: z.number().int().default(1).describe(\"Page number, must be >= 1\").optional(),\n fetch: z.string().describe(\"Comma-separated list of field API IDs to fetch.\").optional(),\n pageSize: z.number().int().default(20).describe(\"Number of documents per page (1-100).\").optional(),\n orderings: z.string().describe(\"Sorting order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of linked document fields to fetch.\").optional(),\n}).describe(\"Request parameters to perform a full-text search on Prismic documents.\");\nconst PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiGetDocumentsWithFulltextSearchOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n license: z.string().describe(\"Content license information\").nullable().optional(),\n results: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema).describe(\"List of matched documents ordered by relevance\"),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiGetDocumentsWithFulltextSearch = action(\"PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH\", {\n slug: \"prismic-content-api-get-documents-with-fulltext-search\",\n name: \"Get Prismic Documents with Fulltext Search\",\n description: \"Search Prismic documents using full-text search. Searches across all text fields in documents for the specified terms. The search is case-insensitive and matches based on root words. Automatically retrieves the current master ref. Returns paginated results ordered by relevance.\",\n input: PrismicContentApiGetDocumentsWithFulltextSearchInput,\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S,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"content-api-get-documents-with-fulltext-search.mjs","names":[],"sources":["../../src/actions/content-api-get-documents-with-fulltext-search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicContentApiGetDocumentsWithFulltextSearchInput = z.object({\n q: z.string().describe(\"Full-text search query in Prismic predicate format. Must be wrapped in double square brackets. Format: [[fulltext(document, \\\"your search terms\\\")]]. Searches across all text fields in documents. Multiple words will match documents containing all terms.\"),\n lang: z.string().describe(\"Language code (e.g., 'en-us').\").optional(),\n page: z.number().int().default(1).describe(\"Page number, must be >= 1\").optional(),\n fetch: z.string().describe(\"Comma-separated list of field API IDs to fetch.\").optional(),\n pageSize: z.number().int().default(20).describe(\"Number of documents per page (1-100).\").optional(),\n orderings: z.string().describe(\"Sorting order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of linked document fields to fetch.\").optional(),\n}).describe(\"Request parameters to perform a full-text search on Prismic documents.\");\nconst PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiGetDocumentsWithFulltextSearchOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n license: z.string().describe(\"Content license information\").nullable().optional(),\n results: z.array(PrismicContentApiGetDocumentsWithFulltextSearch_DocumentSchema).describe(\"List of matched documents ordered by relevance\"),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiGetDocumentsWithFulltextSearch: AppAction<\n typeof PrismicContentApiGetDocumentsWithFulltextSearchInput,\n typeof PrismicContentApiGetDocumentsWithFulltextSearchOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH\", {\n slug: \"prismic-content-api-get-documents-with-fulltext-search\",\n name: \"Get Prismic Documents with Fulltext Search\",\n description: \"Search Prismic documents using full-text search. Searches across all text fields in documents for the specified terms. The search is case-insensitive and matches based on root words. Automatically retrieves the current master ref. Returns paginated results ordered by relevance.\",\n input: PrismicContentApiGetDocumentsWithFulltextSearchInput,\n output: PrismicContentApiGetDocumentsWithFulltextSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uDAAuD,EAAE,OAAO;CAC3E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+PAA+P;CACtR,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,0EAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,S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S,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAWO;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/content-api-query-documents.ts
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-query-documents.cjs","names":["z","action"],"sources":["../../src/actions/content-api-query-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicContentApiQueryDocumentsInput = z.object({\n q: z.string().describe(\"Query predicate(s) to filter documents using Prismic predicate syntax. Use double brackets for predicates: '[[at(document.type, \\\"page\\\")]]'. For multiple predicates, combine them in one string: '[[at(document.type, \\\"blog\\\")][at(document.tags, [\\\"featured\\\"])]]'.\").optional(),\n ref: z.string().describe(\"Content release reference ID from the repository (typically the master ref). Use PRISMIC_REPOSITORY_API_GET_REFS action to obtain valid ref values.\"),\n lang: z.string().describe(\"Language code to query (e.g., 'en-us'), default '*' for all languages\").optional(),\n page: z.number().int().describe(\"Page number for pagination, starting from 1\").optional(),\n after: z.string().describe(\"Document ID to paginate after for deep pagination.\").optional(),\n fetch: z.string().describe(\"Comma-separated list of specific fields to fetch for each document (e.g., 'document.title,document.description'). Reduces response size by only including specified fields.\").optional(),\n pageSize: z.number().int().describe(\"Number of documents per page (1-100)\").optional(),\n orderings: z.string().describe(\"Sort order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of fields from linked documents to include in the response (e.g., 'author.name,category.title'). Allows fetching related content in a single query.\").optional(),\n graphQuery: z.string().describe(\"GraphQuery to specify which fields to return.\").optional(),\n access_token: z.string().describe(\"Private API content token for authentication, if required.\").optional(),\n integrationFieldsRef: z.string().describe(\"Reference of integration fields content.\").optional(),\n}).describe(\"Request parameters to query Prismic documents based on predicates and pagination.\");\nconst PrismicContentApiQueryDocuments_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiQueryDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiQueryDocuments_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiQueryDocumentsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicContentApiQueryDocuments_DocumentSchema).describe(\"List of matched documents\"),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiQueryDocuments = action(\"PRISMIC_CONTENT_API_QUERY_DOCUMENTS\", {\n slug: \"prismic-content-api-query-documents\",\n name: \"Prismic: Query Documents\",\n description: \"Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.\",\n input: PrismicContentApiQueryDocumentsInput,\n output: PrismicContentApiQueryDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CAC5S,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;CAC9K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CACnN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,WAAWA,IA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,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"content-api-query-documents.cjs","names":["z","action"],"sources":["../../src/actions/content-api-query-documents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicContentApiQueryDocumentsInput = z.object({\n q: z.string().describe(\"Query predicate(s) to filter documents using Prismic predicate syntax. Use double brackets for predicates: '[[at(document.type, \\\"page\\\")]]'. For multiple predicates, combine them in one string: '[[at(document.type, \\\"blog\\\")][at(document.tags, [\\\"featured\\\"])]]'.\").optional(),\n ref: z.string().describe(\"Content release reference ID from the repository (typically the master ref). Use PRISMIC_REPOSITORY_API_GET_REFS action to obtain valid ref values.\"),\n lang: z.string().describe(\"Language code to query (e.g., 'en-us'), default '*' for all languages\").optional(),\n page: z.number().int().describe(\"Page number for pagination, starting from 1\").optional(),\n after: z.string().describe(\"Document ID to paginate after for deep pagination.\").optional(),\n fetch: z.string().describe(\"Comma-separated list of specific fields to fetch for each document (e.g., 'document.title,document.description'). Reduces response size by only including specified fields.\").optional(),\n pageSize: z.number().int().describe(\"Number of documents per page (1-100)\").optional(),\n orderings: z.string().describe(\"Sort order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of fields from linked documents to include in the response (e.g., 'author.name,category.title'). Allows fetching related content in a single query.\").optional(),\n graphQuery: z.string().describe(\"GraphQuery to specify which fields to return.\").optional(),\n access_token: z.string().describe(\"Private API content token for authentication, if required.\").optional(),\n integrationFieldsRef: z.string().describe(\"Reference of integration fields content.\").optional(),\n}).describe(\"Request parameters to query Prismic documents based on predicates and pagination.\");\nconst PrismicContentApiQueryDocuments_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiQueryDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiQueryDocuments_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiQueryDocumentsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicContentApiQueryDocuments_DocumentSchema).describe(\"List of matched documents\"),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiQueryDocuments: AppAction<\n typeof PrismicContentApiQueryDocumentsInput,\n typeof PrismicContentApiQueryDocumentsOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_CONTENT_API_QUERY_DOCUMENTS\", {\n slug: \"prismic-content-api-query-documents\",\n name: \"Prismic: Query Documents\",\n description: \"Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.\",\n input: PrismicContentApiQueryDocumentsInput,\n output: PrismicContentApiQueryDocumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CAC5S,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;CAC9K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CACnN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACrN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC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C5I,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,SAASA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2BAA2B;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/content-api-query-documents.d.ts
@@ -42,20 +44,7 @@ declare const PrismicContentApiQueryDocumentsOutput: z.ZodObject<{
42
44
  results_per_page: z.ZodNullable<z.ZodNumber>;
43
45
  total_results_size: z.ZodNullable<z.ZodNumber>;
44
46
  }, z.core.$loose>;
45
- declare const prismicContentApiQueryDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- ref: string;
47
- q?: string | undefined;
48
- lang?: string | undefined;
49
- page?: number | undefined;
50
- after?: string | undefined;
51
- fetch?: string | undefined;
52
- pageSize?: number | undefined;
53
- orderings?: string | undefined;
54
- fetchLinks?: string | undefined;
55
- graphQuery?: string | undefined;
56
- access_token?: string | undefined;
57
- integrationFieldsRef?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const prismicContentApiQueryDocuments: AppAction<typeof PrismicContentApiQueryDocumentsInput, typeof PrismicContentApiQueryDocumentsOutput, typeof prismic.credential>;
59
48
  //#endregion
60
49
  export { prismicContentApiQueryDocuments };
61
50
  //# sourceMappingURL=content-api-query-documents.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-query-documents.d.cts","names":[],"sources":["../../src/actions/content-api-query-documents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"content-api-query-documents.d.cts","names":[],"sources":["../../src/actions/content-api-query-documents.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/content-api-query-documents.d.ts
@@ -42,20 +44,7 @@ declare const PrismicContentApiQueryDocumentsOutput: z.ZodObject<{
42
44
  results_per_page: z.ZodNullable<z.ZodNumber>;
43
45
  total_results_size: z.ZodNullable<z.ZodNumber>;
44
46
  }, z.core.$loose>;
45
- declare const prismicContentApiQueryDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
46
- ref: string;
47
- q?: string | undefined;
48
- lang?: string | undefined;
49
- page?: number | undefined;
50
- after?: string | undefined;
51
- fetch?: string | undefined;
52
- pageSize?: number | undefined;
53
- orderings?: string | undefined;
54
- fetchLinks?: string | undefined;
55
- graphQuery?: string | undefined;
56
- access_token?: string | undefined;
57
- integrationFieldsRef?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ declare const prismicContentApiQueryDocuments: AppAction<typeof PrismicContentApiQueryDocumentsInput, typeof PrismicContentApiQueryDocumentsOutput, typeof prismic.credential>;
59
48
  //#endregion
60
49
  export { prismicContentApiQueryDocuments };
61
50
  //# sourceMappingURL=content-api-query-documents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-query-documents.d.mts","names":[],"sources":["../../src/actions/content-api-query-documents.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"content-api-query-documents.d.mts","names":[],"sources":["../../src/actions/content-api-query-documents.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/content-api-query-documents.ts
@@ -1 +1 @@
1
- {"version":3,"file":"content-api-query-documents.mjs","names":[],"sources":["../../src/actions/content-api-query-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicContentApiQueryDocumentsInput = z.object({\n q: z.string().describe(\"Query predicate(s) to filter documents using Prismic predicate syntax. Use double brackets for predicates: '[[at(document.type, \\\"page\\\")]]'. For multiple predicates, combine them in one string: '[[at(document.type, \\\"blog\\\")][at(document.tags, [\\\"featured\\\"])]]'.\").optional(),\n ref: z.string().describe(\"Content release reference ID from the repository (typically the master ref). Use PRISMIC_REPOSITORY_API_GET_REFS action to obtain valid ref values.\"),\n lang: z.string().describe(\"Language code to query (e.g., 'en-us'), default '*' for all languages\").optional(),\n page: z.number().int().describe(\"Page number for pagination, starting from 1\").optional(),\n after: z.string().describe(\"Document ID to paginate after for deep pagination.\").optional(),\n fetch: z.string().describe(\"Comma-separated list of specific fields to fetch for each document (e.g., 'document.title,document.description'). Reduces response size by only including specified fields.\").optional(),\n pageSize: z.number().int().describe(\"Number of documents per page (1-100)\").optional(),\n orderings: z.string().describe(\"Sort order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of fields from linked documents to include in the response (e.g., 'author.name,category.title'). Allows fetching related content in a single query.\").optional(),\n graphQuery: z.string().describe(\"GraphQuery to specify which fields to return.\").optional(),\n access_token: z.string().describe(\"Private API content token for authentication, if required.\").optional(),\n integrationFieldsRef: z.string().describe(\"Reference of integration fields content.\").optional(),\n}).describe(\"Request parameters to query Prismic documents based on predicates and pagination.\");\nconst PrismicContentApiQueryDocuments_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiQueryDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiQueryDocuments_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiQueryDocumentsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicContentApiQueryDocuments_DocumentSchema).describe(\"List of matched documents\"),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiQueryDocuments = action(\"PRISMIC_CONTENT_API_QUERY_DOCUMENTS\", {\n slug: \"prismic-content-api-query-documents\",\n name: \"Prismic: Query Documents\",\n description: \"Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.\",\n input: PrismicContentApiQueryDocumentsInput,\n output: PrismicContentApiQueryDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CAC5S,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;CAC9K,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CACnN,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACrN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACt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8CAA8C,CAAC,CAAC,SAAS,2BAA2B;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"content-api-query-documents.mjs","names":[],"sources":["../../src/actions/content-api-query-documents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicContentApiQueryDocumentsInput = z.object({\n q: z.string().describe(\"Query predicate(s) to filter documents using Prismic predicate syntax. Use double brackets for predicates: '[[at(document.type, \\\"page\\\")]]'. For multiple predicates, combine them in one string: '[[at(document.type, \\\"blog\\\")][at(document.tags, [\\\"featured\\\"])]]'.\").optional(),\n ref: z.string().describe(\"Content release reference ID from the repository (typically the master ref). Use PRISMIC_REPOSITORY_API_GET_REFS action to obtain valid ref values.\"),\n lang: z.string().describe(\"Language code to query (e.g., 'en-us'), default '*' for all languages\").optional(),\n page: z.number().int().describe(\"Page number for pagination, starting from 1\").optional(),\n after: z.string().describe(\"Document ID to paginate after for deep pagination.\").optional(),\n fetch: z.string().describe(\"Comma-separated list of specific fields to fetch for each document (e.g., 'document.title,document.description'). Reduces response size by only including specified fields.\").optional(),\n pageSize: z.number().int().describe(\"Number of documents per page (1-100)\").optional(),\n orderings: z.string().describe(\"Sort order, e.g., '[my.article.date desc]'\").optional(),\n fetchLinks: z.string().describe(\"Comma-separated list of fields from linked documents to include in the response (e.g., 'author.name,category.title'). Allows fetching related content in a single query.\").optional(),\n graphQuery: z.string().describe(\"GraphQuery to specify which fields to return.\").optional(),\n access_token: z.string().describe(\"Private API content token for authentication, if required.\").optional(),\n integrationFieldsRef: z.string().describe(\"Reference of integration fields content.\").optional(),\n}).describe(\"Request parameters to query Prismic documents based on predicates and pagination.\");\nconst PrismicContentApiQueryDocuments_AlternateLanguageSchema = z.object({\n id: z.string().describe(\"ID of the alternate document\").nullable(),\n uid: z.string().describe(\"UID of the alternate document, if any\").nullable().optional(),\n lang: z.string().describe(\"Language code of the alternate version\").nullable(),\n type: z.string().describe(\"Document type of the alternate language version\").nullable(),\n}).passthrough();\nconst PrismicContentApiQueryDocuments_DocumentSchema = z.object({\n id: z.string().describe(\"Document ID\").nullable(),\n uid: z.string().describe(\"Document UID, if set\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Document data fields, structure varies by type\"),\n href: z.string().describe(\"Document URL for API access\").nullable(),\n lang: z.string().describe(\"Language code of the document\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags assigned to the document\"),\n type: z.string().describe(\"Document type\").nullable(),\n slugs: z.array(z.string()).describe(\"List of slugs for the document\"),\n alternate_languages: z.array(PrismicContentApiQueryDocuments_AlternateLanguageSchema).describe(\"Alternate language versions of the document\"),\n last_publication_date: z.string().describe(\"Last publication date as ISO 8601 string\").nullable(),\n first_publication_date: z.string().describe(\"First publication date as ISO 8601 string\").nullable(),\n}).passthrough();\nexport const PrismicContentApiQueryDocumentsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicContentApiQueryDocuments_DocumentSchema).describe(\"List of matched documents\"),\n next_page: z.string().describe(\"URL of next page, if any\").nullable().optional(),\n prev_page: z.string().describe(\"URL of previous page, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of returned results on this page\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of matching results in repository\").nullable(),\n}).passthrough();\n\nexport const prismicContentApiQueryDocuments: AppAction<\n typeof PrismicContentApiQueryDocumentsInput,\n typeof PrismicContentApiQueryDocumentsOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_CONTENT_API_QUERY_DOCUMENTS\", {\n slug: \"prismic-content-api-query-documents\",\n name: \"Prismic: Query Documents\",\n description: \"Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.\",\n input: PrismicContentApiQueryDocumentsInput,\n output: PrismicContentApiQueryDocumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0QAA0Q,CAAC,CAAC,SAAS;CAC5S,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;CAC9K,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CACnN,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0K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AS,gCAAgC;CACpE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,6CAA6C;CAC5I,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAYf,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,SAAS,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2BAA2B;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAWO;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/repository-api-get-info.ts
@@ -1 +1 @@
1
- {"version":3,"file":"repository-api-get-info.cjs","names":["z","action"],"sources":["../../src/actions/repository-api-get-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicRepositoryApiGetInfoInput = z.object({}).describe(\"Request model for retrieving Prismic repository metadata. This endpoint requires no input parameters\\nas it returns information about the authenticated repository based on the credentials provided in\\nthe metadata. The repository is identified from the base_url in the authentication metadata.\");\nconst PrismicRepositoryApiGetInfo_RefSchema = z.object({\n id: z.string().describe(\"Unique identifier for the ref\").nullable(),\n ref: z.string().describe(\"Reference token\").nullable(),\n label: z.string().describe(\"Human-readable label\").nullable(),\n isMasterRef: z.boolean().describe(\"True if this is the master ref\").nullable(),\n scheduledAt: z.string().describe(\"Scheduled activation date, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single API reference (master or release).\");\nconst PrismicRepositoryApiGetInfo_LanguageSchema = z.object({\n id: z.string().describe(\"ISO code of the language\").nullable(),\n name: z.string().describe(\"Display name of the language\").nullable(),\n}).passthrough().describe(\"Supported language in the repository.\");\nconst PrismicRepositoryApiGetInfo_ExperimentsSchema = z.object({\n draft: z.array(z.record(z.string(), z.unknown())).describe(\"Draft experiments\").nullable().optional(),\n running: z.array(z.record(z.string(), z.unknown())).describe(\"Running experiments\").nullable().optional(),\n}).passthrough().describe(\"Active A/B test configurations.\");\nexport const PrismicRepositoryApiGetInfoOutput = z.object({\n refs: z.array(PrismicRepositoryApiGetInfo_RefSchema).describe(\"List of all refs in the repository\"),\n tags: z.array(z.string()).describe(\"List of all tags in the repository\"),\n forms: z.record(z.string(), z.unknown()).describe(\"Forms available for document search endpoints\"),\n types: z.record(z.string(), z.unknown()).describe(\"Map of custom type IDs to their names\"),\n license: z.string().describe(\"Repository license information\").nullable().optional(),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n bookmarks: z.record(z.string(), z.unknown()).describe(\"Named bookmarks mapping document aliases to IDs\"),\n languages: z.array(PrismicRepositoryApiGetInfo_LanguageSchema).describe(\"Supported languages in the repository\"),\n experiments: PrismicRepositoryApiGetInfo_ExperimentsSchema.nullable().optional(),\n oauth_token: z.string().describe(\"OAuth token exchange URL\").nullable().optional(),\n oauth_initiate: z.string().describe(\"OAuth initiation URL\").nullable().optional(),\n integrationFieldsRef: z.string().describe(\"Reference for integration fields data, if present\").nullable().optional(),\n}).passthrough().describe(\"Response model containing Prismic repository metadata.\");\n\nexport const prismicRepositoryApiGetInfo = action(\"PRISMIC_REPOSITORY_API_GET_INFO\", {\n slug: \"prismic-repository-api-get-info\",\n name: \"Get Prismic Repository Info\",\n description: \"Retrieves comprehensive metadata about a Prismic repository including available refs (content versions), custom types, languages, tags, bookmarks, and API forms. This is typically the first API call made after authentication to discover repository configuration and available content endpoints. The 'refs' field is particularly important as refs are required for querying documents via the Content API.\",\n input: PrismicRepositoryApiGetInfoInput,\n output: PrismicRepositoryApiGetInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uSAAuS;AAC7W,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SA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IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACvG,WAAWA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uCAAuC;CAC/G,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"repository-api-get-info.cjs","names":["z","action"],"sources":["../../src/actions/repository-api-get-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicRepositoryApiGetInfoInput = z.object({}).describe(\"Request model for retrieving Prismic repository metadata. This endpoint requires no input parameters\\nas it returns information about the authenticated repository based on the credentials provided in\\nthe metadata. The repository is identified from the base_url in the authentication metadata.\");\nconst PrismicRepositoryApiGetInfo_RefSchema = z.object({\n id: z.string().describe(\"Unique identifier for the ref\").nullable(),\n ref: z.string().describe(\"Reference token\").nullable(),\n label: z.string().describe(\"Human-readable label\").nullable(),\n isMasterRef: z.boolean().describe(\"True if this is the master ref\").nullable(),\n scheduledAt: z.string().describe(\"Scheduled activation date, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single API reference (master or release).\");\nconst PrismicRepositoryApiGetInfo_LanguageSchema = z.object({\n id: z.string().describe(\"ISO code of the language\").nullable(),\n name: z.string().describe(\"Display name of the language\").nullable(),\n}).passthrough().describe(\"Supported language in the repository.\");\nconst PrismicRepositoryApiGetInfo_ExperimentsSchema = z.object({\n draft: z.array(z.record(z.string(), z.unknown())).describe(\"Draft experiments\").nullable().optional(),\n running: z.array(z.record(z.string(), z.unknown())).describe(\"Running experiments\").nullable().optional(),\n}).passthrough().describe(\"Active A/B test configurations.\");\nexport const PrismicRepositoryApiGetInfoOutput = z.object({\n refs: z.array(PrismicRepositoryApiGetInfo_RefSchema).describe(\"List of all refs in the repository\"),\n tags: z.array(z.string()).describe(\"List of all tags in the repository\"),\n forms: z.record(z.string(), z.unknown()).describe(\"Forms available for document search endpoints\"),\n types: z.record(z.string(), z.unknown()).describe(\"Map of custom type IDs to their names\"),\n license: z.string().describe(\"Repository license information\").nullable().optional(),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n bookmarks: z.record(z.string(), z.unknown()).describe(\"Named bookmarks mapping document aliases to IDs\"),\n languages: z.array(PrismicRepositoryApiGetInfo_LanguageSchema).describe(\"Supported languages in the repository\"),\n experiments: PrismicRepositoryApiGetInfo_ExperimentsSchema.nullable().optional(),\n oauth_token: z.string().describe(\"OAuth token exchange URL\").nullable().optional(),\n oauth_initiate: z.string().describe(\"OAuth initiation URL\").nullable().optional(),\n integrationFieldsRef: z.string().describe(\"Reference for integration fields data, if present\").nullable().optional(),\n}).passthrough().describe(\"Response model containing Prismic repository metadata.\");\n\nexport const prismicRepositoryApiGetInfo: AppAction<\n typeof PrismicRepositoryApiGetInfoInput,\n typeof PrismicRepositoryApiGetInfoOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_REPOSITORY_API_GET_INFO\", {\n slug: \"prismic-repository-api-get-info\",\n name: \"Get Prismic Repository Info\",\n description: \"Retrieves comprehensive metadata about a Prismic repository including available refs (content versions), custom types, languages, tags, bookmarks, and API forms. This is typically the first API call made after authentication to discover repository configuration and available content endpoints. The 'refs' field is particularly important as refs are required for querying documents via the Content API.\",\n input: PrismicRepositoryApiGetInfoInput,\n output: PrismicRepositoryApiGetInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uSAAuS;AAC7W,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,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AsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/repository-api-get-info.d.ts
@@ -28,7 +30,7 @@ declare const PrismicRepositoryApiGetInfoOutput: z.ZodObject<{
28
30
  oauth_initiate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
31
  integrationFieldsRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
32
  }, z.core.$loose>;
31
- declare const prismicRepositoryApiGetInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const prismicRepositoryApiGetInfo: AppAction<typeof PrismicRepositoryApiGetInfoInput, typeof PrismicRepositoryApiGetInfoOutput, typeof prismic.credential>;
32
34
  //#endregion
33
35
  export { prismicRepositoryApiGetInfo };
34
36
  //# sourceMappingURL=repository-api-get-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"repository-api-get-info.d.cts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"repository-api-get-info.d.cts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/repository-api-get-info.d.ts
@@ -28,7 +30,7 @@ declare const PrismicRepositoryApiGetInfoOutput: z.ZodObject<{
28
30
  oauth_initiate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
31
  integrationFieldsRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
32
  }, z.core.$loose>;
31
- declare const prismicRepositoryApiGetInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const prismicRepositoryApiGetInfo: AppAction<typeof PrismicRepositoryApiGetInfoInput, typeof PrismicRepositoryApiGetInfoOutput, typeof prismic.credential>;
32
34
  //#endregion
33
35
  export { prismicRepositoryApiGetInfo };
34
36
  //# sourceMappingURL=repository-api-get-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"repository-api-get-info.d.mts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"repository-api-get-info.d.mts","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/repository-api-get-info.ts
@@ -1 +1 @@
1
- {"version":3,"file":"repository-api-get-info.mjs","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicRepositoryApiGetInfoInput = z.object({}).describe(\"Request model for retrieving Prismic repository metadata. This endpoint requires no input parameters\\nas it returns information about the authenticated repository based on the credentials provided in\\nthe metadata. The repository is identified from the base_url in the authentication metadata.\");\nconst PrismicRepositoryApiGetInfo_RefSchema = z.object({\n id: z.string().describe(\"Unique identifier for the ref\").nullable(),\n ref: z.string().describe(\"Reference token\").nullable(),\n label: z.string().describe(\"Human-readable label\").nullable(),\n isMasterRef: z.boolean().describe(\"True if this is the master ref\").nullable(),\n scheduledAt: z.string().describe(\"Scheduled activation date, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single API reference (master or release).\");\nconst PrismicRepositoryApiGetInfo_LanguageSchema = z.object({\n id: z.string().describe(\"ISO code of the language\").nullable(),\n name: z.string().describe(\"Display name of the language\").nullable(),\n}).passthrough().describe(\"Supported language in the repository.\");\nconst PrismicRepositoryApiGetInfo_ExperimentsSchema = z.object({\n draft: z.array(z.record(z.string(), z.unknown())).describe(\"Draft experiments\").nullable().optional(),\n running: z.array(z.record(z.string(), z.unknown())).describe(\"Running experiments\").nullable().optional(),\n}).passthrough().describe(\"Active A/B test configurations.\");\nexport const PrismicRepositoryApiGetInfoOutput = z.object({\n refs: z.array(PrismicRepositoryApiGetInfo_RefSchema).describe(\"List of all refs in the repository\"),\n tags: z.array(z.string()).describe(\"List of all tags in the repository\"),\n forms: z.record(z.string(), z.unknown()).describe(\"Forms available for document search endpoints\"),\n types: z.record(z.string(), z.unknown()).describe(\"Map of custom type IDs to their names\"),\n license: z.string().describe(\"Repository license information\").nullable().optional(),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n bookmarks: z.record(z.string(), z.unknown()).describe(\"Named bookmarks mapping document aliases to IDs\"),\n languages: z.array(PrismicRepositoryApiGetInfo_LanguageSchema).describe(\"Supported languages in the repository\"),\n experiments: PrismicRepositoryApiGetInfo_ExperimentsSchema.nullable().optional(),\n oauth_token: z.string().describe(\"OAuth token exchange URL\").nullable().optional(),\n oauth_initiate: z.string().describe(\"OAuth initiation URL\").nullable().optional(),\n integrationFieldsRef: z.string().describe(\"Reference for integration fields data, if present\").nullable().optional(),\n}).passthrough().describe(\"Response model containing Prismic repository metadata.\");\n\nexport const prismicRepositoryApiGetInfo = action(\"PRISMIC_REPOSITORY_API_GET_INFO\", {\n slug: \"prismic-repository-api-get-info\",\n name: \"Get Prismic Repository Info\",\n description: \"Retrieves comprehensive metadata about a Prismic repository including available refs (content versions), custom types, languages, tags, bookmarks, and API forms. This is typically the first API call made after authentication to discover repository configuration and available content endpoints. The 'refs' field is particularly important as refs are required for querying documents via the Content API.\",\n input: PrismicRepositoryApiGetInfoInput,\n output: PrismicRepositoryApiGetInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uSAAuS;AAC7W,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,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GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;EACjG,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;EACvG,WAAW,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uCAAuC;EAC/G,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"repository-api-get-info.mjs","names":[],"sources":["../../src/actions/repository-api-get-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicRepositoryApiGetInfoInput = z.object({}).describe(\"Request model for retrieving Prismic repository metadata. This endpoint requires no input parameters\\nas it returns information about the authenticated repository based on the credentials provided in\\nthe metadata. The repository is identified from the base_url in the authentication metadata.\");\nconst PrismicRepositoryApiGetInfo_RefSchema = z.object({\n id: z.string().describe(\"Unique identifier for the ref\").nullable(),\n ref: z.string().describe(\"Reference token\").nullable(),\n label: z.string().describe(\"Human-readable label\").nullable(),\n isMasterRef: z.boolean().describe(\"True if this is the master ref\").nullable(),\n scheduledAt: z.string().describe(\"Scheduled activation date, if applicable\").nullable().optional(),\n}).passthrough().describe(\"A single API reference (master or release).\");\nconst PrismicRepositoryApiGetInfo_LanguageSchema = z.object({\n id: z.string().describe(\"ISO code of the language\").nullable(),\n name: z.string().describe(\"Display name of the language\").nullable(),\n}).passthrough().describe(\"Supported language in the repository.\");\nconst PrismicRepositoryApiGetInfo_ExperimentsSchema = z.object({\n draft: z.array(z.record(z.string(), z.unknown())).describe(\"Draft experiments\").nullable().optional(),\n running: z.array(z.record(z.string(), z.unknown())).describe(\"Running experiments\").nullable().optional(),\n}).passthrough().describe(\"Active A/B test configurations.\");\nexport const PrismicRepositoryApiGetInfoOutput = z.object({\n refs: z.array(PrismicRepositoryApiGetInfo_RefSchema).describe(\"List of all refs in the repository\"),\n tags: z.array(z.string()).describe(\"List of all tags in the repository\"),\n forms: z.record(z.string(), z.unknown()).describe(\"Forms available for document search endpoints\"),\n types: z.record(z.string(), z.unknown()).describe(\"Map of custom type IDs to their names\"),\n license: z.string().describe(\"Repository license information\").nullable().optional(),\n version: z.string().describe(\"API version identifier\").nullable().optional(),\n bookmarks: z.record(z.string(), z.unknown()).describe(\"Named bookmarks mapping document aliases to IDs\"),\n languages: z.array(PrismicRepositoryApiGetInfo_LanguageSchema).describe(\"Supported languages in the repository\"),\n experiments: PrismicRepositoryApiGetInfo_ExperimentsSchema.nullable().optional(),\n oauth_token: z.string().describe(\"OAuth token exchange URL\").nullable().optional(),\n oauth_initiate: z.string().describe(\"OAuth initiation URL\").nullable().optional(),\n integrationFieldsRef: z.string().describe(\"Reference for integration fields data, if present\").nullable().optional(),\n}).passthrough().describe(\"Response model containing Prismic repository metadata.\");\n\nexport const prismicRepositoryApiGetInfo: AppAction<\n typeof PrismicRepositoryApiGetInfoInput,\n typeof PrismicRepositoryApiGetInfoOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_REPOSITORY_API_GET_INFO\", {\n slug: \"prismic-repository-api-get-info\",\n name: \"Get Prismic Repository Info\",\n description: \"Retrieves comprehensive metadata about a Prismic repository including available refs (content versions), custom types, languages, tags, bookmarks, and API forms. This is typically the first API call made after authentication to discover repository configuration and available content endpoints. The 'refs' field is particularly important as refs are required for querying documents via the Content API.\",\n input: PrismicRepositoryApiGetInfoInput,\n output: PrismicRepositoryApiGetInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uSAAuS;AAC7W,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,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AAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;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/tags-api-get-all-tags.ts
@@ -1 +1 @@
1
- {"version":3,"file":"tags-api-get-all-tags.cjs","names":["z","action"],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicTagsApiGetAllTagsInput = z.object({}).describe(\"Parameters for retrieving all tags from Prismic.\");\nexport const PrismicTagsApiGetAllTagsOutput = z.object({\n tags: z.array(z.string()).describe(\"List of all tags present in the Prismic repository.\"),\n}).passthrough().describe(\"Response model for the TAGS_API_GET_ALL_TAGS action.\");\n\nexport const prismicTagsApiGetAllTags = action(\"PRISMIC_TAGS_API_GET_ALL_TAGS\", {\n slug: \"prismic-tags-api-get-all-tags\",\n name: \"Get Prismic Tags\",\n description: \"Tool to retrieve all tags from Prismic repository. Use when you need the full list of tags for filtering or categorization.\",\n input: PrismicTagsApiGetAllTagsInput,\n output: PrismicTagsApiGetAllTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACrH,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"tags-api-get-all-tags.cjs","names":["z","action"],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicTagsApiGetAllTagsInput = z.object({}).describe(\"Parameters for retrieving all tags from Prismic.\");\nexport const PrismicTagsApiGetAllTagsOutput = z.object({\n tags: z.array(z.string()).describe(\"List of all tags present in the Prismic repository.\"),\n}).passthrough().describe(\"Response model for the TAGS_API_GET_ALL_TAGS action.\");\n\nexport const prismicTagsApiGetAllTags: AppAction<\n typeof PrismicTagsApiGetAllTagsInput,\n typeof PrismicTagsApiGetAllTagsOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_TAGS_API_GET_ALL_TAGS\", {\n slug: \"prismic-tags-api-get-all-tags\",\n name: \"Get Prismic Tags\",\n description: \"Tool to retrieve all tags from Prismic repository. Use when you need the full list of tags for filtering or categorization.\",\n input: PrismicTagsApiGetAllTagsInput,\n output: PrismicTagsApiGetAllTagsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACrH,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,2BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/tags-api-get-all-tags.d.ts
@@ -5,7 +7,7 @@ declare const PrismicTagsApiGetAllTagsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PrismicTagsApiGetAllTagsOutput: z.ZodObject<{
6
8
  tags: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const prismicTagsApiGetAllTags: 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 prismicTagsApiGetAllTags: AppAction<typeof PrismicTagsApiGetAllTagsInput, typeof PrismicTagsApiGetAllTagsOutput, typeof prismic.credential>;
9
11
  //#endregion
10
12
  export { prismicTagsApiGetAllTags };
11
13
  //# sourceMappingURL=tags-api-get-all-tags.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tags-api-get-all-tags.d.cts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"tags-api-get-all-tags.d.cts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/tags-api-get-all-tags.d.ts
@@ -5,7 +7,7 @@ declare const PrismicTagsApiGetAllTagsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const PrismicTagsApiGetAllTagsOutput: z.ZodObject<{
6
8
  tags: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const prismicTagsApiGetAllTags: 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 prismicTagsApiGetAllTags: AppAction<typeof PrismicTagsApiGetAllTagsInput, typeof PrismicTagsApiGetAllTagsOutput, typeof prismic.credential>;
9
11
  //#endregion
10
12
  export { prismicTagsApiGetAllTags };
11
13
  //# sourceMappingURL=tags-api-get-all-tags.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tags-api-get-all-tags.d.mts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"tags-api-get-all-tags.d.mts","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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 prismicTagsApiGetAllTags = action("PRISMIC_TAGS_API_GET_ALL_TAGS", {
@@ -1 +1 @@
1
- {"version":3,"file":"tags-api-get-all-tags.mjs","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicTagsApiGetAllTagsInput = z.object({}).describe(\"Parameters for retrieving all tags from Prismic.\");\nexport const PrismicTagsApiGetAllTagsOutput = z.object({\n tags: z.array(z.string()).describe(\"List of all tags present in the Prismic repository.\"),\n}).passthrough().describe(\"Response model for the TAGS_API_GET_ALL_TAGS action.\");\n\nexport const prismicTagsApiGetAllTags = action(\"PRISMIC_TAGS_API_GET_ALL_TAGS\", {\n slug: \"prismic-tags-api-get-all-tags\",\n name: \"Get Prismic Tags\",\n description: \"Tool to retrieve all tags from Prismic repository. Use when you need the full list of tags for filtering or categorization.\",\n input: PrismicTagsApiGetAllTagsInput,\n output: PrismicTagsApiGetAllTagsOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAS1D;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"tags-api-get-all-tags.mjs","names":[],"sources":["../../src/actions/tags-api-get-all-tags.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicTagsApiGetAllTagsInput = z.object({}).describe(\"Parameters for retrieving all tags from Prismic.\");\nexport const PrismicTagsApiGetAllTagsOutput = z.object({\n tags: z.array(z.string()).describe(\"List of all tags present in the Prismic repository.\"),\n}).passthrough().describe(\"Response model for the TAGS_API_GET_ALL_TAGS action.\");\n\nexport const prismicTagsApiGetAllTags: AppAction<\n typeof PrismicTagsApiGetAllTagsInput,\n typeof PrismicTagsApiGetAllTagsOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_TAGS_API_GET_ALL_TAGS\", {\n slug: \"prismic-tags-api-get-all-tags\",\n name: \"Get Prismic Tags\",\n description: \"Tool to retrieve all tags from Prismic repository. Use when you need the full list of tags for filtering or categorization.\",\n input: PrismicTagsApiGetAllTagsInput,\n output: PrismicTagsApiGetAllTagsOutput,\n});\n"],"mappings":";;;AAWA,MAAa,2BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAa1D;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;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/types-api-get-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"types-api-get-types.cjs","names":["z","action"],"sources":["../../src/actions/types-api-get-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicTypesApiGetTypesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed). Use with limit parameter to navigate through results.\").optional(),\n sort: z.string().describe(\"Sort order for results. Common values include 'name' to sort alphabetically by custom type name.\").optional(),\n limit: z.number().int().describe(\"Maximum number of custom types to return per page. If not specified, returns all custom types.\").optional(),\n}).describe(\"Request parameters for retrieving custom types from a Prismic repository.\");\nconst PrismicTypesApiGetTypes_CustomTypeSchema = z.object({\n id: z.string().describe(\"Custom type ID\").nullable(),\n json: z.record(z.string(), z.unknown()).describe(\"Structure definition of the custom type\"),\n label: z.string().describe(\"Display label of the custom type\").nullable(),\n repeatable: z.boolean().describe(\"Whether the custom type is repeatable\").nullable(),\n}).passthrough().describe(\"Schema for a Prismic custom type or slice definition.\");\nexport const PrismicTypesApiGetTypesOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicTypesApiGetTypes_CustomTypeSchema).describe(\"List of custom types defined in the repository\"),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of custom types returned in this response\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results returned per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of custom types in the repository\").nullable(),\n}).passthrough().describe(\"Response schema for listing custom types and slices in a Prismic repository.\");\n\nexport const prismicTypesApiGetTypes = action(\"PRISMIC_TYPES_API_GET_TYPES\", {\n slug: \"prismic-types-api-get-types\",\n name: \"Prismic: Get Custom Types\",\n description: \"Retrieves all custom types (content models) defined in the Prismic repository. Custom types define the structure of content in Prismic. This action returns metadata about each custom type including its ID, label, structure definition (JSON schema), and whether it's repeatable. Use this to discover available content types before querying documents, or to understand the content model of a repository. Returns an empty list if no custom types are defined in the repository.\",\n input: PrismicTypesApiGetTypesInput,\n output: PrismicTypesApiGetTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gDAAgD;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"types-api-get-types.cjs","names":["z","action"],"sources":["../../src/actions/types-api-get-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicTypesApiGetTypesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed). Use with limit parameter to navigate through results.\").optional(),\n sort: z.string().describe(\"Sort order for results. Common values include 'name' to sort alphabetically by custom type name.\").optional(),\n limit: z.number().int().describe(\"Maximum number of custom types to return per page. If not specified, returns all custom types.\").optional(),\n}).describe(\"Request parameters for retrieving custom types from a Prismic repository.\");\nconst PrismicTypesApiGetTypes_CustomTypeSchema = z.object({\n id: z.string().describe(\"Custom type ID\").nullable(),\n json: z.record(z.string(), z.unknown()).describe(\"Structure definition of the custom type\"),\n label: z.string().describe(\"Display label of the custom type\").nullable(),\n repeatable: z.boolean().describe(\"Whether the custom type is repeatable\").nullable(),\n}).passthrough().describe(\"Schema for a Prismic custom type or slice definition.\");\nexport const PrismicTypesApiGetTypesOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicTypesApiGetTypes_CustomTypeSchema).describe(\"List of custom types defined in the repository\"),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of custom types returned in this response\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results returned per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of custom types in the repository\").nullable(),\n}).passthrough().describe(\"Response schema for listing custom types and slices in a Prismic repository.\");\n\nexport const prismicTypesApiGetTypes: AppAction<\n typeof PrismicTypesApiGetTypesInput,\n typeof PrismicTypesApiGetTypesOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_TYPES_API_GET_TYPES\", {\n slug: \"prismic-types-api-get-types\",\n name: \"Prismic: Get Custom Types\",\n description: \"Retrieves all custom types (content models) defined in the Prismic repository. Custom types define the structure of content in Prismic. This action returns metadata about each custom type including its ID, label, structure definition (JSON schema), and whether it's repeatable. Use this to discover available content types before querying documents, or to understand the content model of a repository. Returns an empty list if no custom types are defined in the repository.\",\n input: PrismicTypesApiGetTypesInput,\n output: PrismicTypesApiGetTypesOutput,\n});\n"],"mappings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CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/types-api-get-types.d.ts
@@ -19,11 +21,7 @@ declare const PrismicTypesApiGetTypesOutput: z.ZodObject<{
19
21
  results_per_page: z.ZodNullable<z.ZodNumber>;
20
22
  total_results_size: z.ZodNullable<z.ZodNumber>;
21
23
  }, z.core.$loose>;
22
- declare const prismicTypesApiGetTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- page?: number | undefined;
24
- sort?: string | undefined;
25
- limit?: number | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const prismicTypesApiGetTypes: AppAction<typeof PrismicTypesApiGetTypesInput, typeof PrismicTypesApiGetTypesOutput, typeof prismic.credential>;
27
25
  //#endregion
28
26
  export { prismicTypesApiGetTypes };
29
27
  //# sourceMappingURL=types-api-get-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-api-get-types.d.cts","names":[],"sources":["../../src/actions/types-api-get-types.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"types-api-get-types.d.cts","names":[],"sources":["../../src/actions/types-api-get-types.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prismic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/types-api-get-types.d.ts
@@ -19,11 +21,7 @@ declare const PrismicTypesApiGetTypesOutput: z.ZodObject<{
19
21
  results_per_page: z.ZodNullable<z.ZodNumber>;
20
22
  total_results_size: z.ZodNullable<z.ZodNumber>;
21
23
  }, z.core.$loose>;
22
- declare const prismicTypesApiGetTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- page?: number | undefined;
24
- sort?: string | undefined;
25
- limit?: number | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const prismicTypesApiGetTypes: AppAction<typeof PrismicTypesApiGetTypesInput, typeof PrismicTypesApiGetTypesOutput, typeof prismic.credential>;
27
25
  //#endregion
28
26
  export { prismicTypesApiGetTypes };
29
27
  //# sourceMappingURL=types-api-get-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-api-get-types.d.mts","names":[],"sources":["../../src/actions/types-api-get-types.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"types-api-get-types.d.mts","names":[],"sources":["../../src/actions/types-api-get-types.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAS7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/types-api-get-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"types-api-get-types.mjs","names":[],"sources":["../../src/actions/types-api-get-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismicTypesApiGetTypesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed). Use with limit parameter to navigate through results.\").optional(),\n sort: z.string().describe(\"Sort order for results. Common values include 'name' to sort alphabetically by custom type name.\").optional(),\n limit: z.number().int().describe(\"Maximum number of custom types to return per page. If not specified, returns all custom types.\").optional(),\n}).describe(\"Request parameters for retrieving custom types from a Prismic repository.\");\nconst PrismicTypesApiGetTypes_CustomTypeSchema = z.object({\n id: z.string().describe(\"Custom type ID\").nullable(),\n json: z.record(z.string(), z.unknown()).describe(\"Structure definition of the custom type\"),\n label: z.string().describe(\"Display label of the custom type\").nullable(),\n repeatable: z.boolean().describe(\"Whether the custom type is repeatable\").nullable(),\n}).passthrough().describe(\"Schema for a Prismic custom type or slice definition.\");\nexport const PrismicTypesApiGetTypesOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicTypesApiGetTypes_CustomTypeSchema).describe(\"List of custom types defined in the repository\"),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of custom types returned in this response\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results returned per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of custom types in the repository\").nullable(),\n}).passthrough().describe(\"Response schema for listing custom types and slices in a Prismic repository.\");\n\nexport const prismicTypesApiGetTypes = action(\"PRISMIC_TYPES_API_GET_TYPES\", {\n slug: \"prismic-types-api-get-types\",\n name: \"Prismic: Get Custom Types\",\n description: \"Retrieves all custom types (content models) defined in the Prismic repository. Custom types define the structure of content in Prismic. This action returns metadata about each custom type including its ID, label, structure definition (JSON schema), and whether it's repeatable. Use this to discover available content types before querying documents, or to understand the content model of a repository. Returns an empty list if no custom types are defined in the repository.\",\n input: PrismicTypesApiGetTypesInput,\n output: PrismicTypesApiGetTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAUjF,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gDAAgD;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"types-api-get-types.mjs","names":[],"sources":["../../src/actions/types-api-get-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prismic } from \"../app\";\n\nexport const PrismicTypesApiGetTypesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (1-indexed). Use with limit parameter to navigate through results.\").optional(),\n sort: z.string().describe(\"Sort order for results. Common values include 'name' to sort alphabetically by custom type name.\").optional(),\n limit: z.number().int().describe(\"Maximum number of custom types to return per page. If not specified, returns all custom types.\").optional(),\n}).describe(\"Request parameters for retrieving custom types from a Prismic repository.\");\nconst PrismicTypesApiGetTypes_CustomTypeSchema = z.object({\n id: z.string().describe(\"Custom type ID\").nullable(),\n json: z.record(z.string(), z.unknown()).describe(\"Structure definition of the custom type\"),\n label: z.string().describe(\"Display label of the custom type\").nullable(),\n repeatable: z.boolean().describe(\"Whether the custom type is repeatable\").nullable(),\n}).passthrough().describe(\"Schema for a Prismic custom type or slice definition.\");\nexport const PrismicTypesApiGetTypesOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n results: z.array(PrismicTypesApiGetTypes_CustomTypeSchema).describe(\"List of custom types defined in the repository\"),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n results_size: z.number().int().describe(\"Number of custom types returned in this response\").nullable(),\n results_per_page: z.number().int().describe(\"Number of results returned per page\").nullable(),\n total_results_size: z.number().int().describe(\"Total number of custom types in the repository\").nullable(),\n}).passthrough().describe(\"Response schema for listing custom types and slices in a Prismic repository.\");\n\nexport const prismicTypesApiGetTypes: AppAction<\n typeof PrismicTypesApiGetTypesInput,\n typeof PrismicTypesApiGetTypesOutput,\n typeof prismic.credential\n> = action(\"PRISMIC_TYPES_API_GET_TYPES\", {\n slug: \"prismic-types-api-get-types\",\n name: \"Prismic: Get Custom Types\",\n description: \"Retrieves all custom types (content models) defined in the Prismic repository. Custom types define the structure of content in Prismic. This action returns metadata about each custom type including its ID, label, structure definition (JSON schema), and whether it's repeatable. Use this to discover available content types before querying documents, or to understand the content model of a repository. Returns an empty list if no custom types are defined in the repository.\",\n input: PrismicTypesApiGetTypesInput,\n output: PrismicTypesApiGetTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAUjF,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gDAAgD;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,14 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const prismic = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const credential = {
5
+ subdomain: zod.z.string(),
6
+ generic_api_key: zod.z.string()
7
+ };
8
+ const prismic = (0, _keystrokehq_keystroke_app.defineApp)({
3
9
  slug: "prismic",
4
- auth: "keystroke"
10
+ auth: "keystroke",
11
+ credential
5
12
  });
6
13
  //#endregion
7
14
  exports.prismic = prismic;
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 prismic = defineApp({\n slug: \"prismic\",\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 subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const prismic: KeystrokeApp<\"prismic\", typeof credential> = defineApp({\n slug: \"prismic\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,WAAWA,IAAAA,EAAE,OAAO;CACpB,iBAAiBA,IAAAA,EAAE,OAAO;AAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const prismic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ subdomain: z.ZodString;
7
+ generic_api_key: z.ZodString;
8
+ };
9
+ declare const prismic: KeystrokeApp<"prismic", typeof credential>;
3
10
  //#endregion
4
11
  export { prismic };
5
12
  //# 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;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const prismic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ subdomain: z.ZodString;
7
+ generic_api_key: z.ZodString;
8
+ };
9
+ declare const prismic: KeystrokeApp<"prismic", typeof credential>;
3
10
  //#endregion
4
11
  export { prismic };
5
12
  //# 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;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,12 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const prismic = defineApp({
4
4
  slug: "prismic",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: {
7
+ subdomain: z.string(),
8
+ generic_api_key: z.string()
9
+ }
6
10
  });
7
11
  //#endregion
8
12
  export { prismic };
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 prismic = defineApp({\n slug: \"prismic\",\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 subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const prismic: KeystrokeApp<\"prismic\", typeof credential> = defineApp({\n slug: \"prismic\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN;EAPA,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
+ import { prismic } from "./app.cjs";
1
2
  import { prismicContentApiGetDocumentsWithFulltextSearch } from "./actions/content-api-get-documents-with-fulltext-search.cjs";
2
3
  import { prismicContentApiQueryDocuments } from "./actions/content-api-query-documents.cjs";
3
4
  import { prismicRepositoryApiGetInfo } from "./actions/repository-api-get-info.cjs";
4
5
  import { prismicTagsApiGetAllTags } from "./actions/tags-api-get-all-tags.cjs";
5
6
  import { prismicTypesApiGetTypes } from "./actions/types-api-get-types.cjs";
6
- import { prismic } from "./app.cjs";
7
7
  import { prismicCatalog } from "./catalog.cjs";
8
8
  export { prismic, prismicCatalog, prismicContentApiGetDocumentsWithFulltextSearch, prismicContentApiQueryDocuments, prismicRepositoryApiGetInfo, prismicTagsApiGetAllTags, prismicTypesApiGetTypes };
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
+ import { prismic } from "./app.mjs";
1
2
  import { prismicContentApiGetDocumentsWithFulltextSearch } from "./actions/content-api-get-documents-with-fulltext-search.mjs";
2
3
  import { prismicContentApiQueryDocuments } from "./actions/content-api-query-documents.mjs";
3
4
  import { prismicRepositoryApiGetInfo } from "./actions/repository-api-get-info.mjs";
4
5
  import { prismicTagsApiGetAllTags } from "./actions/tags-api-get-all-tags.mjs";
5
6
  import { prismicTypesApiGetTypes } from "./actions/types-api-get-types.mjs";
6
- import { prismic } from "./app.mjs";
7
7
  import { prismicCatalog } from "./catalog.mjs";
8
8
  export { prismic, prismicCatalog, prismicContentApiGetDocumentsWithFulltextSearch, prismicContentApiQueryDocuments, prismicRepositoryApiGetInfo, prismicTagsApiGetAllTags, prismicTypesApiGetTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/prismic",
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": {