@keystrokehq/slite 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/ask-question.cjs +30 -0
- package/dist/actions/ask-question.cjs.map +1 -0
- package/dist/actions/ask-question.d.cts +9 -0
- package/dist/actions/ask-question.d.cts.map +1 -0
- package/dist/actions/ask-question.d.mts +9 -0
- package/dist/actions/ask-question.d.mts.map +1 -0
- package/dist/actions/ask-question.mjs +29 -0
- package/dist/actions/ask-question.mjs.map +1 -0
- package/dist/actions/create-note.cjs +30 -0
- package/dist/actions/create-note.cjs.map +1 -0
- package/dist/actions/create-note.d.cts +9 -0
- package/dist/actions/create-note.d.cts.map +1 -0
- package/dist/actions/create-note.d.mts +9 -0
- package/dist/actions/create-note.d.mts.map +1 -0
- package/dist/actions/create-note.mjs +27 -0
- package/dist/actions/create-note.mjs.map +1 -0
- package/dist/actions/delete-note-by-id.cjs +19 -0
- package/dist/actions/delete-note-by-id.cjs.map +1 -0
- package/dist/actions/delete-note-by-id.d.cts +9 -0
- package/dist/actions/delete-note-by-id.d.cts.map +1 -0
- package/dist/actions/delete-note-by-id.d.mts +9 -0
- package/dist/actions/delete-note-by-id.d.mts.map +1 -0
- package/dist/actions/delete-note-by-id.mjs +16 -0
- package/dist/actions/delete-note-by-id.mjs.map +1 -0
- package/dist/actions/flag-note-as-outdated.cjs +27 -0
- package/dist/actions/flag-note-as-outdated.cjs.map +1 -0
- package/dist/actions/flag-note-as-outdated.d.cts +9 -0
- package/dist/actions/flag-note-as-outdated.d.cts.map +1 -0
- package/dist/actions/flag-note-as-outdated.d.mts +9 -0
- package/dist/actions/flag-note-as-outdated.d.mts.map +1 -0
- package/dist/actions/flag-note-as-outdated.mjs +24 -0
- package/dist/actions/flag-note-as-outdated.mjs.map +1 -0
- package/dist/actions/get-authenticated-user.cjs +21 -0
- package/dist/actions/get-authenticated-user.cjs.map +1 -0
- package/dist/actions/get-authenticated-user.d.cts +9 -0
- package/dist/actions/get-authenticated-user.d.cts.map +1 -0
- package/dist/actions/get-authenticated-user.d.mts +9 -0
- package/dist/actions/get-authenticated-user.d.mts.map +1 -0
- package/dist/actions/get-authenticated-user.mjs +18 -0
- package/dist/actions/get-authenticated-user.mjs.map +1 -0
- package/dist/actions/get-note-by-id.cjs +34 -0
- package/dist/actions/get-note-by-id.cjs.map +1 -0
- package/dist/actions/get-note-by-id.d.cts +9 -0
- package/dist/actions/get-note-by-id.d.cts.map +1 -0
- package/dist/actions/get-note-by-id.d.mts +9 -0
- package/dist/actions/get-note-by-id.d.mts.map +1 -0
- package/dist/actions/get-note-by-id.mjs +31 -0
- package/dist/actions/get-note-by-id.mjs.map +1 -0
- package/dist/actions/get-note-children.cjs +40 -0
- package/dist/actions/get-note-children.cjs.map +1 -0
- package/dist/actions/get-note-children.d.cts +9 -0
- package/dist/actions/get-note-children.d.cts.map +1 -0
- package/dist/actions/get-note-children.d.mts +9 -0
- package/dist/actions/get-note-children.d.mts.map +1 -0
- package/dist/actions/get-note-children.mjs +39 -0
- package/dist/actions/get-note-children.mjs.map +1 -0
- package/dist/actions/index.cjs +33 -0
- package/dist/actions/index.d.cts +17 -0
- package/dist/actions/index.d.mts +17 -0
- package/dist/actions/index.mjs +17 -0
- package/dist/actions/list-notes.cjs +32 -0
- package/dist/actions/list-notes.cjs.map +1 -0
- package/dist/actions/list-notes.d.cts +9 -0
- package/dist/actions/list-notes.d.cts.map +1 -0
- package/dist/actions/list-notes.d.mts +9 -0
- package/dist/actions/list-notes.d.mts.map +1 -0
- package/dist/actions/list-notes.mjs +31 -0
- package/dist/actions/list-notes.mjs.map +1 -0
- package/dist/actions/search-groups.cjs +29 -0
- package/dist/actions/search-groups.cjs.map +1 -0
- package/dist/actions/search-groups.d.cts +9 -0
- package/dist/actions/search-groups.d.cts.map +1 -0
- package/dist/actions/search-groups.d.mts +9 -0
- package/dist/actions/search-groups.d.mts.map +1 -0
- package/dist/actions/search-groups.mjs +28 -0
- package/dist/actions/search-groups.mjs.map +1 -0
- package/dist/actions/search-notes.cjs +58 -0
- package/dist/actions/search-notes.cjs.map +1 -0
- package/dist/actions/search-notes.d.cts +9 -0
- package/dist/actions/search-notes.d.cts.map +1 -0
- package/dist/actions/search-notes.d.mts +9 -0
- package/dist/actions/search-notes.d.mts.map +1 -0
- package/dist/actions/search-notes.mjs +57 -0
- package/dist/actions/search-notes.mjs.map +1 -0
- package/dist/actions/search-users.cjs +33 -0
- package/dist/actions/search-users.cjs.map +1 -0
- package/dist/actions/search-users.d.cts +9 -0
- package/dist/actions/search-users.d.cts.map +1 -0
- package/dist/actions/search-users.d.mts +9 -0
- package/dist/actions/search-users.d.mts.map +1 -0
- package/dist/actions/search-users.mjs +32 -0
- package/dist/actions/search-users.mjs.map +1 -0
- package/dist/actions/update-note-archived-state.cjs +26 -0
- package/dist/actions/update-note-archived-state.cjs.map +1 -0
- package/dist/actions/update-note-archived-state.d.cts +9 -0
- package/dist/actions/update-note-archived-state.d.cts.map +1 -0
- package/dist/actions/update-note-archived-state.d.mts +9 -0
- package/dist/actions/update-note-archived-state.d.mts.map +1 -0
- package/dist/actions/update-note-archived-state.mjs +23 -0
- package/dist/actions/update-note-archived-state.mjs.map +1 -0
- package/dist/actions/update-note-owner.cjs +27 -0
- package/dist/actions/update-note-owner.cjs.map +1 -0
- package/dist/actions/update-note-owner.d.cts +9 -0
- package/dist/actions/update-note-owner.d.cts.map +1 -0
- package/dist/actions/update-note-owner.d.mts +9 -0
- package/dist/actions/update-note-owner.d.mts.map +1 -0
- package/dist/actions/update-note-owner.mjs +24 -0
- package/dist/actions/update-note-owner.mjs.map +1 -0
- package/dist/actions/update-note.cjs +32 -0
- package/dist/actions/update-note.cjs.map +1 -0
- package/dist/actions/update-note.d.cts +9 -0
- package/dist/actions/update-note.d.cts.map +1 -0
- package/dist/actions/update-note.d.mts +9 -0
- package/dist/actions/update-note.d.mts.map +1 -0
- package/dist/actions/update-note.mjs +29 -0
- package/dist/actions/update-note.mjs.map +1 -0
- package/dist/actions/update-tile.cjs +27 -0
- package/dist/actions/update-tile.cjs.map +1 -0
- package/dist/actions/update-tile.d.cts +9 -0
- package/dist/actions/update-tile.d.cts.map +1 -0
- package/dist/actions/update-tile.d.mts +9 -0
- package/dist/actions/update-tile.d.mts.map +1 -0
- package/dist/actions/update-tile.mjs +24 -0
- package/dist/actions/update-tile.mjs.map +1 -0
- package/dist/actions/verify-note.cjs +29 -0
- package/dist/actions/verify-note.cjs.map +1 -0
- package/dist/actions/verify-note.d.cts +9 -0
- package/dist/actions/verify-note.d.cts.map +1 -0
- package/dist/actions/verify-note.d.mts +9 -0
- package/dist/actions/verify-note.d.mts.map +1 -0
- package/dist/actions/verify-note.mjs +26 -0
- package/dist/actions/verify-note.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +38 -0
- package/dist/index.d.cts +19 -0
- package/dist/index.d.mts +19 -0
- package/dist/index.mjs +20 -0
- package/package.json +49 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sliteUpdateTile = action("SLITE_UPDATE_TILE", {
|
|
4
|
+
slug: "slite-update-tile",
|
|
5
|
+
name: "Update Tile in Note",
|
|
6
|
+
description: "Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
url: z.string().describe("The tile can be linked to an external URL").optional(),
|
|
9
|
+
title: z.string().describe("Title of the tile").optional(),
|
|
10
|
+
noteId: z.string().describe("Note id containing the tile id"),
|
|
11
|
+
status: z.object({
|
|
12
|
+
label: z.string().describe("Content of the status"),
|
|
13
|
+
colorHex: z.string().describe("Hex color code for the status (e.g., #FF5733)").optional()
|
|
14
|
+
}).describe("Status object for the tile.").optional(),
|
|
15
|
+
tileId: z.string().describe("Tile id to update"),
|
|
16
|
+
content: z.string().describe("The content of the tile. Can be in markdown format.").optional(),
|
|
17
|
+
iconURL: z.string().describe("Icon URL to show in the tile").optional()
|
|
18
|
+
}).describe("Request model for updating a tile in a Slite note."),
|
|
19
|
+
output: z.object({ url: z.string().describe("Direct url of the tile in the note") }).describe("Response model for update tile action.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { sliteUpdateTile };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=update-tile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-tile.mjs","names":[],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateTileInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The tile can be linked to an external URL\").optional(),\n title: z.string().describe(\"Title of the tile\").optional(),\n noteId: z.string().describe(\"Note id containing the tile id\"),\n status: z.object({\n label: z.string().describe(\"Content of the status\"),\n colorHex: z.string().describe(\"Hex color code for the status (e.g., #FF5733)\").optional(),\n}).describe(\"Status object for the tile.\").optional(),\n tileId: z.string().describe(\"Tile id to update\"),\n content: z.string().describe(\"The content of the tile. Can be in markdown format.\").optional(),\n iconURL: z.string().describe(\"Icon URL to show in the tile\").optional(),\n}).describe(\"Request model for updating a tile in a Slite note.\");\nexport const SliteUpdateTileOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Direct url of the tile in the note\"),\n}).describe(\"Response model for update tile action.\");\n\nexport const sliteUpdateTile = action(\"SLITE_UPDATE_TILE\", {\n slug: \"slite-update-tile\",\n name: \"Update Tile in Note\",\n description: \"Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.\",\n input: SliteUpdateTileInput,\n output: SliteUpdateTileOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,QAAQ,EAAE,OAAO;GACjB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QATiD,EAAE,OAAO,EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAC/D,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/verify-note.ts
|
|
4
|
+
const SliteVerifyNoteInput = zod.z.object({
|
|
5
|
+
until: zod.z.string().describe("Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.").optional(),
|
|
6
|
+
noteId: zod.z.string().describe("Note id to update")
|
|
7
|
+
}).describe("Request model for verifying a note with optional expiration.");
|
|
8
|
+
const SliteVerifyNoteOutput = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Id of the note"),
|
|
10
|
+
url: zod.z.string().describe("Url to the note"),
|
|
11
|
+
title: zod.z.string().describe("Title of the note"),
|
|
12
|
+
columns: zod.z.array(zod.z.string()).describe("If note is in a collection, it will contain its column names").nullable().optional(),
|
|
13
|
+
updatedAt: zod.z.string().describe("Date of the last update of the note"),
|
|
14
|
+
archivedAt: zod.z.string().describe("Date of the archiving of the note (null if not archived)").nullable().optional(),
|
|
15
|
+
attributes: zod.z.array(zod.z.string()).describe("If note is in a collection, it will contain its attributes ordered by column").nullable().optional(),
|
|
16
|
+
reviewState: zod.z.string().describe("Review state of the note - Verified, Outdated or VerificationRequested").nullable().optional(),
|
|
17
|
+
parentNoteId: zod.z.string().describe("Parent note id of the current note. It can be null if it's a root note.").nullable().optional()
|
|
18
|
+
}).describe("Response model for a verified note containing note details.");
|
|
19
|
+
const sliteVerifyNote = require_action.action("SLITE_VERIFY_NOTE", {
|
|
20
|
+
slug: "slite-verify-note",
|
|
21
|
+
name: "Verify Note",
|
|
22
|
+
description: "Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.",
|
|
23
|
+
input: SliteVerifyNoteInput,
|
|
24
|
+
output: SliteVerifyNoteOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.sliteVerifyNote = sliteVerifyNote;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=verify-note.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-note.cjs","names":["z","action"],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput: z.ZodTypeAny = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note\"),\n url: z.string().describe(\"Url to the note\"),\n title: z.string().describe(\"Title of the note\"),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\"),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/verify-note.d.ts
|
|
4
|
+
declare const SliteVerifyNoteInput: z.ZodTypeAny;
|
|
5
|
+
declare const SliteVerifyNoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sliteVerifyNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sliteVerifyNote };
|
|
9
|
+
//# sourceMappingURL=verify-note.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-note.d.cts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGsC;AAAA,cAC9D,qBAAA,EAAuB,CAAA,CAAE,UAUoC;AAAA,cAE7D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/verify-note.d.ts
|
|
4
|
+
declare const SliteVerifyNoteInput: z.ZodTypeAny;
|
|
5
|
+
declare const SliteVerifyNoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const sliteVerifyNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { sliteVerifyNote };
|
|
9
|
+
//# sourceMappingURL=verify-note.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-note.d.mts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGsC;AAAA,cAC9D,qBAAA,EAAuB,CAAA,CAAE,UAUoC;AAAA,cAE7D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const sliteVerifyNote = action("SLITE_VERIFY_NOTE", {
|
|
4
|
+
slug: "slite-verify-note",
|
|
5
|
+
name: "Verify Note",
|
|
6
|
+
description: "Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
until: z.string().describe("Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.").optional(),
|
|
9
|
+
noteId: z.string().describe("Note id to update")
|
|
10
|
+
}).describe("Request model for verifying a note with optional expiration."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("Id of the note"),
|
|
13
|
+
url: z.string().describe("Url to the note"),
|
|
14
|
+
title: z.string().describe("Title of the note"),
|
|
15
|
+
columns: z.array(z.string()).describe("If note is in a collection, it will contain its column names").nullable().optional(),
|
|
16
|
+
updatedAt: z.string().describe("Date of the last update of the note"),
|
|
17
|
+
archivedAt: z.string().describe("Date of the archiving of the note (null if not archived)").nullable().optional(),
|
|
18
|
+
attributes: z.array(z.string()).describe("If note is in a collection, it will contain its attributes ordered by column").nullable().optional(),
|
|
19
|
+
reviewState: z.string().describe("Review state of the note - Verified, Outdated or VerificationRequested").nullable().optional(),
|
|
20
|
+
parentNoteId: z.string().describe("Parent note id of the current note. It can be null if it's a root note.").nullable().optional()
|
|
21
|
+
}).describe("Response model for a verified note containing note details.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { sliteVerifyNote };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=verify-note.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-note.mjs","names":[],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput: z.ZodTypeAny = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Id of the note\"),\n url: z.string().describe(\"Url to the note\"),\n title: z.string().describe(\"Title of the note\"),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\"),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgD,EAAE,OAAO;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC9C,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const slite = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const slite = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const sliteCatalog = {
|
|
4
|
+
"slug": "slite",
|
|
5
|
+
"name": "Slite",
|
|
6
|
+
"description": "Your company knowledge base, on autopilot",
|
|
7
|
+
"category": "Documents",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/slite",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.sliteCatalog = sliteCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sliteCatalog = {\n \"slug\": \"slite\",\n \"name\": \"Slite\",\n \"description\": \"Your company knowledge base, on autopilot\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/slite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const sliteCatalog: {
|
|
4
|
+
readonly slug: "slite";
|
|
5
|
+
readonly name: "Slite";
|
|
6
|
+
readonly description: "Your company knowledge base, on autopilot";
|
|
7
|
+
readonly category: "Documents";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/slite";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sliteCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const sliteCatalog: {
|
|
4
|
+
readonly slug: "slite";
|
|
5
|
+
readonly name: "Slite";
|
|
6
|
+
readonly description: "Your company knowledge base, on autopilot";
|
|
7
|
+
readonly category: "Documents";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/slite";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sliteCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const sliteCatalog = {
|
|
4
|
+
"slug": "slite",
|
|
5
|
+
"name": "Slite",
|
|
6
|
+
"description": "Your company knowledge base, on autopilot",
|
|
7
|
+
"category": "Documents",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/slite",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { sliteCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sliteCatalog = {\n \"slug\": \"slite\",\n \"name\": \"Slite\",\n \"description\": \"Your company knowledge base, on autopilot\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/slite\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "slite";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSliteTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeSliteTool = executeSliteTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"slite\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSliteTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "slite";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSliteTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeSliteTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"slite\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSliteTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_ask_question = require("./actions/ask-question.cjs");
|
|
5
|
+
const require_create_note = require("./actions/create-note.cjs");
|
|
6
|
+
const require_delete_note_by_id = require("./actions/delete-note-by-id.cjs");
|
|
7
|
+
const require_flag_note_as_outdated = require("./actions/flag-note-as-outdated.cjs");
|
|
8
|
+
const require_get_authenticated_user = require("./actions/get-authenticated-user.cjs");
|
|
9
|
+
const require_get_note_by_id = require("./actions/get-note-by-id.cjs");
|
|
10
|
+
const require_get_note_children = require("./actions/get-note-children.cjs");
|
|
11
|
+
const require_list_notes = require("./actions/list-notes.cjs");
|
|
12
|
+
const require_search_groups = require("./actions/search-groups.cjs");
|
|
13
|
+
const require_search_notes = require("./actions/search-notes.cjs");
|
|
14
|
+
const require_search_users = require("./actions/search-users.cjs");
|
|
15
|
+
const require_update_note = require("./actions/update-note.cjs");
|
|
16
|
+
const require_update_note_archived_state = require("./actions/update-note-archived-state.cjs");
|
|
17
|
+
const require_update_note_owner = require("./actions/update-note-owner.cjs");
|
|
18
|
+
const require_update_tile = require("./actions/update-tile.cjs");
|
|
19
|
+
const require_verify_note = require("./actions/verify-note.cjs");
|
|
20
|
+
require("./actions/index.cjs");
|
|
21
|
+
exports.slite = require_app.slite;
|
|
22
|
+
exports.sliteAskQuestion = require_ask_question.sliteAskQuestion;
|
|
23
|
+
exports.sliteCatalog = require_catalog.sliteCatalog;
|
|
24
|
+
exports.sliteCreateNote = require_create_note.sliteCreateNote;
|
|
25
|
+
exports.sliteDeleteNoteById = require_delete_note_by_id.sliteDeleteNoteById;
|
|
26
|
+
exports.sliteFlagNoteAsOutdated = require_flag_note_as_outdated.sliteFlagNoteAsOutdated;
|
|
27
|
+
exports.sliteGetAuthenticatedUser = require_get_authenticated_user.sliteGetAuthenticatedUser;
|
|
28
|
+
exports.sliteGetNoteById = require_get_note_by_id.sliteGetNoteById;
|
|
29
|
+
exports.sliteGetNoteChildren = require_get_note_children.sliteGetNoteChildren;
|
|
30
|
+
exports.sliteListNotes = require_list_notes.sliteListNotes;
|
|
31
|
+
exports.sliteSearchGroups = require_search_groups.sliteSearchGroups;
|
|
32
|
+
exports.sliteSearchNotes = require_search_notes.sliteSearchNotes;
|
|
33
|
+
exports.sliteSearchUsers = require_search_users.sliteSearchUsers;
|
|
34
|
+
exports.sliteUpdateNote = require_update_note.sliteUpdateNote;
|
|
35
|
+
exports.sliteUpdateNoteArchivedState = require_update_note_archived_state.sliteUpdateNoteArchivedState;
|
|
36
|
+
exports.sliteUpdateNoteOwner = require_update_note_owner.sliteUpdateNoteOwner;
|
|
37
|
+
exports.sliteUpdateTile = require_update_tile.sliteUpdateTile;
|
|
38
|
+
exports.sliteVerifyNote = require_verify_note.sliteVerifyNote;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { sliteAskQuestion } from "./actions/ask-question.cjs";
|
|
2
|
+
import { sliteCreateNote } from "./actions/create-note.cjs";
|
|
3
|
+
import { sliteDeleteNoteById } from "./actions/delete-note-by-id.cjs";
|
|
4
|
+
import { sliteFlagNoteAsOutdated } from "./actions/flag-note-as-outdated.cjs";
|
|
5
|
+
import { sliteGetAuthenticatedUser } from "./actions/get-authenticated-user.cjs";
|
|
6
|
+
import { sliteGetNoteById } from "./actions/get-note-by-id.cjs";
|
|
7
|
+
import { sliteGetNoteChildren } from "./actions/get-note-children.cjs";
|
|
8
|
+
import { sliteListNotes } from "./actions/list-notes.cjs";
|
|
9
|
+
import { sliteSearchGroups } from "./actions/search-groups.cjs";
|
|
10
|
+
import { sliteSearchNotes } from "./actions/search-notes.cjs";
|
|
11
|
+
import { sliteSearchUsers } from "./actions/search-users.cjs";
|
|
12
|
+
import { sliteUpdateNote } from "./actions/update-note.cjs";
|
|
13
|
+
import { sliteUpdateNoteArchivedState } from "./actions/update-note-archived-state.cjs";
|
|
14
|
+
import { sliteUpdateNoteOwner } from "./actions/update-note-owner.cjs";
|
|
15
|
+
import { sliteUpdateTile } from "./actions/update-tile.cjs";
|
|
16
|
+
import { sliteVerifyNote } from "./actions/verify-note.cjs";
|
|
17
|
+
import { slite } from "./app.cjs";
|
|
18
|
+
import { sliteCatalog } from "./catalog.cjs";
|
|
19
|
+
export { slite, sliteAskQuestion, sliteCatalog, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { sliteAskQuestion } from "./actions/ask-question.mjs";
|
|
2
|
+
import { sliteCreateNote } from "./actions/create-note.mjs";
|
|
3
|
+
import { sliteDeleteNoteById } from "./actions/delete-note-by-id.mjs";
|
|
4
|
+
import { sliteFlagNoteAsOutdated } from "./actions/flag-note-as-outdated.mjs";
|
|
5
|
+
import { sliteGetAuthenticatedUser } from "./actions/get-authenticated-user.mjs";
|
|
6
|
+
import { sliteGetNoteById } from "./actions/get-note-by-id.mjs";
|
|
7
|
+
import { sliteGetNoteChildren } from "./actions/get-note-children.mjs";
|
|
8
|
+
import { sliteListNotes } from "./actions/list-notes.mjs";
|
|
9
|
+
import { sliteSearchGroups } from "./actions/search-groups.mjs";
|
|
10
|
+
import { sliteSearchNotes } from "./actions/search-notes.mjs";
|
|
11
|
+
import { sliteSearchUsers } from "./actions/search-users.mjs";
|
|
12
|
+
import { sliteUpdateNote } from "./actions/update-note.mjs";
|
|
13
|
+
import { sliteUpdateNoteArchivedState } from "./actions/update-note-archived-state.mjs";
|
|
14
|
+
import { sliteUpdateNoteOwner } from "./actions/update-note-owner.mjs";
|
|
15
|
+
import { sliteUpdateTile } from "./actions/update-tile.mjs";
|
|
16
|
+
import { sliteVerifyNote } from "./actions/verify-note.mjs";
|
|
17
|
+
import { slite } from "./app.mjs";
|
|
18
|
+
import { sliteCatalog } from "./catalog.mjs";
|
|
19
|
+
export { slite, sliteAskQuestion, sliteCatalog, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { slite } from "./app.mjs";
|
|
2
|
+
import { sliteCatalog } from "./catalog.mjs";
|
|
3
|
+
import { sliteAskQuestion } from "./actions/ask-question.mjs";
|
|
4
|
+
import { sliteCreateNote } from "./actions/create-note.mjs";
|
|
5
|
+
import { sliteDeleteNoteById } from "./actions/delete-note-by-id.mjs";
|
|
6
|
+
import { sliteFlagNoteAsOutdated } from "./actions/flag-note-as-outdated.mjs";
|
|
7
|
+
import { sliteGetAuthenticatedUser } from "./actions/get-authenticated-user.mjs";
|
|
8
|
+
import { sliteGetNoteById } from "./actions/get-note-by-id.mjs";
|
|
9
|
+
import { sliteGetNoteChildren } from "./actions/get-note-children.mjs";
|
|
10
|
+
import { sliteListNotes } from "./actions/list-notes.mjs";
|
|
11
|
+
import { sliteSearchGroups } from "./actions/search-groups.mjs";
|
|
12
|
+
import { sliteSearchNotes } from "./actions/search-notes.mjs";
|
|
13
|
+
import { sliteSearchUsers } from "./actions/search-users.mjs";
|
|
14
|
+
import { sliteUpdateNote } from "./actions/update-note.mjs";
|
|
15
|
+
import { sliteUpdateNoteArchivedState } from "./actions/update-note-archived-state.mjs";
|
|
16
|
+
import { sliteUpdateNoteOwner } from "./actions/update-note-owner.mjs";
|
|
17
|
+
import { sliteUpdateTile } from "./actions/update-tile.mjs";
|
|
18
|
+
import { sliteVerifyNote } from "./actions/verify-note.mjs";
|
|
19
|
+
import "./actions/index.mjs";
|
|
20
|
+
export { slite, sliteAskQuestion, sliteCatalog, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/slite",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/slite"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|