@keystrokehq/softr 0.1.0 → 0.1.2

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 (167) 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.map +1 -1
  4. package/dist/actions/create-database.d.cts +18 -3
  5. package/dist/actions/create-database.d.cts.map +1 -1
  6. package/dist/actions/create-database.d.mts +18 -3
  7. package/dist/actions/create-database.d.mts.map +1 -1
  8. package/dist/actions/create-database.mjs.map +1 -1
  9. package/dist/actions/create-record.cjs +3 -3
  10. package/dist/actions/create-record.cjs.map +1 -1
  11. package/dist/actions/create-record.d.cts +18 -3
  12. package/dist/actions/create-record.d.cts.map +1 -1
  13. package/dist/actions/create-record.d.mts +18 -3
  14. package/dist/actions/create-record.d.mts.map +1 -1
  15. package/dist/actions/create-record.mjs +3 -3
  16. package/dist/actions/create-record.mjs.map +1 -1
  17. package/dist/actions/create-table-field.cjs +9 -9
  18. package/dist/actions/create-table-field.cjs.map +1 -1
  19. package/dist/actions/create-table-field.d.cts +61 -3
  20. package/dist/actions/create-table-field.d.cts.map +1 -1
  21. package/dist/actions/create-table-field.d.mts +61 -3
  22. package/dist/actions/create-table-field.d.mts.map +1 -1
  23. package/dist/actions/create-table-field.mjs +9 -9
  24. package/dist/actions/create-table-field.mjs.map +1 -1
  25. package/dist/actions/create-table.cjs +7 -7
  26. package/dist/actions/create-table.cjs.map +1 -1
  27. package/dist/actions/create-table.d.cts +79 -3
  28. package/dist/actions/create-table.d.cts.map +1 -1
  29. package/dist/actions/create-table.d.mts +79 -3
  30. package/dist/actions/create-table.d.mts.map +1 -1
  31. package/dist/actions/create-table.mjs +7 -7
  32. package/dist/actions/create-table.mjs.map +1 -1
  33. package/dist/actions/delete-database.cjs +1 -1
  34. package/dist/actions/delete-database.cjs.map +1 -1
  35. package/dist/actions/delete-database.d.cts +12 -3
  36. package/dist/actions/delete-database.d.cts.map +1 -1
  37. package/dist/actions/delete-database.d.mts +12 -3
  38. package/dist/actions/delete-database.d.mts.map +1 -1
  39. package/dist/actions/delete-database.mjs +1 -1
  40. package/dist/actions/delete-database.mjs.map +1 -1
  41. package/dist/actions/delete-record.cjs +1 -1
  42. package/dist/actions/delete-record.cjs.map +1 -1
  43. package/dist/actions/delete-record.d.cts +13 -3
  44. package/dist/actions/delete-record.d.cts.map +1 -1
  45. package/dist/actions/delete-record.d.mts +13 -3
  46. package/dist/actions/delete-record.d.mts.map +1 -1
  47. package/dist/actions/delete-record.mjs +1 -1
  48. package/dist/actions/delete-record.mjs.map +1 -1
  49. package/dist/actions/delete-table-field.cjs +2 -2
  50. package/dist/actions/delete-table-field.cjs.map +1 -1
  51. package/dist/actions/delete-table-field.d.cts +14 -3
  52. package/dist/actions/delete-table-field.d.cts.map +1 -1
  53. package/dist/actions/delete-table-field.d.mts +14 -3
  54. package/dist/actions/delete-table-field.d.mts.map +1 -1
  55. package/dist/actions/delete-table-field.mjs +2 -2
  56. package/dist/actions/delete-table-field.mjs.map +1 -1
  57. package/dist/actions/delete-table.cjs +2 -2
  58. package/dist/actions/delete-table.cjs.map +1 -1
  59. package/dist/actions/delete-table.d.cts +14 -3
  60. package/dist/actions/delete-table.d.cts.map +1 -1
  61. package/dist/actions/delete-table.d.mts +14 -3
  62. package/dist/actions/delete-table.d.mts.map +1 -1
  63. package/dist/actions/delete-table.mjs +2 -2
  64. package/dist/actions/delete-table.mjs.map +1 -1
  65. package/dist/actions/get-database.cjs +5 -5
  66. package/dist/actions/get-database.cjs.map +1 -1
  67. package/dist/actions/get-database.d.cts +16 -3
  68. package/dist/actions/get-database.d.cts.map +1 -1
  69. package/dist/actions/get-database.d.mts +16 -3
  70. package/dist/actions/get-database.d.mts.map +1 -1
  71. package/dist/actions/get-database.mjs +5 -5
  72. package/dist/actions/get-database.mjs.map +1 -1
  73. package/dist/actions/get-databases.cjs +5 -5
  74. package/dist/actions/get-databases.cjs.map +1 -1
  75. package/dist/actions/get-databases.d.cts +18 -3
  76. package/dist/actions/get-databases.d.cts.map +1 -1
  77. package/dist/actions/get-databases.d.mts +18 -3
  78. package/dist/actions/get-databases.d.mts.map +1 -1
  79. package/dist/actions/get-databases.mjs +5 -5
  80. package/dist/actions/get-databases.mjs.map +1 -1
  81. package/dist/actions/get-record.cjs +3 -3
  82. package/dist/actions/get-record.cjs.map +1 -1
  83. package/dist/actions/get-record.d.cts +19 -3
  84. package/dist/actions/get-record.d.cts.map +1 -1
  85. package/dist/actions/get-record.d.mts +19 -3
  86. package/dist/actions/get-record.d.mts.map +1 -1
  87. package/dist/actions/get-record.mjs +3 -3
  88. package/dist/actions/get-record.mjs.map +1 -1
  89. package/dist/actions/get-records.cjs.map +1 -1
  90. package/dist/actions/get-records.d.cts +26 -3
  91. package/dist/actions/get-records.d.cts.map +1 -1
  92. package/dist/actions/get-records.d.mts +26 -3
  93. package/dist/actions/get-records.d.mts.map +1 -1
  94. package/dist/actions/get-records.mjs.map +1 -1
  95. package/dist/actions/get-table-field.cjs +3 -3
  96. package/dist/actions/get-table-field.cjs.map +1 -1
  97. package/dist/actions/get-table-field.d.cts +25 -3
  98. package/dist/actions/get-table-field.d.cts.map +1 -1
  99. package/dist/actions/get-table-field.d.mts +25 -3
  100. package/dist/actions/get-table-field.d.mts.map +1 -1
  101. package/dist/actions/get-table-field.mjs +3 -3
  102. package/dist/actions/get-table-field.mjs.map +1 -1
  103. package/dist/actions/get-table-views.cjs.map +1 -1
  104. package/dist/actions/get-table-views.d.cts +18 -3
  105. package/dist/actions/get-table-views.d.cts.map +1 -1
  106. package/dist/actions/get-table-views.d.mts +18 -3
  107. package/dist/actions/get-table-views.d.mts.map +1 -1
  108. package/dist/actions/get-table-views.mjs.map +1 -1
  109. package/dist/actions/get-table.cjs +8 -8
  110. package/dist/actions/get-table.cjs.map +1 -1
  111. package/dist/actions/get-table.d.cts +64 -3
  112. package/dist/actions/get-table.d.cts.map +1 -1
  113. package/dist/actions/get-table.d.mts +64 -3
  114. package/dist/actions/get-table.d.mts.map +1 -1
  115. package/dist/actions/get-table.mjs +8 -8
  116. package/dist/actions/get-table.mjs.map +1 -1
  117. package/dist/actions/get-tables.cjs +2 -2
  118. package/dist/actions/get-tables.cjs.map +1 -1
  119. package/dist/actions/get-tables.d.cts +17 -3
  120. package/dist/actions/get-tables.d.cts.map +1 -1
  121. package/dist/actions/get-tables.d.mts +17 -3
  122. package/dist/actions/get-tables.d.mts.map +1 -1
  123. package/dist/actions/get-tables.mjs +2 -2
  124. package/dist/actions/get-tables.mjs.map +1 -1
  125. package/dist/actions/search-records.cjs +6 -6
  126. package/dist/actions/search-records.cjs.map +1 -1
  127. package/dist/actions/search-records.d.cts +32 -3
  128. package/dist/actions/search-records.d.cts.map +1 -1
  129. package/dist/actions/search-records.d.mts +32 -3
  130. package/dist/actions/search-records.d.mts.map +1 -1
  131. package/dist/actions/search-records.mjs +6 -6
  132. package/dist/actions/search-records.mjs.map +1 -1
  133. package/dist/actions/update-database.cjs +5 -5
  134. package/dist/actions/update-database.cjs.map +1 -1
  135. package/dist/actions/update-database.d.cts +20 -3
  136. package/dist/actions/update-database.d.cts.map +1 -1
  137. package/dist/actions/update-database.d.mts +20 -3
  138. package/dist/actions/update-database.d.mts.map +1 -1
  139. package/dist/actions/update-database.mjs +5 -5
  140. package/dist/actions/update-database.mjs.map +1 -1
  141. package/dist/actions/update-record.cjs.map +1 -1
  142. package/dist/actions/update-record.d.cts +21 -3
  143. package/dist/actions/update-record.d.cts.map +1 -1
  144. package/dist/actions/update-record.d.mts +21 -3
  145. package/dist/actions/update-record.d.mts.map +1 -1
  146. package/dist/actions/update-record.mjs.map +1 -1
  147. package/dist/actions/update-table-field.cjs.map +1 -1
  148. package/dist/actions/update-table-field.d.cts +61 -3
  149. package/dist/actions/update-table-field.d.cts.map +1 -1
  150. package/dist/actions/update-table-field.d.mts +61 -3
  151. package/dist/actions/update-table-field.d.mts.map +1 -1
  152. package/dist/actions/update-table-field.mjs.map +1 -1
  153. package/dist/actions/update-table.cjs +9 -9
  154. package/dist/actions/update-table.cjs.map +1 -1
  155. package/dist/actions/update-table.d.cts +36 -3
  156. package/dist/actions/update-table.d.cts.map +1 -1
  157. package/dist/actions/update-table.d.mts +36 -3
  158. package/dist/actions/update-table.d.mts.map +1 -1
  159. package/dist/actions/update-table.mjs +9 -9
  160. package/dist/actions/update-table.mjs.map +1 -1
  161. package/dist/catalog.cjs +13 -1
  162. package/dist/catalog.cjs.map +1 -1
  163. package/dist/catalog.d.cts +12 -0
  164. package/dist/catalog.d.mts +12 -0
  165. package/dist/catalog.mjs +13 -1
  166. package/dist/catalog.mjs.map +1 -1
  167. package/package.json +2 -2
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\"),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\"),\n});\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,OAdsD,EAAE,OAAO;EAC/D,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,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAChF,CAOU;AACV,CAAC"}
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});\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,CAOU;AACV,CAAC"}
@@ -7,8 +7,8 @@ const SoftrDeleteTableInput = zod.z.object({
7
7
  database_id: zod.z.string().describe("The unique identifier of the database")
8
8
  });
