@keystrokehq/slite 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/ask-question.cjs +1 -0
  4. package/dist/actions/ask-question.cjs.map +1 -1
  5. package/dist/actions/ask-question.d.cts +3 -5
  6. package/dist/actions/ask-question.d.cts.map +1 -1
  7. package/dist/actions/ask-question.d.mts +3 -5
  8. package/dist/actions/ask-question.d.mts.map +1 -1
  9. package/dist/actions/ask-question.mjs +1 -0
  10. package/dist/actions/ask-question.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +1 -0
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +3 -8
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +3 -8
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +1 -0
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/delete-note-by-id.cjs +1 -0
  20. package/dist/actions/delete-note-by-id.cjs.map +1 -1
  21. package/dist/actions/delete-note-by-id.d.cts +3 -3
  22. package/dist/actions/delete-note-by-id.d.cts.map +1 -1
  23. package/dist/actions/delete-note-by-id.d.mts +3 -3
  24. package/dist/actions/delete-note-by-id.d.mts.map +1 -1
  25. package/dist/actions/delete-note-by-id.mjs +1 -0
  26. package/dist/actions/delete-note-by-id.mjs.map +1 -1
  27. package/dist/actions/flag-note-as-outdated.cjs +1 -0
  28. package/dist/actions/flag-note-as-outdated.cjs.map +1 -1
  29. package/dist/actions/flag-note-as-outdated.d.cts +3 -4
  30. package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
  31. package/dist/actions/flag-note-as-outdated.d.mts +3 -4
  32. package/dist/actions/flag-note-as-outdated.d.mts.map +1 -1
  33. package/dist/actions/flag-note-as-outdated.mjs +1 -0
  34. package/dist/actions/flag-note-as-outdated.mjs.map +1 -1
  35. package/dist/actions/get-authenticated-user.cjs +1 -0
  36. package/dist/actions/get-authenticated-user.cjs.map +1 -1
  37. package/dist/actions/get-authenticated-user.d.cts +3 -1
  38. package/dist/actions/get-authenticated-user.d.cts.map +1 -1
  39. package/dist/actions/get-authenticated-user.d.mts +3 -1
  40. package/dist/actions/get-authenticated-user.d.mts.map +1 -1
  41. package/dist/actions/get-authenticated-user.mjs +1 -0
  42. package/dist/actions/get-authenticated-user.mjs.map +1 -1
  43. package/dist/actions/get-note-by-id.cjs +1 -0
  44. package/dist/actions/get-note-by-id.cjs.map +1 -1
  45. package/dist/actions/get-note-by-id.d.cts +3 -4
  46. package/dist/actions/get-note-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-note-by-id.d.mts +3 -4
  48. package/dist/actions/get-note-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-note-by-id.mjs +1 -0
  50. package/dist/actions/get-note-by-id.mjs.map +1 -1
  51. package/dist/actions/get-note-children.cjs +1 -0
  52. package/dist/actions/get-note-children.cjs.map +1 -1
  53. package/dist/actions/get-note-children.d.cts +3 -4
  54. package/dist/actions/get-note-children.d.cts.map +1 -1
  55. package/dist/actions/get-note-children.d.mts +3 -4
  56. package/dist/actions/get-note-children.d.mts.map +1 -1
  57. package/dist/actions/get-note-children.mjs +1 -0
  58. package/dist/actions/get-note-children.mjs.map +1 -1
  59. package/dist/actions/list-notes.cjs +1 -0
  60. package/dist/actions/list-notes.cjs.map +1 -1
  61. package/dist/actions/list-notes.d.cts +3 -4
  62. package/dist/actions/list-notes.d.cts.map +1 -1
  63. package/dist/actions/list-notes.d.mts +3 -4
  64. package/dist/actions/list-notes.d.mts.map +1 -1
  65. package/dist/actions/list-notes.mjs +1 -0
  66. package/dist/actions/list-notes.mjs.map +1 -1
  67. package/dist/actions/search-groups.cjs +1 -0
  68. package/dist/actions/search-groups.cjs.map +1 -1
  69. package/dist/actions/search-groups.d.cts +3 -4
  70. package/dist/actions/search-groups.d.cts.map +1 -1
  71. package/dist/actions/search-groups.d.mts +3 -4
  72. package/dist/actions/search-groups.d.mts.map +1 -1
  73. package/dist/actions/search-groups.mjs +1 -0
  74. package/dist/actions/search-groups.mjs.map +1 -1
  75. package/dist/actions/search-notes.cjs +1 -0
  76. package/dist/actions/search-notes.cjs.map +1 -1
  77. package/dist/actions/search-notes.d.cts +3 -12
  78. package/dist/actions/search-notes.d.cts.map +1 -1
  79. package/dist/actions/search-notes.d.mts +3 -12
  80. package/dist/actions/search-notes.d.mts.map +1 -1
  81. package/dist/actions/search-notes.mjs +1 -0
  82. package/dist/actions/search-notes.mjs.map +1 -1
  83. package/dist/actions/search-users.cjs +1 -0
  84. package/dist/actions/search-users.cjs.map +1 -1
  85. package/dist/actions/search-users.d.cts +3 -5
  86. package/dist/actions/search-users.d.cts.map +1 -1
  87. package/dist/actions/search-users.d.mts +3 -5
  88. package/dist/actions/search-users.d.mts.map +1 -1
  89. package/dist/actions/search-users.mjs +1 -0
  90. package/dist/actions/search-users.mjs.map +1 -1
  91. package/dist/actions/update-note-archived-state.cjs +1 -0
  92. package/dist/actions/update-note-archived-state.cjs.map +1 -1
  93. package/dist/actions/update-note-archived-state.d.cts +3 -4
  94. package/dist/actions/update-note-archived-state.d.cts.map +1 -1
  95. package/dist/actions/update-note-archived-state.d.mts +3 -4
  96. package/dist/actions/update-note-archived-state.d.mts.map +1 -1
  97. package/dist/actions/update-note-archived-state.mjs +1 -0
  98. package/dist/actions/update-note-archived-state.mjs.map +1 -1
  99. package/dist/actions/update-note-owner.cjs +1 -0
  100. package/dist/actions/update-note-owner.cjs.map +1 -1
  101. package/dist/actions/update-note-owner.d.cts +3 -5
  102. package/dist/actions/update-note-owner.d.cts.map +1 -1
  103. package/dist/actions/update-note-owner.d.mts +3 -5
  104. package/dist/actions/update-note-owner.d.mts.map +1 -1
  105. package/dist/actions/update-note-owner.mjs +1 -0
  106. package/dist/actions/update-note-owner.mjs.map +1 -1
  107. package/dist/actions/update-note.cjs +1 -0
  108. package/dist/actions/update-note.cjs.map +1 -1
  109. package/dist/actions/update-note.d.cts +3 -7
  110. package/dist/actions/update-note.d.cts.map +1 -1
  111. package/dist/actions/update-note.d.mts +3 -7
  112. package/dist/actions/update-note.d.mts.map +1 -1
  113. package/dist/actions/update-note.mjs +1 -0
  114. package/dist/actions/update-note.mjs.map +1 -1
  115. package/dist/actions/update-tile.cjs +1 -0
  116. package/dist/actions/update-tile.cjs.map +1 -1
  117. package/dist/actions/update-tile.d.cts +3 -12
  118. package/dist/actions/update-tile.d.cts.map +1 -1
  119. package/dist/actions/update-tile.d.mts +3 -12
  120. package/dist/actions/update-tile.d.mts.map +1 -1
  121. package/dist/actions/update-tile.mjs +1 -0
  122. package/dist/actions/update-tile.mjs.map +1 -1
  123. package/dist/actions/verify-note.cjs +1 -0
  124. package/dist/actions/verify-note.cjs.map +1 -1
  125. package/dist/actions/verify-note.d.cts +3 -4
  126. package/dist/actions/verify-note.d.cts.map +1 -1
  127. package/dist/actions/verify-note.d.mts +3 -4
  128. package/dist/actions/verify-note.d.mts.map +1 -1
  129. package/dist/actions/verify-note.mjs +1 -0
  130. package/dist/actions/verify-note.mjs.map +1 -1
  131. package/dist/app.cjs +5 -2
  132. package/dist/app.cjs.map +1 -1
  133. package/dist/app.d.cts +7 -1
  134. package/dist/app.d.cts.map +1 -1
  135. package/dist/app.d.mts +7 -1
  136. package/dist/app.d.mts.map +1 -1
  137. package/dist/app.mjs +3 -2
  138. package/dist/app.mjs.map +1 -1
  139. package/dist/index.d.cts +1 -1
  140. package/dist/index.d.mts +1 -1
  141. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-note-children.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-children.cjs","names":["z","action"],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CA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,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
