@keystrokehq/placid 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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-collection.cjs +1 -0
- package/dist/actions/create-collection.cjs.map +1 -1
- package/dist/actions/create-collection.d.cts +3 -5
- package/dist/actions/create-collection.d.cts.map +1 -1
- package/dist/actions/create-collection.d.mts +3 -5
- package/dist/actions/create-collection.d.mts.map +1 -1
- package/dist/actions/create-collection.mjs +1 -0
- package/dist/actions/create-collection.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -8
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -8
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/delete-collection.cjs +1 -0
- package/dist/actions/delete-collection.cjs.map +1 -1
- package/dist/actions/delete-collection.d.cts +3 -3
- package/dist/actions/delete-collection.d.cts.map +1 -1
- package/dist/actions/delete-collection.d.mts +3 -3
- package/dist/actions/delete-collection.d.mts.map +1 -1
- package/dist/actions/delete-collection.mjs +1 -0
- package/dist/actions/delete-collection.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-collection.cjs +1 -0
- package/dist/actions/get-collection.cjs.map +1 -1
- package/dist/actions/get-collection.d.cts +3 -3
- package/dist/actions/get-collection.d.cts.map +1 -1
- package/dist/actions/get-collection.d.mts +3 -3
- package/dist/actions/get-collection.d.mts.map +1 -1
- package/dist/actions/get-collection.mjs +1 -0
- package/dist/actions/get-collection.mjs.map +1 -1
- package/dist/actions/get-collections.cjs +1 -0
- package/dist/actions/get-collections.cjs.map +1 -1
- package/dist/actions/get-collections.d.cts +3 -4
- package/dist/actions/get-collections.d.cts.map +1 -1
- package/dist/actions/get-collections.d.mts +3 -4
- package/dist/actions/get-collections.d.mts.map +1 -1
- package/dist/actions/get-collections.mjs +1 -0
- package/dist/actions/get-collections.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/list-nl-templates.cjs +1 -0
- package/dist/actions/list-nl-templates.cjs.map +1 -1
- package/dist/actions/list-nl-templates.d.cts +3 -1
- package/dist/actions/list-nl-templates.d.cts.map +1 -1
- package/dist/actions/list-nl-templates.d.mts +3 -1
- package/dist/actions/list-nl-templates.d.mts.map +1 -1
- package/dist/actions/list-nl-templates.mjs +1 -0
- package/dist/actions/list-nl-templates.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -6
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -6
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/update-collection.cjs +1 -0
- package/dist/actions/update-collection.cjs.map +1 -1
- package/dist/actions/update-collection.d.cts +3 -8
- package/dist/actions/update-collection.d.cts.map +1 -1
- package/dist/actions/update-collection.d.mts +3 -8
- package/dist/actions/update-collection.d.mts.map +1 -1
- package/dist/actions/update-collection.mjs +1 -0
- package/dist/actions/update-collection.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -6
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -6
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collections.mjs","names":[],"sources":["../../src/actions/get-collections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionsInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n per_page: z.number().int().describe(\"Number of collections per page (1-100). Server default is 20 if not specified.\").optional(),\n}).describe(\"Request model for retrieving template collections with optional pagination.\");\nconst PlacidGetCollections_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n templates: z.array(z.unknown()).describe(\"List of templates associated with this collection (max 500)\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-collections.mjs","names":[],"sources":["../../src/actions/get-collections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidGetCollectionsInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n per_page: z.number().int().describe(\"Number of collections per page (1-100). Server default is 20 if not specified.\").optional(),\n}).describe(\"Request model for retrieving template collections with optional pagination.\");\nconst PlacidGetCollections_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n templates: z.array(z.unknown()).describe(\"List of templates associated with this collection (max 500)\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections: AppAction<\n typeof PlacidGetCollectionsInput,\n typeof PlacidGetCollectionsOutput,\n typeof placid.credential\n> = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAOzE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC1D,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.cjs","names":["z","action"],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template.cjs","names":["z","action"],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate: AppAction<\n typeof PlacidGetTemplateInput,\n typeof PlacidGetTemplateOutput,\n typeof placid.credential\n> = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-template.d.ts
|
|
@@ -11,9 +13,7 @@ declare const PlacidGetTemplateOutput: z.ZodObject<{
|
|
|
11
13
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
12
14
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const placidGetTemplate:
|
|
15
|
-
template_uuid: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const placidGetTemplate: AppAction<typeof PlacidGetTemplateInput, typeof PlacidGetTemplateOutput, typeof placid.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { placidGetTemplate };
|
|
19
19
|
//# sourceMappingURL=get-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.d.cts","names":[],"sources":["../../src/actions/get-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template.d.cts","names":[],"sources":["../../src/actions/get-template.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-template.d.ts
|
|
@@ -11,9 +13,7 @@ declare const PlacidGetTemplateOutput: z.ZodObject<{
|
|
|
11
13
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
12
14
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const placidGetTemplate:
|
|
15
|
-
template_uuid: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const placidGetTemplate: AppAction<typeof PlacidGetTemplateInput, typeof PlacidGetTemplateOutput, typeof placid.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { placidGetTemplate };
|
|
19
19
|
//# sourceMappingURL=get-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.d.mts","names":[],"sources":["../../src/actions/get-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template.d.mts","names":[],"sources":["../../src/actions/get-template.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.mjs","names":[],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-template.mjs","names":[],"sources":["../../src/actions/get-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidGetTemplateInput = z.object({\n template_uuid: z.string().describe(\"Unique template UUID to retrieve\"),\n}).describe(\"Request parameters for retrieving a specific template.\");\nexport const PlacidGetTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview (may be null during regeneration)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Placid template.\");\n\nexport const placidGetTemplate: AppAction<\n typeof PlacidGetTemplateInput,\n typeof PlacidGetTemplateOutput,\n typeof placid.credential\n> = action(\"PLACID_GET_TEMPLATE\", {\n slug: \"placid-get-template\",\n name: \"Get Template\",\n description: \"Tool to retrieve a template by UUID. Returns template details including title, thumbnail, tags, and layers.\",\n input: PlacidGetTemplateInput,\n output: PlacidGetTemplateOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoC,EAAE,OAAO,EAC7C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAiBH;CACP,QAjBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-nl-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).passthrough().describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).passthrough().describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-nl-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).passthrough().describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).passthrough().describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates: AppAction<\n typeof PlacidListNlTemplatesInput,\n typeof PlacidListNlTemplatesOutput,\n typeof placid.credential\n> = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC7I,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,MAAM,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAAyF;AACnH,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-nl-templates.d.ts
|
|
@@ -15,7 +17,7 @@ declare const PlacidListNlTemplatesOutput: z.ZodObject<{
|
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const placidListNlTemplates:
|
|
20
|
+
declare const placidListNlTemplates: AppAction<typeof PlacidListNlTemplatesInput, typeof PlacidListNlTemplatesOutput, typeof placid.credential>;
|
|
19
21
|
//#endregion
|
|
20
22
|
export { placidListNlTemplates };
|
|
21
23
|
//# sourceMappingURL=list-nl-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-nl-templates.d.cts","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-nl-templates.d.cts","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-nl-templates.d.ts
|
|
@@ -15,7 +17,7 @@ declare const PlacidListNlTemplatesOutput: z.ZodObject<{
|
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const placidListNlTemplates:
|
|
20
|
+
declare const placidListNlTemplates: AppAction<typeof PlacidListNlTemplatesInput, typeof PlacidListNlTemplatesOutput, typeof placid.credential>;
|
|
19
21
|
//#endregion
|
|
20
22
|
export { placidListNlTemplates };
|
|
21
23
|
//# sourceMappingURL=list-nl-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-nl-templates.d.mts","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-nl-templates.d.mts","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-nl-templates.mjs","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).passthrough().describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).passthrough().describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-nl-templates.mjs","names":[],"sources":["../../src/actions/list-nl-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidListNlTemplatesInput = z.object({}).describe(\"Request model for listing all available templates via Natural Language API.\");\nconst PlacidListNlTemplates_TemplateLayerSchema = z.object({\n name: z.string().describe(\"Layer identifier name\").nullable(),\n type: z.enum([\"picture\", \"text\"]).describe(\"Type of layer - either 'picture' for image/video layers or 'text' for text layers\").nullable(),\n}).passthrough().describe(\"Represents a single layer within a template that can be modified.\");\nconst PlacidListNlTemplates_TemplateSchema = z.object({\n uuid: z.string().describe(\"Unique template identifier (UUID) used to identify the template across all templates\").nullable(),\n title: z.string().describe(\"User-defined name of the template\").nullable(),\n layers: z.array(PlacidListNlTemplates_TemplateLayerSchema).describe(\"List of dynamic layers that can be modified with text or images\").nullable().optional(),\n}).passthrough().describe(\"Represents a Placid template with layers that can be filled via text and/or image URLs.\");\nexport const PlacidListNlTemplatesOutput = z.object({\n data: z.array(PlacidListNlTemplates_TemplateSchema).describe(\"Array of available Placid templates\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of available templates via Natural Language API.\");\n\nexport const placidListNlTemplates: AppAction<\n typeof PlacidListNlTemplatesInput,\n typeof PlacidListNlTemplatesOutput,\n typeof placid.credential\n> = action(\"PLACID_LIST_NL_TEMPLATES\", {\n slug: \"placid-list-nl-templates\",\n name: \"List NL Templates\",\n description: \"Tool to list all available templates via the Natural Language API. Use when you need to discover available templates for generating images.\",\n input: PlacidListNlTemplatesInput,\n output: PlacidListNlTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC7I,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,KAAK,CAAC,WAAW,MAAM,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yFAAyF;AAKnH,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates: AppAction<\n typeof PlacidListTemplatesInput,\n typeof PlacidListTemplatesOutput,\n typeof placid.credential\n> = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACzD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -24,12 +26,7 @@ declare const PlacidListTemplatesOutput: z.ZodObject<{
|
|
|
24
26
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const placidListTemplates:
|
|
28
|
-
cursor?: string | undefined;
|
|
29
|
-
order_by?: string | undefined;
|
|
30
|
-
title_filter?: string | undefined;
|
|
31
|
-
collection_id?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const placidListTemplates: AppAction<typeof PlacidListTemplatesInput, typeof PlacidListTemplatesOutput, typeof placid.credential>;
|
|
33
30
|
//#endregion
|
|
34
31
|
export { placidListTemplates };
|
|
35
32
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -24,12 +26,7 @@ declare const PlacidListTemplatesOutput: z.ZodObject<{
|
|
|
24
26
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const placidListTemplates:
|
|
28
|
-
cursor?: string | undefined;
|
|
29
|
-
order_by?: string | undefined;
|
|
30
|
-
title_filter?: string | undefined;
|
|
31
|
-
collection_id?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const placidListTemplates: AppAction<typeof PlacidListTemplatesInput, typeof PlacidListTemplatesOutput, typeof placid.credential>;
|
|
33
30
|
//#endregion
|
|
34
31
|
export { placidListTemplates };
|
|
35
32
|
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAqBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidListTemplatesInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n order_by: z.string().describe(\"Sort templates. Format: <field>-<direction>. Fields: created_at, updated_at, title. Directions: asc, desc\").optional(),\n title_filter: z.string().describe(\"Filter templates by title\").optional(),\n collection_id: z.string().describe(\"Filter templates by collection UUID\").optional(),\n}).describe(\"Request model for retrieving templates with optional filtering and pagination.\");\nconst PlacidListTemplates_TemplateSchema = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the template (UUID)\").nullable(),\n title: z.string().describe(\"Title of the template\").nullable(),\n layers: z.array(z.record(z.string(), z.unknown())).describe(\"List of layers in the template\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template.\");\nconst PlacidListTemplates_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of templates per page\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for templates listing.\");\nconst PlacidListTemplates_LinksSchema = z.object({\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidListTemplatesOutput = z.object({\n data: z.array(PlacidListTemplates_TemplateSchema).describe(\"List of templates\").nullable().optional(),\n meta: PlacidListTemplates_MetaSchema.nullable().optional(),\n links: PlacidListTemplates_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of templates and pagination metadata.\");\n\nexport const placidListTemplates: AppAction<\n typeof PlacidListTemplatesInput,\n typeof PlacidListTemplatesOutput,\n typeof placid.credential\n> = action(\"PLACID_LIST_TEMPLATES\", {\n slug: \"placid-list-templates\",\n name: \"List Templates\",\n description: \"Tool to retrieve a list of templates from your project. Returns 20 items per page with cursor pagination. Use to browse templates, optionally filtered by collection or title.\",\n input: PlacidListTemplatesInput,\n output: PlacidListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAOzE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,OAAO,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.cjs","names":["z","action"],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-collection.cjs","names":["z","action"],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection: AppAction<\n typeof PlacidUpdateCollectionInput,\n typeof PlacidUpdateCollectionOutput,\n typeof placid.credential\n> = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACnE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACnN,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClJ,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-collection.d.ts
|
|
@@ -15,14 +17,7 @@ declare const PlacidUpdateCollectionOutput: z.ZodObject<{
|
|
|
15
17
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const placidUpdateCollection:
|
|
19
|
-
collection_id: string;
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
custom_data?: string | undefined;
|
|
22
|
-
template_uuids?: string[] | undefined;
|
|
23
|
-
add_template_uuids?: string[] | undefined;
|
|
24
|
-
remove_template_uuids?: string[] | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const placidUpdateCollection: AppAction<typeof PlacidUpdateCollectionInput, typeof PlacidUpdateCollectionOutput, typeof placid.credential>;
|
|
26
21
|
//#endregion
|
|
27
22
|
export { placidUpdateCollection };
|
|
28
23
|
//# sourceMappingURL=update-collection.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.d.cts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-collection.d.cts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-collection.d.ts
|
|
@@ -15,14 +17,7 @@ declare const PlacidUpdateCollectionOutput: z.ZodObject<{
|
|
|
15
17
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const placidUpdateCollection:
|
|
19
|
-
collection_id: string;
|
|
20
|
-
title?: string | undefined;
|
|
21
|
-
custom_data?: string | undefined;
|
|
22
|
-
template_uuids?: string[] | undefined;
|
|
23
|
-
add_template_uuids?: string[] | undefined;
|
|
24
|
-
remove_template_uuids?: string[] | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const placidUpdateCollection: AppAction<typeof PlacidUpdateCollectionInput, typeof PlacidUpdateCollectionOutput, typeof placid.credential>;
|
|
26
21
|
//#endregion
|
|
27
22
|
export { placidUpdateCollection };
|
|
28
23
|
//# sourceMappingURL=update-collection.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.d.mts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-collection.d.mts","names":[],"sources":["../../src/actions/update-collection.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.mjs","names":[],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-collection.mjs","names":[],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidUpdateCollectionInput = z.object({\n title: z.string().describe(\"New title of the collection (max 255 characters)\").optional(),\n custom_data: z.string().describe(\"Custom reference data to save and forward with the collection (max 1024 characters)\").optional(),\n collection_id: z.string().describe(\"Unique collection ID to update\"),\n template_uuids: z.array(z.string()).describe(\"Replace entire list of template UUIDs in the collection (limited to 500 templates). Mutually exclusive with add_template_uuids and remove_template_uuids.\").optional(),\n add_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to add to the collection. Cannot be used with template_uuids.\").optional(),\n remove_template_uuids: z.array(z.string()).describe(\"List of template UUIDs to remove from the collection. Cannot be used with template_uuids.\").optional(),\n}).describe(\"Request model for updating an existing template collection.\");\nexport const PlacidUpdateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs in the collection (max 500)\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated collection.\");\n\nexport const placidUpdateCollection: AppAction<\n typeof PlacidUpdateCollectionInput,\n typeof PlacidUpdateCollectionOutput,\n typeof placid.credential\n> = action(\"PLACID_UPDATE_COLLECTION\", {\n slug: \"placid-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing template collection. Use to modify title, custom_data, or manage templates (replace all, or incrementally add/remove specific templates).\",\n input: PlacidUpdateCollectionInput,\n output: PlacidUpdateCollectionOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACnE,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EACnN,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClJ,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,6DAgBH;CACP,QAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate: AppAction<\n typeof PlacidUpdateTemplateInput,\n typeof PlacidUpdateTemplateOutput,\n typeof placid.credential\n> = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACrE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-template.d.ts
|
|
@@ -18,12 +20,7 @@ declare const PlacidUpdateTemplateOutput: z.ZodObject<{
|
|
|
18
20
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
19
21
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const placidUpdateTemplate:
|
|
22
|
-
template_uuid: string;
|
|
23
|
-
tags?: string[] | undefined;
|
|
24
|
-
title?: string | undefined;
|
|
25
|
-
custom_data?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const placidUpdateTemplate: AppAction<typeof PlacidUpdateTemplateInput, typeof PlacidUpdateTemplateOutput, typeof placid.credential>;
|
|
27
24
|
//#endregion
|
|
28
25
|
export { placidUpdateTemplate };
|
|
29
26
|
//# sourceMappingURL=update-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-template.d.ts
|
|
@@ -18,12 +20,7 @@ declare const PlacidUpdateTemplateOutput: z.ZodObject<{
|
|
|
18
20
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
19
21
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const placidUpdateTemplate:
|
|
22
|
-
template_uuid: string;
|
|
23
|
-
tags?: string[] | undefined;
|
|
24
|
-
title?: string | undefined;
|
|
25
|
-
custom_data?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const placidUpdateTemplate: AppAction<typeof PlacidUpdateTemplateInput, typeof PlacidUpdateTemplateOutput, typeof placid.credential>;
|
|
27
24
|
//#endregion
|
|
28
25
|
export { placidUpdateTemplate };
|
|
29
26
|
//# sourceMappingURL=update-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.mjs","names":[],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-template.mjs","names":[],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidUpdateTemplateInput = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput = z.object({\n tags: z.array(z.string()).describe(\"List of tags associated with the template\").nullable().optional(),\n uuid: z.string().describe(\"Unique template identifier (UUID)\").nullable(),\n title: z.string().describe(\"Template title\").nullable(),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate: AppAction<\n typeof PlacidUpdateTemplateInput,\n typeof PlacidUpdateTemplateOutput,\n typeof placid.credential\n> = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BuC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACrE,CAAC,CAAC,CAAC,SAAS,yDAqBH;CACP,QArBwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const placid = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "placid",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.placid = placid;
|
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 placid = defineApp({\n slug: \"placid\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const placid: KeystrokeApp<\"placid\", typeof credential> = defineApp({\n slug: \"placid\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const placid: KeystrokeApp<"placid", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { placid };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const placid: KeystrokeApp<"placid", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { placid };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|