9
9
  const SoftrDeleteTableOutput = zod.z.object({
10
- message: zod.z.string().describe("A message describing the outcome of the deletion operation"),
11
- success: zod.z.boolean().describe("Indicates if the table deletion was successful")
10
+ message: zod.z.string().describe("A message describing the outcome of the deletion operation").nullable(),
11
+ success: zod.z.boolean().describe("Indicates if the table deletion was successful").nullable()
12
12
  });
13
13
  const softrDeleteTable = require_action.action("SOFTR_DELETE_TABLE", {
14
14
  slug: "softr-delete-table",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\"),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\"),\n});\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,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAChF,CAAC;AAED,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 { 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});\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;AAED,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-table.d.ts
4
- declare const SoftrDeleteTableInput: z.ZodTypeAny;
5
- declare const SoftrDeleteTableOutput: z.ZodTypeAny;
6
- declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteTableInput: z.ZodObject<{
5
+ force: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ table_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteTableOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ }, z.core.$strip>;
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]>;
7
18
  //#endregion
8
19
  export { softrDeleteTable };
9
20
  //# 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,EAAuB,CAAA,CAAE,UAIpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-table.d.ts
4
- declare const SoftrDeleteTableInput: z.ZodTypeAny;
5
- declare const SoftrDeleteTableOutput: z.ZodTypeAny;
6
- declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteTableInput: z.ZodObject<{
5
+ force: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ table_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteTableOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ }, z.core.$strip>;
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]>;
7
18
  //#endregion
