@keystrokehq/slite 0.1.0 → 0.1.3
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 +7 -7
- package/dist/actions/ask-question.cjs.map +1 -1
- package/dist/actions/ask-question.d.cts +20 -3
- package/dist/actions/ask-question.d.cts.map +1 -1
- package/dist/actions/ask-question.d.mts +20 -3
- package/dist/actions/ask-question.d.mts.map +1 -1
- package/dist/actions/ask-question.mjs +7 -7
- package/dist/actions/ask-question.mjs.map +1 -1
- package/dist/actions/create-note.cjs +5 -5
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +24 -3
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +24 -3
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +5 -5
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/delete-note-by-id.cjs +2 -2
- package/dist/actions/delete-note-by-id.cjs.map +1 -1
- package/dist/actions/delete-note-by-id.d.cts +10 -3
- package/dist/actions/delete-note-by-id.d.cts.map +1 -1
- package/dist/actions/delete-note-by-id.d.mts +10 -3
- package/dist/actions/delete-note-by-id.d.mts.map +1 -1
- package/dist/actions/delete-note-by-id.mjs +2 -2
- package/dist/actions/delete-note-by-id.mjs.map +1 -1
- package/dist/actions/flag-note-as-outdated.cjs +6 -6
- package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
- package/dist/actions/flag-note-as-outdated.d.cts +17 -3
- package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
- package/dist/actions/flag-note-as-outdated.d.mts +17 -3
- package/dist/actions/flag-note-as-outdated.d.mts.map +1 -1
- package/dist/actions/flag-note-as-outdated.mjs +6 -6
- package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
- package/dist/actions/get-authenticated-user.cjs +5 -5
- package/dist/actions/get-authenticated-user.cjs.map +1 -1
- package/dist/actions/get-authenticated-user.d.cts +8 -3
- package/dist/actions/get-authenticated-user.d.cts.map +1 -1
- package/dist/actions/get-authenticated-user.d.mts +8 -3
- package/dist/actions/get-authenticated-user.d.mts.map +1 -1
- package/dist/actions/get-authenticated-user.mjs +5 -5
- package/dist/actions/get-authenticated-user.mjs.map +1 -1
- package/dist/actions/get-note-by-id.cjs +6 -6
- package/dist/actions/get-note-by-id.cjs.map +1 -1
- package/dist/actions/get-note-by-id.d.cts +27 -3
- package/dist/actions/get-note-by-id.d.cts.map +1 -1
- package/dist/actions/get-note-by-id.d.mts +27 -3
- package/dist/actions/get-note-by-id.d.mts.map +1 -1
- package/dist/actions/get-note-by-id.mjs +6 -6
- package/dist/actions/get-note-by-id.mjs.map +1 -1
- package/dist/actions/get-note-children.cjs +9 -9
- package/dist/actions/get-note-children.cjs.map +1 -1
- package/dist/actions/get-note-children.d.cts +24 -3
- package/dist/actions/get-note-children.d.cts.map +1 -1
- package/dist/actions/get-note-children.d.mts +24 -3
- package/dist/actions/get-note-children.d.mts.map +1 -1
- package/dist/actions/get-note-children.mjs +9 -9
- package/dist/actions/get-note-children.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +8 -8
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +21 -3
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +21 -3
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +8 -8
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/search-groups.cjs +7 -7
- package/dist/actions/search-groups.cjs.map +1 -1
- package/dist/actions/search-groups.d.cts +18 -3
- package/dist/actions/search-groups.d.cts.map +1 -1
- package/dist/actions/search-groups.d.mts +18 -3
- package/dist/actions/search-groups.d.mts.map +1 -1
- package/dist/actions/search-groups.mjs +7 -7
- package/dist/actions/search-groups.mjs.map +1 -1
- package/dist/actions/search-notes.cjs +13 -13
- package/dist/actions/search-notes.cjs.map +1 -1
- package/dist/actions/search-notes.d.cts +54 -3
- package/dist/actions/search-notes.d.cts.map +1 -1
- package/dist/actions/search-notes.d.mts +54 -3
- package/dist/actions/search-notes.d.mts.map +1 -1
- package/dist/actions/search-notes.mjs +13 -13
- package/dist/actions/search-notes.mjs.map +1 -1
- package/dist/actions/search-users.cjs +7 -7
- package/dist/actions/search-users.cjs.map +1 -1
- package/dist/actions/search-users.d.cts +23 -3
- package/dist/actions/search-users.d.cts.map +1 -1
- package/dist/actions/search-users.d.mts +23 -3
- package/dist/actions/search-users.d.mts.map +1 -1
- package/dist/actions/search-users.mjs +7 -7
- package/dist/actions/search-users.mjs.map +1 -1
- package/dist/actions/update-note-archived-state.cjs +5 -5
- package/dist/actions/update-note-archived-state.cjs.map +1 -1
- package/dist/actions/update-note-archived-state.d.cts +16 -3
- package/dist/actions/update-note-archived-state.d.cts.map +1 -1
- package/dist/actions/update-note-archived-state.d.mts +16 -3
- package/dist/actions/update-note-archived-state.d.mts.map +1 -1
- package/dist/actions/update-note-archived-state.mjs +5 -5
- package/dist/actions/update-note-archived-state.mjs.map +1 -1
- package/dist/actions/update-note-owner.cjs +5 -5
- package/dist/actions/update-note-owner.cjs.map +1 -1
- package/dist/actions/update-note-owner.d.cts +18 -3
- package/dist/actions/update-note-owner.d.cts.map +1 -1
- package/dist/actions/update-note-owner.d.mts +18 -3
- package/dist/actions/update-note-owner.d.mts.map +1 -1
- package/dist/actions/update-note-owner.mjs +5 -5
- package/dist/actions/update-note-owner.mjs.map +1 -1
- package/dist/actions/update-note.cjs +5 -5
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +25 -3
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +25 -3
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +5 -5
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-tile.cjs +1 -1
- package/dist/actions/update-tile.cjs.map +1 -1
- package/dist/actions/update-tile.d.cts +27 -3
- package/dist/actions/update-tile.d.cts.map +1 -1
- package/dist/actions/update-tile.d.mts +27 -3
- package/dist/actions/update-tile.d.mts.map +1 -1
- package/dist/actions/update-tile.mjs +1 -1
- package/dist/actions/update-tile.mjs.map +1 -1
- package/dist/actions/verify-note.cjs +5 -5
- package/dist/actions/verify-note.cjs.map +1 -1
- package/dist/actions/verify-note.d.cts +19 -3
- package/dist/actions/verify-note.d.cts.map +1 -1
- package/dist/actions/verify-note.d.mts +19 -3
- package/dist/actions/verify-note.d.mts.map +1 -1
- package/dist/actions/verify-note.mjs +5 -5
- package/dist/actions/verify-note.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-authenticated-user.ts
|
|
4
4
|
const SliteGetAuthenticatedUserInput = zod.z.object({}).describe("No parameters required to get authenticated user information.");
|
|
5
5
|
const SliteGetAuthenticatedUserOutput = zod.z.object({
|
|
6
|
-
email: zod.z.string().describe("Email address of the authenticated user."),
|
|
7
|
-
displayName: zod.z.string().describe("Display name of the authenticated user."),
|
|
8
|
-
organizationName: zod.z.string().describe("Name of the organization the authenticated user belongs to."),
|
|
9
|
-
organizationDomain: zod.z.string().describe("Domain of the organization the authenticated user belongs to.")
|
|
10
|
-
}).describe("Response containing authenticated user information.");
|
|
6
|
+
email: zod.z.string().describe("Email address of the authenticated user.").nullable(),
|
|
7
|
+
displayName: zod.z.string().describe("Display name of the authenticated user.").nullable(),
|
|
8
|
+
organizationName: zod.z.string().describe("Name of the organization the authenticated user belongs to.").nullable(),
|
|
9
|
+
organizationDomain: zod.z.string().describe("Domain of the organization the authenticated user belongs to.").nullable()
|
|
10
|
+
}).passthrough().describe("Response containing authenticated user information.");
|
|
11
11
|
const sliteGetAuthenticatedUser = require_action.action("SLITE_GET_AUTHENTICATED_USER", {
|
|
12
12
|
slug: "slite-get-authenticated-user",
|
|
13
13
|
name: "Get authenticated user",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-authenticated-user.cjs","names":["z","action"],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetAuthenticatedUserInput
|
|
1
|
+
{"version":3,"file":"get-authenticated-user.cjs","names":["z","action"],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetAuthenticatedUserInput = z.object({}).describe(\"No parameters required to get authenticated user information.\");\nexport const SliteGetAuthenticatedUserOutput = z.object({\n email: z.string().describe(\"Email address of the authenticated user.\").nullable(),\n displayName: z.string().describe(\"Display name of the authenticated user.\").nullable(),\n organizationName: z.string().describe(\"Name of the organization the authenticated user belongs to.\").nullable(),\n organizationDomain: z.string().describe(\"Domain of the organization the authenticated user belongs to.\").nullable(),\n}).passthrough().describe(\"Response containing authenticated user information.\");\n\nexport const sliteGetAuthenticatedUser = action(\"SLITE_GET_AUTHENTICATED_USER\", {\n slug: \"slite-get-authenticated-user\",\n name: \"Get authenticated user\",\n description: \"Retrieves information about the currently authenticated user. Use this to get user details including email, display name, and organization information.\",\n input: SliteGetAuthenticatedUserInput,\n output: SliteGetAuthenticatedUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AACnI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-authenticated-user.d.ts
|
|
4
|
-
declare const SliteGetAuthenticatedUserInput: z.
|
|
5
|
-
declare const SliteGetAuthenticatedUserOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SliteGetAuthenticatedUserInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SliteGetAuthenticatedUserOutput: z.ZodObject<{
|
|
6
|
+
email: z.ZodNullable<z.ZodString>;
|
|
7
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
8
|
+
organizationName: z.ZodNullable<z.ZodString>;
|
|
9
|
+
organizationDomain: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const sliteGetAuthenticatedUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { sliteGetAuthenticatedUser };
|
|
9
14
|
//# sourceMappingURL=get-authenticated-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-authenticated-user.d.cts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-authenticated-user.d.cts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-authenticated-user.d.ts
|
|
4
|
-
declare const SliteGetAuthenticatedUserInput: z.
|
|
5
|
-
declare const SliteGetAuthenticatedUserOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SliteGetAuthenticatedUserInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SliteGetAuthenticatedUserOutput: z.ZodObject<{
|
|
6
|
+
email: z.ZodNullable<z.ZodString>;
|
|
7
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
8
|
+
organizationName: z.ZodNullable<z.ZodString>;
|
|
9
|
+
organizationDomain: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const sliteGetAuthenticatedUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { sliteGetAuthenticatedUser };
|
|
9
14
|
//# sourceMappingURL=get-authenticated-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-authenticated-user.d.mts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-authenticated-user.d.mts","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,11 +6,11 @@ const sliteGetAuthenticatedUser = action("SLITE_GET_AUTHENTICATED_USER", {
|
|
|
6
6
|
description: "Retrieves information about the currently authenticated user. Use this to get user details including email, display name, and organization information.",
|
|
7
7
|
input: z.object({}).describe("No parameters required to get authenticated user information."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
email: z.string().describe("Email address of the authenticated user."),
|
|
10
|
-
displayName: z.string().describe("Display name of the authenticated user."),
|
|
11
|
-
organizationName: z.string().describe("Name of the organization the authenticated user belongs to."),
|
|
12
|
-
organizationDomain: z.string().describe("Domain of the organization the authenticated user belongs to.")
|
|
13
|
-
}).describe("Response containing authenticated user information.")
|
|
9
|
+
email: z.string().describe("Email address of the authenticated user.").nullable(),
|
|
10
|
+
displayName: z.string().describe("Display name of the authenticated user.").nullable(),
|
|
11
|
+
organizationName: z.string().describe("Name of the organization the authenticated user belongs to.").nullable(),
|
|
12
|
+
organizationDomain: z.string().describe("Domain of the organization the authenticated user belongs to.").nullable()
|
|
13
|
+
}).passthrough().describe("Response containing authenticated user information.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { sliteGetAuthenticatedUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-authenticated-user.mjs","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetAuthenticatedUserInput
|
|
1
|
+
{"version":3,"file":"get-authenticated-user.mjs","names":[],"sources":["../../src/actions/get-authenticated-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetAuthenticatedUserInput = z.object({}).describe(\"No parameters required to get authenticated user information.\");\nexport const SliteGetAuthenticatedUserOutput = z.object({\n email: z.string().describe(\"Email address of the authenticated user.\").nullable(),\n displayName: z.string().describe(\"Display name of the authenticated user.\").nullable(),\n organizationName: z.string().describe(\"Name of the organization the authenticated user belongs to.\").nullable(),\n organizationDomain: z.string().describe(\"Domain of the organization the authenticated user belongs to.\").nullable(),\n}).passthrough().describe(\"Response containing authenticated user information.\");\n\nexport const sliteGetAuthenticatedUser = action(\"SLITE_GET_AUTHENTICATED_USER\", {\n slug: \"slite-get-authenticated-user\",\n name: \"Get authenticated user\",\n description: \"Retrieves information about the currently authenticated user. Use this to get user details including email, display name, and organization information.\",\n input: SliteGetAuthenticatedUserInput,\n output: SliteGetAuthenticatedUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAY3D;CACP,QAZ6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ const SliteGetNoteByIdInput = zod.z.object({
|
|
|
6
6
|
noteId: zod.z.string().describe("Note id to return")
|
|
7
7
|
}).describe("Request model for retrieving a note by its ID.");
|
|
8
8
|
const SliteGetNoteByIdOutput = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Unique note identifier"),
|
|
10
|
-
url: zod.z.string().describe("Direct note URL"),
|
|
11
|
-
title: zod.z.string().describe("Note title"),
|
|
9
|
+
id: zod.z.string().describe("Unique note identifier").nullable(),
|
|
10
|
+
url: zod.z.string().describe("Direct note URL").nullable(),
|
|
11
|
+
title: zod.z.string().describe("Note title").nullable(),
|
|
12
12
|
columns: zod.z.array(zod.z.string()).describe("Column names if note exists in collection").nullable().optional(),
|
|
13
|
-
content: zod.z.string().describe("Content of the note in Markdown or HTML"),
|
|
14
|
-
updatedAt: zod.z.string().describe("Last update timestamp"),
|
|
13
|
+
content: zod.z.string().describe("Content of the note in Markdown or HTML").nullable(),
|
|
14
|
+
updatedAt: zod.z.string().describe("Last update timestamp").nullable(),
|
|
15
15
|
archivedAt: zod.z.string().describe("Archive date or null if active").nullable().optional(),
|
|
16
16
|
attributes: zod.z.array(zod.z.string()).describe("Column attributes if note exists in a collection").nullable().optional(),
|
|
17
17
|
reviewState: zod.z.enum([
|
|
@@ -20,7 +20,7 @@ const SliteGetNoteByIdOutput = zod.z.object({
|
|
|
20
20
|
"VerificationRequested"
|
|
21
21
|
]).describe("Review state of the note").nullable().optional(),
|
|
22
22
|
parentNoteId: zod.z.string().describe("Parent note ID or null if root").nullable().optional()
|
|
23
|
-
}).describe("Response model for a note with content.");
|
|
23
|
+
}).passthrough().describe("Response model for a note with content.");
|
|
24
24
|
const sliteGetNoteById = require_action.action("SLITE_GET_NOTE_BY_ID", {
|
|
25
25
|
slug: "slite-get-note-by-id",
|
|
26
26
|
name: "Get Note By ID",
|
|
@@ -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
|
|
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":";;;AAIA,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,mBAAmBC,eAAAA,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-note-by-id.d.ts
|
|
4
|
-
declare const SliteGetNoteByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SliteGetNoteByIdInput: z.ZodObject<{
|
|
5
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
md: "md";
|
|
7
|
+
html: "html";
|
|
8
|
+
}>>;
|
|
9
|
+
noteId: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SliteGetNoteByIdOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
url: z.ZodNullable<z.ZodString>;
|
|
14
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
content: z.ZodNullable<z.ZodString>;
|
|
17
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
reviewState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
Verified: "Verified";
|
|
22
|
+
Outdated: "Outdated";
|
|
23
|
+
VerificationRequested: "VerificationRequested";
|
|
24
|
+
}>>>;
|
|
25
|
+
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
noteId: string;
|
|
29
|
+
format?: "md" | "html" | undefined;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { sliteGetNoteById };
|
|
9
33
|
//# 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":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-note-by-id.d.cts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-note-by-id.d.ts
|
|
4
|
-
declare const SliteGetNoteByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SliteGetNoteByIdInput: z.ZodObject<{
|
|
5
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
md: "md";
|
|
7
|
+
html: "html";
|
|
8
|
+
}>>;
|
|
9
|
+
noteId: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SliteGetNoteByIdOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
url: z.ZodNullable<z.ZodString>;
|
|
14
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
|
+
content: z.ZodNullable<z.ZodString>;
|
|
17
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
20
|
+
reviewState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
Verified: "Verified";
|
|
22
|
+
Outdated: "Outdated";
|
|
23
|
+
VerificationRequested: "VerificationRequested";
|
|
24
|
+
}>>>;
|
|
25
|
+
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const sliteGetNoteById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
noteId: string;
|
|
29
|
+
format?: "md" | "html" | undefined;
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { sliteGetNoteById };
|
|
9
33
|
//# 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":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-note-by-id.d.mts","names":[],"sources":["../../src/actions/get-note-by-id.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAatB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -9,12 +9,12 @@ const sliteGetNoteById = action("SLITE_GET_NOTE_BY_ID", {
|
|
|
9
9
|
noteId: z.string().describe("Note id to return")
|
|
10
10
|
}).describe("Request model for retrieving a note by its ID."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
id: z.string().describe("Unique note identifier"),
|
|
13
|
-
url: z.string().describe("Direct note URL"),
|
|
14
|
-
title: z.string().describe("Note title"),
|
|
12
|
+
id: z.string().describe("Unique note identifier").nullable(),
|
|
13
|
+
url: z.string().describe("Direct note URL").nullable(),
|
|
14
|
+
title: z.string().describe("Note title").nullable(),
|
|
15
15
|
columns: z.array(z.string()).describe("Column names if note exists in collection").nullable().optional(),
|
|
16
|
-
content: z.string().describe("Content of the note in Markdown or HTML"),
|
|
17
|
-
updatedAt: z.string().describe("Last update timestamp"),
|
|
16
|
+
content: z.string().describe("Content of the note in Markdown or HTML").nullable(),
|
|
17
|
+
updatedAt: z.string().describe("Last update timestamp").nullable(),
|
|
18
18
|
archivedAt: z.string().describe("Archive date or null if active").nullable().optional(),
|
|
19
19
|
attributes: z.array(z.string()).describe("Column attributes if note exists in a collection").nullable().optional(),
|
|
20
20
|
reviewState: z.enum([
|
|
@@ -23,7 +23,7 @@ const sliteGetNoteById = action("SLITE_GET_NOTE_BY_ID", {
|
|
|
23
23
|
"VerificationRequested"
|
|
24
24
|
]).describe("Review state of the note").nullable().optional(),
|
|
25
25
|
parentNoteId: z.string().describe("Parent note ID or null if root").nullable().optional()
|
|
26
|
-
}).describe("Response model for a note with content.")
|
|
26
|
+
}).passthrough().describe("Response model for a note with content.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { sliteGetNoteById };
|
|
@@ -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
|
|
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":";;AAqBA,MAAa,mBAAmB,OAAO,wBAAwB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmC,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,gDAkBH;CACP,QAlBoC,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,yCAOhB;AACV,CAAC"}
|
|
@@ -6,27 +6,27 @@ const SliteGetNoteChildrenInput = zod.z.object({
|
|
|
6
6
|
noteId: zod.z.string().describe("Note ID to fetch its children")
|
|
7
7
|
}).describe("Request model for retrieving note children by parent note ID.");
|
|
8
8
|
const SliteGetNoteChildren_NoteSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Note identifier"),
|
|
10
|
-
url: zod.z.string().describe("Note URL"),
|
|
11
|
-
title: zod.z.string().describe("Note title"),
|
|
9
|
+
id: zod.z.string().describe("Note identifier").nullable(),
|
|
10
|
+
url: zod.z.string().describe("Note URL").nullable(),
|
|
11
|
+
title: zod.z.string().describe("Note title").nullable(),
|
|
12
12
|
columns: zod.z.array(zod.z.string()).describe("Collection column names").nullable().optional(),
|
|
13
|
-
updatedAt: zod.z.string().describe("Last update timestamp"),
|
|
13
|
+
updatedAt: zod.z.string().describe("Last update timestamp").nullable(),
|
|
14
14
|
archivedAt: zod.z.string().describe("Archive timestamp or null if active").nullable().optional(),
|
|
15
15
|
attributes: zod.z.array(zod.z.union([
|
|
16
16
|
zod.z.string(),
|
|
17
17
|
zod.z.number().int(),
|
|
18
18
|
zod.z.number(),
|
|
19
19
|
zod.z.boolean()
|
|
20
|
-
]).nullable()).describe("Collection row attributes").optional(),
|
|
20
|
+
]).nullable()).describe("Collection row attributes").nullable().optional(),
|
|
21
21
|
reviewState: zod.z.string().describe("Verification status - 'Verified', 'Outdated', or 'VerificationRequested'").nullable().optional(),
|
|
22
22
|
parentNoteId: zod.z.string().describe("Parent note's identifier").nullable().optional()
|
|
23
|
-
}).describe("Model representing a note object.");
|
|
23
|
+
}).passthrough().describe("Model representing a note object.");
|
|
24
24
|
const SliteGetNoteChildrenOutput = zod.z.object({
|
|
25
25
|
notes: zod.z.array(SliteGetNoteChildren_NoteSchema).describe("Collection of note objects"),
|
|
26
|
-
total: zod.z.number().int().describe("Total number of children"),
|
|
26
|
+
total: zod.z.number().int().describe("Total number of children").nullable(),
|
|
27
27
|
nextCursor: zod.z.string().describe("Next cursor to continue fetching the paginated children").nullable().optional(),
|
|
28
|
-
hasNextPage: zod.z.boolean().describe("Indicates if there is another page to fetch")
|
|
29
|
-
}).describe("Response model for paginated note children.");
|
|
28
|
+
hasNextPage: zod.z.boolean().describe("Indicates if there is another page to fetch").nullable()
|
|
29
|
+
}).passthrough().describe("Response model for paginated note children.");
|
|
30
30
|
const sliteGetNoteChildren = require_action.action("SLITE_GET_NOTE_CHILDREN", {
|
|
31
31
|
slug: "slite-get-note-children",
|
|
32
32
|
name: "Get Note Children",
|
|
@@ -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
|
|
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":";;;AAIA,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,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-note-children.d.ts
|
|
4
|
-
declare const SliteGetNoteChildrenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SliteGetNoteChildrenInput: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
noteId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SliteGetNoteChildrenOutput: z.ZodObject<{
|
|
9
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
url: z.ZodNullable<z.ZodString>;
|
|
12
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
15
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>;
|
|
17
|
+
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const sliteGetNoteChildren: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
noteId: string;
|
|
26
|
+
cursor?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { sliteGetNoteChildren };
|
|
9
30
|
//# 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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-note-children.d.cts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-note-children.d.ts
|
|
4
|
-
declare const SliteGetNoteChildrenInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SliteGetNoteChildrenInput: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
noteId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SliteGetNoteChildrenOutput: z.ZodObject<{
|
|
9
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
url: z.ZodNullable<z.ZodString>;
|
|
12
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13
|
+
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
15
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>;
|
|
17
|
+
reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const sliteGetNoteChildren: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
noteId: string;
|
|
26
|
+
cursor?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { sliteGetNoteChildren };
|
|
9
30
|
//# 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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-note-children.d.mts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -6,21 +6,21 @@ const SliteGetNoteChildrenInput = z.object({
|
|
|
6
6
|
noteId: z.string().describe("Note ID to fetch its children")
|
|
7
7
|
}).describe("Request model for retrieving note children by parent note ID.");
|
|
8
8
|
const SliteGetNoteChildren_NoteSchema = z.object({
|
|
9
|
-
id: z.string().describe("Note identifier"),
|
|
10
|
-
url: z.string().describe("Note URL"),
|
|
11
|
-
title: z.string().describe("Note title"),
|
|
9
|
+
id: z.string().describe("Note identifier").nullable(),
|
|
10
|
+
url: z.string().describe("Note URL").nullable(),
|
|
11
|
+
title: z.string().describe("Note title").nullable(),
|
|
12
12
|
columns: z.array(z.string()).describe("Collection column names").nullable().optional(),
|
|
13
|
-
updatedAt: z.string().describe("Last update timestamp"),
|
|
13
|
+
updatedAt: z.string().describe("Last update timestamp").nullable(),
|
|
14
14
|
archivedAt: z.string().describe("Archive timestamp or null if active").nullable().optional(),
|
|
15
15
|
attributes: z.array(z.union([
|
|
16
16
|
z.string(),
|
|
17
17
|
z.number().int(),
|
|
18
18
|
z.number(),
|
|
19
19
|
z.boolean()
|
|
20
|
-
]).nullable()).describe("Collection row attributes").optional(),
|
|
20
|
+
]).nullable()).describe("Collection row attributes").nullable().optional(),
|
|
21
21
|
reviewState: z.string().describe("Verification status - 'Verified', 'Outdated', or 'VerificationRequested'").nullable().optional(),
|
|
22
22
|
parentNoteId: z.string().describe("Parent note's identifier").nullable().optional()
|
|
23
|
-
}).describe("Model representing a note object.");
|
|
23
|
+
}).passthrough().describe("Model representing a note object.");
|
|
24
24
|
const sliteGetNoteChildren = action("SLITE_GET_NOTE_CHILDREN", {
|
|
25
25
|
slug: "slite-get-note-children",
|
|
26
26
|
name: "Get Note Children",
|
|
@@ -28,10 +28,10 @@ const sliteGetNoteChildren = action("SLITE_GET_NOTE_CHILDREN", {
|
|
|
28
28
|
input: SliteGetNoteChildrenInput,
|
|
29
29
|
output: z.object({
|
|
30
30
|
notes: z.array(SliteGetNoteChildren_NoteSchema).describe("Collection of note objects"),
|
|
31
|
-
total: z.number().int().describe("Total number of children"),
|
|
31
|
+
total: z.number().int().describe("Total number of children").nullable(),
|
|
32
32
|
nextCursor: z.string().describe("Next cursor to continue fetching the paginated children").nullable().optional(),
|
|
33
|
-
hasNextPage: z.boolean().describe("Indicates if there is another page to fetch")
|
|
34
|
-
}).describe("Response model for paginated note children.")
|
|
33
|
+
hasNextPage: z.boolean().describe("Indicates if there is another page to fetch").nullable()
|
|
34
|
+
}).passthrough().describe("Response model for paginated note children.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { sliteGetNoteChildren };
|
|
@@ -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
|
|
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":";;;AAIA,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,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,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,6CAOhB;AACV,CAAC"}
|
|
@@ -6,19 +6,19 @@ const SliteListNotesInput = zod.z.object({
|
|
|
6
6
|
ownerId: zod.z.string().describe("User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.").optional()
|
|
7
7
|
}).describe("Request model for listing notes with optional filtering by owner.");
|
|
8
8
|
const SliteListNotes_NoteSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Note identifier."),
|
|
10
|
-
url: zod.z.string().describe("Note URL."),
|
|
11
|
-
title: zod.z.string().describe("Note title."),
|
|
12
|
-
updatedAt: zod.z.string().describe("Last update timestamp in ISO 8601 date-time format."),
|
|
9
|
+
id: zod.z.string().describe("Note identifier.").nullable(),
|
|
10
|
+
url: zod.z.string().describe("Note URL.").nullable(),
|
|
11
|
+
title: zod.z.string().describe("Note title.").nullable(),
|
|
12
|
+
updatedAt: zod.z.string().describe("Last update timestamp in ISO 8601 date-time format.").nullable(),
|
|
13
13
|
archivedAt: zod.z.string().describe("Archive timestamp in ISO 8601 date-time format, or null if not archived.").nullable().optional(),
|
|
14
14
|
parentNoteId: zod.z.string().describe("Parent note identifier.").nullable().optional()
|
|
15
|
-
}).describe("Model representing a single note in the response.");
|
|
15
|
+
}).passthrough().describe("Model representing a single note in the response.");
|
|
16
16
|
const SliteListNotesOutput = zod.z.object({
|
|
17
17
|
notes: zod.z.array(SliteListNotes_NoteSchema).describe("Array of Note objects matching the filter criteria."),
|
|
18
|
-
total: zod.z.number().describe("Total number of notes."),
|
|
18
|
+
total: zod.z.number().describe("Total number of notes.").nullable(),
|
|
19
19
|
nextCursor: zod.z.string().describe("Cursor to continue fetching the next page of notes, or null if no more pages exist.").nullable().optional(),
|
|
20
|
-
hasNextPage: zod.z.boolean().describe("Indicates whether there is another page to fetch.")
|
|
21
|
-
}).describe("Response model for listing notes with pagination information.");
|
|
20
|
+
hasNextPage: zod.z.boolean().describe("Indicates whether there is another page to fetch.").nullable()
|
|
21
|
+
}).passthrough().describe("Response model for listing notes with pagination information.");
|
|
22
22
|
const sliteListNotes = require_action.action("SLITE_LIST_NOTES", {
|
|
23
23
|
slug: "slite-list-notes",
|
|
24
24
|
name: "List Notes",
|
|
@@ -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
|
|
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":";;;AAIA,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,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-notes.d.ts
|
|
4
|
-
declare const SliteListNotesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SliteListNotesInput: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
ownerId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SliteListNotesOutput: z.ZodObject<{
|
|
9
|
+
notes: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
url: z.ZodNullable<z.ZodString>;
|
|
12
|
+
title: z.ZodNullable<z.ZodString>;
|
|
13
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
14
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
hasNextPage: z.ZodNullable<z.ZodBoolean>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const sliteListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
cursor?: string | undefined;
|
|
23
|
+
ownerId?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { sliteListNotes };
|
|
9
27
|
//# sourceMappingURL=list-notes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
|