@keystrokehq/slite 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/ask-question.cjs +2 -2
- package/dist/actions/ask-question.cjs.map +1 -1
- package/dist/actions/ask-question.d.cts +2 -2
- package/dist/actions/ask-question.d.mts +2 -2
- package/dist/actions/ask-question.mjs +2 -2
- package/dist/actions/ask-question.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -1
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +1 -1
- package/dist/actions/create-note.d.mts +1 -1
- package/dist/actions/create-note.mjs +1 -1
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/delete-note-by-id.cjs +1 -1
- package/dist/actions/delete-note-by-id.cjs.map +1 -1
- package/dist/actions/delete-note-by-id.d.cts +1 -1
- package/dist/actions/delete-note-by-id.d.mts +1 -1
- package/dist/actions/delete-note-by-id.mjs +1 -1
- package/dist/actions/delete-note-by-id.mjs.map +1 -1
- package/dist/actions/flag-note-as-outdated.cjs +1 -1
- package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
- package/dist/actions/flag-note-as-outdated.d.cts +1 -1
- package/dist/actions/flag-note-as-outdated.d.mts +1 -1
- package/dist/actions/flag-note-as-outdated.mjs +1 -1
- package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
- package/dist/actions/get-authenticated-user.cjs +1 -1
- package/dist/actions/get-authenticated-user.cjs.map +1 -1
- package/dist/actions/get-authenticated-user.d.cts +1 -1
- package/dist/actions/get-authenticated-user.d.mts +1 -1
- package/dist/actions/get-authenticated-user.mjs +1 -1
- package/dist/actions/get-authenticated-user.mjs.map +1 -1
- package/dist/actions/get-note-by-id.cjs +1 -1
- package/dist/actions/get-note-by-id.cjs.map +1 -1
- package/dist/actions/get-note-by-id.d.cts +1 -1
- package/dist/actions/get-note-by-id.d.mts +1 -1
- package/dist/actions/get-note-by-id.mjs +1 -1
- package/dist/actions/get-note-by-id.mjs.map +1 -1
- package/dist/actions/get-note-children.cjs +2 -2
- package/dist/actions/get-note-children.cjs.map +1 -1
- package/dist/actions/get-note-children.d.cts +2 -2
- package/dist/actions/get-note-children.d.mts +2 -2
- package/dist/actions/get-note-children.mjs +2 -2
- package/dist/actions/get-note-children.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +2 -2
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +2 -2
- package/dist/actions/list-notes.d.mts +2 -2
- package/dist/actions/list-notes.mjs +2 -2
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/search-groups.cjs +2 -2
- package/dist/actions/search-groups.cjs.map +1 -1
- package/dist/actions/search-groups.d.cts +2 -2
- package/dist/actions/search-groups.d.mts +2 -2
- package/dist/actions/search-groups.mjs +2 -2
- package/dist/actions/search-groups.mjs.map +1 -1
- package/dist/actions/search-notes.cjs +3 -3
- package/dist/actions/search-notes.cjs.map +1 -1
- package/dist/actions/search-notes.d.cts +3 -3
- package/dist/actions/search-notes.d.mts +3 -3
- package/dist/actions/search-notes.mjs +3 -3
- package/dist/actions/search-notes.mjs.map +1 -1
- package/dist/actions/search-users.cjs +2 -2
- package/dist/actions/search-users.cjs.map +1 -1
- package/dist/actions/search-users.d.cts +2 -2
- package/dist/actions/search-users.d.mts +2 -2
- package/dist/actions/search-users.mjs +2 -2
- package/dist/actions/search-users.mjs.map +1 -1
- package/dist/actions/update-note-archived-state.cjs +1 -1
- package/dist/actions/update-note-archived-state.cjs.map +1 -1
- package/dist/actions/update-note-archived-state.d.cts +1 -1
- package/dist/actions/update-note-archived-state.d.mts +1 -1
- package/dist/actions/update-note-archived-state.mjs +1 -1
- package/dist/actions/update-note-archived-state.mjs.map +1 -1
- package/dist/actions/update-note-owner.cjs +1 -1
- package/dist/actions/update-note-owner.cjs.map +1 -1
- package/dist/actions/update-note-owner.d.cts +1 -1
- package/dist/actions/update-note-owner.d.mts +1 -1
- package/dist/actions/update-note-owner.mjs +1 -1
- package/dist/actions/update-note-owner.mjs.map +1 -1
- package/dist/actions/update-note.cjs +1 -1
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +1 -1
- package/dist/actions/update-note.d.mts +1 -1
- package/dist/actions/update-note.mjs +1 -1
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-tile.cjs +1 -1
- package/dist/actions/update-tile.cjs.map +1 -1
- package/dist/actions/update-tile.d.cts +1 -1
- package/dist/actions/update-tile.d.mts +1 -1
- package/dist/actions/update-tile.mjs +1 -1
- package/dist/actions/update-tile.mjs.map +1 -1
- package/dist/actions/verify-note.cjs +1 -1
- package/dist/actions/verify-note.cjs.map +1 -1
- package/dist/actions/verify-note.d.cts +1 -1
- package/dist/actions/verify-note.d.mts +1 -1
- package/dist/actions/verify-note.mjs +1 -1
- package/dist/actions/verify-note.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ const SliteUpdateNoteOutput = zod.z.object({
|
|
|
18
18
|
attributes: zod.z.array(zod.z.string()).describe("Attributes ordered by column if in a collection").nullable().optional(),
|
|
19
19
|
reviewState: zod.z.string().describe("Review state (Verified, Outdated, VerificationRequested)").nullable().optional(),
|
|
20
20
|
parentNoteId: zod.z.string().describe("Parent note id of the current note").nullable().optional()
|
|
21
|
-
}).describe("Response model for the updated note object.");
|
|
21
|
+
}).passthrough().describe("Response model for the updated note object.");
|
|
22
22
|
const sliteUpdateNote = require_action.action("SLITE_UPDATE_NOTE", {
|
|
23
23
|
slug: "slite-update-note",
|
|
24
24
|
name: "Update Note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const SliteUpdateNoteOutput: z.ZodObject<{
|
|
|
18
18
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
19
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const sliteUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
note_id: string;
|
|
24
24
|
html?: string | undefined;
|
|
@@ -18,7 +18,7 @@ declare const SliteUpdateNoteOutput: z.ZodObject<{
|
|
|
18
18
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
19
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const sliteUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
note_id: string;
|
|
24
24
|
html?: string | undefined;
|
|
@@ -21,7 +21,7 @@ const sliteUpdateNote = action("SLITE_UPDATE_NOTE", {
|
|
|
21
21
|
attributes: z.array(z.string()).describe("Attributes ordered by column if in a collection").nullable().optional(),
|
|
22
22
|
reviewState: z.string().describe("Review state (Verified, Outdated, VerificationRequested)").nullable().optional(),
|
|
23
23
|
parentNoteId: z.string().describe("Parent note id of the current note").nullable().optional()
|
|
24
|
-
}).describe("Response model for the updated note object.")
|
|
24
|
+
}).passthrough().describe("Response model for the updated note object.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { sliteUpdateNote };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;AAuBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteInput = z.object({\n html: z.string().describe(\"New html content to fill the note\").optional(),\n title: z.string().describe(\"Title of the note to update\").optional(),\n note_id: z.string().describe(\"Note id to update\"),\n markdown: z.string().describe(\"New markdown content to fill the note\").optional(),\n attributes: z.array(z.string()).describe(\"Attributes for the parent collection ordered by column\").optional(),\n}).describe(\"Request model for updating a note's content and/or title.\");\nexport const SliteUpdateNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note is in a collection\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Attributes ordered by column if in a collection\").nullable().optional(),\n reviewState: z.string().describe(\"Review state (Verified, Outdated, VerificationRequested)\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note object.\");\n\nexport const sliteUpdateNote = action(\"SLITE_UPDATE_NOTE\", {\n slug: \"slite-update-note\",\n name: \"Update Note\",\n description: \"Tool to update a note's content with markdown and/or title. Use when you need to modify an existing note's content or metadata.\",\n input: SliteUpdateNoteInput,\n output: SliteUpdateNoteOutput,\n});\n"],"mappings":";;AAuBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const SliteUpdateTileInput = zod.z.object({
|
|
|
13
13
|
content: zod.z.string().describe("The content of the tile. Can be in markdown format.").optional(),
|
|
14
14
|
iconURL: zod.z.string().describe("Icon URL to show in the tile").optional()
|
|
15
15
|
}).describe("Request model for updating a tile in a Slite note.");
|
|
16
|
-
const SliteUpdateTileOutput = zod.z.object({ url: zod.z.string().describe("Direct url of the tile in the note").nullable() }).describe("Response model for update tile action.");
|
|
16
|
+
const SliteUpdateTileOutput = zod.z.object({ url: zod.z.string().describe("Direct url of the tile in the note").nullable() }).passthrough().describe("Response model for update tile action.");
|
|
17
17
|
const sliteUpdateTile = require_action.action("SLITE_UPDATE_TILE", {
|
|
18
18
|
slug: "slite-update-tile",
|
|
19
19
|
name: "Update Tile in Note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tile.cjs","names":["z","action"],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateTileInput = z.object({\n url: z.string().describe(\"The tile can be linked to an external URL\").optional(),\n title: z.string().describe(\"Title of the tile\").optional(),\n noteId: z.string().describe(\"Note id containing the tile id\"),\n status: z.object({\n label: z.string().describe(\"Content of the status\"),\n colorHex: z.string().describe(\"Hex color code for the status (e.g., #FF5733)\").optional(),\n}).describe(\"Status object for the tile.\").optional(),\n tileId: z.string().describe(\"Tile id to update\"),\n content: z.string().describe(\"The content of the tile. Can be in markdown format.\").optional(),\n iconURL: z.string().describe(\"Icon URL to show in the tile\").optional(),\n}).describe(\"Request model for updating a tile in a Slite note.\");\nexport const SliteUpdateTileOutput = z.object({\n url: z.string().describe(\"Direct url of the tile in the note\").nullable(),\n}).describe(\"Response model for update tile action.\");\n\nexport const sliteUpdateTile = action(\"SLITE_UPDATE_TILE\", {\n slug: \"slite-update-tile\",\n name: \"Update Tile in Note\",\n description: \"Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.\",\n input: SliteUpdateTileInput,\n output: SliteUpdateTileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC5D,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"update-tile.cjs","names":["z","action"],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateTileInput = z.object({\n url: z.string().describe(\"The tile can be linked to an external URL\").optional(),\n title: z.string().describe(\"Title of the tile\").optional(),\n noteId: z.string().describe(\"Note id containing the tile id\"),\n status: z.object({\n label: z.string().describe(\"Content of the status\"),\n colorHex: z.string().describe(\"Hex color code for the status (e.g., #FF5733)\").optional(),\n}).describe(\"Status object for the tile.\").optional(),\n tileId: z.string().describe(\"Tile id to update\"),\n content: z.string().describe(\"The content of the tile. Can be in markdown format.\").optional(),\n iconURL: z.string().describe(\"Icon URL to show in the tile\").optional(),\n}).describe(\"Request model for updating a tile in a Slite note.\");\nexport const SliteUpdateTileOutput = z.object({\n url: z.string().describe(\"Direct url of the tile in the note\").nullable(),\n}).passthrough().describe(\"Response model for update tile action.\");\n\nexport const sliteUpdateTile = action(\"SLITE_UPDATE_TILE\", {\n slug: \"slite-update-tile\",\n name: \"Update Tile in Note\",\n description: \"Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.\",\n input: SliteUpdateTileInput,\n output: SliteUpdateTileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC5D,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const SliteUpdateTileInput: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const SliteUpdateTileOutput: z.ZodObject<{
|
|
17
17
|
url: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sliteUpdateTile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
noteId: string;
|
|
21
21
|
tileId: string;
|
|
@@ -15,7 +15,7 @@ declare const SliteUpdateTileInput: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const SliteUpdateTileOutput: z.ZodObject<{
|
|
17
17
|
url: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sliteUpdateTile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
noteId: string;
|
|
21
21
|
tileId: string;
|
|
@@ -16,7 +16,7 @@ const sliteUpdateTile = action("SLITE_UPDATE_TILE", {
|
|
|
16
16
|
content: z.string().describe("The content of the tile. Can be in markdown format.").optional(),
|
|
17
17
|
iconURL: z.string().describe("Icon URL to show in the tile").optional()
|
|
18
18
|
}).describe("Request model for updating a tile in a Slite note."),
|
|
19
|
-
output: z.object({ url: z.string().describe("Direct url of the tile in the note").nullable() }).describe("Response model for update tile action.")
|
|
19
|
+
output: z.object({ url: z.string().describe("Direct url of the tile in the note").nullable() }).passthrough().describe("Response model for update tile action.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { sliteUpdateTile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tile.mjs","names":[],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateTileInput = z.object({\n url: z.string().describe(\"The tile can be linked to an external URL\").optional(),\n title: z.string().describe(\"Title of the tile\").optional(),\n noteId: z.string().describe(\"Note id containing the tile id\"),\n status: z.object({\n label: z.string().describe(\"Content of the status\"),\n colorHex: z.string().describe(\"Hex color code for the status (e.g., #FF5733)\").optional(),\n}).describe(\"Status object for the tile.\").optional(),\n tileId: z.string().describe(\"Tile id to update\"),\n content: z.string().describe(\"The content of the tile. Can be in markdown format.\").optional(),\n iconURL: z.string().describe(\"Icon URL to show in the tile\").optional(),\n}).describe(\"Request model for updating a tile in a Slite note.\");\nexport const SliteUpdateTileOutput = z.object({\n url: z.string().describe(\"Direct url of the tile in the note\").nullable(),\n}).describe(\"Response model for update tile action.\");\n\nexport const sliteUpdateTile = action(\"SLITE_UPDATE_TILE\", {\n slug: \"slite-update-tile\",\n name: \"Update Tile in Note\",\n description: \"Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.\",\n input: SliteUpdateTileInput,\n output: SliteUpdateTileOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,QAAQ,EAAE,OAAO;GACjB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QATmC,EAAE,OAAO,EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-tile.mjs","names":[],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateTileInput = z.object({\n url: z.string().describe(\"The tile can be linked to an external URL\").optional(),\n title: z.string().describe(\"Title of the tile\").optional(),\n noteId: z.string().describe(\"Note id containing the tile id\"),\n status: z.object({\n label: z.string().describe(\"Content of the status\"),\n colorHex: z.string().describe(\"Hex color code for the status (e.g., #FF5733)\").optional(),\n}).describe(\"Status object for the tile.\").optional(),\n tileId: z.string().describe(\"Tile id to update\"),\n content: z.string().describe(\"The content of the tile. Can be in markdown format.\").optional(),\n iconURL: z.string().describe(\"Icon URL to show in the tile\").optional(),\n}).describe(\"Request model for updating a tile in a Slite note.\");\nexport const SliteUpdateTileOutput = z.object({\n url: z.string().describe(\"Direct url of the tile in the note\").nullable(),\n}).passthrough().describe(\"Response model for update tile action.\");\n\nexport const sliteUpdateTile = action(\"SLITE_UPDATE_TILE\", {\n slug: \"slite-update-tile\",\n name: \"Update Tile in Note\",\n description: \"Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.\",\n input: SliteUpdateTileInput,\n output: SliteUpdateTileOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,QAAQ,EAAE,OAAO;GACjB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QATmC,EAAE,OAAO,EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const SliteVerifyNoteOutput = zod.z.object({
|
|
|
15
15
|
attributes: zod.z.array(zod.z.string()).describe("If note is in a collection, it will contain its attributes ordered by column").nullable().optional(),
|
|
16
16
|
reviewState: zod.z.string().describe("Review state of the note - Verified, Outdated or VerificationRequested").nullable().optional(),
|
|
17
17
|
parentNoteId: zod.z.string().describe("Parent note id of the current note. It can be null if it's a root note.").nullable().optional()
|
|
18
|
-
}).describe("Response model for a verified note containing note details.");
|
|
18
|
+
}).passthrough().describe("Response model for a verified note containing note details.");
|
|
19
19
|
const sliteVerifyNote = require_action.action("SLITE_VERIFY_NOTE", {
|
|
20
20
|
slug: "slite-verify-note",
|
|
21
21
|
name: "Verify Note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-note.cjs","names":["z","action"],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,6DAA6D;
|
|
1
|
+
{"version":3,"file":"verify-note.cjs","names":["z","action"],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const SliteVerifyNoteOutput: z.ZodObject<{
|
|
|
15
15
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
16
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sliteVerifyNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
noteId: string;
|
|
21
21
|
until?: string | undefined;
|
|
@@ -15,7 +15,7 @@ declare const SliteVerifyNoteOutput: z.ZodObject<{
|
|
|
15
15
|
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
16
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const sliteVerifyNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
noteId: string;
|
|
21
21
|
until?: string | undefined;
|
|
@@ -18,7 +18,7 @@ const sliteVerifyNote = action("SLITE_VERIFY_NOTE", {
|
|
|
18
18
|
attributes: z.array(z.string()).describe("If note is in a collection, it will contain its attributes ordered by column").nullable().optional(),
|
|
19
19
|
reviewState: z.string().describe("Review state of the note - Verified, Outdated or VerificationRequested").nullable().optional(),
|
|
20
20
|
parentNoteId: z.string().describe("Parent note id of the current note. It can be null if it's a root note.").nullable().optional()
|
|
21
|
-
}).describe("Response model for a verified note containing note details.")
|
|
21
|
+
}).passthrough().describe("Response model for a verified note containing note details.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { sliteVerifyNote };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-note.mjs","names":[],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"verify-note.mjs","names":[],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const sliteCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/slite",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Sign in to your Slite account and open your account menu on the top left, then go to Settings > API. Click \"Create a new key\" and save it immediately as it will only be displayed once."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sliteCatalog = {\n \"slug\": \"slite\",\n \"name\": \"Slite\",\n \"description\": \"Your company knowledge base, on autopilot\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/slite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sliteCatalog = {\n \"slug\": \"slite\",\n \"name\": \"Slite\",\n \"description\": \"Your company knowledge base, on autopilot\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/slite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in to your Slite account and open your account menu on the top left, then go to Settings > API. Click \\\"Create a new key\\\" and save it immediately as it will only be displayed once.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const sliteCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Sign in to your Slite account and open your account menu on the top left, then go to Settings > API. Click \"Create a new key\" and save it immediately as it will only be displayed once.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const sliteCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Sign in to your Slite account and open your account menu on the top left, then go to Settings > API. Click \"Create a new key\" and save it immediately as it will only be displayed once.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const sliteCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/slite",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Sign in to your Slite account and open your account menu on the top left, then go to Settings > API. Click \"Create a new key\" and save it immediately as it will only be displayed once."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sliteCatalog = {\n \"slug\": \"slite\",\n \"name\": \"Slite\",\n \"description\": \"Your company knowledge base, on autopilot\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/slite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sliteCatalog = {\n \"slug\": \"slite\",\n \"name\": \"Slite\",\n \"description\": \"Your company knowledge base, on autopilot\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/slite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in to your Slite account and open your account menu on the top left, then go to Settings > API. Click \\\"Create a new key\\\" and save it immediately as it will only be displayed once.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|