+ {"version":3,"file":"get-note-children.cjs","names":["z","action"],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren: AppAction<\n typeof SliteGetNoteChildrenInput,\n typeof SliteGetNoteChildrenOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,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CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-note-children.d.ts
@@ -21,10 +23,7 @@ declare const SliteGetNoteChildrenOutput: z.ZodObject<{
21
23
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
23
25
  }, z.core.$loose>;
24
- declare const sliteGetNoteChildren: 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]>;
26
+ declare const sliteGetNoteChildren: AppAction<typeof SliteGetNoteChildrenInput, typeof SliteGetNoteChildrenOutput, typeof slite.credential>;
28
27
  //#endregion
29
28
  export { sliteGetNoteChildren };
30
29
  //# sourceMappingURL=get-note-children.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-children.d.cts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-note-children.d.cts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-note-children.d.ts
@@ -21,10 +23,7 @@ declare const SliteGetNoteChildrenOutput: z.ZodObject<{
21
23
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
23
25
  }, z.core.$loose>;
24
- declare const sliteGetNoteChildren: 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]>;
26
+ declare const sliteGetNoteChildren: AppAction<typeof SliteGetNoteChildrenInput, typeof SliteGetNoteChildrenOutput, typeof slite.credential>;
28
27
  //#endregion
