@keystrokehq/softr 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 (181) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-database.cjs +1 -0
  4. package/dist/actions/create-database.cjs.map +1 -1
  5. package/dist/actions/create-database.d.cts +3 -5
  6. package/dist/actions/create-database.d.cts.map +1 -1
  7. package/dist/actions/create-database.d.mts +3 -5
  8. package/dist/actions/create-database.d.mts.map +1 -1
  9. package/dist/actions/create-database.mjs +1 -0
  10. package/dist/actions/create-database.mjs.map +1 -1
  11. package/dist/actions/create-record.cjs +1 -0
  12. package/dist/actions/create-record.cjs.map +1 -1
  13. package/dist/actions/create-record.d.cts +3 -5
  14. package/dist/actions/create-record.d.cts.map +1 -1
  15. package/dist/actions/create-record.d.mts +3 -5
  16. package/dist/actions/create-record.d.mts.map +1 -1
  17. package/dist/actions/create-record.mjs +1 -0
  18. package/dist/actions/create-record.mjs.map +1 -1
  19. package/dist/actions/create-table-field.cjs +1 -0
  20. package/dist/actions/create-table-field.cjs.map +1 -1
  21. package/dist/actions/create-table-field.d.cts +3 -7
  22. package/dist/actions/create-table-field.d.cts.map +1 -1
  23. package/dist/actions/create-table-field.d.mts +3 -7
  24. package/dist/actions/create-table-field.d.mts.map +1 -1
  25. package/dist/actions/create-table-field.mjs +1 -0
  26. package/dist/actions/create-table-field.mjs.map +1 -1
  27. package/dist/actions/create-table.cjs +1 -0
  28. package/dist/actions/create-table.cjs.map +1 -1
  29. package/dist/actions/create-table.d.cts +3 -12
  30. package/dist/actions/create-table.d.cts.map +1 -1
  31. package/dist/actions/create-table.d.mts +3 -12
  32. package/dist/actions/create-table.d.mts.map +1 -1
  33. package/dist/actions/create-table.mjs +1 -0
  34. package/dist/actions/create-table.mjs.map +1 -1
  35. package/dist/actions/delete-database.cjs +1 -0
  36. package/dist/actions/delete-database.cjs.map +1 -1
  37. package/dist/actions/delete-database.d.cts +3 -4
  38. package/dist/actions/delete-database.d.cts.map +1 -1
  39. package/dist/actions/delete-database.d.mts +3 -4
  40. package/dist/actions/delete-database.d.mts.map +1 -1
  41. package/dist/actions/delete-database.mjs +1 -0
  42. package/dist/actions/delete-database.mjs.map +1 -1
  43. package/dist/actions/delete-record.cjs +1 -0
  44. package/dist/actions/delete-record.cjs.map +1 -1
  45. package/dist/actions/delete-record.d.cts +3 -5
  46. package/dist/actions/delete-record.d.cts.map +1 -1
  47. package/dist/actions/delete-record.d.mts +3 -5
  48. package/dist/actions/delete-record.d.mts.map +1 -1
  49. package/dist/actions/delete-record.mjs +1 -0
  50. package/dist/actions/delete-record.mjs.map +1 -1
  51. package/dist/actions/delete-table-field.cjs +1 -0
  52. package/dist/actions/delete-table-field.cjs.map +1 -1
  53. package/dist/actions/delete-table-field.d.cts +3 -5
  54. package/dist/actions/delete-table-field.d.cts.map +1 -1
  55. package/dist/actions/delete-table-field.d.mts +3 -5
  56. package/dist/actions/delete-table-field.d.mts.map +1 -1
  57. package/dist/actions/delete-table-field.mjs +1 -0
  58. package/dist/actions/delete-table-field.mjs.map +1 -1
  59. package/dist/actions/delete-table.cjs +1 -0
  60. package/dist/actions/delete-table.cjs.map +1 -1
  61. package/dist/actions/delete-table.d.cts +3 -5
  62. package/dist/actions/delete-table.d.cts.map +1 -1
  63. package/dist/actions/delete-table.d.mts +3 -5
  64. package/dist/actions/delete-table.d.mts.map +1 -1
  65. package/dist/actions/delete-table.mjs +1 -0
  66. package/dist/actions/delete-table.mjs.map +1 -1
  67. package/dist/actions/get-database.cjs +1 -0
  68. package/dist/actions/get-database.cjs.map +1 -1
  69. package/dist/actions/get-database.d.cts +3 -3
  70. package/dist/actions/get-database.d.cts.map +1 -1
  71. package/dist/actions/get-database.d.mts +3 -3
  72. package/dist/actions/get-database.d.mts.map +1 -1
  73. package/dist/actions/get-database.mjs +1 -0
  74. package/dist/actions/get-database.mjs.map +1 -1
  75. package/dist/actions/get-databases.cjs +1 -0
  76. package/dist/actions/get-databases.cjs.map +1 -1
  77. package/dist/actions/get-databases.d.cts +3 -4
  78. package/dist/actions/get-databases.d.cts.map +1 -1
  79. package/dist/actions/get-databases.d.mts +3 -4
  80. package/dist/actions/get-databases.d.mts.map +1 -1
  81. package/dist/actions/get-databases.mjs +1 -0
  82. package/dist/actions/get-databases.mjs.map +1 -1
  83. package/dist/actions/get-record.cjs +1 -0
  84. package/dist/actions/get-record.cjs.map +1 -1
  85. package/dist/actions/get-record.d.cts +3 -5
  86. package/dist/actions/get-record.d.cts.map +1 -1
  87. package/dist/actions/get-record.d.mts +3 -5
  88. package/dist/actions/get-record.d.mts.map +1 -1
  89. package/dist/actions/get-record.mjs +1 -0
  90. package/dist/actions/get-record.mjs.map +1 -1
  91. package/dist/actions/get-records.cjs +1 -0
  92. package/dist/actions/get-records.cjs.map +1 -1
  93. package/dist/actions/get-records.d.cts +3 -6
  94. package/dist/actions/get-records.d.cts.map +1 -1
  95. package/dist/actions/get-records.d.mts +3 -6
  96. package/dist/actions/get-records.d.mts.map +1 -1
  97. package/dist/actions/get-records.mjs +1 -0
  98. package/dist/actions/get-records.mjs.map +1 -1
  99. package/dist/actions/get-table-field.cjs +1 -0
  100. package/dist/actions/get-table-field.cjs.map +1 -1
  101. package/dist/actions/get-table-field.d.cts +3 -5
  102. package/dist/actions/get-table-field.d.cts.map +1 -1
  103. package/dist/actions/get-table-field.d.mts +3 -5
  104. package/dist/actions/get-table-field.d.mts.map +1 -1
  105. package/dist/actions/get-table-field.mjs +1 -0
  106. package/dist/actions/get-table-field.mjs.map +1 -1
  107. package/dist/actions/get-table-views.cjs +1 -0
  108. package/dist/actions/get-table-views.cjs.map +1 -1
  109. package/dist/actions/get-table-views.d.cts +3 -4
  110. package/dist/actions/get-table-views.d.cts.map +1 -1
  111. package/dist/actions/get-table-views.d.mts +3 -4
  112. package/dist/actions/get-table-views.d.mts.map +1 -1
  113. package/dist/actions/get-table-views.mjs +1 -0
  114. package/dist/actions/get-table-views.mjs.map +1 -1
  115. package/dist/actions/get-table.cjs +1 -0
  116. package/dist/actions/get-table.cjs.map +1 -1
  117. package/dist/actions/get-table.d.cts +3 -4
  118. package/dist/actions/get-table.d.cts.map +1 -1
  119. package/dist/actions/get-table.d.mts +3 -4
  120. package/dist/actions/get-table.d.mts.map +1 -1
  121. package/dist/actions/get-table.mjs +1 -0
  122. package/dist/actions/get-table.mjs.map +1 -1
  123. package/dist/actions/get-tables.cjs +1 -0
  124. package/dist/actions/get-tables.cjs.map +1 -1
  125. package/dist/actions/get-tables.d.cts +3 -3
  126. package/dist/actions/get-tables.d.cts.map +1 -1
  127. package/dist/actions/get-tables.d.mts +3 -3
  128. package/dist/actions/get-tables.d.mts.map +1 -1
  129. package/dist/actions/get-tables.mjs +1 -0
  130. package/dist/actions/get-tables.mjs.map +1 -1
  131. package/dist/actions/search-records.cjs +1 -0
  132. package/dist/actions/search-records.cjs.map +1 -1
  133. package/dist/actions/search-records.d.cts +3 -9
  134. package/dist/actions/search-records.d.cts.map +1 -1
  135. package/dist/actions/search-records.d.mts +3 -9
  136. package/dist/actions/search-records.d.mts.map +1 -1
  137. package/dist/actions/search-records.mjs +1 -0
  138. package/dist/actions/search-records.mjs.map +1 -1
  139. package/dist/actions/update-database.cjs +1 -0
  140. package/dist/actions/update-database.cjs.map +1 -1
  141. package/dist/actions/update-database.d.cts +3 -5
  142. package/dist/actions/update-database.d.cts.map +1 -1
  143. package/dist/actions/update-database.d.mts +3 -5
  144. package/dist/actions/update-database.d.mts.map +1 -1
  145. package/dist/actions/update-database.mjs +1 -0
  146. package/dist/actions/update-database.mjs.map +1 -1
  147. package/dist/actions/update-record.cjs +1 -0
  148. package/dist/actions/update-record.cjs.map +1 -1
  149. package/dist/actions/update-record.d.cts +3 -6
  150. package/dist/actions/update-record.d.cts.map +1 -1
  151. package/dist/actions/update-record.d.mts +3 -6
  152. package/dist/actions/update-record.d.mts.map +1 -1
  153. package/dist/actions/update-record.mjs +1 -0
  154. package/dist/actions/update-record.mjs.map +1 -1
  155. package/dist/actions/update-table-field.cjs +1 -0
  156. package/dist/actions/update-table-field.cjs.map +1 -1
  157. package/dist/actions/update-table-field.d.cts +3 -8
  158. package/dist/actions/update-table-field.d.cts.map +1 -1
  159. package/dist/actions/update-table-field.d.mts +3 -8
  160. package/dist/actions/update-table-field.d.mts.map +1 -1
  161. package/dist/actions/update-table-field.mjs +1 -0
  162. package/dist/actions/update-table-field.mjs.map +1 -1
  163. package/dist/actions/update-table.cjs +1 -0
  164. package/dist/actions/update-table.cjs.map +1 -1
  165. package/dist/actions/update-table.d.cts +3 -6
  166. package/dist/actions/update-table.d.cts.map +1 -1
  167. package/dist/actions/update-table.d.mts +3 -6
  168. package/dist/actions/update-table.d.mts.map +1 -1
  169. package/dist/actions/update-table.mjs +1 -0
  170. package/dist/actions/update-table.mjs.map +1 -1
  171. package/dist/app.cjs +9 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +8 -1
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +8 -1
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +6 -2
  178. package/dist/app.mjs.map +1 -1
  179. package/dist/index.d.cts +1 -1
  180. package/dist/index.d.mts +1 -1
  181. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"delete-database.mjs","names":[],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsC,EAAE,OAAO;EAC/C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;EACrP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACzH,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-database.mjs","names":[],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase: AppAction<\n typeof SoftrDeleteDatabaseInput,\n typeof SoftrDeleteDatabaseOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;EACrP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACzH,CAAC,CAAC,CAAC,SAAS,wCAcH;CACP,QAduC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;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/delete-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord: AppAction<\n typeof SoftrDeleteRecordInput,\n typeof SoftrDeleteRecordOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-record.d.ts
