@keystrokehq/placid 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-collection.cjs +25 -0
- package/dist/actions/create-collection.cjs.map +1 -0
- package/dist/actions/create-collection.d.cts +9 -0
- package/dist/actions/create-collection.d.cts.map +1 -0
- package/dist/actions/create-collection.d.mts +9 -0
- package/dist/actions/create-collection.d.mts.map +1 -0
- package/dist/actions/create-collection.mjs +22 -0
- package/dist/actions/create-collection.mjs.map +1 -0
- package/dist/actions/create-template.cjs +37 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +36 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/delete-collection.cjs +19 -0
- package/dist/actions/delete-collection.cjs.map +1 -0
- package/dist/actions/delete-collection.d.cts +9 -0
- package/dist/actions/delete-collection.d.cts.map +1 -0
- package/dist/actions/delete-collection.d.mts +9 -0
- package/dist/actions/delete-collection.d.mts.map +1 -0
- package/dist/actions/delete-collection.mjs +16 -0
- package/dist/actions/delete-collection.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +19 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +16 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/get-collection.cjs +21 -0
- package/dist/actions/get-collection.cjs.map +1 -0
- package/dist/actions/get-collection.d.cts +9 -0
- package/dist/actions/get-collection.d.cts.map +1 -0
- package/dist/actions/get-collection.d.mts +9 -0
- package/dist/actions/get-collection.d.mts.map +1 -0
- package/dist/actions/get-collection.mjs +18 -0
- package/dist/actions/get-collection.mjs.map +1 -0
- package/dist/actions/get-collections.cjs +39 -0
- package/dist/actions/get-collections.cjs.map +1 -0
- package/dist/actions/get-collections.d.cts +9 -0
- package/dist/actions/get-collections.d.cts.map +1 -0
- package/dist/actions/get-collections.d.mts +9 -0
- package/dist/actions/get-collections.d.mts.map +1 -0
- package/dist/actions/get-collections.mjs +38 -0
- package/dist/actions/get-collections.mjs.map +1 -0
- package/dist/actions/get-template.cjs +22 -0
- package/dist/actions/get-template.cjs.map +1 -0
- package/dist/actions/get-template.d.cts +9 -0
- package/dist/actions/get-template.d.cts.map +1 -0
- package/dist/actions/get-template.d.mts +9 -0
- package/dist/actions/get-template.d.mts.map +1 -0
- package/dist/actions/get-template.mjs +19 -0
- package/dist/actions/get-template.mjs.map +1 -0
- package/dist/actions/index.cjs +23 -0
- package/dist/actions/index.d.cts +12 -0
- package/dist/actions/index.d.mts +12 -0
- package/dist/actions/index.mjs +12 -0
- package/dist/actions/list-nl-templates.cjs +25 -0
- package/dist/actions/list-nl-templates.cjs.map +1 -0
- package/dist/actions/list-nl-templates.d.cts +9 -0
- package/dist/actions/list-nl-templates.d.cts.map +1 -0
- package/dist/actions/list-nl-templates.d.mts +9 -0
- package/dist/actions/list-nl-templates.d.mts.map +1 -0
- package/dist/actions/list-nl-templates.mjs +24 -0
- package/dist/actions/list-nl-templates.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +40 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +39 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/update-collection.cjs +28 -0
- package/dist/actions/update-collection.cjs.map +1 -0
- package/dist/actions/update-collection.d.cts +9 -0
- package/dist/actions/update-collection.d.cts.map +1 -0
- package/dist/actions/update-collection.d.mts +9 -0
- package/dist/actions/update-collection.d.mts.map +1 -0
- package/dist/actions/update-collection.mjs +25 -0
- package/dist/actions/update-collection.mjs.map +1 -0
- package/dist/actions/update-template.cjs +31 -0
- package/dist/actions/update-template.cjs.map +1 -0
- package/dist/actions/update-template.d.cts +9 -0
- package/dist/actions/update-template.d.cts.map +1 -0
- package/dist/actions/update-template.d.mts +9 -0
- package/dist/actions/update-template.d.mts.map +1 -0
- package/dist/actions/update-template.mjs +28 -0
- package/dist/actions/update-template.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +28 -0
- package/dist/index.d.cts +14 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.mjs +15 -0
- package/package.json +49 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-template.ts
|
|
4
|
+
const PlacidUpdateTemplateInput = zod.z.object({
|
|
5
|
+
tags: zod.z.array(zod.z.string()).describe("Array of tags to assign to the template").optional(),
|
|
6
|
+
title: zod.z.string().describe("Updated title of the template").optional(),
|
|
7
|
+
custom_data: zod.z.string().describe("Custom reference data for the template").optional(),
|
|
8
|
+
template_uuid: zod.z.string().describe("Unique template UUID to update")
|
|
9
|
+
}).describe("Request model for updating an existing Placid template.");
|
|
10
|
+
const PlacidUpdateTemplateOutput = zod.z.object({
|
|
11
|
+
tags: zod.z.array(zod.z.string()).describe("List of tags associated with the template").nullable().optional(),
|
|
12
|
+
uuid: zod.z.string().describe("Unique template identifier (UUID)"),
|
|
13
|
+
title: zod.z.string().describe("Template title"),
|
|
14
|
+
width: zod.z.number().int().describe("Template width in pixels").nullable().optional(),
|
|
15
|
+
height: zod.z.number().int().describe("Template height in pixels").nullable().optional(),
|
|
16
|
+
layers: zod.z.array(zod.z.unknown()).describe("Array of template layers").nullable().optional(),
|
|
17
|
+
thumbnail: zod.z.string().describe("URL of the template thumbnail preview").nullable().optional(),
|
|
18
|
+
collections: zod.z.array(zod.z.unknown()).describe("List of collections the template belongs to").nullable().optional(),
|
|
19
|
+
custom_data: zod.z.string().describe("Custom reference data attached to the template").nullable().optional()
|
|
20
|
+
}).describe("Response model for an updated Placid template.");
|
|
21
|
+
const placidUpdateTemplate = require_action.action("PLACID_UPDATE_TEMPLATE", {
|
|
22
|
+
slug: "placid-update-template",
|
|
23
|
+
name: "Update Template",
|
|
24
|
+
description: "Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.",
|
|
25
|
+
input: PlacidUpdateTemplateInput,
|
|
26
|
+
output: PlacidUpdateTemplateOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.placidUpdateTemplate = placidUpdateTemplate;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=update-template.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput: z.ZodTypeAny = 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)\"),\n title: z.string().describe(\"Template title\"),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACrE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-template.d.ts
|
|
4
|
+
declare const PlacidUpdateTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlacidUpdateTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { placidUpdateTemplate };
|
|
9
|
+
//# sourceMappingURL=update-template.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK4B;AAAA,cACzD,0BAAA,EAA4B,CAAA,CAAE,UAUkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-template.d.ts
|
|
4
|
+
declare const PlacidUpdateTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlacidUpdateTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const placidUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { placidUpdateTemplate };
|
|
9
|
+
//# sourceMappingURL=update-template.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK4B;AAAA,cACzD,0BAAA,EAA4B,CAAA,CAAE,UAUkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const placidUpdateTemplate = action("PLACID_UPDATE_TEMPLATE", {
|
|
4
|
+
slug: "placid-update-template",
|
|
5
|
+
name: "Update Template",
|
|
6
|
+
description: "Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
tags: z.array(z.string()).describe("Array of tags to assign to the template").optional(),
|
|
9
|
+
title: z.string().describe("Updated title of the template").optional(),
|
|
10
|
+
custom_data: z.string().describe("Custom reference data for the template").optional(),
|
|
11
|
+
template_uuid: z.string().describe("Unique template UUID to update")
|
|
12
|
+
}).describe("Request model for updating an existing Placid template."),
|
|
13
|
+
output: z.object({
|
|
14
|
+
tags: z.array(z.string()).describe("List of tags associated with the template").nullable().optional(),
|
|
15
|
+
uuid: z.string().describe("Unique template identifier (UUID)"),
|
|
16
|
+
title: z.string().describe("Template title"),
|
|
17
|
+
width: z.number().int().describe("Template width in pixels").nullable().optional(),
|
|
18
|
+
height: z.number().int().describe("Template height in pixels").nullable().optional(),
|
|
19
|
+
layers: z.array(z.unknown()).describe("Array of template layers").nullable().optional(),
|
|
20
|
+
thumbnail: z.string().describe("URL of the template thumbnail preview").nullable().optional(),
|
|
21
|
+
collections: z.array(z.unknown()).describe("List of collections the template belongs to").nullable().optional(),
|
|
22
|
+
custom_data: z.string().describe("Custom reference data attached to the template").nullable().optional()
|
|
23
|
+
}).describe("Response model for an updated Placid template.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { placidUpdateTemplate };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=update-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.mjs","names":[],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlacidUpdateTemplateInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Array of tags to assign to the template\").optional(),\n title: z.string().describe(\"Updated title of the template\").optional(),\n custom_data: z.string().describe(\"Custom reference data for the template\").optional(),\n template_uuid: z.string().describe(\"Unique template UUID to update\"),\n}).describe(\"Request model for updating an existing Placid template.\");\nexport const PlacidUpdateTemplateOutput: z.ZodTypeAny = 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)\"),\n title: z.string().describe(\"Template title\"),\n width: z.number().int().describe(\"Template width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Template height in pixels\").nullable().optional(),\n layers: z.array(z.unknown()).describe(\"Array of template layers\").nullable().optional(),\n thumbnail: z.string().describe(\"URL of the template thumbnail preview\").nullable().optional(),\n collections: z.array(z.unknown()).describe(\"List of collections the template belongs to\").nullable().optional(),\n custom_data: z.string().describe(\"Custom reference data attached to the template\").nullable().optional(),\n}).describe(\"Response model for an updated Placid template.\");\n\nexport const placidUpdateTemplate = action(\"PLACID_UPDATE_TEMPLATE\", {\n slug: \"placid-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing Placid template. Use when you need to modify the title, tags, or custom_data of a template.\",\n input: PlacidUpdateTemplateInput,\n output: PlacidUpdateTemplateOutput,\n});\n"],"mappings":";;AAsBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACrE,CAAC,CAAC,CAAC,SAAS,yDAiBH;CACP,QAjBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const placid = defineApp({\n slug: \"placid\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const placid = defineApp({\n slug: \"placid\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const placidCatalog = {
|
|
4
|
+
"slug": "placid",
|
|
5
|
+
"name": "Placid",
|
|
6
|
+
"description": "Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.",
|
|
7
|
+
"category": "Images & Design",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/placid",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.placidCatalog = placidCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placidCatalog = {\n \"slug\": \"placid\",\n \"name\": \"Placid\",\n \"description\": \"Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/placid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const placidCatalog: {
|
|
4
|
+
readonly slug: "placid";
|
|
5
|
+
readonly name: "Placid";
|
|
6
|
+
readonly description: "Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.";
|
|
7
|
+
readonly category: "Images & Design";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/placid";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { placidCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const placidCatalog: {
|
|
4
|
+
readonly slug: "placid";
|
|
5
|
+
readonly name: "Placid";
|
|
6
|
+
readonly description: "Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.";
|
|
7
|
+
readonly category: "Images & Design";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/placid";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { placidCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,aAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const placidCatalog = {
|
|
4
|
+
"slug": "placid",
|
|
5
|
+
"name": "Placid",
|
|
6
|
+
"description": "Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.",
|
|
7
|
+
"category": "Images & Design",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/placid",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { placidCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const placidCatalog = {\n \"slug\": \"placid\",\n \"name\": \"Placid\",\n \"description\": \"Placid is a creative automation toolkit that enables users to generate images, PDFs, and videos from custom templates via REST or URL APIs.\",\n \"category\": \"Images & Design\",\n \"logo\": \"https://logos.composio.dev/api/placid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "placid";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePlacidTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executePlacidTool = executePlacidTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"placid\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePlacidTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "placid";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePlacidTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executePlacidTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"placid\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePlacidTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_collection = require("./actions/create-collection.cjs");
|
|
5
|
+
const require_create_template = require("./actions/create-template.cjs");
|
|
6
|
+
const require_delete_collection = require("./actions/delete-collection.cjs");
|
|
7
|
+
const require_delete_template = require("./actions/delete-template.cjs");
|
|
8
|
+
const require_get_collection = require("./actions/get-collection.cjs");
|
|
9
|
+
const require_get_collections = require("./actions/get-collections.cjs");
|
|
10
|
+
const require_get_template = require("./actions/get-template.cjs");
|
|
11
|
+
const require_list_nl_templates = require("./actions/list-nl-templates.cjs");
|
|
12
|
+
const require_list_templates = require("./actions/list-templates.cjs");
|
|
13
|
+
const require_update_collection = require("./actions/update-collection.cjs");
|
|
14
|
+
const require_update_template = require("./actions/update-template.cjs");
|
|
15
|
+
require("./actions/index.cjs");
|
|
16
|
+
exports.placid = require_app.placid;
|
|
17
|
+
exports.placidCatalog = require_catalog.placidCatalog;
|
|
18
|
+
exports.placidCreateCollection = require_create_collection.placidCreateCollection;
|
|
19
|
+
exports.placidCreateTemplate = require_create_template.placidCreateTemplate;
|
|
20
|
+
exports.placidDeleteCollection = require_delete_collection.placidDeleteCollection;
|
|
21
|
+
exports.placidDeleteTemplate = require_delete_template.placidDeleteTemplate;
|
|
22
|
+
exports.placidGetCollection = require_get_collection.placidGetCollection;
|
|
23
|
+
exports.placidGetCollections = require_get_collections.placidGetCollections;
|
|
24
|
+
exports.placidGetTemplate = require_get_template.placidGetTemplate;
|
|
25
|
+
exports.placidListNlTemplates = require_list_nl_templates.placidListNlTemplates;
|
|
26
|
+
exports.placidListTemplates = require_list_templates.placidListTemplates;
|
|
27
|
+
exports.placidUpdateCollection = require_update_collection.placidUpdateCollection;
|
|
28
|
+
exports.placidUpdateTemplate = require_update_template.placidUpdateTemplate;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { placidCreateCollection } from "./actions/create-collection.cjs";
|
|
2
|
+
import { placidCreateTemplate } from "./actions/create-template.cjs";
|
|
3
|
+
import { placidDeleteCollection } from "./actions/delete-collection.cjs";
|
|
4
|
+
import { placidDeleteTemplate } from "./actions/delete-template.cjs";
|
|
5
|
+
import { placidGetCollection } from "./actions/get-collection.cjs";
|
|
6
|
+
import { placidGetCollections } from "./actions/get-collections.cjs";
|
|
7
|
+
import { placidGetTemplate } from "./actions/get-template.cjs";
|
|
8
|
+
import { placidListNlTemplates } from "./actions/list-nl-templates.cjs";
|
|
9
|
+
import { placidListTemplates } from "./actions/list-templates.cjs";
|
|
10
|
+
import { placidUpdateCollection } from "./actions/update-collection.cjs";
|
|
11
|
+
import { placidUpdateTemplate } from "./actions/update-template.cjs";
|
|
12
|
+
import { placid } from "./app.cjs";
|
|
13
|
+
import { placidCatalog } from "./catalog.cjs";
|
|
14
|
+
export { placid, placidCatalog, placidCreateCollection, placidCreateTemplate, placidDeleteCollection, placidDeleteTemplate, placidGetCollection, placidGetCollections, placidGetTemplate, placidListNlTemplates, placidListTemplates, placidUpdateCollection, placidUpdateTemplate };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { placidCreateCollection } from "./actions/create-collection.mjs";
|
|
2
|
+
import { placidCreateTemplate } from "./actions/create-template.mjs";
|
|
3
|
+
import { placidDeleteCollection } from "./actions/delete-collection.mjs";
|
|
4
|
+
import { placidDeleteTemplate } from "./actions/delete-template.mjs";
|
|
5
|
+
import { placidGetCollection } from "./actions/get-collection.mjs";
|
|
6
|
+
import { placidGetCollections } from "./actions/get-collections.mjs";
|
|
7
|
+
import { placidGetTemplate } from "./actions/get-template.mjs";
|
|
8
|
+
import { placidListNlTemplates } from "./actions/list-nl-templates.mjs";
|
|
9
|
+
import { placidListTemplates } from "./actions/list-templates.mjs";
|
|
10
|
+
import { placidUpdateCollection } from "./actions/update-collection.mjs";
|
|
11
|
+
import { placidUpdateTemplate } from "./actions/update-template.mjs";
|
|
12
|
+
import { placid } from "./app.mjs";
|
|
13
|
+
import { placidCatalog } from "./catalog.mjs";
|
|
14
|
+
export { placid, placidCatalog, placidCreateCollection, placidCreateTemplate, placidDeleteCollection, placidDeleteTemplate, placidGetCollection, placidGetCollections, placidGetTemplate, placidListNlTemplates, placidListTemplates, placidUpdateCollection, placidUpdateTemplate };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { placid } from "./app.mjs";
|
|
2
|
+
import { placidCatalog } from "./catalog.mjs";
|
|
3
|
+
import { placidCreateCollection } from "./actions/create-collection.mjs";
|
|
4
|
+
import { placidCreateTemplate } from "./actions/create-template.mjs";
|
|
5
|
+
import { placidDeleteCollection } from "./actions/delete-collection.mjs";
|
|
6
|
+
import { placidDeleteTemplate } from "./actions/delete-template.mjs";
|
|
7
|
+
import { placidGetCollection } from "./actions/get-collection.mjs";
|
|
8
|
+
import { placidGetCollections } from "./actions/get-collections.mjs";
|
|
9
|
+
import { placidGetTemplate } from "./actions/get-template.mjs";
|
|
10
|
+
import { placidListNlTemplates } from "./actions/list-nl-templates.mjs";
|
|
11
|
+
import { placidListTemplates } from "./actions/list-templates.mjs";
|
|
12
|
+
import { placidUpdateCollection } from "./actions/update-collection.mjs";
|
|
13
|
+
import { placidUpdateTemplate } from "./actions/update-template.mjs";
|
|
14
|
+
import "./actions/index.mjs";
|
|
15
|
+
export { placid, placidCatalog, placidCreateCollection, placidCreateTemplate, placidDeleteCollection, placidDeleteTemplate, placidGetCollection, placidGetCollections, placidGetTemplate, placidListNlTemplates, placidListTemplates, placidUpdateCollection, placidUpdateTemplate };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/placid",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/placid"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|