@keystrokehq/slite 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 -17
  6. package/dist/actions/ask-question.d.cts.map +1 -1
  7. package/dist/actions/ask-question.d.mts +3 -17
  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 -20
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +3 -20
  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 -15
  22. package/dist/actions/delete-note-by-id.d.cts.map +1 -1
  23. package/dist/actions/delete-note-by-id.d.mts +3 -15
  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 -16
  30. package/dist/actions/flag-note-as-outdated.d.cts.map +1 -1
  31. package/dist/actions/flag-note-as-outdated.d.mts +3 -16
  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 -13
  38. package/dist/actions/get-authenticated-user.d.cts.map +1 -1
  39. package/dist/actions/get-authenticated-user.d.mts +3 -13
  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 +4 -17
  46. package/dist/actions/get-note-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-note-by-id.d.mts +4 -17
  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 -16
  54. package/dist/actions/get-note-children.d.cts.map +1 -1
  55. package/dist/actions/get-note-children.d.mts +3 -16
  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 -16
  62. package/dist/actions/list-notes.d.cts.map +1 -1
  63. package/dist/actions/list-notes.d.mts +3 -16
  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 -16
  70. package/dist/actions/search-groups.d.cts.map +1 -1
  71. package/dist/actions/search-groups.d.mts +3 -16
  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 -24
  78. package/dist/actions/search-notes.d.cts.map +1 -1
  79. package/dist/actions/search-notes.d.mts +3 -24
  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 -17
  86. package/dist/actions/search-users.d.cts.map +1 -1
  87. package/dist/actions/search-users.d.mts +3 -17
  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 -16
  94. package/dist/actions/update-note-archived-state.d.cts.map +1 -1
  95. package/dist/actions/update-note-archived-state.d.mts +3 -16
  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 -17
  102. package/dist/actions/update-note-owner.d.cts.map +1 -1
  103. package/dist/actions/update-note-owner.d.mts +3 -17
  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 -19
  110. package/dist/actions/update-note.d.cts.map +1 -1
  111. package/dist/actions/update-note.d.mts +3 -19
  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 -24
  118. package/dist/actions/update-tile.d.cts.map +1 -1
  119. package/dist/actions/update-tile.d.mts +3 -24
  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 -16
  126. package/dist/actions/verify-note.d.cts.map +1 -1
  127. package/dist/actions/verify-note.d.mts +3 -16
  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 +2 -2
  132. package/dist/app.cjs.map +1 -1
  133. package/dist/app.d.cts +4 -6
  134. package/dist/app.d.cts.map +1 -1
  135. package/dist/app.d.mts +4 -6
  136. package/dist/app.d.mts.map +1 -1
  137. package/dist/app.mjs +0 -1
  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,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-tile.d.ts