@@ -9,11 +11,7 @@ declare const SoftrDeleteRecordInput: z.ZodObject<{
9
11
  declare const SoftrDeleteRecordOutput: z.ZodObject<{
10
12
  message: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const softrDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- table_id: string;
14
- record_id: string;
15
- database_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const softrDeleteRecord: AppAction<typeof SoftrDeleteRecordInput, typeof SoftrDeleteRecordOutput, typeof softr.credential>;
17
15
  //#endregion
18
16
  export { softrDeleteRecord };
19
17
  //# sourceMappingURL=delete-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-record.d.ts
@@ -9,11 +11,7 @@ declare const SoftrDeleteRecordInput: z.ZodObject<{
9
11
  declare const SoftrDeleteRecordOutput: z.ZodObject<{
10
12
  message: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const softrDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- table_id: string;
14
- record_id: string;
15
- database_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const softrDeleteRecord: AppAction<typeof SoftrDeleteRecordInput, typeof SoftrDeleteRecordOutput, typeof softr.credential>;
17
15
  //#endregion
18
16
  export { softrDeleteRecord };
19
17
  //# sourceMappingURL=delete-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,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
  const softrDeleteRecord = action("SOFTR_DELETE_RECORD", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboC,EAAE,OAAO;EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord: AppAction<\n typeof SoftrDeleteRecordInput,\n typeof SoftrDeleteRecordOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;;AAeA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBoC,EAAE,OAAO;EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,CAAC,CAAC,CAAC,SAAS,8DAaH;CACP,QAbqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;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/delete-table-field.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField: AppAction<\n typeof SoftrDeleteTableFieldInput,\n typeof SoftrDeleteTableFieldOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-table-field.d.ts
@@ -10,11 +12,7 @@ declare const SoftrDeleteTableFieldOutput: z.ZodObject<{
10
12
  message: z.ZodNullable<z.ZodString>;
11
13
  success: z.ZodNullable<z.ZodBoolean>;
12
14
  }, z.core.$loose>;
13
- declare const softrDeleteTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- field_id: string;
15
- table_id: string;
16
- database_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const softrDeleteTableField: AppAction<typeof SoftrDeleteTableFieldInput, typeof SoftrDeleteTableFieldOutput, typeof softr.credential>;
18
16
  //#endregion
19
17
  export { softrDeleteTableField };
20
18
  //# sourceMappingURL=delete-table-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.d.cts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-table-field.d.cts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-table-field.d.ts
@@ -10,11 +12,7 @@ declare const SoftrDeleteTableFieldOutput: z.ZodObject<{
10
12
  message: z.ZodNullable<z.ZodString>;
11
13
  success: z.ZodNullable<z.ZodBoolean>;
12
14
  }, z.core.$loose>;
13
- declare const softrDeleteTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- field_id: string;
15
- table_id: string;
16
- database_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const softrDeleteTableField: AppAction<typeof SoftrDeleteTableFieldInput, typeof SoftrDeleteTableFieldOutput, typeof softr.credential>;
18
16
  //#endregion
19
17
  export { softrDeleteTableField };
20
18
  //# sourceMappingURL=delete-table-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.d.mts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-table-field.d.mts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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 softrDeleteTableField = action("SOFTR_DELETE_TABLE_FIELD", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.mjs","names":[],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAUS;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table-field.mjs","names":[],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField: AppAction<\n typeof SoftrDeleteTableFieldInput,\n typeof SoftrDeleteTableFieldOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAcS;CACP,QAdyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAWO;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/delete-table.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.cjs","names":["z","action"],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACzK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table.cjs","names":["z","action"],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable: AppAction<\n typeof SoftrDeleteTableInput,\n typeof SoftrDeleteTableOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACzK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-table.d.ts
@@ -10,11 +12,7 @@ declare const SoftrDeleteTableOutput: z.ZodObject<{
10
12
  message: z.ZodNullable<z.ZodString>;
11
13
  success: z.ZodNullable<z.ZodBoolean>;
12
14
  }, z.core.$loose>;
13
- declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- table_id: string;
15
- database_id: string;
16
- force?: boolean | undefined;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const softrDeleteTable: AppAction<typeof SoftrDeleteTableInput, typeof SoftrDeleteTableOutput, typeof softr.credential>;
18
16
  //#endregion
19
17
  export { softrDeleteTable };
20
18
  //# sourceMappingURL=delete-table.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.d.cts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-table.d.cts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-table.d.ts
@@ -10,11 +12,7 @@ declare const SoftrDeleteTableOutput: z.ZodObject<{
10
12
  message: z.ZodNullable<z.ZodString>;
11
13
  success: z.ZodNullable<z.ZodBoolean>;
12
14
  }, z.core.$loose>;
13
- declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- table_id: string;
15
- database_id: string;
16
- force?: boolean | undefined;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const softrDeleteTable: AppAction<typeof SoftrDeleteTableInput, typeof SoftrDeleteTableOutput, typeof softr.credential>;
18
16
  //#endregion
19
17
  export { softrDeleteTable };
20
18
  //# sourceMappingURL=delete-table.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.d.mts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-table.d.mts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,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
  const softrDeleteTable = action("SOFTR_DELETE_TABLE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.mjs","names":[],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmC,EAAE,OAAO;EAC5C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EACzK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAUS;CACP,QAVoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table.mjs","names":[],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable: AppAction<\n typeof SoftrDeleteTableInput,\n typeof SoftrDeleteTableOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmC,EAAE,OAAO;EAC5C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EACzK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAcS;CACP,QAdoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAWO;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/get-database.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase: AppAction<\n typeof SoftrGetDatabaseInput,\n typeof SoftrGetDatabaseOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-database.d.ts
@@ -14,9 +16,7 @@ declare const SoftrGetDatabaseOutput: z.ZodObject<{
14
16
  workspaceId: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- database_id: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const softrGetDatabase: AppAction<typeof SoftrGetDatabaseInput, typeof SoftrGetDatabaseOutput, typeof softr.credential>;
20
20
  //#endregion
21
21
  export { softrGetDatabase };
22
22
  //# sourceMappingURL=get-database.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-database.d.ts
@@ -14,9 +16,7 @@ declare const SoftrGetDatabaseOutput: z.ZodObject<{
14
16
  workspaceId: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- database_id: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const softrGetDatabase: AppAction<typeof SoftrGetDatabaseInput, typeof SoftrGetDatabaseOutput, typeof softr.credential>;
20
20
  //#endregion
21
21
  export { softrGetDatabase };
22
22
  //# sourceMappingURL=get-database.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,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/get-database.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase: AppAction<\n typeof SoftrGetDatabaseInput,\n typeof SoftrGetDatabaseOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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/get-databases.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases: AppAction<\n typeof SoftrGetDatabasesInput,\n typeof SoftrGetDatabasesOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-databases.d.ts
@@ -15,10 +17,7 @@ declare const SoftrGetDatabasesOutput: z.ZodObject<{
15
17
  workspaceId: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- limit?: number | undefined;
20
- offset?: number | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const softrGetDatabases: AppAction<typeof SoftrGetDatabasesInput, typeof SoftrGetDatabasesOutput, typeof softr.credential>;
22
21
  //#endregion
23
22
  export { softrGetDatabases };
24
23
  //# sourceMappingURL=get-databases.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-databases.d.ts
@@ -15,10 +17,7 @@ declare const SoftrGetDatabasesOutput: z.ZodObject<{
15
17
  workspaceId: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- limit?: number | undefined;
20
- offset?: number | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const softrGetDatabases: AppAction<typeof SoftrGetDatabasesInput, typeof SoftrGetDatabasesOutput, typeof softr.credential>;
22
21
  //#endregion
23
22
  export { softrGetDatabases };
24
23
  //# sourceMappingURL=get-databases.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,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/get-databases.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases: AppAction<\n typeof SoftrGetDatabasesInput,\n typeof SoftrGetDatabasesOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;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/get-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-record.cjs","names":["z","action"],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordInput = z.object({\n tableId: z.string().describe(\"The unique identifier of the table\"),\n recordId: z.string().describe(\"The unique identifier of the record to retrieve\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request model for retrieving a single record by its ID from a Softr database table.\");\nconst SoftrGetRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Record identifier\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of Field IDs to their values for this record. The structure depends on your table's schema.\"),\n tableId: z.string().describe(\"Associated table identifier\").nullable().optional(),\n createdAt: z.string().describe(\"Record creation timestamp in ISO 8601 format\").nullable(),\n updatedAt: z.string().describe(\"Record last modification timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single record from Softr database.\");\n\nexport const softrGetRecord = action(\"SOFTR_GET_RECORD\", {\n slug: \"softr-get-record\",\n name: \"Get Record\",\n description: \"Tool to retrieve a single record by its ID from a Softr database table. Use when you need to fetch detailed information about a specific record.\",\n input: SoftrGetRecordInput,\n output: SoftrGetRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACtJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-record.cjs","names":["z","action"],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetRecordInput = z.object({\n tableId: z.string().describe(\"The unique identifier of the table\"),\n recordId: z.string().describe(\"The unique identifier of the record to retrieve\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request model for retrieving a single record by its ID from a Softr database table.\");\nconst SoftrGetRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Record identifier\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of Field IDs to their values for this record. The structure depends on your table's schema.\"),\n tableId: z.string().describe(\"Associated table identifier\").nullable().optional(),\n createdAt: z.string().describe(\"Record creation timestamp in ISO 8601 format\").nullable(),\n updatedAt: z.string().describe(\"Record last modification timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single record from Softr database.\");\n\nexport const softrGetRecord: AppAction<\n typeof SoftrGetRecordInput,\n typeof SoftrGetRecordOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_RECORD\", {\n slug: \"softr-get-record\",\n name: \"Get Record\",\n description: \"Tool to retrieve a single record by its ID from a Softr database table. Use when you need to fetch detailed information about a specific record.\",\n input: SoftrGetRecordInput,\n output: SoftrGetRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACtJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-record.d.ts
@@ -15,11 +17,7 @@ declare const SoftrGetRecordOutput: z.ZodObject<{
15
17
  updatedAt: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const softrGetRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- tableId: string;
20
- recordId: string;
21
- databaseId: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const softrGetRecord: AppAction<typeof SoftrGetRecordInput, typeof SoftrGetRecordOutput, typeof softr.credential>;
23
21
  //#endregion
24
22
  export { softrGetRecord };
25
23
  //# sourceMappingURL=get-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-record.d.cts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"get-record.d.cts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { softr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-record.d.ts
@@ -15,11 +17,7 @@ declare const SoftrGetRecordOutput: z.ZodObject<{
15
17
  updatedAt: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const softrGetRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- tableId: string;
20
- recordId: string;
21
- databaseId: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const softrGetRecord: AppAction<typeof SoftrGetRecordInput, typeof SoftrGetRecordOutput, typeof softr.credential>;
23
21
  //#endregion
24
22
  export { softrGetRecord };
25
23
  //# sourceMappingURL=get-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-record.d.mts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"get-record.d.mts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAIpB,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/get-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-record.mjs","names":[],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordInput = z.object({\n tableId: z.string().describe(\"The unique identifier of the table\"),\n recordId: z.string().describe(\"The unique identifier of the record to retrieve\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request model for retrieving a single record by its ID from a Softr database table.\");\nconst SoftrGetRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Record identifier\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of Field IDs to their values for this record. The structure depends on your table's schema.\"),\n tableId: z.string().describe(\"Associated table identifier\").nullable().optional(),\n createdAt: z.string().describe(\"Record creation timestamp in ISO 8601 format\").nullable(),\n updatedAt: z.string().describe(\"Record last modification timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single record from Softr database.\");\n\nexport const softrGetRecord = action(\"SOFTR_GET_RECORD\", {\n slug: \"softr-get-record\",\n name: \"Get Record\",\n description: \"Tool to retrieve a single record by its ID from a Softr database table. Use when you need to fetch detailed information about a specific record.\",\n input: SoftrGetRecordInput,\n output: SoftrGetRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACtJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-record.mjs","names":[],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetRecordInput = z.object({\n tableId: z.string().describe(\"The unique identifier of the table\"),\n recordId: z.string().describe(\"The unique identifier of the record to retrieve\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request model for retrieving a single record by its ID from a Softr database table.\");\nconst SoftrGetRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Record identifier\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of Field IDs to their values for this record. The structure depends on your table's schema.\"),\n tableId: z.string().describe(\"Associated table identifier\").nullable().optional(),\n createdAt: z.string().describe(\"Record creation timestamp in ISO 8601 format\").nullable(),\n updatedAt: z.string().describe(\"Record last modification timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single record from Softr database.\");\n\nexport const softrGetRecord: AppAction<\n typeof SoftrGetRecordInput,\n typeof SoftrGetRecordOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_RECORD\", {\n slug: \"softr-get-record\",\n name: \"Get Record\",\n description: \"Tool to retrieve a single record by its ID from a Softr database table. Use when you need to fetch detailed information about a specific record.\",\n input: SoftrGetRecordInput,\n output: SoftrGetRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACtJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;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/get-records.ts