29
28
  export { sliteGetNoteChildren };
30
29
  //# sourceMappingURL=get-note-children.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-children.d.mts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-note-children.d.mts","names":[],"sources":["../../src/actions/get-note-children.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-note-children.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-note-children.mjs","names":[],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+B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B,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"}
1
+ {"version":3,"file":"get-note-children.mjs","names":[],"sources":["../../src/actions/get-note-children.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteGetNoteChildrenInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching the note children. Only used if current note has more than 50 children\").optional(),\n noteId: z.string().describe(\"Note ID to fetch its children\"),\n}).describe(\"Request model for retrieving note children by parent note ID.\");\nconst SliteGetNoteChildren_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier\").nullable(),\n url: z.string().describe(\"Note URL\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n columns: z.array(z.string()).describe(\"Collection column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp or null if active\").nullable().optional(),\n attributes: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable()).describe(\"Collection row attributes\").nullable().optional(),\n reviewState: z.string().describe(\"Verification status - 'Verified', 'Outdated', or 'VerificationRequested'\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note's identifier\").nullable().optional(),\n}).passthrough().describe(\"Model representing a note object.\");\nexport const SliteGetNoteChildrenOutput = z.object({\n notes: z.array(SliteGetNoteChildren_NoteSchema).describe(\"Collection of note objects\"),\n total: z.number().int().describe(\"Total number of children\").nullable(),\n nextCursor: z.string().describe(\"Next cursor to continue fetching the paginated children\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates if there is another page to fetch\").nullable(),\n}).passthrough().describe(\"Response model for paginated note children.\");\n\nexport const sliteGetNoteChildren: AppAction<\n typeof SliteGetNoteChildrenInput,\n typeof SliteGetNoteChildrenOutput,\n typeof slite.credential\n> = action(\"SLITE_GET_NOTE_CHILDREN\", {\n slug: \"slite-get-note-children\",\n name: \"Get Note Children\",\n description: \"Tool to retrieve note children by parent note ID. Use when you need to fetch child notes beneath a specified parent note. Supports pagination for notes with more than 50 children using cursor-based navigation.\",\n input: SliteGetNoteChildrenInput,\n output: SliteGetNoteChildrenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC7D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBwC,EAAE,OAAO;EACjD,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,4BAA4B;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-notes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;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
+ {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes: AppAction<\n typeof SliteListNotesInput,\n typeof SliteListNotesOutput,\n typeof slite.credential\n> = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-notes.d.ts
@@ -18,10 +20,7 @@ declare const SliteListNotesOutput: z.ZodObject<{
18
20
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
20
22
  }, z.core.$loose>;
21
- declare const sliteListNotes: 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]>;
23
+ declare const sliteListNotes: AppAction<typeof SliteListNotesInput, typeof SliteListNotesOutput, typeof slite.credential>;
25
24
  //#endregion
26
25
  export { sliteListNotes };
27
26
  //# sourceMappingURL=list-notes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-notes.d.ts
@@ -18,10 +20,7 @@ declare const SliteListNotesOutput: z.ZodObject<{
18
20
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
20
22
  }, z.core.$loose>;
21
- declare const sliteListNotes: 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]>;
23
+ declare const sliteListNotes: AppAction<typeof SliteListNotesInput, typeof SliteListNotesOutput, typeof slite.credential>;
25
24
  //#endregion
26
25
  export { sliteListNotes };
27
26
  //# sourceMappingURL=list-notes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-notes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAQ7E,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteListNotesInput = z.object({\n cursor: z.string().describe(\"Cursor to use to continue fetching notes for pagination. Use the nextCursor value from a previous response.\").optional(),\n ownerId: z.string().describe(\"User id to filter notes by owner. If not provided, returns all notes accessible to the authenticated user.\").optional(),\n}).describe(\"Request model for listing notes with optional filtering by owner.\");\nconst SliteListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Note identifier.\").nullable(),\n url: z.string().describe(\"Note URL.\").nullable(),\n title: z.string().describe(\"Note title.\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 date-time format.\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp in ISO 8601 date-time format, or null if not archived.\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note identifier.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single note in the response.\");\nexport const SliteListNotesOutput = z.object({\n notes: z.array(SliteListNotes_NoteSchema).describe(\"Array of Note objects matching the filter criteria.\"),\n total: z.number().describe(\"Total number of notes.\").nullable(),\n nextCursor: z.string().describe(\"Cursor to continue fetching the next page of notes, or null if no more pages exist.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Indicates whether there is another page to fetch.\").nullable(),\n}).passthrough().describe(\"Response model for listing notes with pagination information.\");\n\nexport const sliteListNotes: AppAction<\n typeof SliteListNotesInput,\n typeof SliteListNotesOutput,\n typeof slite.credential\n> = action(\"SLITE_LIST_NOTES\", {\n slug: \"slite-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes from Slite with optional filtering by owner. Use when you need to retrieve notes, optionally filtered by a specific user. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteListNotesInput,\n output: SliteListNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACpJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAQ7E,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBkC,EAAE,OAAO;EAC3C,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,qDAAqD;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-groups.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-groups.cjs","names":["z","action"],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-groups.cjs","names":["z","action"],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups: AppAction<\n typeof SliteSearchGroupsInput,\n typeof SliteSearchGroupsOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-groups.d.ts
@@ -15,10 +17,7 @@ declare const SliteSearchGroupsOutput: z.ZodObject<{
15
17
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
17
19
  }, z.core.$loose>;
18
- declare const sliteSearchGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- query: string;
20
- cursor?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const sliteSearchGroups: AppAction<typeof SliteSearchGroupsInput, typeof SliteSearchGroupsOutput, typeof slite.credential>;
22
21
  //#endregion
23
22
  export { sliteSearchGroups };
24
23
  //# sourceMappingURL=search-groups.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-groups.d.cts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"search-groups.d.cts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-groups.d.ts
@@ -15,10 +17,7 @@ declare const SliteSearchGroupsOutput: z.ZodObject<{
15
17
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
17
19
  }, z.core.$loose>;
18
- declare const sliteSearchGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- query: string;
20
- cursor?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const sliteSearchGroups: AppAction<typeof SliteSearchGroupsInput, typeof SliteSearchGroupsOutput, typeof slite.credential>;
22
21
  //#endregion
23
22
  export { sliteSearchGroups };
24
23
  //# sourceMappingURL=search-groups.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-groups.d.mts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"search-groups.d.mts","names":[],"sources":["../../src/actions/search-groups.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/search-groups.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-groups.mjs","names":[],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAQpE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"search-groups.mjs","names":[],"sources":["../../src/actions/search-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteSearchGroupsInput = z.object({\n query: z.string().describe(\"Search query to match against group names\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching groups for pagination\").optional(),\n}).describe(\"Request model for searching groups by name.\");\nconst SliteSearchGroups_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n description: z.string().describe(\"Description of the group\").nullable(),\n}).passthrough().describe(\"A group object containing group details.\");\nexport const SliteSearchGroupsOutput = z.object({\n total: z.number().describe(\"Total count of groups matching the query\").nullable(),\n groups: z.array(SliteSearchGroups_GroupSchema).describe(\"List of groups matching the search query\"),\n nextCursor: z.string().describe(\"Cursor for the next page, null if no more pages\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for searching groups.\");\n\nexport const sliteSearchGroups: AppAction<\n typeof SliteSearchGroupsInput,\n typeof SliteSearchGroupsOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_GROUPS\", {\n slug: \"slite-search-groups\",\n name: \"Search Groups\",\n description: \"Tool to search for groups by name in Slite. Use when you need to find groups matching a search query. Supports cursor-based pagination via the cursor parameter.\",\n input: SliteSearchGroupsInput,\n output: SliteSearchGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAQpE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,0CAA0C;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-notes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-notes.cjs","names":["z","action"],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",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AAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-notes.cjs","names":["z","action"],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes: AppAction<\n typeof SliteSearchNotesInput,\n typeof SliteSearchNotesOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAaA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AS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-notes.d.ts
@@ -43,18 +45,7 @@ declare const SliteSearchNotesOutput: z.ZodObject<{
43
45
  page: z.ZodNullable<z.ZodNumber>;
44
46
  nbPages: z.ZodNullable<z.ZodNumber>;
45
47
  }, z.core.$loose>;
46
- declare const sliteSearchNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- page?: number | undefined;
48
- depth?: number | undefined;
49
- query?: string | undefined;
50
- hitsPerPage?: number | undefined;
51
- reviewState?: "Verified" | "Outdated" | "VerificationRequested" | undefined;
52
- parentNoteId?: string | undefined;
53
- highlightPreTag?: string | undefined;
54
- includeArchived?: boolean | undefined;
55
- lastEditedAfter?: string | undefined;
56
- highlightPostTag?: string | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const sliteSearchNotes: AppAction<typeof SliteSearchNotesInput, typeof SliteSearchNotesOutput, typeof slite.credential>;
58
49
  //#endregion
59
50
  export { sliteSearchNotes };
60
51
  //# sourceMappingURL=search-notes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-notes.d.cts","names":[],"sources":["../../src/actions/search-notes.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA2BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"search-notes.d.cts","names":[],"sources":["../../src/actions/search-notes.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA2BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-notes.d.ts
@@ -43,18 +45,7 @@ declare const SliteSearchNotesOutput: z.ZodObject<{
43
45
  page: z.ZodNullable<z.ZodNumber>;
44
46
  nbPages: z.ZodNullable<z.ZodNumber>;
45
47
  }, z.core.$loose>;
46
- declare const sliteSearchNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- page?: number | undefined;
48
- depth?: number | undefined;
49
- query?: string | undefined;
50
- hitsPerPage?: number | undefined;
51
- reviewState?: "Verified" | "Outdated" | "VerificationRequested" | undefined;
52
- parentNoteId?: string | undefined;
53
- highlightPreTag?: string | undefined;
54
- includeArchived?: boolean | undefined;
55
- lastEditedAfter?: string | undefined;
56
- highlightPostTag?: string | undefined;
57
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const sliteSearchNotes: AppAction<typeof SliteSearchNotesInput, typeof SliteSearchNotesOutput, typeof slite.credential>;
58
49
  //#endregion
59
50
  export { sliteSearchNotes };
60
51
  //# sourceMappingURL=search-notes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-notes.d.mts","names":[],"sources":["../../src/actions/search-notes.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA2BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"search-notes.d.mts","names":[],"sources":["../../src/actions/search-notes.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA2BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/search-notes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-notes.mjs","names":[],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnI,k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b,OAAO;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"search-notes.mjs","names":[],"sources":["../../src/actions/search-notes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteSearchNotesInput = z.object({\n page: z.number().int().describe(\"Pagination control for results. Minimum value: 0.\").optional(),\n depth: z.number().int().describe(\"Filters results by note hierarchy level.\").optional(),\n query: z.string().describe(\"Search term for note lookup. Defaults to empty string if not provided.\").optional(),\n hitsPerPage: z.number().int().describe(\"Number of results per page. Range: 1-100.\").optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Filters by review status.\").optional(),\n parentNoteId: z.string().describe(\"Filters results to notes under a specific parent note.\").optional(),\n highlightPreTag: z.string().describe(\"Opening HTML/text tag for highlighting query matches in results.\").optional(),\n includeArchived: z.boolean().describe(\"When true, includes archived notes in results. Defaults to false.\").optional(),\n lastEditedAfter: z.string().describe(\"Returns only notes modified after the specified date (ISO 8601 date-time format).\").optional(),\n highlightPostTag: z.string().describe(\"Closing HTML/text tag for highlighting query matches in results.\").optional(),\n}).describe(\"Request model for searching notes.\");\nconst SliteSearchNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID\").nullable(),\n title: z.string().describe(\"Parent note title\").nullable(),\n}).passthrough().describe(\"Parent note in the breadcrumb hierarchy.\");\nconst SliteSearchNotes_SearchNoteHitSchema = z.object({\n id: z.string().describe(\"Unique note identifier\").nullable(),\n type: z.enum([\"rich_text\", \"discussion\", \"collection\"]).describe(\"Note type\").nullable(),\n title: z.string().describe(\"Note title\").nullable(),\n highlight: z.string().describe(\"Part of the note content that matched the query (empty string when only title matches)\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n archivedAt: z.string().describe(\"Archive timestamp if note is archived\").nullable().optional(),\n parentNotes: z.array(SliteSearchNotes_ParentNoteSchema).describe(\"Breadcrumb hierarchy of parent notes\").nullable().optional(),\n reviewState: z.enum([\"Verified\", \"Outdated\", \"VerificationRequested\"]).describe(\"Review status of the note\").nullable().optional(),\n lastEditedAt: z.string().describe(\"Last edit timestamp\").nullable(),\n}).passthrough().describe(\"A single search result hit.\");\nexport const SliteSearchNotesOutput = z.object({\n hits: z.array(SliteSearchNotes_SearchNoteHitSchema).describe(\"Array of matching notes\").nullable().optional(),\n page: z.number().describe(\"Current page number\").nullable(),\n nbPages: z.number().describe(\"Total number of pages available for the current query\").nullable(),\n}).passthrough().describe(\"Response model for search notes action.\");\n\nexport const sliteSearchNotes: AppAction<\n typeof SliteSearchNotesInput,\n typeof SliteSearchNotesOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_NOTES\", {\n slug: \"slite-search-notes\",\n name: \"Search Notes\",\n description: \"Tool to search notes based on a query with optional filters. Use when you need to find notes by search term, parent note, review state, or other criteria. Supports pagination and archived note inclusion.\",\n input: SliteSearchNotesInput,\n output: SliteSearchNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC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AE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,KAAK;EAAC;EAAY;EAAY;CAAuB,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-users.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.cjs","names":["z","action"],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-users.cjs","names":["z","action"],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers: AppAction<\n typeof SliteSearchUsersInput,\n typeof SliteSearchUsersOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAI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ions/search-users.d.ts
@@ -19,11 +21,7 @@ declare const SliteSearchUsersOutput: z.ZodObject<{
19
21
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
21
23
  }, z.core.$loose>;
22
- declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- query: string;
24
- cursor?: string | undefined;
25
- includeArchived?: boolean | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const sliteSearchUsers: AppAction<typeof SliteSearchUsersInput, typeof SliteSearchUsersOutput, typeof slite.credential>;
27
25
  //#endregion
28
26
  export { sliteSearchUsers };
29
27
  //# sourceMappingURL=search-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.d.cts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"search-users.d.cts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-users.d.ts
@@ -19,11 +21,7 @@ declare const SliteSearchUsersOutput: z.ZodObject<{
19
21
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  hasNextPage: z.ZodNullable<z.ZodBoolean>;
21
23
  }, z.core.$loose>;
22
- declare const sliteSearchUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- query: string;
24
- cursor?: string | undefined;
25
- includeArchived?: boolean | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const sliteSearchUsers: AppAction<typeof SliteSearchUsersInput, typeof SliteSearchUsersOutput, typeof slite.credential>;
27
25
  //#endregion
28
26
  export { sliteSearchUsers };
29
27
  //# sourceMappingURL=search-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.d.mts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"search-users.d.mts","names":[],"sources":["../../src/actions/search-users.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAarB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/search-users.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-users.mjs","names":[],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoC,EAAE,OAAO;EAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"search-users.mjs","names":[],"sources":["../../src/actions/search-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteSearchUsersInput = z.object({\n query: z.string().describe(\"Search query to match against user email and display name\"),\n cursor: z.string().describe(\"Cursor to use to continue fetching users for pagination. Used to retrieve the next page of results.\").optional(),\n includeArchived: z.boolean().describe(\"Include archived users in the search results. Defaults to false if not specified.\").optional(),\n}).describe(\"Request model for searching users by email, name, or username.\");\nconst SliteSearchUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique user identifier\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when user was archived, null if not archived\").nullable().optional(),\n displayName: z.string().describe(\"User's display name\").nullable(),\n organizationRole: z.string().describe(\"User's role in the organization\").nullable().optional(),\n}).passthrough().describe(\"Individual user object in the search results.\");\nexport const SliteSearchUsersOutput = z.object({\n total: z.number().int().describe(\"Total count of users matching the query\").nullable(),\n users: z.array(SliteSearchUsers_UserSchema).describe(\"List of users matching the query\"),\n nextCursor: z.string().describe(\"Cursor for retrieving the next page of results\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Response model for user search results with pagination.\");\n\nexport const sliteSearchUsers: AppAction<\n typeof SliteSearchUsersInput,\n typeof SliteSearchUsersOutput,\n typeof slite.credential\n> = action(\"SLITE_SEARCH_USERS\", {\n slug: \"slite-search-users\",\n name: \"Search Users\",\n description: \"Tool to search for users in Slite by email, name, or username. Use when you need to find users in the organization.\",\n input: SliteSearchUsersInput,\n output: SliteSearchUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5I,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBoC,EAAE,OAAO;EAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,kCAAkC;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-note-archived-state.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-note-archived-state.cjs","names":["z","action"],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-note-archived-state.cjs","names":["z","action"],"sources":["../../src/actions/update-note-archived-state.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteUpdateNoteArchivedStateInput = z.object({\n note_id: z.string().describe(\"The identifier of the note to modify\"),\n archived: z.boolean().describe(\"Set to true to archive the note, false to unarchive it\"),\n}).describe(\"Request model for updating a note's archived state.\");\nexport const SliteUpdateNoteArchivedStateOutput = z.object({\n id: z.string().describe(\"The note identifier\").nullable(),\n url: z.string().describe(\"The note URL\").nullable(),\n title: z.string().describe(\"The note title\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 date-time of last update\").nullable(),\n archivedAt: z.string().describe(\"ISO 8601 date-time when archived, or null if not archived\").nullable().optional(),\n parentNoteId: z.string().describe(\"Identifier of parent note if nested\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated note.\");\n\nexport const sliteUpdateNoteArchivedState: AppAction<\n typeof SliteUpdateNoteArchivedStateInput,\n typeof SliteUpdateNoteArchivedStateOutput,\n typeof slite.credential\n> = action(\"SLITE_UPDATE_NOTE_ARCHIVED_STATE\", {\n slug: \"slite-update-note-archived-state\",\n name: \"Update Note Archived State\",\n description: \"Tool to update the archived state of a note in Slite. Use when you need to archive or unarchive a note.\",\n input: SliteUpdateNoteArchivedStateInput,\n output: SliteUpdateNoteArchivedStateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;AACzF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-note-archived-state.d.ts
@@ -13,10 +15,7 @@ declare const SliteUpdateNoteArchivedStateOutput: z.ZodObject<{
13
15
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const sliteUpdateNoteArchivedState: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- note_id: string;
18
- archived: boolean;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const sliteUpdateNoteArchivedState: AppAction<typeof SliteUpdateNoteArchivedStateInput, typeof SliteUpdateNoteArchivedStateOutput, typeof slite.credential>;
20
19
  //#endregion
21
20
  export { sliteUpdateNoteArchivedState };
22
21
  //# sourceMappingURL=update-note-archived-state.d.cts.map