8
19
  export { softrDeleteTable };
9
20
  //# 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,EAAuB,CAAA,CAAE,UAIpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -10,8 +10,8 @@ const softrDeleteTable = action("SOFTR_DELETE_TABLE", {
10
10
  database_id: z.string().describe("The unique identifier of the database")
11
11
  }),
12
12
  output: z.object({
13
- message: z.string().describe("A message describing the outcome of the deletion operation"),
14
- success: z.boolean().describe("Indicates if the table deletion was successful")
13
+ message: z.string().describe("A message describing the outcome of the deletion operation").nullable(),
14
+ success: z.boolean().describe("Indicates if the table deletion was successful").nullable()
15
15
  })
16
16
  });
17
17
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\"),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\"),\n});\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,OAdiD,EAAE,OAAO;EAC1D,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,QAVkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAChF,CAOU;AACV,CAAC"}
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});\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,CAOU;AACV,CAAC"}
@@ -3,12 +3,12 @@ let zod = require("zod");
3
3
  //#region src/actions/get-database.ts
4
4
  const SoftrGetDatabaseInput = zod.z.object({ database_id: zod.z.string().describe("The unique identifier of the database to retrieve.") }).describe("Request model for retrieving a specific database by ID.");
5
5
  const SoftrGetDatabase_DatabaseDataSchema = zod.z.object({
6
- id: zod.z.string().describe("The unique identifier of the database."),
7
- name: zod.z.string().describe("The name of the database."),
8
- createdAt: zod.z.string().describe("The timestamp when the database was created (ISO 8601 format)."),
9
- updatedAt: zod.z.string().describe("The timestamp when the database was last updated (ISO 8601 format)."),
6
+ id: zod.z.string().describe("The unique identifier of the database.").nullable(),
7
+ name: zod.z.string().describe("The name of the database.").nullable(),
8
+ createdAt: zod.z.string().describe("The timestamp when the database was created (ISO 8601 format).").nullable(),
9
+ updatedAt: zod.z.string().describe("The timestamp when the database was last updated (ISO 8601 format).").nullable(),
10
10
  description: zod.z.string().describe("The description of the database.").nullable().optional(),
11
- workspaceId: zod.z.string().describe("The unique identifier of the workspace this database belongs to.")
11
+ workspaceId: zod.z.string().describe("The unique identifier of the workspace this database belongs to.").nullable()
12
12
  }).describe("Database details returned by the API.");
