@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-note-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteByIdInput = z.object({\n format: z.enum([\"md\", \"html\"]).describe(\"Specifies content format as either 'md' (Markdown) or 'html'. Defaults to Markdown if unspecified.\").optional(),\n noteId: z.string().describe(\"Note id to return\"),\n}).describe(\"Request model for retrieving a note by its ID.\");\nexport const SliteGetNoteByIdOutput = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note exists in collection\").nullable().optional(),\n content: z.string().describe(\"Content of the note in Markdown or HTML\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive date or null if active\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Column attributes if note exists in a collection\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review state of the note\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note ID or null if root\").nullable().optional(),\n}).passthrough().describe(\"Response model for a note with content.\");\n\nexport const sliteGetNoteById = action(\"SLITE_GET_NOTE_BY_ID\", {\n slug: \"slite-get-note-by-id\",\n name: \"Get Note By ID\",\n description: \"Tool to retrieve a complete note by its ID including content in Markdown or HTML format. Use when you need to fetch the full details and content of a specific note.\",\n input: SliteGetNoteByIdInput,\n output: SliteGetNoteByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-note-by-id.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 SliteGetNoteByIdInput = z.object({\n format: z.enum([\"md\", \"html\"]).describe(\"Specifies content format as either 'md' (Markdown) or 'html'. Defaults to Markdown if unspecified.\").optional(),\n noteId: z.string().describe(\"Note id to return\"),\n}).describe(\"Request model for retrieving a note by its ID.\");\nexport const SliteGetNoteByIdOutput = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note exists in collection\").nullable().optional(),\n content: z.string().describe(\"Content of the note in Markdown or HTML\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive date or null if active\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Column attributes if note exists in a collection\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review state of the note\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note ID or null if root\").nullable().optional(),\n}).passthrough().describe(\"Response model for a note with content.\");\n\nexport const sliteGetNoteById: AppAction<\n typeof SliteGetNoteByIdInput,\n typeof SliteGetNoteByIdOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_NOTE_BY_ID\", {\n slug: \"slite-get-note-by-id\",\n name: \"Get Note By ID\",\n description: \"Tool to retrieve a complete note by its ID including content in Markdown or HTML format. Use when you need to fetch the full details and content of a specific note.\",\n input: SliteGetNoteByIdInput,\n output: SliteGetNoteByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
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/get-note-by-id.d.ts
|
|
4
6
|
declare const SliteGetNoteByIdInput: z.ZodObject<{
|
|
5
7
|
format: z.ZodOptional<z.ZodEnum<{
|
|
6
|
-
md: "md";
|
|
7
8
|
html: "html";
|
|
9
|
+
md: "md";
|
|
8
10
|
}>>;
|
|
9
11
|
noteId: z.ZodString;
|
|
10
12
|
}, z.core.$strip>;
|
|
@@ -24,22 +26,7 @@ declare const SliteGetNoteByIdOutput: z.ZodObject<{
|
|
|
24
26
|
}>>>;
|
|
25
27
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const sliteGetNoteById:
|
|
28
|
-
noteId: string;
|
|
29
|
-
format?: "md" | "html" | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const sliteGetNoteById: AppAction<typeof SliteGetNoteByIdInput, typeof SliteGetNoteByIdOutput, typeof slite.credential>;
|
|
43
30
|
//#endregion
|
|
44
31
|
export { sliteGetNoteById };
|
|
45
32
|
//# sourceMappingURL=get-note-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-by-id.d.cts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-by-id.d.cts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,10 +1,12 @@
|
|
|
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/get-note-by-id.d.ts
|
|
4
6
|
declare const SliteGetNoteByIdInput: z.ZodObject<{
|
|
5
7
|
format: z.ZodOptional<z.ZodEnum<{
|
|
6
|
-
md: "md";
|
|
7
8
|
html: "html";
|
|
9
|
+
md: "md";
|
|
8
10
|
}>>;
|
|
9
11
|
noteId: z.ZodString;
|
|
10
12
|
}, z.core.$strip>;
|
|
@@ -24,22 +26,7 @@ declare const SliteGetNoteByIdOutput: z.ZodObject<{
|
|
|
24
26
|
}>>>;
|
|
25
27
|
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const sliteGetNoteById:
|
|
28
|
-
noteId: string;
|
|
29
|
-
format?: "md" | "html" | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const sliteGetNoteById: AppAction<typeof SliteGetNoteByIdInput, typeof SliteGetNoteByIdOutput, typeof slite.credential>;
|
|
43
30
|
//#endregion
|
|
44
31
|
export { sliteGetNoteById };
|
|
45
32
|
//# sourceMappingURL=get-note-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-by-id.d.mts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-by-id.d.mts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-by-id.mjs","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteByIdInput = z.object({\n format: z.enum([\"md\", \"html\"]).describe(\"Specifies content format as either 'md' (Markdown) or 'html'. Defaults to Markdown if unspecified.\").optional(),\n noteId: z.string().describe(\"Note id to return\"),\n}).describe(\"Request model for retrieving a note by its ID.\");\nexport const SliteGetNoteByIdOutput = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note exists in collection\").nullable().optional(),\n content: z.string().describe(\"Content of the note in Markdown or HTML\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive date or null if active\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Column attributes if note exists in a collection\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review state of the note\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note ID or null if root\").nullable().optional(),\n}).passthrough().describe(\"Response model for a note with content.\");\n\nexport const sliteGetNoteById = action(\"SLITE_GET_NOTE_BY_ID\", {\n slug: \"slite-get-note-by-id\",\n name: \"Get Note By ID\",\n description: \"Tool to retrieve a complete note by its ID including content in Markdown or HTML format. Use when you need to fetch the full details and content of a specific note.\",\n input: SliteGetNoteByIdInput,\n output: SliteGetNoteByIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-by-id.mjs","names":[],"sources":["../../src/actions/get-note-by-id.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 SliteGetNoteByIdInput = z.object({\n format: z.enum([\"md\", \"html\"]).describe(\"Specifies content format as either 'md' (Markdown) or 'html'. Defaults to Markdown if unspecified.\").optional(),\n noteId: z.string().describe(\"Note id to return\"),\n}).describe(\"Request model for retrieving a note by its ID.\");\nexport const SliteGetNoteByIdOutput = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n url: z.string().describe(\"Direct note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Column names if note exists in collection\").nullable().optional(),\n content: z.string().describe(\"Content of the note in Markdown or HTML\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive date or null if active\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"Column attributes if note exists in a collection\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review state of the note\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note ID or null if root\").nullable().optional(),\n}).passthrough().describe(\"Response model for a note with content.\");\n\nexport const sliteGetNoteById: AppAction<\n typeof SliteGetNoteByIdInput,\n typeof SliteGetNoteByIdOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_NOTE_BY_ID\", {\n slug: \"slite-get-note-by-id\",\n name: \"Get Note By ID\",\n description: \"Tool to retrieve a complete note by its ID including content in Markdown or HTML format. Use when you need to fetch the full details and content of a specific note.\",\n input: SliteGetNoteByIdInput,\n output: SliteGetNoteByIdOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,mBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,KAAK,CAAC,MAAM,MAAM,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EACvJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,CAAC,CAAC,CAAC,SAAS,gDAsBH;CACP,QAtBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,KAAK;GAAC;GAAY;GAAY;EAAuB,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-children.cjs","names":["z","action"],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-children.cjs","names":["z","action"],"sources":["../../src/actions/get-note-children.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 SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren: AppAction<\n typeof SliteGetNoteChildrenInput,\n typeof SliteGetNoteChildrenOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,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/get-note-children.d.ts
|
|
@@ -21,22 +23,7 @@ declare const SliteGetNoteChildrenOutput: z.ZodObject<{
|
|
|
21
23
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const sliteGetNoteChildren:
|
|
25
|
-
noteId: string;
|
|
26
|
-
cursor?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const sliteGetNoteChildren: AppAction<typeof SliteGetNoteChildrenInput, typeof SliteGetNoteChildrenOutput, typeof slite.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { sliteGetNoteChildren };
|
|
42
29
|
//# sourceMappingURL=get-note-children.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-children.d.cts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-children.d.cts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,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/get-note-children.d.ts
|
|
@@ -21,22 +23,7 @@ declare const SliteGetNoteChildrenOutput: z.ZodObject<{
|
|
|
21
23
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const sliteGetNoteChildren:
|
|
25
|
-
noteId: string;
|
|
26
|
-
cursor?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const sliteGetNoteChildren: AppAction<typeof SliteGetNoteChildrenInput, typeof SliteGetNoteChildrenOutput, typeof slite.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { sliteGetNoteChildren };
|
|
42
29
|
//# sourceMappingURL=get-note-children.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-children.d.mts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-children.d.mts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-note-children.mjs","names":[],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-note-children.mjs","names":[],"sources":["../../src/actions/get-note-children.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 SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren: AppAction<\n typeof SliteGetNoteChildrenInput,\n typeof SliteGetNoteChildrenOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBwC,EAAE,OAAO;EACjD,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-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 SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes: AppAction<\n typeof SliteListNotesInput,\n typeof SliteListNotesOutput,\n typeof slite.credential\n> = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,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/list-notes.d.ts
|
|
@@ -18,22 +20,7 @@ declare const SliteListNotesOutput: z.ZodObject<{
|
|
|
18
20
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const sliteListNotes:
|
|
22
|
-
cursor?: string | undefined;
|
|
23
|
-
ownerId?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const sliteListNotes: AppAction<typeof SliteListNotesInput, typeof SliteListNotesOutput, typeof slite.credential>;
|
|
37
24
|
//#endregion
|
|
38
25
|
export { sliteListNotes };
|
|
39
26
|
//# sourceMappingURL=list-notes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,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/list-notes.d.ts
|
|
@@ -18,22 +20,7 @@ declare const SliteListNotesOutput: z.ZodObject<{
|
|
|
18
20
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const sliteListNotes:
|
|
22
|
-
cursor?: string | undefined;
|
|
23
|
-
ownerId?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const sliteListNotes: AppAction<typeof SliteListNotesInput, typeof SliteListNotesOutput, typeof slite.credential>;
|
|
37
24
|
//#endregion
|
|
38
25
|
export { sliteListNotes };
|
|
39
26
|
//# sourceMappingURL=list-notes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-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 SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes: AppAction<\n typeof SliteListNotesInput,\n typeof SliteListNotesOutput,\n typeof slite.credential\n> = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAQ7E,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBkC,EAAE,OAAO;EAC3C,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-groups.cjs","names":["z","action"],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-groups.cjs","names":["z","action"],"sources":["../../src/actions/search-groups.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 SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups: AppAction<\n typeof SliteSearchGroupsInput,\n typeof SliteSearchGroupsOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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-groups.d.ts
|
|
@@ -15,22 +17,7 @@ declare const SliteSearchGroupsOutput: z.ZodObject<{
|
|
|
15
17
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sliteSearchGroups:
|
|
19
|
-
query: string;
|
|
20
|
-
cursor?: 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>>]>;
|
|
20
|
+
declare const sliteSearchGroups: AppAction<typeof SliteSearchGroupsInput, typeof SliteSearchGroupsOutput, typeof slite.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { sliteSearchGroups };
|
|
36
23
|
//# sourceMappingURL=search-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-groups.d.cts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-groups.d.cts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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-groups.d.ts
|
|
@@ -15,22 +17,7 @@ declare const SliteSearchGroupsOutput: z.ZodObject<{
|
|
|
15
17
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const sliteSearchGroups:
|
|
19
|
-
query: string;
|
|
20
|
-
cursor?: 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>>]>;
|
|
20
|
+
declare const sliteSearchGroups: AppAction<typeof SliteSearchGroupsInput, typeof SliteSearchGroupsOutput, typeof slite.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { sliteSearchGroups };
|
|
36
23
|
//# sourceMappingURL=search-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-groups.d.mts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-groups.d.mts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-groups.mjs","names":[],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-groups.mjs","names":[],"sources":["../../src/actions/search-groups.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 SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups: AppAction<\n typeof SliteSearchGroupsInput,\n typeof SliteSearchGroupsOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAQpE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-notes.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,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-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.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-notes.d.cts","names":[],"sources":["../../src/actions/search-notes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-notes.d.cts","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"}
|