@keystrokehq/slite 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/ask-question.cjs +1 -0
- package/dist/actions/ask-question.cjs.map +1 -1
- package/dist/actions/ask-question.d.cts +3 -5
- package/dist/actions/ask-question.d.cts.map +1 -1
- package/dist/actions/ask-question.d.mts +3 -5
- package/dist/actions/ask-question.d.mts.map +1 -1
- package/dist/actions/ask-question.mjs +1 -0
- package/dist/actions/ask-question.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -0
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -8
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -8
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +1 -0
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/delete-note-by-id.cjs +1 -0
- package/dist/actions/delete-note-by-id.cjs.map +1 -1
- package/dist/actions/delete-note-by-id.d.cts +3 -3
- package/dist/actions/delete-note-by-id.d.cts.map +1 -1
- package/dist/actions/delete-note-by-id.d.mts +3 -3
- package/dist/actions/delete-note-by-id.d.mts.map +1 -1
- package/dist/actions/delete-note-by-id.mjs +1 -0
- package/dist/actions/delete-note-by-id.mjs.map +1 -1
- package/dist/actions/flag-note-as-outdated.cjs +1 -0
- package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
- package/dist/actions/flag-note-as-outdated.d.cts +3 -4
- package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
- package/dist/actions/flag-note-as-outdated.d.mts +3 -4
- package/dist/actions/flag-note-as-outdated.d.mts.map +1 -1
- package/dist/actions/flag-note-as-outdated.mjs +1 -0
- package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
- package/dist/actions/get-authenticated-user.cjs +1 -0
- package/dist/actions/get-authenticated-user.cjs.map +1 -1
- package/dist/actions/get-authenticated-user.d.cts +3 -1
- package/dist/actions/get-authenticated-user.d.cts.map +1 -1
- package/dist/actions/get-authenticated-user.d.mts +3 -1
- package/dist/actions/get-authenticated-user.d.mts.map +1 -1
- package/dist/actions/get-authenticated-user.mjs +1 -0
- package/dist/actions/get-authenticated-user.mjs.map +1 -1
- package/dist/actions/get-note-by-id.cjs +1 -0
- package/dist/actions/get-note-by-id.cjs.map +1 -1
- package/dist/actions/get-note-by-id.d.cts +3 -4
- package/dist/actions/get-note-by-id.d.cts.map +1 -1
- package/dist/actions/get-note-by-id.d.mts +3 -4
- package/dist/actions/get-note-by-id.d.mts.map +1 -1
- package/dist/actions/get-note-by-id.mjs +1 -0
- package/dist/actions/get-note-by-id.mjs.map +1 -1
- package/dist/actions/get-note-children.cjs +1 -0
- package/dist/actions/get-note-children.cjs.map +1 -1
- package/dist/actions/get-note-children.d.cts +3 -4
- package/dist/actions/get-note-children.d.cts.map +1 -1
- package/dist/actions/get-note-children.d.mts +3 -4
- package/dist/actions/get-note-children.d.mts.map +1 -1
- package/dist/actions/get-note-children.mjs +1 -0
- package/dist/actions/get-note-children.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +1 -0
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +3 -4
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +3 -4
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +1 -0
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/search-groups.cjs +1 -0
- package/dist/actions/search-groups.cjs.map +1 -1
- package/dist/actions/search-groups.d.cts +3 -4
- package/dist/actions/search-groups.d.cts.map +1 -1
- package/dist/actions/search-groups.d.mts +3 -4
- package/dist/actions/search-groups.d.mts.map +1 -1
- package/dist/actions/search-groups.mjs +1 -0
- package/dist/actions/search-groups.mjs.map +1 -1
- package/dist/actions/search-notes.cjs +1 -0
- package/dist/actions/search-notes.cjs.map +1 -1
- package/dist/actions/search-notes.d.cts +3 -12
- package/dist/actions/search-notes.d.cts.map +1 -1
- package/dist/actions/search-notes.d.mts +3 -12
- package/dist/actions/search-notes.d.mts.map +1 -1
- package/dist/actions/search-notes.mjs +1 -0
- package/dist/actions/search-notes.mjs.map +1 -1
- package/dist/actions/search-users.cjs +1 -0
- package/dist/actions/search-users.cjs.map +1 -1
- package/dist/actions/search-users.d.cts +3 -5
- package/dist/actions/search-users.d.cts.map +1 -1
- package/dist/actions/search-users.d.mts +3 -5
- package/dist/actions/search-users.d.mts.map +1 -1
- package/dist/actions/search-users.mjs +1 -0
- package/dist/actions/search-users.mjs.map +1 -1
- package/dist/actions/update-note-archived-state.cjs +1 -0
- package/dist/actions/update-note-archived-state.cjs.map +1 -1
- package/dist/actions/update-note-archived-state.d.cts +3 -4
- package/dist/actions/update-note-archived-state.d.cts.map +1 -1
- package/dist/actions/update-note-archived-state.d.mts +3 -4
- package/dist/actions/update-note-archived-state.d.mts.map +1 -1
- package/dist/actions/update-note-archived-state.mjs +1 -0
- package/dist/actions/update-note-archived-state.mjs.map +1 -1
- package/dist/actions/update-note-owner.cjs +1 -0
- package/dist/actions/update-note-owner.cjs.map +1 -1
- package/dist/actions/update-note-owner.d.cts +3 -5
- package/dist/actions/update-note-owner.d.cts.map +1 -1
- package/dist/actions/update-note-owner.d.mts +3 -5
- package/dist/actions/update-note-owner.d.mts.map +1 -1
- package/dist/actions/update-note-owner.mjs +1 -0
- package/dist/actions/update-note-owner.mjs.map +1 -1
- package/dist/actions/update-note.cjs +1 -0
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +3 -7
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +3 -7
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +1 -0
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-tile.cjs +1 -0
- package/dist/actions/update-tile.cjs.map +1 -1
- package/dist/actions/update-tile.d.cts +3 -12
- package/dist/actions/update-tile.d.cts.map +1 -1
- package/dist/actions/update-tile.d.mts +3 -12
- package/dist/actions/update-tile.d.mts.map +1 -1
- package/dist/actions/update-tile.mjs +1 -0
- package/dist/actions/update-tile.mjs.map +1 -1
- package/dist/actions/verify-note.cjs +1 -0
- package/dist/actions/verify-note.cjs.map +1 -1
- package/dist/actions/verify-note.d.cts +3 -4
- package/dist/actions/verify-note.d.cts.map +1 -1
- package/dist/actions/verify-note.d.mts +3 -4
- package/dist/actions/verify-note.d.mts.map +1 -1
- package/dist/actions/verify-note.mjs +1 -0
- package/dist/actions/verify-note.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-archived-state.d.cts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note-archived-state.d.cts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cASlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-note-archived-state.d.ts
|
|
@@ -13,10 +15,7 @@ declare const SliteUpdateNoteArchivedStateOutput: z.ZodObject<{
|
|
|
13
15
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const sliteUpdateNoteArchivedState:
|
|
17
|
-
note_id: string;
|
|
18
|
-
archived: boolean;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const sliteUpdateNoteArchivedState: AppAction<typeof SliteUpdateNoteArchivedStateInput, typeof SliteUpdateNoteArchivedStateOutput, typeof slite.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { sliteUpdateNoteArchivedState };
|
|
22
21
|
//# sourceMappingURL=update-note-archived-state.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-archived-state.d.mts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note-archived-state.d.mts","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cASlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-archived-state.mjs","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note-archived-state.mjs","names":[],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState: AppAction<\n typeof SliteUpdateNoteArchivedStateInput,\n typeof SliteUpdateNoteArchivedStateOutput,\n typeof slite.credential\n> = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACnE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACzF,CAAC,CAAC,CAAC,SAAS,qDAkBH;CACP,QAlBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-owner.cjs","names":["z","action"],"sources":["../../src/actions/update-note-owner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteOwnerInput = z.object({\n note_id: z.string().describe(\"Note id to update\"),\n user_id: z.string().describe(\"User id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n group_id: z.string().describe(\"Group id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n}).describe(\"Request model for updating note ownership.\");\nexport const SliteUpdateNoteOwnerOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note's accessible URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if applicable\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note reference\").nullable().optional(),\n}).passthrough().describe(\"Response model for note ownership update.\");\n\nexport const sliteUpdateNoteOwner = action(\"SLITE_UPDATE_NOTE_OWNER\", {\n slug: \"slite-update-note-owner\",\n name: \"Update Note Owner\",\n description: \"Tool to update the owner of a note. Use when you need to transfer note ownership to a user or group. Either userId or groupId must be provided.\",\n input: SliteUpdateNoteOwnerInput,\n output: SliteUpdateNoteOwnerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note-owner.cjs","names":["z","action"],"sources":["../../src/actions/update-note-owner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteUpdateNoteOwnerInput = z.object({\n note_id: z.string().describe(\"Note id to update\"),\n user_id: z.string().describe(\"User id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n group_id: z.string().describe(\"Group id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n}).describe(\"Request model for updating note ownership.\");\nexport const SliteUpdateNoteOwnerOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note's accessible URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if applicable\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note reference\").nullable().optional(),\n}).passthrough().describe(\"Response model for note ownership update.\");\n\nexport const sliteUpdateNoteOwner: AppAction<\n typeof SliteUpdateNoteOwnerInput,\n typeof SliteUpdateNoteOwnerOutput,\n typeof slite.credential\n> = action(\"SLITE_UPDATE_NOTE_OWNER\", {\n slug: \"slite-update-note-owner\",\n name: \"Update Note Owner\",\n description: \"Tool to update the owner of a note. Use when you need to transfer note ownership to a user or group. Either userId or groupId must be provided.\",\n input: SliteUpdateNoteOwnerInput,\n output: SliteUpdateNoteOwnerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-note-owner.d.ts
|
|
@@ -14,11 +16,7 @@ declare const SliteUpdateNoteOwnerOutput: z.ZodObject<{
|
|
|
14
16
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sliteUpdateNoteOwner:
|
|
18
|
-
note_id: string;
|
|
19
|
-
user_id?: string | undefined;
|
|
20
|
-
group_id?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sliteUpdateNoteOwner: AppAction<typeof SliteUpdateNoteOwnerInput, typeof SliteUpdateNoteOwnerOutput, typeof slite.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { sliteUpdateNoteOwner };
|
|
24
22
|
//# sourceMappingURL=update-note-owner.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-owner.d.cts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note-owner.d.cts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-note-owner.d.ts
|
|
@@ -14,11 +16,7 @@ declare const SliteUpdateNoteOwnerOutput: z.ZodObject<{
|
|
|
14
16
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const sliteUpdateNoteOwner:
|
|
18
|
-
note_id: string;
|
|
19
|
-
user_id?: string | undefined;
|
|
20
|
-
group_id?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const sliteUpdateNoteOwner: AppAction<typeof SliteUpdateNoteOwnerInput, typeof SliteUpdateNoteOwnerOutput, typeof slite.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { sliteUpdateNoteOwner };
|
|
24
22
|
//# sourceMappingURL=update-note-owner.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-owner.d.mts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note-owner.d.mts","names":[],"sources":["../../src/actions/update-note-owner.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-owner.mjs","names":[],"sources":["../../src/actions/update-note-owner.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteOwnerInput = z.object({\n note_id: z.string().describe(\"Note id to update\"),\n user_id: z.string().describe(\"User id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n group_id: z.string().describe(\"Group id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n}).describe(\"Request model for updating note ownership.\");\nexport const SliteUpdateNoteOwnerOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note's accessible URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if applicable\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note reference\").nullable().optional(),\n}).passthrough().describe(\"Response model for note ownership update.\");\n\nexport const sliteUpdateNoteOwner = action(\"SLITE_UPDATE_NOTE_OWNER\", {\n slug: \"slite-update-note-owner\",\n name: \"Update Note Owner\",\n description: \"Tool to update the owner of a note. Use when you need to transfer note ownership to a user or group. Either userId or groupId must be provided.\",\n input: SliteUpdateNoteOwnerInput,\n output: SliteUpdateNoteOwnerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note-owner.mjs","names":[],"sources":["../../src/actions/update-note-owner.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteUpdateNoteOwnerInput = z.object({\n note_id: z.string().describe(\"Note id to update\"),\n user_id: z.string().describe(\"User id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n group_id: z.string().describe(\"Group id to set as the owner of the note. Either userId or groupId must be provided.\").optional(),\n}).describe(\"Request model for updating note ownership.\");\nexport const SliteUpdateNoteOwnerOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note's accessible URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if applicable\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note reference\").nullable().optional(),\n}).passthrough().describe(\"Response model for note ownership update.\");\n\nexport const sliteUpdateNoteOwner: AppAction<\n typeof SliteUpdateNoteOwnerInput,\n typeof SliteUpdateNoteOwnerOutput,\n typeof slite.credential\n> = action(\"SLITE_UPDATE_NOTE_OWNER\", {\n slug: \"slite-update-note-owner\",\n name: \"Update Note Owner\",\n description: \"Tool to update the owner of a note. Use when you need to transfer note ownership to a user or group. Either userId or groupId must be provided.\",\n input: SliteUpdateNoteOwnerInput,\n output: SliteUpdateNoteOwnerOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,4CAkBH;CACP,QAlBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\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: AppAction<\n typeof SliteUpdateNoteInput,\n typeof SliteUpdateNoteOutput,\n typeof slite.credential\n> = 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":";;;;AAMA,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,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-note.d.ts
|
|
@@ -19,13 +21,7 @@ declare const SliteUpdateNoteOutput: z.ZodObject<{
|
|
|
19
21
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const sliteUpdateNote:
|
|
23
|
-
note_id: string;
|
|
24
|
-
html?: string | undefined;
|
|
25
|
-
title?: string | undefined;
|
|
26
|
-
markdown?: string | undefined;
|
|
27
|
-
attributes?: string[] | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const sliteUpdateNote: AppAction<typeof SliteUpdateNoteInput, typeof SliteUpdateNoteOutput, typeof slite.credential>;
|
|
29
25
|
//#endregion
|
|
30
26
|
export { sliteUpdateNote };
|
|
31
27
|
//# sourceMappingURL=update-note.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.d.cts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note.d.cts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAOpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-note.d.ts
|
|
@@ -19,13 +21,7 @@ declare const SliteUpdateNoteOutput: z.ZodObject<{
|
|
|
19
21
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const sliteUpdateNote:
|
|
23
|
-
note_id: string;
|
|
24
|
-
html?: string | undefined;
|
|
25
|
-
title?: string | undefined;
|
|
26
|
-
markdown?: string | undefined;
|
|
27
|
-
attributes?: string[] | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const sliteUpdateNote: AppAction<typeof SliteUpdateNoteInput, typeof SliteUpdateNoteOutput, typeof slite.credential>;
|
|
29
25
|
//#endregion
|
|
30
26
|
export { sliteUpdateNote };
|
|
31
27
|
//# sourceMappingURL=update-note.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAOpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\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: AppAction<\n typeof SliteUpdateNoteInput,\n typeof SliteUpdateNoteOutput,\n typeof slite.credential\n> = 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":";;;AAyBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BkC,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,2DAqBH;CACP,QArBmC,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,6CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-tile.cjs","names":["z","action"],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\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: AppAction<\n typeof SliteUpdateTileInput,\n typeof SliteUpdateTileOutput,\n typeof slite.credential\n> = 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":";;;;AAMA,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,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-tile.d.ts
|
|
@@ -16,18 +18,7 @@ declare const SliteUpdateTileInput: z.ZodObject<{
|
|
|
16
18
|
declare const SliteUpdateTileOutput: z.ZodObject<{
|
|
17
19
|
url: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sliteUpdateTile:
|
|
20
|
-
noteId: string;
|
|
21
|
-
tileId: string;
|
|
22
|
-
url?: string | undefined;
|
|
23
|
-
title?: string | undefined;
|
|
24
|
-
status?: {
|
|
25
|
-
label: string;
|
|
26
|
-
colorHex?: string | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
content?: string | undefined;
|
|
29
|
-
iconURL?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const sliteUpdateTile: AppAction<typeof SliteUpdateTileInput, typeof SliteUpdateTileOutput, typeof slite.credential>;
|
|
31
22
|
//#endregion
|
|
32
23
|
export { sliteUpdateTile };
|
|
33
24
|
//# sourceMappingURL=update-tile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tile.d.cts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-tile.d.cts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-tile.d.ts
|
|
@@ -16,18 +18,7 @@ declare const SliteUpdateTileInput: z.ZodObject<{
|
|
|
16
18
|
declare const SliteUpdateTileOutput: z.ZodObject<{
|
|
17
19
|
url: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sliteUpdateTile:
|
|
20
|
-
noteId: string;
|
|
21
|
-
tileId: string;
|
|
22
|
-
url?: string | undefined;
|
|
23
|
-
title?: string | undefined;
|
|
24
|
-
status?: {
|
|
25
|
-
label: string;
|
|
26
|
-
colorHex?: string | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
content?: string | undefined;
|
|
29
|
-
iconURL?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const sliteUpdateTile: AppAction<typeof SliteUpdateTileInput, typeof SliteUpdateTileOutput, typeof slite.credential>;
|
|
31
22
|
//#endregion
|
|
32
23
|
export { sliteUpdateTile };
|
|
33
24
|
//# sourceMappingURL=update-tile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tile.d.mts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-tile.d.mts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"update-tile.mjs","names":[],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\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: AppAction<\n typeof SliteUpdateTileInput,\n typeof SliteUpdateTileOutput,\n typeof slite.credential\n> = 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":";;;AAsBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,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,oDAaH;CACP,QAbmC,EAAE,OAAO,EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"verify-note.cjs","names":["z","action"],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\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: AppAction<\n typeof SliteVerifyNoteInput,\n typeof SliteVerifyNoteOutput,\n typeof slite.credential\n> = 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":";;;;AAMA,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,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/verify-note.d.ts
|
|
@@ -16,10 +18,7 @@ declare const SliteVerifyNoteOutput: z.ZodObject<{
|
|
|
16
18
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sliteVerifyNote:
|
|
20
|
-
noteId: string;
|
|
21
|
-
until?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const sliteVerifyNote: AppAction<typeof SliteVerifyNoteInput, typeof SliteVerifyNoteOutput, typeof slite.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { sliteVerifyNote };
|
|
25
24
|
//# sourceMappingURL=verify-note.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-note.d.cts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-note.d.cts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { slite } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/verify-note.d.ts
|
|
@@ -16,10 +18,7 @@ declare const SliteVerifyNoteOutput: z.ZodObject<{
|
|
|
16
18
|
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const sliteVerifyNote:
|
|
20
|
-
noteId: string;
|
|
21
|
-
until?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const sliteVerifyNote: AppAction<typeof SliteVerifyNoteInput, typeof SliteVerifyNoteOutput, typeof slite.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { sliteVerifyNote };
|
|
25
24
|
//# sourceMappingURL=verify-note.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-note.d.mts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-note.d.mts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"verify-note.mjs","names":[],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\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: AppAction<\n typeof SliteVerifyNoteInput,\n typeof SliteVerifyNoteOutput,\n typeof slite.credential\n> = 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":";;;AAsBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,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,8DAqBH;CACP,QArBmC,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,6DAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const slite = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "slite",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.slite = slite;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const slite = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const slite: KeystrokeApp<\"slite\", typeof credential> = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA4D;CACvE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const slite: KeystrokeApp<"slite", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { slite };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const slite: KeystrokeApp<"slite", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { slite };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const slite = defineApp({
|
|
4
4
|
slug: "slite",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { slite };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const slite = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const slite: KeystrokeApp<\"slite\", typeof credential> = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAkD,UAAU;CACvE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { slite } from "./app.cjs";
|
|
1
2
|
import { sliteAskQuestion } from "./actions/ask-question.cjs";
|
|
2
3
|
import { sliteCreateNote } from "./actions/create-note.cjs";
|
|
3
4
|
import { sliteDeleteNoteById } from "./actions/delete-note-by-id.cjs";
|
|
@@ -14,6 +15,5 @@ import { sliteUpdateNoteArchivedState } from "./actions/update-note-archived-sta
|
|
|
14
15
|
import { sliteUpdateNoteOwner } from "./actions/update-note-owner.cjs";
|
|
15
16
|
import { sliteUpdateTile } from "./actions/update-tile.cjs";
|
|
16
17
|
import { sliteVerifyNote } from "./actions/verify-note.cjs";
|
|
17
|
-
import { slite } from "./app.cjs";
|
|
18
18
|
import { sliteCatalog } from "./catalog.cjs";
|
|
19
19
|
export { slite, sliteAskQuestion, sliteCatalog, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { slite } from "./app.mjs";
|
|
1
2
|
import { sliteAskQuestion } from "./actions/ask-question.mjs";
|
|
2
3
|
import { sliteCreateNote } from "./actions/create-note.mjs";
|
|
3
4
|
import { sliteDeleteNoteById } from "./actions/delete-note-by-id.mjs";
|
|
@@ -14,6 +15,5 @@ import { sliteUpdateNoteArchivedState } from "./actions/update-note-archived-sta
|
|
|
14
15
|
import { sliteUpdateNoteOwner } from "./actions/update-note-owner.mjs";
|
|
15
16
|
import { sliteUpdateTile } from "./actions/update-tile.mjs";
|
|
16
17
|
import { sliteVerifyNote } from "./actions/verify-note.mjs";
|
|
17
|
-
import { slite } from "./app.mjs";
|
|
18
18
|
import { sliteCatalog } from "./catalog.mjs";
|
|
19
19
|
export { slite, sliteAskQuestion, sliteCatalog, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/slite",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|