13
13
  const SoftrGetDatabaseOutput = zod.z.object({ data: SoftrGetDatabase_DatabaseDataSchema.nullable() }).describe("Response model for retrieving a specific database.");
14
14
  const softrGetDatabase = require_action.action("SOFTR_GET_DATABASE", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the database.\"),\n name: z.string().describe(\"The name of the database.\"),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\"),\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.\"),\n}).describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput: z.ZodTypeAny = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).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,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,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 { 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}).describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).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,SAAS,uCAAuC;AACnD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-database.d.ts
4
- declare const SoftrGetDatabaseInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabaseOutput: z.ZodTypeAny;
6
- declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabaseInput: z.ZodObject<{
5
+ database_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SoftrGetDatabaseOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ workspaceId: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
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]>;
7
20
  //#endregion
8
21
  export { softrGetDatabase };
9
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,EAAuB,CAAA,CAAE,UAEgC;AAAA,cASzD,sBAAA,EAAwB,CAAA,CAAE,UAE0B;AAAA,cAEpD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-database.d.ts
4
- declare const SoftrGetDatabaseInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabaseOutput: z.ZodTypeAny;
6
- declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabaseInput: z.ZodObject<{
5
+ database_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SoftrGetDatabaseOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ workspaceId: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
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]>;
7
20
  //#endregion
8
21
  export { softrGetDatabase };
9
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,EAAuB,CAAA,CAAE,UAEgC;AAAA,cASzD,sBAAA,EAAwB,CAAA,CAAE,UAE0B;AAAA,cAEpD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,12 +3,12 @@ import { z } from "zod";
3
3
  //#region src/actions/get-database.ts
4
4
  const SoftrGetDatabaseInput = z.object({ database_id: z.string().describe("The unique identifier of the database to retrieve.") }).describe("Request model for retrieving a specific database by ID.");
5
5
  const SoftrGetDatabase_DatabaseDataSchema = z.object({
6
- id: z.string().describe("The unique identifier of the database."),
7
- name: z.string().describe("The name of the database."),
8
- createdAt: z.string().describe("The timestamp when the database was created (ISO 8601 format)."),
9
- updatedAt: z.string().describe("The timestamp when the database was last updated (ISO 8601 format)."),
6
+ id: z.string().describe("The unique identifier of the database.").nullable(),
7
+ name: z.string().describe("The name of the database.").nullable(),
8
+ createdAt: z.string().describe("The timestamp when the database was created (ISO 8601 format).").nullable(),
9
+ updatedAt: z.string().describe("The timestamp when the database was last updated (ISO 8601 format).").nullable(),
10
10
  description: z.string().describe("The description of the database.").nullable().optional(),
11
- workspaceId: z.string().describe("The unique identifier of the workspace this database belongs to.")
11
+ workspaceId: z.string().describe("The unique identifier of the workspace this database belongs to.").nullable()
12
12
  }).describe("Database details returned by the API.");
13
13
  const softrGetDatabase = action("SOFTR_GET_DATABASE", {
14
14
  slug: "softr-get-database",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the database.\"),\n name: z.string().describe(\"The name of the database.\"),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\"),\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.\"),\n}).describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput: z.ZodTypeAny = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).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,wBAAsC,EAAE,OAAO,EAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
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}).describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).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,SAAS,uCAAuC;AAKnD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -6,12 +6,12 @@ const SoftrGetDatabasesInput = zod.z.object({
6
6
  offset: zod.z.number().int().describe("Number of databases to skip for pagination. Defaults to 0 if not specified.").optional()
7
7
  }).describe("Request model for retrieving all databases in the workspace.");
