@keystrokehq/placid 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-collection.cjs +1 -0
- package/dist/actions/create-collection.cjs.map +1 -1
- package/dist/actions/create-collection.d.cts +3 -5
- package/dist/actions/create-collection.d.cts.map +1 -1
- package/dist/actions/create-collection.d.mts +3 -5
- package/dist/actions/create-collection.d.mts.map +1 -1
- package/dist/actions/create-collection.mjs +1 -0
- package/dist/actions/create-collection.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -8
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -8
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/delete-collection.cjs +1 -0
- package/dist/actions/delete-collection.cjs.map +1 -1
- package/dist/actions/delete-collection.d.cts +3 -3
- package/dist/actions/delete-collection.d.cts.map +1 -1
- package/dist/actions/delete-collection.d.mts +3 -3
- package/dist/actions/delete-collection.d.mts.map +1 -1
- package/dist/actions/delete-collection.mjs +1 -0
- package/dist/actions/delete-collection.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-collection.cjs +1 -0
- package/dist/actions/get-collection.cjs.map +1 -1
- package/dist/actions/get-collection.d.cts +3 -3
- package/dist/actions/get-collection.d.cts.map +1 -1
- package/dist/actions/get-collection.d.mts +3 -3
- package/dist/actions/get-collection.d.mts.map +1 -1
- package/dist/actions/get-collection.mjs +1 -0
- package/dist/actions/get-collection.mjs.map +1 -1
- package/dist/actions/get-collections.cjs +1 -0
- package/dist/actions/get-collections.cjs.map +1 -1
- package/dist/actions/get-collections.d.cts +3 -4
- package/dist/actions/get-collections.d.cts.map +1 -1
- package/dist/actions/get-collections.d.mts +3 -4
- package/dist/actions/get-collections.d.mts.map +1 -1
- package/dist/actions/get-collections.mjs +1 -0
- package/dist/actions/get-collections.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/list-nl-templates.cjs +1 -0
- package/dist/actions/list-nl-templates.cjs.map +1 -1
- package/dist/actions/list-nl-templates.d.cts +3 -1
- package/dist/actions/list-nl-templates.d.cts.map +1 -1
- package/dist/actions/list-nl-templates.d.mts +3 -1
- package/dist/actions/list-nl-templates.d.mts.map +1 -1
- package/dist/actions/list-nl-templates.mjs +1 -0
- package/dist/actions/list-nl-templates.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -6
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -6
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/update-collection.cjs +1 -0
- package/dist/actions/update-collection.cjs.map +1 -1
- package/dist/actions/update-collection.d.cts +3 -8
- package/dist/actions/update-collection.d.cts.map +1 -1
- package/dist/actions/update-collection.d.mts +3 -8
- package/dist/actions/update-collection.d.mts.map +1 -1
- package/dist/actions/update-collection.mjs +1 -0
- package/dist/actions/update-collection.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -6
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -6
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["placid","executePlacidTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["placid","executePlacidTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof placid.credential> {\n return placid.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlacidTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { placid } from \"./app\";\nimport { executePlacidTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof placid.credential> {\n return placid.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlacidTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-collection.cjs","names":["z","action"],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidCreateCollectionInput,\n typeof PlacidCreateCollectionOutput,\n typeof placid.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-collection.d.ts
|
|
@@ -12,11 +14,7 @@ declare const PlacidCreateCollectionOutput: z.ZodObject<{
|
|
|
12
14
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const placidCreateCollection:
|
|
16
|
-
title: string;
|
|
17
|
-
custom_data?: string | undefined;
|
|
18
|
-
template_uuids?: string[] | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const placidCreateCollection: AppAction<typeof PlacidCreateCollectionInput, typeof PlacidCreateCollectionOutput, typeof placid.credential>;
|
|
20
18
|
//#endregion
|
|
21
19
|
export { placidCreateCollection };
|
|
22
20
|
//# sourceMappingURL=create-collection.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-collection.d.cts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-collection.d.cts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-collection.d.ts
|
|
@@ -12,11 +14,7 @@ declare const PlacidCreateCollectionOutput: z.ZodObject<{
|
|
|
12
14
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const placidCreateCollection:
|
|
16
|
-
title: string;
|
|
17
|
-
custom_data?: string | undefined;
|
|
18
|
-
template_uuids?: string[] | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const placidCreateCollection: AppAction<typeof PlacidCreateCollectionInput, typeof PlacidCreateCollectionOutput, typeof placid.credential>;
|
|
20
18
|
//#endregion
|
|
21
19
|
export { placidCreateCollection };
|
|
22
20
|
//# sourceMappingURL=create-collection.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-collection.d.mts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-collection.d.mts","names":[],"sources":["../../src/actions/create-collection.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-collection.mjs","names":[],"sources":["../../src/actions/create-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidCreateCollectionInput,\n typeof PlacidCreateCollectionOutput,\n typeof placid.credential\n> = 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":";;;AAkBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,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,uDAgBH;CACP,QAhB0C,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,yDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidCreateTemplateInput,\n typeof PlacidCreateTemplateOutput,\n typeof placid.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-template.d.ts
|
|
@@ -23,14 +25,7 @@ declare const PlacidCreateTemplateOutput: z.ZodObject<{
|
|
|
23
25
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
26
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const placidCreateTemplate:
|
|
27
|
-
title: string;
|
|
28
|
-
width: number;
|
|
29
|
-
height: number;
|
|
30
|
-
url?: string | undefined;
|
|
31
|
-
tags?: string[] | undefined;
|
|
32
|
-
custom_data?: string | Record<string, unknown> | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const placidCreateTemplate: AppAction<typeof PlacidCreateTemplateInput, typeof PlacidCreateTemplateOutput, typeof placid.credential>;
|
|
34
29
|
//#endregion
|
|
35
30
|
export { placidCreateTemplate };
|
|
36
31
|
//# sourceMappingURL=create-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-template.d.ts
|
|
@@ -23,14 +25,7 @@ declare const PlacidCreateTemplateOutput: z.ZodObject<{
|
|
|
23
25
|
collections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
26
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const placidCreateTemplate:
|
|
27
|
-
title: string;
|
|
28
|
-
width: number;
|
|
29
|
-
height: number;
|
|
30
|
-
url?: string | undefined;
|
|
31
|
-
tags?: string[] | undefined;
|
|
32
|
-
custom_data?: string | Record<string, unknown> | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const placidCreateTemplate: AppAction<typeof PlacidCreateTemplateInput, typeof PlacidCreateTemplateOutput, typeof placid.credential>;
|
|
34
29
|
//#endregion
|
|
35
30
|
export { placidCreateTemplate };
|
|
36
31
|
//# sourceMappingURL=create-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidCreateTemplateInput,\n typeof PlacidCreateTemplateOutput,\n typeof placid.credential\n> = 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":";;;;AAMA,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,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBwC,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,qDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-collection.cjs","names":["z","action"],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidDeleteCollectionInput,\n typeof PlacidDeleteCollectionOutput,\n typeof placid.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-collection.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PlacidDeleteCollectionOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const placidDeleteCollection:
|
|
12
|
-
collection_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const placidDeleteCollection: AppAction<typeof PlacidDeleteCollectionInput, typeof PlacidDeleteCollectionOutput, typeof placid.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { placidDeleteCollection };
|
|
16
16
|
//# sourceMappingURL=delete-collection.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-collection.d.cts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-collection.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PlacidDeleteCollectionOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const placidDeleteCollection:
|
|
12
|
-
collection_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const placidDeleteCollection: AppAction<typeof PlacidDeleteCollectionInput, typeof PlacidDeleteCollectionOutput, typeof placid.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { placidDeleteCollection };
|
|
16
16
|
//# sourceMappingURL=delete-collection.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-collection.d.mts","names":[],"sources":["../../src/actions/delete-collection.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-collection.mjs","names":[],"sources":["../../src/actions/delete-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidDeleteCollectionInput,\n typeof PlacidDeleteCollectionOutput,\n typeof placid.credential\n> = 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":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,EAC3D,CAAC,CAAC,CAAC,SAAS,iEAcH;CACP,QAd0C,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,0CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidDeleteTemplateInput,\n typeof PlacidDeleteTemplateOutput,\n typeof placid.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-template.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PlacidDeleteTemplateOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const placidDeleteTemplate:
|
|
12
|
-
template_uuid: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const placidDeleteTemplate: AppAction<typeof PlacidDeleteTemplateInput, typeof PlacidDeleteTemplateOutput, typeof placid.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { placidDeleteTemplate };
|
|
16
16
|
//# sourceMappingURL=delete-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-template.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PlacidDeleteTemplateOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const placidDeleteTemplate:
|
|
12
|
-
template_uuid: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const placidDeleteTemplate: AppAction<typeof PlacidDeleteTemplateInput, typeof PlacidDeleteTemplateOutput, typeof placid.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { placidDeleteTemplate };
|
|
16
16
|
//# sourceMappingURL=delete-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidDeleteTemplateInput,\n typeof PlacidDeleteTemplateOutput,\n typeof placid.credential\n> = 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":";;;AAcA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO,EAChD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EACrE,CAAC,CAAC,CAAC,SAAS,sDAcH;CACP,QAdwC,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,wCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-collection.cjs","names":["z","action"],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidGetCollectionInput,\n typeof PlacidGetCollectionOutput,\n typeof placid.credential\n> = 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":";;;;AAMA,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,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-collection.d.ts
|
|
@@ -10,9 +12,7 @@ declare const PlacidGetCollectionOutput: z.ZodObject<{
|
|
|
10
12
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const placidGetCollection:
|
|
14
|
-
collection_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const placidGetCollection: AppAction<typeof PlacidGetCollectionInput, typeof PlacidGetCollectionOutput, typeof placid.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { placidGetCollection };
|
|
18
18
|
//# sourceMappingURL=get-collection.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collection.d.cts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-collection.d.cts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-collection.d.ts
|
|
@@ -10,9 +12,7 @@ declare const PlacidGetCollectionOutput: z.ZodObject<{
|
|
|
10
12
|
custom_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
template_uuids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const placidGetCollection:
|
|
14
|
-
collection_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const placidGetCollection: AppAction<typeof PlacidGetCollectionInput, typeof PlacidGetCollectionOutput, typeof placid.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { placidGetCollection };
|
|
18
18
|
//# sourceMappingURL=get-collection.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collection.d.mts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-collection.d.mts","names":[],"sources":["../../src/actions/get-collection.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAOzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const 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: AppAction<\n typeof PlacidGetCollectionInput,\n typeof PlacidGetCollectionOutput,\n typeof placid.credential\n> = 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":";;;AAgBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsC,EAAE,OAAO,EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,yDAgBH;CACP,QAhBuC,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,0DAWhB;AACV,CAAC"}
|
|
@@ -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}).passthrough().describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-collections.cjs","names":["z","action"],"sources":["../../src/actions/get-collections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { placid } from \"../app\";\n\nexport const PlacidGetCollectionsInput = z.object({\n cursor: z.string().describe(\"Cursor for cursor-based pagination. Use the value from the 'next' link in the response to get the next page.\").optional(),\n per_page: z.number().int().describe(\"Number of collections per page (1-100). Server default is 20 if not specified.\").optional(),\n}).describe(\"Request model for retrieving template collections with optional pagination.\");\nconst PlacidGetCollections_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collection (UUID)\").nullable(),\n title: z.string().describe(\"Title of the collection\").nullable(),\n templates: z.array(z.unknown()).describe(\"List of templates associated with this collection (max 500)\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data for the collection\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single Placid template collection.\");\nconst PlacidGetCollections_MetaSchema = z.object({\n path: z.string().describe(\"API endpoint path\").nullable().optional(),\n per_page: z.union([z.number().int(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for collections listing.\");\nconst PlacidGetCollections_LinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for cursor-based navigation.\");\nexport const PlacidGetCollectionsOutput = z.object({\n data: z.array(PlacidGetCollections_CollectionSchema).describe(\"List of template collections\").nullable().optional(),\n meta: PlacidGetCollections_MetaSchema.nullable().optional(),\n links: PlacidGetCollections_LinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of collections and pagination metadata.\");\n\nexport const placidGetCollections: AppAction<\n typeof PlacidGetCollectionsInput,\n typeof PlacidGetCollectionsOutput,\n typeof placid.credential\n> = action(\"PLACID_GET_COLLECTIONS\", {\n slug: \"placid-get-collections\",\n name: \"Get Collections\",\n description: \"Tool to retrieve a list of all template collections. Use after authentication to paginate through your Placid collections.\",\n input: PlacidGetCollectionsInput,\n output: PlacidGetCollectionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-collections.d.ts
|
|
@@ -23,10 +25,7 @@ declare const PlacidGetCollectionsOutput: z.ZodObject<{
|
|
|
23
25
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const placidGetCollections:
|
|
27
|
-
cursor?: string | undefined;
|
|
28
|
-
per_page?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const placidGetCollections: AppAction<typeof PlacidGetCollectionsInput, typeof PlacidGetCollectionsOutput, typeof placid.credential>;
|
|
30
29
|
//#endregion
|
|
31
30
|
export { placidGetCollections };
|
|
32
31
|
//# sourceMappingURL=get-collections.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collections.d.cts","names":[],"sources":["../../src/actions/get-collections.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-collections.d.cts","names":[],"sources":["../../src/actions/get-collections.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { placid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-collections.d.ts
|
|
@@ -23,10 +25,7 @@ declare const PlacidGetCollectionsOutput: z.ZodObject<{
|
|
|
23
25
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const placidGetCollections:
|
|
27
|
-
cursor?: string | undefined;
|
|
28
|
-
per_page?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const placidGetCollections: AppAction<typeof PlacidGetCollectionsInput, typeof PlacidGetCollectionsOutput, typeof placid.credential>;
|
|
30
29
|
//#endregion
|
|
31
30
|
export { placidGetCollections };
|
|
32
31
|
//# sourceMappingURL=get-collections.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-collections.d.mts","names":[],"sources":["../../src/actions/get-collections.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-collections.d.mts","names":[],"sources":["../../src/actions/get-collections.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|