@keystrokehq/placid 0.1.2 → 0.1.4
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/actions/create-collection.cjs +1 -1
- package/dist/actions/create-collection.cjs.map +1 -1
- package/dist/actions/create-collection.d.cts +1 -1
- package/dist/actions/create-collection.d.mts +1 -1
- package/dist/actions/create-collection.mjs +1 -1
- package/dist/actions/create-collection.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -1
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +1 -1
- package/dist/actions/create-template.d.mts +1 -1
- package/dist/actions/create-template.mjs +1 -1
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/delete-collection.cjs +1 -1
- package/dist/actions/delete-collection.cjs.map +1 -1
- package/dist/actions/delete-collection.d.cts +1 -1
- package/dist/actions/delete-collection.d.mts +1 -1
- package/dist/actions/delete-collection.mjs +1 -1
- package/dist/actions/delete-collection.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +1 -1
- package/dist/actions/delete-template.d.mts +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-collection.cjs +1 -1
- package/dist/actions/get-collection.cjs.map +1 -1
- package/dist/actions/get-collection.d.cts +1 -1
- package/dist/actions/get-collection.d.mts +1 -1
- package/dist/actions/get-collection.mjs +1 -1
- package/dist/actions/get-collection.mjs.map +1 -1
- package/dist/actions/get-collections.cjs +4 -4
- package/dist/actions/get-collections.cjs.map +1 -1
- package/dist/actions/get-collections.d.cts +4 -4
- package/dist/actions/get-collections.d.mts +4 -4
- package/dist/actions/get-collections.mjs +4 -4
- package/dist/actions/get-collections.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -1
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +1 -1
- package/dist/actions/get-template.d.mts +1 -1
- package/dist/actions/get-template.mjs +1 -1
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/list-nl-templates.cjs +3 -3
- package/dist/actions/list-nl-templates.cjs.map +1 -1
- package/dist/actions/list-nl-templates.d.cts +3 -3
- package/dist/actions/list-nl-templates.d.mts +3 -3
- package/dist/actions/list-nl-templates.mjs +3 -3
- package/dist/actions/list-nl-templates.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +4 -4
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +4 -4
- package/dist/actions/list-templates.d.mts +4 -4
- package/dist/actions/list-templates.mjs +4 -4
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/update-collection.cjs +1 -1
- package/dist/actions/update-collection.cjs.map +1 -1
- package/dist/actions/update-collection.d.cts +1 -1
- package/dist/actions/update-collection.d.mts +1 -1
- package/dist/actions/update-collection.mjs +1 -1
- package/dist/actions/update-collection.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -1
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +1 -1
- package/dist/actions/update-template.d.mts +1 -1
- package/dist/actions/update-template.mjs +1 -1
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ const PlacidCreateCollectionOutput = zod.z.object({
|
|
|
11
11
|
title: zod.z.string().describe("Title of the collection").nullable().optional(),
|
|
12
12
|
custom_data: zod.z.string().describe("Custom reference data for the collection (max 255 chars)").nullable().optional(),
|
|
13
13
|
template_uuids: zod.z.array(zod.z.string()).describe("List of template UUIDs included in the collection").nullable().optional()
|
|
14
|
-
}).describe("Response model for a newly created template collection.");
|
|
14
|
+
}).passthrough().describe("Response model for a newly created template collection.");
|
|
15
15
|
const placidCreateCollection = require_action.action("PLACID_CREATE_COLLECTION", {
|
|
16
16
|
slug: "placid-create-collection",
|
|
17
17
|
name: "Create Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-collection.cjs","names":["z","action"],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"create-collection.cjs","names":["z","action"],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const PlacidCreateCollectionOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
title: string;
|
|
17
17
|
custom_data?: string | undefined;
|
|
@@ -11,7 +11,7 @@ declare const PlacidCreateCollectionOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const placidCreateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
title: string;
|
|
17
17
|
custom_data?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const placidCreateCollection = action("PLACID_CREATE_COLLECTION", {
|
|
|
14
14
|
title: z.string().describe("Title of the collection").nullable().optional(),
|
|
15
15
|
custom_data: z.string().describe("Custom reference data for the collection (max 255 chars)").nullable().optional(),
|
|
16
16
|
template_uuids: z.array(z.string()).describe("List of template UUIDs included in the collection").nullable().optional()
|
|
17
|
-
}).describe("Response model for a newly created template collection.")
|
|
17
|
+
}).passthrough().describe("Response model for a newly created template collection.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { placidCreateCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-collection.mjs","names":[],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,uDAYH;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-collection.mjs","names":[],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateCollectionInput = z.object({\n title: z.string().describe(\"Title of the collection (max 255 chars)\"),\n custom_data: z.string().describe(\"Custom data to save and forward (max 255 chars)\").optional(),\n template_uuids: z.array(z.string()).describe(\"Array of template UUIDs to include (limited to 500)\").optional(),\n}).describe(\"Request model for creating a new template collection.\");\nexport const PlacidCreateCollectionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable().optional(),\n title: z.string().describe(\"Title of the collection\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection (max 255 chars)\").nullable().optional(),\n template_uuids: z.array(z.string()).describe(\"List of template UUIDs included in the collection\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created template collection.\");\n\nexport const placidCreateCollection = action(\"PLACID_CREATE_COLLECTION\", {\n slug: \"placid-create-collection\",\n name: \"Create Collection\",\n description: \"Tool to create a new template collection to group multiple templates. Use when organizing templates into collections with custom metadata.\",\n input: PlacidCreateCollectionInput,\n output: PlacidCreateCollectionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,uDAYH;CACP,QAZ0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const PlacidCreateTemplateOutput = zod.z.object({
|
|
|
23
23
|
thumbnail: zod.z.string().describe("URL of the template thumbnail preview (may be null during regeneration).").nullable().optional(),
|
|
24
24
|
collections: zod.z.array(zod.z.string()).describe("Collection UUIDs the template belongs to.").nullable().optional(),
|
|
25
25
|
custom_data: zod.z.unknown().describe("Arbitrary custom data (max 255 chars when serialized).").nullable().optional()
|
|
26
|
-
}).describe("Response model for a newly created Placid template.");
|
|
26
|
+
}).passthrough().describe("Response model for a newly created Placid template.");
|
|
27
27
|
const placidCreateTemplate = require_action.action("PLACID_CREATE_TEMPLATE", {
|
|
28
28
|
slug: "placid-create-template",
|
|
29
29
|
name: "Create Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = 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(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).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 collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\"\",\n input: PlacidCreateTemplateInput,\n output: PlacidCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = 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(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).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 collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\"\",\n input: PlacidCreateTemplateInput,\n output: PlacidCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const PlacidCreateTemplateOutput: z.ZodObject<{
|
|
|
22
22
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
24
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
title: string;
|
|
28
28
|
width: number;
|
|
@@ -22,7 +22,7 @@ declare const PlacidCreateTemplateOutput: z.ZodObject<{
|
|
|
22
22
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
24
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
title: string;
|
|
28
28
|
width: number;
|
|
@@ -28,7 +28,7 @@ const placidCreateTemplate = action("PLACID_CREATE_TEMPLATE", {
|
|
|
28
28
|
thumbnail: z.string().describe("URL of the template thumbnail preview (may be null during regeneration).").nullable().optional(),
|
|
29
29
|
collections: z.array(z.string()).describe("Collection UUIDs the template belongs to.").nullable().optional(),
|
|
30
30
|
custom_data: z.unknown().describe("Arbitrary custom data (max 255 chars when serialized).").nullable().optional()
|
|
31
|
-
}).describe("Response model for a newly created Placid template.")
|
|
31
|
+
}).passthrough().describe("Response model for a newly created Placid template.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { placidCreateTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = 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(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).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 collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\"\",\n input: PlacidCreateTemplateInput,\n output: PlacidCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAajE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidCreateTemplateInput = z.object({\n url: z.string().describe(\"Optional URL pointing to a PSD or other template source.\").optional(),\n tags: z.array(z.string()).describe(\"Optional list of tags to organize templates.\").optional(),\n title: z.string().describe(\"Name of the template.\"),\n width: z.number().int().describe(\"Width of the template in pixels (must be >= 10).\"),\n height: z.number().int().describe(\"Height of the template in pixels (must be >= 10).\"),\n custom_data: z.union([z.string(), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"Request model for creating a new Placid template.\");\nconst PlacidCreateTemplate_LayerSchema = z.object({\n name: z.string().describe(\"Layer name/identifier.\").nullable(),\n type: z.string().describe(\"Layer type (e.g., text, picture, rectangle, browserframe, barcode, rating, subtitle).\").nullable(),\n}).passthrough().describe(\"Represents a layer within a template.\");\nexport const PlacidCreateTemplateOutput = 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(),\n height: z.number().int().describe(\"Template height in pixels.\").nullable(),\n layers: z.array(PlacidCreateTemplate_LayerSchema).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 collections: z.array(z.string()).describe(\"Collection UUIDs the template belongs to.\").nullable().optional(),\n custom_data: z.unknown().describe(\"Arbitrary custom data (max 255 chars when serialized).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created Placid template.\");\n\nexport const placidCreateTemplate = action(\"PLACID_CREATE_TEMPLATE\", {\n slug: \"placid-create-template\",\n name: \"Create Template\",\n description: \"Tool to create a new Placid template. Use when you need a template with specific dimensions and optional tags or custom metadata. Example: \\\"Create a social-media banner.\\\"\",\n input: PlacidCreateTemplateInput,\n output: PlacidCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAajE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PlacidDeleteCollectionInput = zod.z.object({ collection_id: zod.z.string()
|
|
|
5
5
|
const PlacidDeleteCollectionOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates if deletion was successful").nullable().optional()
|
|
8
|
-
}).describe("Response schema for collection deletion.");
|
|
8
|
+
}).passthrough().describe("Response schema for collection deletion.");
|
|
9
9
|
const placidDeleteCollection = require_action.action("PLACID_DELETE_COLLECTION", {
|
|
10
10
|
slug: "placid-delete-collection",
|
|
11
11
|
name: "Delete Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteCollectionInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteCollectionOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
collection_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteCollectionInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteCollectionOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
collection_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const placidDeleteCollection = action("PLACID_DELETE_COLLECTION", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates if deletion was successful").nullable().optional()
|
|
11
|
-
}).describe("Response schema for collection deletion.")
|
|
11
|
+
}).passthrough().describe("Response schema for collection deletion.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { placidDeleteCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.mjs","names":[],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-collection.mjs","names":[],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID\"),\n}).describe(\"Request parameters for deleting a specific template collection.\");\nexport const PlacidDeleteCollectionOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for collection deletion.\");\n\nexport const placidDeleteCollection = action(\"PLACID_DELETE_COLLECTION\", {\n slug: \"placid-delete-collection\",\n name: \"Delete Collection\",\n description: \"Tool to delete a template collection by its ID. Use after confirming the collection is no longer needed. Note: This does not delete the templates within the collection.\",\n input: PlacidDeleteCollectionInput,\n output: PlacidDeleteCollectionOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PlacidDeleteTemplateInput = zod.z.object({ template_uuid: zod.z.string().d
|
|
|
5
5
|
const PlacidDeleteTemplateOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates if deletion was successful").nullable()
|
|
8
|
-
}).describe("Response schema for template deletion.");
|
|
8
|
+
}).passthrough().describe("Response schema for template deletion.");
|
|
9
9
|
const placidDeleteTemplate = require_action.action("PLACID_DELETE_TEMPLATE", {
|
|
10
10
|
slug: "placid-delete-template",
|
|
11
11
|
name: "Delete Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).passthrough().describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteTemplateInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteTemplateOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
template_uuid: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PlacidDeleteTemplateInput: z.ZodObject<{
|
|
|
7
7
|
declare const PlacidDeleteTemplateOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const placidDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
template_uuid: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const placidDeleteTemplate = action("PLACID_DELETE_TEMPLATE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Additional info or error message, if any").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates if deletion was successful").nullable()
|
|
11
|
-
}).describe("Response schema for template deletion.")
|
|
11
|
+
}).passthrough().describe("Response schema for template deletion.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { placidDeleteTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidDeleteTemplateInput = z.object({\n template_uuid: z.string().describe(\"UUID of the template to delete\"),\n}).describe(\"Request parameters for deleting a specific template.\");\nexport const PlacidDeleteTemplateOutput = z.object({\n message: z.string().describe(\"Additional info or error message, if any\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if deletion was successful\").nullable(),\n}).passthrough().describe(\"Response schema for template deletion.\");\n\nexport const placidDeleteTemplate = action(\"PLACID_DELETE_TEMPLATE\", {\n slug: \"placid-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to delete a specific template identified by UUID. Use after confirming the template is no longer needed.\",\n input: PlacidDeleteTemplateInput,\n output: PlacidDeleteTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const PlacidGetCollectionOutput = zod.z.object({
|
|
|
7
7
|
title: zod.z.string().describe("Title of the collection").nullable(),
|
|
8
8
|
custom_data: zod.z.string().describe("Custom reference data for the collection").nullable().optional(),
|
|
9
9
|
template_uuids: zod.z.array(zod.z.string()).describe("List of template UUIDs associated with this collection").nullable().optional()
|
|
10
|
-
}).describe("Response model containing a single collection's details.");
|
|
10
|
+
}).passthrough().describe("Response model containing a single collection's details.");
|
|
11
11
|
const placidGetCollection = require_action.action("PLACID_GET_COLLECTION", {
|
|
12
12
|
slug: "placid-get-collection",
|
|
13
13
|
name: "Get Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = 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 associated with this collection\").nullable().optional(),\n}).describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = 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 associated with this collection\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const PlacidGetCollectionOutput: z.ZodObject<{
|
|
|
9
9
|
title: z.ZodNullable<z.ZodString>;
|
|
10
10
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const placidGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
collection_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ declare const PlacidGetCollectionOutput: z.ZodObject<{
|
|
|
9
9
|
title: z.ZodNullable<z.ZodString>;
|
|
10
10
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const placidGetCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
collection_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ const placidGetCollection = action("PLACID_GET_COLLECTION", {
|
|
|
10
10
|
title: z.string().describe("Title of the collection").nullable(),
|
|
11
11
|
custom_data: z.string().describe("Custom reference data for the collection").nullable().optional(),
|
|
12
12
|
template_uuids: z.array(z.string()).describe("List of template UUIDs associated with this collection").nullable().optional()
|
|
13
|
-
}).describe("Response model containing a single collection's details.")
|
|
13
|
+
}).passthrough().describe("Response model containing a single collection's details.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { placidGetCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = 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 associated with this collection\").nullable().optional(),\n}).describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAYH;CACP,QAZuC,EAAE,OAAO;EAChD,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,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidGetCollectionInput = z.object({\n collection_id: z.string().describe(\"Unique collection ID (UUID format) to retrieve\"),\n}).describe(\"Request model for retrieving a single collection by ID.\");\nexport const PlacidGetCollectionOutput = 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 associated with this collection\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a single collection's details.\");\n\nexport const placidGetCollection = action(\"PLACID_GET_COLLECTION\", {\n slug: \"placid-get-collection\",\n name: \"Get Collection\",\n description: \"Tool to retrieve a single collection by its ID. Use when you need details about a specific collection including its title, custom data, and associated template UUIDs.\",\n input: PlacidGetCollectionInput,\n output: PlacidGetCollectionOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO,EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAYH;CACP,QAZuC,EAAE,OAAO;EAChD,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,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -10,22 +10,22 @@ const PlacidGetCollections_CollectionSchema = zod.z.object({
|
|
|
10
10
|
title: zod.z.string().describe("Title of the collection").nullable(),
|
|
11
11
|
templates: zod.z.array(zod.z.unknown()).describe("List of templates associated with this collection (max 500)").nullable().optional(),
|
|
12
12
|
custom_data: zod.z.string().describe("Custom reference data for the collection").nullable().optional()
|
|
13
|
-
}).describe("Representation of a single Placid template collection.");
|
|
13
|
+
}).passthrough().describe("Representation of a single Placid template collection.");
|
|
14
14
|
const PlacidGetCollections_MetaSchema = zod.z.object({
|
|
15
15
|
path: zod.z.string().describe("API endpoint path").nullable().optional(),
|
|
16
16
|
per_page: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional()
|
|
17
|
-
}).describe("Pagination metadata for collections listing.");
|
|
17
|
+
}).passthrough().describe("Pagination metadata for collections listing.");
|
|
18
18
|
const PlacidGetCollections_LinksSchema = zod.z.object({
|
|
19
19
|
last: zod.z.string().describe("URL to the last page").nullable().optional(),
|
|
20
20
|
next: zod.z.string().describe("URL to the next page").nullable().optional(),
|
|
21
21
|
prev: zod.z.string().describe("URL to the previous page").nullable().optional(),
|
|
22
22
|
first: zod.z.string().describe("URL to the first page").nullable().optional()
|
|
23
|
-
}).describe("Pagination links for cursor-based navigation.");
|
|
23
|
+
}).passthrough().describe("Pagination links for cursor-based navigation.");
|
|
24
24
|
const PlacidGetCollectionsOutput = zod.z.object({
|
|
25
25
|
data: zod.z.array(PlacidGetCollections_CollectionSchema).describe("List of template collections").nullable().optional(),
|
|
26
26
|
meta: PlacidGetCollections_MetaSchema.nullable().optional(),
|
|
27
27
|
links: PlacidGetCollections_LinksSchema.nullable().optional()
|
|
28
|
-
}).describe("Response model containing a list of collections and pagination metadata.");
|
|
28
|
+
}).passthrough().describe("Response model containing a list of collections and pagination metadata.");
|
|
29
29
|
const placidGetCollections = require_action.action("PLACID_GET_COLLECTIONS", {
|
|
30
30
|
slug: "placid-get-collections",
|
|
31
31
|
name: "Get Collections",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collections.cjs","names":["z","action"],"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}).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}).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}).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}).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":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,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,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-collections.cjs","names":["z","action"],"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":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,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,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,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;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC1D,OAAO,iCAAiC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,18 +11,18 @@ declare const PlacidGetCollectionsOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodNullable<z.ZodString>;
|
|
12
12
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
13
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidGetCollections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
cursor?: string | undefined;
|
|
28
28
|
per_page?: number | undefined;
|
|
@@ -11,18 +11,18 @@ declare const PlacidGetCollectionsOutput: z.ZodObject<{
|
|
|
11
11
|
title: z.ZodNullable<z.ZodString>;
|
|
12
12
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
13
13
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
15
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const placidGetCollections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
cursor?: string | undefined;
|
|
28
28
|
per_page?: number | undefined;
|
|
@@ -10,17 +10,17 @@ const PlacidGetCollections_CollectionSchema = z.object({
|
|
|
10
10
|
title: z.string().describe("Title of the collection").nullable(),
|
|
11
11
|
templates: z.array(z.unknown()).describe("List of templates associated with this collection (max 500)").nullable().optional(),
|
|
12
12
|
custom_data: z.string().describe("Custom reference data for the collection").nullable().optional()
|
|
13
|
-
}).describe("Representation of a single Placid template collection.");
|
|
13
|
+
}).passthrough().describe("Representation of a single Placid template collection.");
|
|
14
14
|
const PlacidGetCollections_MetaSchema = z.object({
|
|
15
15
|
path: z.string().describe("API endpoint path").nullable().optional(),
|
|
16
16
|
per_page: z.union([z.number().int(), z.string()]).nullable().optional()
|
|
17
|
-
}).describe("Pagination metadata for collections listing.");
|
|
17
|
+
}).passthrough().describe("Pagination metadata for collections listing.");
|
|
18
18
|
const PlacidGetCollections_LinksSchema = z.object({
|
|
19
19
|
last: z.string().describe("URL to the last page").nullable().optional(),
|
|
20
20
|
next: z.string().describe("URL to the next page").nullable().optional(),
|
|
21
21
|
prev: z.string().describe("URL to the previous page").nullable().optional(),
|
|
22
22
|
first: z.string().describe("URL to the first page").nullable().optional()
|
|
23
|
-
}).describe("Pagination links for cursor-based navigation.");
|
|
23
|
+
}).passthrough().describe("Pagination links for cursor-based navigation.");
|
|
24
24
|
const placidGetCollections = action("PLACID_GET_COLLECTIONS", {
|
|
25
25
|
slug: "placid-get-collections",
|
|
26
26
|
name: "Get Collections",
|
|
@@ -30,7 +30,7 @@ const placidGetCollections = action("PLACID_GET_COLLECTIONS", {
|
|
|
30
30
|
data: z.array(PlacidGetCollections_CollectionSchema).describe("List of template collections").nullable().optional(),
|
|
31
31
|
meta: PlacidGetCollections_MetaSchema.nullable().optional(),
|
|
32
32
|
links: PlacidGetCollections_LinksSchema.nullable().optional()
|
|
33
|
-
}).describe("Response model containing a list of collections and pagination metadata.")
|
|
33
|
+
}).passthrough().describe("Response model containing a list of collections and pagination metadata.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { placidGetCollections };
|
|
@@ -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}).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}).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}).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}).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":";;;AAIA,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,SAAS,wDAAwD;
|
|
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":";;;AAIA,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,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,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,0EAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const PlacidGetTemplateOutput = zod.z.object({
|
|
|
8
8
|
title: zod.z.string().describe("Template title").nullable(),
|
|
9
9
|
layers: zod.z.array(zod.z.unknown()).describe("Array of template layers").nullable().optional(),
|
|
10
10
|
thumbnail: zod.z.string().describe("URL of the template thumbnail preview (may be null during regeneration)").nullable().optional()
|
|
11
|
-
}).describe("Response schema for a Placid template.");
|
|
11
|
+
}).passthrough().describe("Response schema for a Placid template.");
|
|
12
12
|
const placidGetTemplate = require_action.action("PLACID_GET_TEMPLATE", {
|
|
13
13
|
slug: "placid-get-template",
|
|
14
14
|
name: "Get Template",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,wCAAwC;
|
|
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":";;;AAIA,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,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const PlacidGetTemplateOutput: z.ZodObject<{
|
|
|
10
10
|
title: z.ZodNullable<z.ZodString>;
|
|
11
11
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
12
12
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const placidGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
template_uuid: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,7 +10,7 @@ declare const PlacidGetTemplateOutput: z.ZodObject<{
|
|
|
10
10
|
title: z.ZodNullable<z.ZodString>;
|
|
11
11
|
layers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
12
12
|
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const placidGetTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
template_uuid: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ const placidGetTemplate = action("PLACID_GET_TEMPLATE", {
|
|
|
11
11
|
title: z.string().describe("Template title").nullable(),
|
|
12
12
|
layers: z.array(z.unknown()).describe("Array of template layers").nullable().optional(),
|
|
13
13
|
thumbnail: z.string().describe("URL of the template thumbnail preview (may be null during regeneration)").nullable().optional()
|
|
14
|
-
}).describe("Response schema for a Placid template.")
|
|
14
|
+
}).passthrough().describe("Response schema for a Placid template.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { placidGetTemplate };
|
|
@@ -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}).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":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbqC,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,SAAS,
|
|
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":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACvE,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbqC,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,wCAOhB;AACV,CAAC"}
|