8
8
  const SoftrGetDatabases_DatabaseSchema = zod.z.object({
9
- id: zod.z.string().describe("Unique identifier of the database."),
10
- name: zod.z.string().describe("Name of the database."),
11
- createdAt: zod.z.string().describe("Timestamp when the database was created (ISO 8601 format)."),
12
- updatedAt: zod.z.string().describe("Timestamp when the database was last updated (ISO 8601 format)."),
9
+ id: zod.z.string().describe("Unique identifier of the database.").nullable(),
10
+ name: zod.z.string().describe("Name of the database.").nullable(),
11
+ createdAt: zod.z.string().describe("Timestamp when the database was created (ISO 8601 format).").nullable(),
12
+ updatedAt: zod.z.string().describe("Timestamp when the database was last updated (ISO 8601 format).").nullable(),
13
13
  description: zod.z.string().describe("Description of the database, if provided.").nullable().optional(),
14
- workspaceId: zod.z.string().describe("Unique identifier of the workspace this database belongs to.")
14
+ workspaceId: zod.z.string().describe("Unique identifier of the workspace this database belongs to.").nullable()
15
15
  }).describe("Model representing a single database in the workspace.");
16
16
  const SoftrGetDatabasesOutput = zod.z.object({ data: zod.z.array(SoftrGetDatabases_DatabaseSchema).describe("List of all databases available in the workspace.") }).describe("Response model containing the list of databases in the workspace.");