@@ -16,30 +18,7 @@ declare const SliteUpdateTileInput: z.ZodObject<{
16
18
  declare const SliteUpdateTileOutput: z.ZodObject<{
17
19
  url: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const sliteUpdateTile: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- noteId: string;
21
- tileId: string;
22
- url?: string | undefined;
23
- title?: string | undefined;
24
- status?: {
25
- label: string;
26
- colorHex?: string | undefined;
27
- } | undefined;
28
- content?: string | undefined;
29
- iconURL?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>;
21
+ declare const sliteUpdateTile: AppAction<typeof SliteUpdateTileInput, typeof SliteUpdateTileOutput, typeof slite.credential>;
43
22
  //#endregion
44
23
  export { sliteUpdateTile };
45
24
  //# sourceMappingURL=update-tile.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-tile.d.cts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"update-tile.d.cts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-tile.d.ts
@@ -16,30 +18,7 @@ declare const SliteUpdateTileInput: z.ZodObject<{
16
18
  declare const SliteUpdateTileOutput: z.ZodObject<{
17
19
  url: z.ZodNullable<z.ZodString>;
18
20
  }, z.core.$loose>;
19
- declare const sliteUpdateTile: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- noteId: string;
21
- tileId: string;
22
- url?: string | undefined;
23
- title?: string | undefined;
24
- status?: {
25
- label: string;
26
- colorHex?: string | undefined;
27
- } | undefined;
28
- content?: string | undefined;
29
- iconURL?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- generic_api_key: z.ZodString;
42
- }, z.core.$strip>>]>;
21
+ declare const sliteUpdateTile: AppAction<typeof SliteUpdateTileInput, typeof SliteUpdateTileOutput, typeof slite.credential>;
43
22
  //#endregion
44
23
  export { sliteUpdateTile };
45
24
  //# sourceMappingURL=update-tile.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-tile.d.mts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"update-tile.d.mts","names":[],"sources":["../../src/actions/update-tile.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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
  const sliteUpdateTile = action("SLITE_UPDATE_TILE", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-tile.mjs","names":[],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteUpdateTileInput = z.object({\n url: z.string().describe(\"The tile can be linked to an external URL\").optional(),\n title: z.string().describe(\"Title of the tile\").optional(),\n noteId: z.string().describe(\"Note id containing the tile id\"),\n status: z.object({\n label: z.string().describe(\"Content of the status\"),\n colorHex: z.string().describe(\"Hex color code for the status (e.g., #FF5733)\").optional(),\n}).describe(\"Status object for the tile.\").optional(),\n tileId: z.string().describe(\"Tile id to update\"),\n content: z.string().describe(\"The content of the tile. Can be in markdown format.\").optional(),\n iconURL: z.string().describe(\"Icon URL to show in the tile\").optional(),\n}).describe(\"Request model for updating a tile in a Slite note.\");\nexport const SliteUpdateTileOutput = z.object({\n url: z.string().describe(\"Direct url of the tile in the note\").nullable(),\n}).passthrough().describe(\"Response model for update tile action.\");\n\nexport const sliteUpdateTile = action(\"SLITE_UPDATE_TILE\", {\n slug: \"slite-update-tile\",\n name: \"Update Tile in Note\",\n description: \"Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.\",\n input: SliteUpdateTileInput,\n output: SliteUpdateTileOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,QAAQ,EAAE,OAAO;GACjB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QATmC,EAAE,OAAO,EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-tile.mjs","names":[],"sources":["../../src/actions/update-tile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteUpdateTileInput = z.object({\n url: z.string().describe(\"The tile can be linked to an external URL\").optional(),\n title: z.string().describe(\"Title of the tile\").optional(),\n noteId: z.string().describe(\"Note id containing the tile id\"),\n status: z.object({\n label: z.string().describe(\"Content of the status\"),\n colorHex: z.string().describe(\"Hex color code for the status (e.g., #FF5733)\").optional(),\n}).describe(\"Status object for the tile.\").optional(),\n tileId: z.string().describe(\"Tile id to update\"),\n content: z.string().describe(\"The content of the tile. Can be in markdown format.\").optional(),\n iconURL: z.string().describe(\"Icon URL to show in the tile\").optional(),\n}).describe(\"Request model for updating a tile in a Slite note.\");\nexport const SliteUpdateTileOutput = z.object({\n url: z.string().describe(\"Direct url of the tile in the note\").nullable(),\n}).passthrough().describe(\"Response model for update tile action.\");\n\nexport const sliteUpdateTile: AppAction<\n typeof SliteUpdateTileInput,\n typeof SliteUpdateTileOutput,\n typeof slite.credential\n> = action(\"SLITE_UPDATE_TILE\", {\n slug: \"slite-update-tile\",\n name: \"Update Tile in Note\",\n description: \"Tool to update or create a tile within a Slite note with structured header and markdown content. Use when you need to update tile information including title, status, content, icon, or external URL.\",\n input: SliteUpdateTileInput,\n output: SliteUpdateTileOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,QAAQ,EAAE,OAAO;GACjB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAbmC,EAAE,OAAO,EAC5C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;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/verify-note.ts
@@ -1 +1 @@
1
- {"version":3,"file":"verify-note.cjs","names":["z","action"],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"verify-note.cjs","names":["z","action"],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote: AppAction<\n typeof SliteVerifyNoteInput,\n typeof SliteVerifyNoteOutput,\n typeof slite.credential\n> = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACjD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/verify-note.d.ts
@@ -16,22 +18,7 @@ declare const SliteVerifyNoteOutput: z.ZodObject<{
16
18
  reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const sliteVerifyNote: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- noteId: string;
21
- until?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
21
+ declare const sliteVerifyNote: AppAction<typeof SliteVerifyNoteInput, typeof SliteVerifyNoteOutput, typeof slite.credential>;
35
22
  //#endregion
36
23
  export { sliteVerifyNote };
37
24
  //# sourceMappingURL=verify-note.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verify-note.d.cts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"verify-note.d.cts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { slite } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/verify-note.d.ts
@@ -16,22 +18,7 @@ declare const SliteVerifyNoteOutput: z.ZodObject<{
16
18
  reviewState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  parentNoteId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const sliteVerifyNote: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- noteId: string;
21
- until?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
21
+ declare const sliteVerifyNote: AppAction<typeof SliteVerifyNoteInput, typeof SliteVerifyNoteOutput, typeof slite.credential>;
35
22
  //#endregion
36
23
  export { sliteVerifyNote };
37
24
  //# sourceMappingURL=verify-note.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verify-note.d.mts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"verify-note.d.mts","names":[],"sources":["../../src/actions/verify-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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
  const sliteVerifyNote = action("SLITE_VERIFY_NOTE", {
@@ -1 +1 @@
1
- {"version":3,"file":"verify-note.mjs","names":[],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkC,EAAE,OAAO;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"verify-note.mjs","names":[],"sources":["../../src/actions/verify-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { slite } from \"../app\";\n\nexport const SliteVerifyNoteInput = z.object({\n until: z.string().describe(\"Expiration of the verification status as ISO 8601 date-time string. Set to null for no expiration.\").optional(),\n noteId: z.string().describe(\"Note id to update\"),\n}).describe(\"Request model for verifying a note with optional expiration.\");\nexport const SliteVerifyNoteOutput = z.object({\n id: z.string().describe(\"Id of the note\").nullable(),\n url: z.string().describe(\"Url to the note\").nullable(),\n title: z.string().describe(\"Title of the note\").nullable(),\n columns: z.array(z.string()).describe(\"If note is in a collection, it will contain its column names\").nullable().optional(),\n updatedAt: z.string().describe(\"Date of the last update of the note\").nullable(),\n archivedAt: z.string().describe(\"Date of the archiving of the note (null if not archived)\").nullable().optional(),\n attributes: z.array(z.string()).describe(\"If note is in a collection, it will contain its attributes ordered by column\").nullable().optional(),\n reviewState: z.string().describe(\"Review state of the note - Verified, Outdated or VerificationRequested\").nullable().optional(),\n parentNoteId: z.string().describe(\"Parent note id of the current note. It can be null if it's a root note.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a verified note containing note details.\");\n\nexport const sliteVerifyNote: AppAction<\n typeof SliteVerifyNoteInput,\n typeof SliteVerifyNoteOutput,\n typeof slite.credential\n> = action(\"SLITE_VERIFY_NOTE\", {\n slug: \"slite-verify-note\",\n name: \"Verify Note\",\n description: \"Tool to set a note's verification status to Verified with optional expiration. Use when you need to mark a note as verified or update its verification expiration date.\",\n input: SliteVerifyNoteInput,\n output: SliteVerifyNoteOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkC,EAAE,OAAO;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC1I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,CAAC,CAAC,CAAC,SAAS,8DAqBH;CACP,QArBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const slite = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "slite",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.slite = slite;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const slite = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const slite: KeystrokeApp<\"slite\", typeof credential> = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA4D;CACvE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const slite: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const slite: KeystrokeApp<"slite", typeof credential>;
11
9
  //#endregion
12
10
  export { slite };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const slite: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"slite", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const slite: KeystrokeApp<"slite", typeof credential>;
11
9
  //#endregion
12
10
  export { slite };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const slite = defineApp({
5
4
  slug: "slite",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const slite = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const slite: KeystrokeApp<\"slite\", typeof credential> = defineApp({\n slug: \"slite\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAkD,UAAU;CACvE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { slite } from "./app.cjs";
1
2
  import { sliteAskQuestion } from "./actions/ask-question.cjs";
2
3
  import { sliteCreateNote } from "./actions/create-note.cjs";
3
4
  import { sliteDeleteNoteById } from "./actions/delete-note-by-id.cjs";
@@ -14,6 +15,5 @@ import { sliteUpdateNoteArchivedState } from "./actions/update-note-archived-sta
14
15
  import { sliteUpdateNoteOwner } from "./actions/update-note-owner.cjs";
15
16
  import { sliteUpdateTile } from "./actions/update-tile.cjs";
16
17
  import { sliteVerifyNote } from "./actions/verify-note.cjs";
17
- import { slite } from "./app.cjs";
18
18
  import { sliteCatalog } from "./catalog.cjs";
19
19
  export { slite, sliteAskQuestion, sliteCatalog, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { slite } from "./app.mjs";
1
2
  import { sliteAskQuestion } from "./actions/ask-question.mjs";
2
3
  import { sliteCreateNote } from "./actions/create-note.mjs";
3
4
  import { sliteDeleteNoteById } from "./actions/delete-note-by-id.mjs";
@@ -14,6 +15,5 @@ import { sliteUpdateNoteArchivedState } from "./actions/update-note-archived-sta
14
15
  import { sliteUpdateNoteOwner } from "./actions/update-note-owner.mjs";
15
16
  import { sliteUpdateTile } from "./actions/update-tile.mjs";
16
17
  import { sliteVerifyNote } from "./actions/verify-note.mjs";
17
- import { slite } from "./app.mjs";
18
18
  import { sliteCatalog } from "./catalog.mjs";
19
19
  export { slite, sliteAskQuestion, sliteCatalog, sliteCreateNote, sliteDeleteNoteById, sliteFlagNoteAsOutdated, sliteGetAuthenticatedUser, sliteGetNoteById, sliteGetNoteChildren, sliteListNotes, sliteSearchGroups, sliteSearchNotes, sliteSearchUsers, sliteUpdateNote, sliteUpdateNoteArchivedState, sliteUpdateNoteOwner, sliteUpdateTile, sliteVerifyNote };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/slite",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {