@keystrokehq/slite 0.1.5 → 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 -17
- package/dist/actions/ask-question.d.cts.map +1 -1
- package/dist/actions/ask-question.d.mts +3 -17
- 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 -20
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -20
- 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 -15
- package/dist/actions/delete-note-by-id.d.cts.map +1 -1
- package/dist/actions/delete-note-by-id.d.mts +3 -15
- 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 -16
- package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
- package/dist/actions/flag-note-as-outdated.d.mts +3 -16
- 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 -13
- package/dist/actions/get-authenticated-user.d.cts.map +1 -1
- package/dist/actions/get-authenticated-user.d.mts +3 -13
- 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 +4 -17
- package/dist/actions/get-note-by-id.d.cts.map +1 -1
- package/dist/actions/get-note-by-id.d.mts +4 -17
- 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 -16
- package/dist/actions/get-note-children.d.cts.map +1 -1
- package/dist/actions/get-note-children.d.mts +3 -16
- 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 -16
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +3 -16
- 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 -16
- package/dist/actions/search-groups.d.cts.map +1 -1
- package/dist/actions/search-groups.d.mts +3 -16
- 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 -24
- package/dist/actions/search-notes.d.cts.map +1 -1
- package/dist/actions/search-notes.d.mts +3 -24
- 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 -17
- package/dist/actions/search-users.d.cts.map +1 -1
- package/dist/actions/search-users.d.mts +3 -17
- 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 -16
- package/dist/actions/update-note-archived-state.d.cts.map +1 -1
- package/dist/actions/update-note-archived-state.d.mts +3 -16
- 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 -17
- package/dist/actions/update-note-owner.d.cts.map +1 -1
- package/dist/actions/update-note-owner.d.mts +3 -17
- 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 -19
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +3 -19
- 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 -24
- package/dist/actions/update-tile.d.cts.map +1 -1
- package/dist/actions/update-tile.d.mts +3 -24
- 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 -16
- package/dist/actions/verify-note.d.cts.map +1 -1
- package/dist/actions/verify-note.d.mts +3 -16
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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,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/search-notes.d.ts
|
|
@@ -43,30 +45,7 @@ declare const SliteSearchNotesOutput: z.ZodObject<{
|
|
|
43
45
|
page: z.ZodNullable<z.ZodNumber>;
|
|
44
46
|
nbPages: z.ZodNullable<z.ZodNumber>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const sliteSearchNotes:
|
|
47
|
-
page?: number | undefined;
|
|
48
|
-
depth?: number | undefined;
|
|
49
|
-
query?: string | undefined;
|
|
50
|
-
hitsPerPage?: number | undefined;
|
|
51
|
-
reviewState?: "Verified" | "Outdated" | "VerificationRequested" | undefined;
|
|
52
|
-
parentNoteId?: string | undefined;
|
|
53
|
-
highlightPreTag?: string | undefined;
|
|
54
|
-
includeArchived?: boolean | undefined;
|
|
55
|
-
lastEditedAfter?: string | undefined;
|
|
56
|
-
highlightPostTag?: string | undefined;
|
|
57
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
generic_api_key: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const sliteSearchNotes: AppAction<typeof SliteSearchNotesInput, typeof SliteSearchNotesOutput, typeof slite.credential>;
|
|
70
49
|
//#endregion
|
|
71
50
|
export { sliteSearchNotes };
|
|
72
51
|
//# sourceMappingURL=search-notes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-notes.d.mts","names":[],"sources":["../../src/actions/search-notes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-notes.d.mts","names":[],"sources":["../../src/actions/search-notes.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA2BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-notes.mjs","names":[],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-notes.mjs","names":[],"sources":["../../src/actions/search-notes.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 SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes: AppAction<\n typeof SliteSearchNotesInput,\n typeof SliteSearchNotesOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,KAAK;EAAC;EAAa;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-users.cjs","names":["z","action"],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-users.cjs","names":["z","action"],"sources":["../../src/actions/search-users.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 SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers: AppAction<\n typeof SliteSearchUsersInput,\n typeof SliteSearchUsersOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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/search-users.d.ts
|
|
@@ -19,23 +21,7 @@ declare const SliteSearchUsersOutput: z.ZodObject<{
|
|
|
19
21
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const sliteSearchUsers:
|
|
23
|
-
query: string;
|
|
24
|
-
cursor?: string | undefined;
|
|
25
|
-
includeArchived?: boolean | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const sliteSearchUsers: AppAction<typeof SliteSearchUsersInput, typeof SliteSearchUsersOutput, typeof slite.credential>;
|
|
39
25
|
//#endregion
|
|
40
26
|
export { sliteSearchUsers };
|
|
41
27
|
//# sourceMappingURL=search-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-users.d.cts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-users.d.cts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/search-users.d.ts
|
|
@@ -19,23 +21,7 @@ declare const SliteSearchUsersOutput: z.ZodObject<{
|
|
|
19
21
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const sliteSearchUsers:
|
|
23
|
-
query: string;
|
|
24
|
-
cursor?: string | undefined;
|
|
25
|
-
includeArchived?: boolean | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const sliteSearchUsers: AppAction<typeof SliteSearchUsersInput, typeof SliteSearchUsersOutput, typeof slite.credential>;
|
|
39
25
|
//#endregion
|
|
40
26
|
export { sliteSearchUsers };
|
|
41
27
|
//# sourceMappingURL=search-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-users.d.mts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-users.d.mts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-users.mjs","names":[],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-users.mjs","names":[],"sources":["../../src/actions/search-users.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 SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers: AppAction<\n typeof SliteSearchUsersInput,\n typeof SliteSearchUsersOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBoC,EAAE,OAAO;EAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note-archived-state.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,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-archived-state.d.ts
|
|
@@ -13,22 +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<"slite", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const sliteUpdateNoteArchivedState: AppAction<typeof SliteUpdateNoteArchivedStateInput, typeof SliteUpdateNoteArchivedStateOutput, typeof slite.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { sliteUpdateNoteArchivedState };
|
|
34
21
|
//# sourceMappingURL=update-note-archived-state.d.cts.map
|
|
@@ -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,22 +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<"slite", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const sliteUpdateNoteArchivedState: AppAction<typeof SliteUpdateNoteArchivedStateInput, typeof SliteUpdateNoteArchivedStateOutput, typeof slite.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { sliteUpdateNoteArchivedState };
|
|
34
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,23 +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<"slite", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const sliteUpdateNoteOwner: AppAction<typeof SliteUpdateNoteOwnerInput, typeof SliteUpdateNoteOwnerOutput, typeof slite.credential>;
|
|
34
20
|
//#endregion
|
|
35
21
|
export { sliteUpdateNoteOwner };
|
|
36
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,23 +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<"slite", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const sliteUpdateNoteOwner: AppAction<typeof SliteUpdateNoteOwnerInput, typeof SliteUpdateNoteOwnerOutput, typeof slite.credential>;
|
|
34
20
|
//#endregion
|
|
35
21
|
export { sliteUpdateNoteOwner };
|
|
36
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,25 +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<"slite", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const sliteUpdateNote: AppAction<typeof SliteUpdateNoteInput, typeof SliteUpdateNoteOutput, typeof slite.credential>;
|
|
41
25
|
//#endregion
|
|
42
26
|
export { sliteUpdateNote };
|
|
43
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,25 +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<"slite", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const sliteUpdateNote: AppAction<typeof SliteUpdateNoteInput, typeof SliteUpdateNoteOutput, typeof slite.credential>;
|
|
41
25
|
//#endregion
|
|
42
26
|
export { sliteUpdateNote };
|
|
43
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"}
|