17
17
  const softrGetDatabases = require_action.action("SOFTR_GET_DATABASES", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the database.\"),\n name: z.string().describe(\"Name of the database.\"),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\"),\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.\"),\n}).describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput: z.ZodTypeAny = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).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,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,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 { 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}).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}).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,SAAS,wDAAwD;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-databases.d.ts
4
- declare const SoftrGetDatabasesInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabasesOutput: z.ZodTypeAny;
6
- declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabasesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const SoftrGetDatabasesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ createdAt: z.ZodNullable<z.ZodString>;
13
+ updatedAt: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ workspaceId: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
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]>;
7
22
  //#endregion
8
23
  export { softrGetDatabases };
9
24
  //# 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,EAAwB,CAAA,CAAE,UAGoC;AAAA,cAS9D,uBAAA,EAAyB,CAAA,CAAE,UAEwC;AAAA,cAEnE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-databases.d.ts
4
- declare const SoftrGetDatabasesInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabasesOutput: z.ZodTypeAny;
6
- declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabasesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const SoftrGetDatabasesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ createdAt: z.ZodNullable<z.ZodString>;
13
+ updatedAt: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ workspaceId: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
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]>;
7
22
  //#endregion
8
23
  export { softrGetDatabases };
9
24
  //# 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,EAAwB,CAAA,CAAE,UAGoC;AAAA,cAS9D,uBAAA,EAAyB,CAAA,CAAE,UAEwC;AAAA,cAEnE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,12 +6,12 @@ const SoftrGetDatabasesInput = z.object({
6
6
  offset: z.number().int().describe("Number of databases to skip for pagination. Defaults to 0 if not specified.").optional()
7
7
  }).describe("Request model for retrieving all databases in the workspace.");
8
8
  const SoftrGetDatabases_DatabaseSchema = z.object({
9
- id: z.string().describe("Unique identifier of the database."),
10
- name: z.string().describe("Name of the database."),
11
- createdAt: z.string().describe("Timestamp when the database was created (ISO 8601 format)."),
12
- updatedAt: z.string().describe("Timestamp when the database was last updated (ISO 8601 format)."),
9
+ id: z.string().describe("Unique identifier of the database.").nullable(),
10
+ name: z.string().describe("Name of the database.").nullable(),
11
+ createdAt: z.string().describe("Timestamp when the database was created (ISO 8601 format).").nullable(),
12
+ updatedAt: z.string().describe("Timestamp when the database was last updated (ISO 8601 format).").nullable(),
13
13
  description: z.string().describe("Description of the database, if provided.").nullable().optional(),
14
- workspaceId: z.string().describe("Unique identifier of the workspace this database belongs to.")
14
+ workspaceId: z.string().describe("Unique identifier of the workspace this database belongs to.").nullable()
15
15
  }).describe("Model representing a single database in the workspace.");
16
16
  const softrGetDatabases = action("SOFTR_GET_DATABASES", {
17
17
  slug: "softr-get-databases",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the database.\"),\n name: z.string().describe(\"Name of the database.\"),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\"),\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.\"),\n}).describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput: z.ZodTypeAny = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).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,yBAAuC,EAAE,OAAO;CAC3D,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,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAKpE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
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}).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}).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,SAAS,wDAAwD;AAKpE,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,SAAS,mEAOF;AACV,CAAC"}
@@ -7,11 +7,11 @@ const SoftrGetRecordInput = zod.z.object({
7
7
  databaseId: zod.z.string().describe("The unique identifier of the database")
8
8
  }).describe("Request model for retrieving a single record by its ID from a Softr database table.");
9
9
  const SoftrGetRecord_RecordDataSchema = zod.z.object({
10
- id: zod.z.string().describe("Record identifier"),
10
+ id: zod.z.string().describe("Record identifier").nullable(),
11
11
  fields: zod.z.object({}).describe("A map of Field IDs to their values for this record. The structure depends on your table's schema."),
12
12
  tableId: zod.z.string().describe("Associated table identifier").nullable().optional(),
13
- createdAt: zod.z.string().describe("Record creation timestamp in ISO 8601 format"),
14
- updatedAt: zod.z.string().describe("Record last modification timestamp in ISO 8601 format")
13
+ createdAt: zod.z.string().describe("Record creation timestamp in ISO 8601 format").nullable(),
14
+ updatedAt: zod.z.string().describe("Record last modification timestamp in ISO 8601 format").nullable()
15
15
  }).describe("Record data structure containing the record details.");
16
16
  const SoftrGetRecordOutput = zod.z.object({ data: SoftrGetRecord_RecordDataSchema.nullable() }).describe("Response model for retrieving a single record from Softr database.");
17
17
  const softrGetRecord = require_action.action("SOFTR_GET_RECORD", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Record identifier\"),\n fields: z.object({}).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\"),\n updatedAt: z.string().describe(\"Record last modification timestamp in ISO 8601 format\"),\n}).describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput: z.ZodTypeAny = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).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,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,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,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACxF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,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 { 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.object({}).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}).describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACjI,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,SAAS,sDAAsD;AAClE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-record.d.ts
4
- declare const SoftrGetRecordInput: z.ZodTypeAny;
5
- declare const SoftrGetRecordOutput: z.ZodTypeAny;
6
- declare const softrGetRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetRecordInput: z.ZodObject<{
5
+ tableId: z.ZodString;
6
+ recordId: z.ZodString;
7
+ databaseId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrGetRecordOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ fields: z.ZodObject<{}, z.core.$strip>;
13
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAt: z.ZodNullable<z.ZodString>;
15
+ updatedAt: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
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]>;
7
23
  //#endregion
8
24
  export { softrGetRecord };
9
25
  //# 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,EAAqB,CAAA,CAAE,UAI8D;AAAA,cAQrF,oBAAA,EAAsB,CAAA,CAAE,UAE4C;AAAA,cAEpE,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-record.d.ts
4
- declare const SoftrGetRecordInput: z.ZodTypeAny;
5
- declare const SoftrGetRecordOutput: z.ZodTypeAny;
6
- declare const softrGetRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetRecordInput: z.ZodObject<{
5
+ tableId: z.ZodString;
6
+ recordId: z.ZodString;
7
+ databaseId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrGetRecordOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ fields: z.ZodObject<{}, z.core.$strip>;
13
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAt: z.ZodNullable<z.ZodString>;
15
+ updatedAt: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
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]>;
7
23
  //#endregion
8
24
  export { softrGetRecord };
9
25
  //# 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,EAAqB,CAAA,CAAE,UAI8D;AAAA,cAQrF,oBAAA,EAAsB,CAAA,CAAE,UAE4C;AAAA,cAEpE,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -7,11 +7,11 @@ const SoftrGetRecordInput = z.object({
7
7
  databaseId: z.string().describe("The unique identifier of the database")
8
8
  }).describe("Request model for retrieving a single record by its ID from a Softr database table.");
9
9
  const SoftrGetRecord_RecordDataSchema = z.object({
10
- id: z.string().describe("Record identifier"),
10
+ id: z.string().describe("Record identifier").nullable(),
11
11
  fields: z.object({}).describe("A map of Field IDs to their values for this record. The structure depends on your table's schema."),
12
12
  tableId: z.string().describe("Associated table identifier").nullable().optional(),
13
- createdAt: z.string().describe("Record creation timestamp in ISO 8601 format"),
14
- updatedAt: z.string().describe("Record last modification timestamp in ISO 8601 format")
13
+ createdAt: z.string().describe("Record creation timestamp in ISO 8601 format").nullable(),
14
+ updatedAt: z.string().describe("Record last modification timestamp in ISO 8601 format").nullable()
15
15
  }).describe("Record data structure containing the record details.");
16
16
  const softrGetRecord = action("SOFTR_GET_RECORD", {
17
17
  slug: "softr-get-record",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Record identifier\"),\n fields: z.object({}).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\"),\n updatedAt: z.string().describe(\"Record last modification timestamp in ISO 8601 format\"),\n}).describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput: z.ZodTypeAny = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).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,sBAAoC,EAAE,OAAO;CACxD,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,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACjI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACxF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAKlE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
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.object({}).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}).describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).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,CAAC,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACjI,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,SAAS,sDAAsD;AAKlE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-records.cjs","names":["z","action"],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return per request. Defaults to 10 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0 if not specified.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request parameters for retrieving records from a Softr table.\");\nconst SoftrGetRecords_RecordSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dynamic object containing the record's field values. Keys are field names, values vary by field type.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table this record belongs to\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated\").nullable().optional(),\n}).describe(\"Represents a single record from a Softr table.\");\nconst SoftrGetRecords_PaginationMetadataSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of records returned in the current request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records available in the table\").nullable().optional(),\n offset: z.number().int().describe(\"Number of records skipped in the current request\").nullable().optional(),\n}).describe(\"Metadata about pagination for the records response.\");\nexport const SoftrGetRecordsOutput: z.ZodTypeAny = z.object({\n data: z.array(SoftrGetRecords_RecordSchema).describe(\"Array of record objects retrieved from the table\").nullable().optional(),\n metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional(),\n}).describe(\"Response structure for the get records endpoint.\");\n\nexport const softrGetRecords = action(\"SOFTR_GET_RECORDS\", {\n slug: \"softr-get-records\",\n name: \"Get records from table\",\n description: \"Tool to retrieve a paginated list of records from a Softr table. Use when you need to fetch records from a specific table with optional pagination parameters.\",\n input: SoftrGetRecordsInput,\n output: SoftrGetRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-records.cjs","names":["z","action"],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return per request. Defaults to 10 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0 if not specified.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request parameters for retrieving records from a Softr table.\");\nconst SoftrGetRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dynamic object containing the record's field values. Keys are field names, values vary by field type.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table this record belongs to\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated\").nullable().optional(),\n}).describe(\"Represents a single record from a Softr table.\");\nconst SoftrGetRecords_PaginationMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records returned in the current request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records available in the table\").nullable().optional(),\n offset: z.number().int().describe(\"Number of records skipped in the current request\").nullable().optional(),\n}).describe(\"Metadata about pagination for the records response.\");\nexport const SoftrGetRecordsOutput = z.object({\n data: z.array(SoftrGetRecords_RecordSchema).describe(\"Array of record objects retrieved from the table\").nullable().optional(),\n metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional(),\n}).describe(\"Response structure for the get records endpoint.\");\n\nexport const softrGetRecords = action(\"SOFTR_GET_RECORDS\", {\n slug: \"softr-get-records\",\n name: \"Get records from table\",\n description: \"Tool to retrieve a paginated list of records from a Softr table. Use when you need to fetch records from a specific table with optional pagination parameters.\",\n input: SoftrGetRecordsInput,\n output: SoftrGetRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}