@keystrokehq/softr 0.1.0 → 0.1.3

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 (177) 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 -1
  4. package/dist/actions/create-database.cjs.map +1 -1
  5. package/dist/actions/create-database.d.cts +18 -3
  6. package/dist/actions/create-database.d.cts.map +1 -1
  7. package/dist/actions/create-database.d.mts +18 -3
  8. package/dist/actions/create-database.d.mts.map +1 -1
  9. package/dist/actions/create-database.mjs +1 -1
  10. package/dist/actions/create-database.mjs.map +1 -1
  11. package/dist/actions/create-record.cjs +7 -7
  12. package/dist/actions/create-record.cjs.map +1 -1
  13. package/dist/actions/create-record.d.cts +18 -3
  14. package/dist/actions/create-record.d.cts.map +1 -1
  15. package/dist/actions/create-record.d.mts +18 -3
  16. package/dist/actions/create-record.d.mts.map +1 -1
  17. package/dist/actions/create-record.mjs +7 -7
  18. package/dist/actions/create-record.mjs.map +1 -1
  19. package/dist/actions/create-table-field.cjs +13 -13
  20. package/dist/actions/create-table-field.cjs.map +1 -1
  21. package/dist/actions/create-table-field.d.cts +61 -3
  22. package/dist/actions/create-table-field.d.cts.map +1 -1
  23. package/dist/actions/create-table-field.d.mts +61 -3
  24. package/dist/actions/create-table-field.d.mts.map +1 -1
  25. package/dist/actions/create-table-field.mjs +13 -13
  26. package/dist/actions/create-table-field.mjs.map +1 -1
  27. package/dist/actions/create-table.cjs +11 -11
  28. package/dist/actions/create-table.cjs.map +1 -1
  29. package/dist/actions/create-table.d.cts +80 -3
  30. package/dist/actions/create-table.d.cts.map +1 -1
  31. package/dist/actions/create-table.d.mts +80 -3
  32. package/dist/actions/create-table.d.mts.map +1 -1
  33. package/dist/actions/create-table.mjs +11 -11
  34. package/dist/actions/create-table.mjs.map +1 -1
  35. package/dist/actions/delete-database.cjs +2 -2
  36. package/dist/actions/delete-database.cjs.map +1 -1
  37. package/dist/actions/delete-database.d.cts +12 -3
  38. package/dist/actions/delete-database.d.cts.map +1 -1
  39. package/dist/actions/delete-database.d.mts +12 -3
  40. package/dist/actions/delete-database.d.mts.map +1 -1
  41. package/dist/actions/delete-database.mjs +2 -2
  42. package/dist/actions/delete-database.mjs.map +1 -1
  43. package/dist/actions/delete-record.cjs +1 -1
  44. package/dist/actions/delete-record.cjs.map +1 -1
  45. package/dist/actions/delete-record.d.cts +13 -3
  46. package/dist/actions/delete-record.d.cts.map +1 -1
  47. package/dist/actions/delete-record.d.mts +13 -3
  48. package/dist/actions/delete-record.d.mts.map +1 -1
  49. package/dist/actions/delete-record.mjs +1 -1
  50. package/dist/actions/delete-record.mjs.map +1 -1
  51. package/dist/actions/delete-table-field.cjs +3 -3
  52. package/dist/actions/delete-table-field.cjs.map +1 -1
  53. package/dist/actions/delete-table-field.d.cts +14 -3
  54. package/dist/actions/delete-table-field.d.cts.map +1 -1
  55. package/dist/actions/delete-table-field.d.mts +14 -3
  56. package/dist/actions/delete-table-field.d.mts.map +1 -1
  57. package/dist/actions/delete-table-field.mjs +3 -3
  58. package/dist/actions/delete-table-field.mjs.map +1 -1
  59. package/dist/actions/delete-table.cjs +3 -3
  60. package/dist/actions/delete-table.cjs.map +1 -1
  61. package/dist/actions/delete-table.d.cts +14 -3
  62. package/dist/actions/delete-table.d.cts.map +1 -1
  63. package/dist/actions/delete-table.d.mts +14 -3
  64. package/dist/actions/delete-table.d.mts.map +1 -1
  65. package/dist/actions/delete-table.mjs +3 -3
  66. package/dist/actions/delete-table.mjs.map +1 -1
  67. package/dist/actions/get-database.cjs +7 -7
  68. package/dist/actions/get-database.cjs.map +1 -1
  69. package/dist/actions/get-database.d.cts +16 -3
  70. package/dist/actions/get-database.d.cts.map +1 -1
  71. package/dist/actions/get-database.d.mts +16 -3
  72. package/dist/actions/get-database.d.mts.map +1 -1
  73. package/dist/actions/get-database.mjs +7 -7
  74. package/dist/actions/get-database.mjs.map +1 -1
  75. package/dist/actions/get-databases.cjs +7 -7
  76. package/dist/actions/get-databases.cjs.map +1 -1
  77. package/dist/actions/get-databases.d.cts +18 -3
  78. package/dist/actions/get-databases.d.cts.map +1 -1
  79. package/dist/actions/get-databases.d.mts +18 -3
  80. package/dist/actions/get-databases.d.mts.map +1 -1
  81. package/dist/actions/get-databases.mjs +7 -7
  82. package/dist/actions/get-databases.mjs.map +1 -1
  83. package/dist/actions/get-record.cjs +6 -6
  84. package/dist/actions/get-record.cjs.map +1 -1
  85. package/dist/actions/get-record.d.cts +19 -3
  86. package/dist/actions/get-record.d.cts.map +1 -1
  87. package/dist/actions/get-record.d.mts +19 -3
  88. package/dist/actions/get-record.d.mts.map +1 -1
  89. package/dist/actions/get-record.mjs +6 -6
  90. package/dist/actions/get-record.mjs.map +1 -1
  91. package/dist/actions/get-records.cjs +3 -3
  92. package/dist/actions/get-records.cjs.map +1 -1
  93. package/dist/actions/get-records.d.cts +26 -3
  94. package/dist/actions/get-records.d.cts.map +1 -1
  95. package/dist/actions/get-records.d.mts +26 -3
  96. package/dist/actions/get-records.d.mts.map +1 -1
  97. package/dist/actions/get-records.mjs +3 -3
  98. package/dist/actions/get-records.mjs.map +1 -1
  99. package/dist/actions/get-table-field.cjs +5 -5
  100. package/dist/actions/get-table-field.cjs.map +1 -1
  101. package/dist/actions/get-table-field.d.cts +25 -3
  102. package/dist/actions/get-table-field.d.cts.map +1 -1
  103. package/dist/actions/get-table-field.d.mts +25 -3
  104. package/dist/actions/get-table-field.d.mts.map +1 -1
  105. package/dist/actions/get-table-field.mjs +5 -5
  106. package/dist/actions/get-table-field.mjs.map +1 -1
  107. package/dist/actions/get-table-views.cjs +2 -2
  108. package/dist/actions/get-table-views.cjs.map +1 -1
  109. package/dist/actions/get-table-views.d.cts +18 -3
  110. package/dist/actions/get-table-views.d.cts.map +1 -1
  111. package/dist/actions/get-table-views.d.mts +18 -3
  112. package/dist/actions/get-table-views.d.mts.map +1 -1
  113. package/dist/actions/get-table-views.mjs +2 -2
  114. package/dist/actions/get-table-views.mjs.map +1 -1
  115. package/dist/actions/get-table.cjs +11 -11
  116. package/dist/actions/get-table.cjs.map +1 -1
  117. package/dist/actions/get-table.d.cts +64 -3
  118. package/dist/actions/get-table.d.cts.map +1 -1
  119. package/dist/actions/get-table.d.mts +64 -3
  120. package/dist/actions/get-table.d.mts.map +1 -1
  121. package/dist/actions/get-table.mjs +11 -11
  122. package/dist/actions/get-table.mjs.map +1 -1
  123. package/dist/actions/get-tables.cjs +4 -4
  124. package/dist/actions/get-tables.cjs.map +1 -1
  125. package/dist/actions/get-tables.d.cts +17 -3
  126. package/dist/actions/get-tables.d.cts.map +1 -1
  127. package/dist/actions/get-tables.d.mts +17 -3
  128. package/dist/actions/get-tables.d.mts.map +1 -1
  129. package/dist/actions/get-tables.mjs +4 -4
  130. package/dist/actions/get-tables.mjs.map +1 -1
  131. package/dist/actions/search-records.cjs +9 -9
  132. package/dist/actions/search-records.cjs.map +1 -1
  133. package/dist/actions/search-records.d.cts +32 -3
  134. package/dist/actions/search-records.d.cts.map +1 -1
  135. package/dist/actions/search-records.d.mts +32 -3
  136. package/dist/actions/search-records.d.mts.map +1 -1
  137. package/dist/actions/search-records.mjs +9 -9
  138. package/dist/actions/search-records.mjs.map +1 -1
  139. package/dist/actions/update-database.cjs +7 -7
  140. package/dist/actions/update-database.cjs.map +1 -1
  141. package/dist/actions/update-database.d.cts +20 -3
  142. package/dist/actions/update-database.d.cts.map +1 -1
  143. package/dist/actions/update-database.d.mts +20 -3
  144. package/dist/actions/update-database.d.mts.map +1 -1
  145. package/dist/actions/update-database.mjs +7 -7
  146. package/dist/actions/update-database.mjs.map +1 -1
  147. package/dist/actions/update-record.cjs +2 -2
  148. package/dist/actions/update-record.cjs.map +1 -1
  149. package/dist/actions/update-record.d.cts +21 -3
  150. package/dist/actions/update-record.d.cts.map +1 -1
  151. package/dist/actions/update-record.d.mts +21 -3
  152. package/dist/actions/update-record.d.mts.map +1 -1
  153. package/dist/actions/update-record.mjs +2 -2
  154. package/dist/actions/update-record.mjs.map +1 -1
  155. package/dist/actions/update-table-field.cjs +1 -1
  156. package/dist/actions/update-table-field.cjs.map +1 -1
  157. package/dist/actions/update-table-field.d.cts +61 -3
  158. package/dist/actions/update-table-field.d.cts.map +1 -1
  159. package/dist/actions/update-table-field.d.mts +61 -3
  160. package/dist/actions/update-table-field.d.mts.map +1 -1
  161. package/dist/actions/update-table-field.mjs +1 -1
  162. package/dist/actions/update-table-field.mjs.map +1 -1
  163. package/dist/actions/update-table.cjs +12 -12
  164. package/dist/actions/update-table.cjs.map +1 -1
  165. package/dist/actions/update-table.d.cts +36 -3
  166. package/dist/actions/update-table.d.cts.map +1 -1
  167. package/dist/actions/update-table.d.mts +36 -3
  168. package/dist/actions/update-table.d.mts.map +1 -1
  169. package/dist/actions/update-table.mjs +12 -12
  170. package/dist/actions/update-table.mjs.map +1 -1
  171. package/dist/catalog.cjs +13 -1
  172. package/dist/catalog.cjs.map +1 -1
  173. package/dist/catalog.d.cts +12 -0
  174. package/dist/catalog.d.mts +12 -0
  175. package/dist/catalog.mjs +13 -1
  176. package/dist/catalog.mjs.map +1 -1
  177. package/package.json +2 -2
@@ -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.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,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.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAt: z.ZodNullable<z.ZodString>;
15
+ updatedAt: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>;
17
+ }, 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]>;
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.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAt: z.ZodNullable<z.ZodString>;
15
+ updatedAt: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>;
17
+ }, 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]>;
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,18 +7,18 @@ 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"),
11
- fields: z.object({}).describe("A map of Field IDs to their values for this record. The structure depends on your table's schema."),
10
+ id: z.string().describe("Record identifier").nullable(),
11
+ 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."),
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")
15
- }).describe("Record data structure containing the record details.");
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
+ }).passthrough().describe("Record data structure containing the record details.");
16
16
  const softrGetRecord = action("SOFTR_GET_RECORD", {
17
17
  slug: "softr-get-record",
18
18
  name: "Get Record",
19
19
  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.",
20
20
  input: SoftrGetRecordInput,
21
- output: z.object({ data: SoftrGetRecord_RecordDataSchema.nullable() }).describe("Response model for retrieving a single record from Softr database.")
21
+ output: z.object({ data: SoftrGetRecord_RecordDataSchema.nullable() }).passthrough().describe("Response model for retrieving a single record from Softr database.")
22
22
  });
23
23
  //#endregion
24
24
  export { softrGetRecord };
@@ -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.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"}
@@ -13,16 +13,16 @@ const SoftrGetRecords_RecordSchema = zod.z.object({
13
13
  tableId: zod.z.string().describe("The unique identifier of the table this record belongs to").nullable().optional(),
14
14
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the record was created").nullable().optional(),
15
15
  updatedAt: zod.z.string().describe("ISO 8601 timestamp when the record was last updated").nullable().optional()
16
- }).describe("Represents a single record from a Softr table.");
16
+ }).passthrough().describe("Represents a single record from a Softr table.");
17
17
  const SoftrGetRecords_PaginationMetadataSchema = zod.z.object({
18
18
  limit: zod.z.number().int().describe("Maximum number of records returned in the current request").nullable().optional(),
19
19
  total: zod.z.number().int().describe("Total number of records available in the table").nullable().optional(),
20
20
  offset: zod.z.number().int().describe("Number of records skipped in the current request").nullable().optional()
21
- }).describe("Metadata about pagination for the records response.");
21
+ }).passthrough().describe("Metadata about pagination for the records response.");
22
22
  const SoftrGetRecordsOutput = zod.z.object({
23
23
  data: zod.z.array(SoftrGetRecords_RecordSchema).describe("Array of record objects retrieved from the table").nullable().optional(),
24
24
  metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional()
25
- }).describe("Response structure for the get records endpoint.");
25
+ }).passthrough().describe("Response structure for the get records endpoint.");
26
26
  const softrGetRecords = require_action.action("SOFTR_GET_RECORDS", {
27
27
  slug: "softr-get-records",
28
28
  name: "Get records from table",
@@ -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}).passthrough().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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,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,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,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,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-records.d.ts
4
- declare const SoftrGetRecordsInput: z.ZodTypeAny;
5
- declare const SoftrGetRecordsOutput: z.ZodTypeAny;
6
- declare const softrGetRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetRecordsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ tableId: z.ZodString;
8
+ databaseId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const SoftrGetRecordsOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>>;
18
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ }, z.core.$loose>>>;
23
+ }, z.core.$loose>;
24
+ declare const softrGetRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ tableId: string;
26
+ databaseId: string;
27
+ limit?: number | undefined;
28
+ offset?: number | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { softrGetRecords };
9
32
  //# sourceMappingURL=get-records.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-records.d.cts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAKuC;AAAA,cAa/D,qBAAA,EAAuB,CAAA,CAAE,UAGyB;AAAA,cAElD,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-records.d.cts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAkBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-records.d.ts
4
- declare const SoftrGetRecordsInput: z.ZodTypeAny;
5
- declare const SoftrGetRecordsOutput: z.ZodTypeAny;
6
- declare const softrGetRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetRecordsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ tableId: z.ZodString;
8
+ databaseId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const SoftrGetRecordsOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>>;
18
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
+ limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ }, z.core.$loose>>>;
23
+ }, z.core.$loose>;
24
+ declare const softrGetRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ tableId: string;
26
+ databaseId: string;
27
+ limit?: number | undefined;
28
+ offset?: number | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { softrGetRecords };
9
32
  //# sourceMappingURL=get-records.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-records.d.mts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAKuC;AAAA,cAa/D,qBAAA,EAAuB,CAAA,CAAE,UAGyB;AAAA,cAElD,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-records.d.mts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAkBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
@@ -13,12 +13,12 @@ const SoftrGetRecords_RecordSchema = z.object({
13
13
  tableId: z.string().describe("The unique identifier of the table this record belongs to").nullable().optional(),
14
14
  createdAt: z.string().describe("ISO 8601 timestamp when the record was created").nullable().optional(),
15
15
  updatedAt: z.string().describe("ISO 8601 timestamp when the record was last updated").nullable().optional()
16
- }).describe("Represents a single record from a Softr table.");
16
+ }).passthrough().describe("Represents a single record from a Softr table.");
17
17
  const SoftrGetRecords_PaginationMetadataSchema = z.object({
18
18
  limit: z.number().int().describe("Maximum number of records returned in the current request").nullable().optional(),
19
19
  total: z.number().int().describe("Total number of records available in the table").nullable().optional(),
20
20
  offset: z.number().int().describe("Number of records skipped in the current request").nullable().optional()
21
- }).describe("Metadata about pagination for the records response.");
21
+ }).passthrough().describe("Metadata about pagination for the records response.");
22
22
  const softrGetRecords = action("SOFTR_GET_RECORDS", {
23
23
  slug: "softr-get-records",
24
24
  name: "Get records from table",
@@ -27,7 +27,7 @@ const softrGetRecords = action("SOFTR_GET_RECORDS", {
27
27
  output: z.object({
28
28
  data: z.array(SoftrGetRecords_RecordSchema).describe("Array of record objects retrieved from the table").nullable().optional(),
29
29
  metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional()
30
- }).describe("Response structure for the get records endpoint.")
30
+ }).passthrough().describe("Response structure for the get records endpoint.")
31
31
  });
32
32
  //#endregion
33
33
  export { softrGetRecords };
@@ -1 +1 @@
1
- {"version":3,"file":"get-records.mjs","names":[],"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,uBAAqC,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAAyD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAMjE,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-records.mjs","names":[],"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}).passthrough().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}).passthrough().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}).passthrough().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,uBAAuB,EAAE,OAAO;CAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAM/E,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -7,9 +7,9 @@ const SoftrGetTableFieldInput = zod.z.object({
7
7
  databaseId: zod.z.string().describe("The database identifier (UUID format).")
8
8
  }).describe("Request model for getting a specific field from a table.");
9
9
  const SoftrGetTableField_FieldDataSchema = zod.z.object({
10
- id: zod.z.string().describe("Unique identifier for the field."),
11
- name: zod.z.string().describe("The field name."),
12
- type: zod.z.string().describe("Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.)."),
10
+ id: zod.z.string().describe("Unique identifier for the field.").nullable(),
11
+ name: zod.z.string().describe("The field name.").nullable(),
12
+ type: zod.z.string().describe("Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).").nullable(),
13
13
  locked: zod.z.boolean().describe("Whether the field is locked from editing.").nullable().optional(),
14
14
  options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Field-specific configuration options.").nullable().optional(),
15
15
  readonly: zod.z.boolean().describe("Whether the field is read-only.").nullable().optional(),
@@ -18,8 +18,8 @@ const SoftrGetTableField_FieldDataSchema = zod.z.object({
18
18
  updatedAt: zod.z.string().describe("ISO 8601 timestamp of last update.").nullable().optional(),
19
19
  defaultValue: zod.z.string().describe("Default value for the field.").nullable().optional(),
20
20
  allowMultipleEntries: zod.z.boolean().describe("Whether multiple entries are allowed for this field.").nullable().optional()
21
- }).describe("Represents a table field's detailed configuration.");
22
- const SoftrGetTableFieldOutput = zod.z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).describe("Response model containing the table field details.");
21
+ }).passthrough().describe("Represents a table field's detailed configuration.");
22
+ const SoftrGetTableFieldOutput = zod.z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).passthrough().describe("Response model containing the table field details.");
23
23
  const softrGetTableField = require_action.action("SOFTR_GET_TABLE_FIELD", {
24
24
  slug: "softr-get-table-field",
25
25
  name: "Get Table Field",
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-field.cjs","names":["z","action"],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput: z.ZodTypeAny = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the field.\"),\n name: z.string().describe(\"The field name.\"),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\"),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput: z.ZodTypeAny = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-table-field.cjs","names":["z","action"],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the field.\").nullable(),\n name: z.string().describe(\"The field name.\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).passthrough().describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-table-field.d.ts
4
- declare const SoftrGetTableFieldInput: z.ZodTypeAny;
5
- declare const SoftrGetTableFieldOutput: z.ZodTypeAny;
6
- declare const softrGetTableField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetTableFieldInput: z.ZodObject<{
5
+ fieldId: z.ZodString;
6
+ tableId: z.ZodString;
7
+ databaseId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrGetTableFieldOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodString>;
14
+ locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const softrGetTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ fieldId: string;
26
+ tableId: string;
27
+ databaseId: string;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { softrGetTableField };
9
31
  //# sourceMappingURL=get-table-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-field.d.cts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAI+B;AAAA,cAc1D,wBAAA,EAA0B,CAAA,CAAE,UAEwB;AAAA,cAEpD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-table-field.d.cts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-table-field.d.ts
4
- declare const SoftrGetTableFieldInput: z.ZodTypeAny;
5
- declare const SoftrGetTableFieldOutput: z.ZodTypeAny;
6
- declare const softrGetTableField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetTableFieldInput: z.ZodObject<{
5
+ fieldId: z.ZodString;
6
+ tableId: z.ZodString;
7
+ databaseId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrGetTableFieldOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodString>;
14
+ locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const softrGetTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ fieldId: string;
26
+ tableId: string;
27
+ databaseId: string;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { softrGetTableField };
9
31
  //# sourceMappingURL=get-table-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-field.d.mts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAI+B;AAAA,cAc1D,wBAAA,EAA0B,CAAA,CAAE,UAEwB;AAAA,cAEpD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-table-field.d.mts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -7,9 +7,9 @@ const SoftrGetTableFieldInput = z.object({
7
7
  databaseId: z.string().describe("The database identifier (UUID format).")
8
8
  }).describe("Request model for getting a specific field from a table.");
9
9
  const SoftrGetTableField_FieldDataSchema = z.object({
10
- id: z.string().describe("Unique identifier for the field."),
11
- name: z.string().describe("The field name."),
12
- type: z.string().describe("Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.)."),
10
+ id: z.string().describe("Unique identifier for the field.").nullable(),
11
+ name: z.string().describe("The field name.").nullable(),
12
+ type: z.string().describe("Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).").nullable(),
13
13
  locked: z.boolean().describe("Whether the field is locked from editing.").nullable().optional(),
14
14
  options: z.record(z.string(), z.unknown()).describe("Field-specific configuration options.").nullable().optional(),
15
15
  readonly: z.boolean().describe("Whether the field is read-only.").nullable().optional(),
@@ -18,13 +18,13 @@ const SoftrGetTableField_FieldDataSchema = z.object({
18
18
  updatedAt: z.string().describe("ISO 8601 timestamp of last update.").nullable().optional(),
19
19
  defaultValue: z.string().describe("Default value for the field.").nullable().optional(),
20
20
  allowMultipleEntries: z.boolean().describe("Whether multiple entries are allowed for this field.").nullable().optional()
21
- }).describe("Represents a table field's detailed configuration.");
21
+ }).passthrough().describe("Represents a table field's detailed configuration.");
22
22
  const softrGetTableField = action("SOFTR_GET_TABLE_FIELD", {
23
23
  slug: "softr-get-table-field",
24
24
  name: "Get Table Field",
25
25
  description: "Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.",
26
26
  input: SoftrGetTableFieldInput,
27
- output: z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).describe("Response model containing the table field details.")
27
+ output: z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).passthrough().describe("Response model containing the table field details.")
28
28
  });
29
29
  //#endregion
30
30
  export { softrGetTableField };
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-field.mjs","names":[],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput: z.ZodTypeAny = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the field.\"),\n name: z.string().describe(\"The field name.\"),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\"),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput: z.ZodTypeAny = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAKhE,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-table-field.mjs","names":[],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the field.\").nullable(),\n name: z.string().describe(\"The field name.\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).passthrough().describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -12,8 +12,8 @@ const SoftrGetTableViews_TableViewSchema = zod.z.object({
12
12
  createdAt: zod.z.string().describe("Timestamp when the view was created.").nullable().optional(),
13
13
  updatedAt: zod.z.string().describe("Timestamp when the view was last updated.").nullable().optional(),
14
14
  description: zod.z.string().describe("Description of the view.").nullable().optional()
15
- }).describe("Model representing a single table view.");
16
- const SoftrGetTableViewsOutput = zod.z.object({ data: zod.z.array(SoftrGetTableViews_TableViewSchema).describe("List of table views.") }).describe("Response model containing all views for a specified table.");
15
+ }).passthrough().describe("Model representing a single table view.");
16
+ const SoftrGetTableViewsOutput = zod.z.object({ data: zod.z.array(SoftrGetTableViews_TableViewSchema).describe("List of table views.") }).passthrough().describe("Response model containing all views for a specified table.");
17
17
  const softrGetTableViews = require_action.action("SOFTR_GET_TABLE_VIEWS", {
18
18
  slug: "softr-get-table-views",
19
19
  name: "Get Table Views",
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-views.cjs","names":["z","action"],"sources":["../../src/actions/get-table-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableViewsInput: z.ZodTypeAny = z.object({\n table_id: z.string().describe(\"The unique identifier of the table whose views are to be retrieved.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for retrieving all views for a specified table.\");\nconst SoftrGetTableViews_TableViewSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the view.\").nullable().optional(),\n name: z.string().describe(\"The name of the view.\").nullable().optional(),\n tableId: z.string().describe(\"The identifier of the table this view belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the view was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the view was last updated.\").nullable().optional(),\n description: z.string().describe(\"Description of the view.\").nullable().optional(),\n}).describe(\"Model representing a single table view.\");\nexport const SoftrGetTableViewsOutput: z.ZodTypeAny = z.object({\n data: z.array(SoftrGetTableViews_TableViewSchema).describe(\"List of table views.\"),\n}).describe(\"Response model containing all views for a specified table.\");\n\nexport const softrGetTableViews = action(\"SOFTR_GET_TABLE_VIEWS\", {\n slug: \"softr-get-table-views\",\n name: \"Get Table Views\",\n description: \"Tool to retrieve all views for a specified table in a Softr database. Use when you need to list or inspect available views for a table.\",\n input: SoftrGetTableViewsInput,\n output: SoftrGetTableViewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB,EACnF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-table-views.cjs","names":["z","action"],"sources":["../../src/actions/get-table-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableViewsInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table whose views are to be retrieved.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for retrieving all views for a specified table.\");\nconst SoftrGetTableViews_TableViewSchema = z.object({\n id: z.string().describe(\"The unique identifier of the view.\").nullable().optional(),\n name: z.string().describe(\"The name of the view.\").nullable().optional(),\n tableId: z.string().describe(\"The identifier of the table this view belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the view was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the view was last updated.\").nullable().optional(),\n description: z.string().describe(\"Description of the view.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single table view.\");\nexport const SoftrGetTableViewsOutput = z.object({\n data: z.array(SoftrGetTableViews_TableViewSchema).describe(\"List of table views.\"),\n}).passthrough().describe(\"Response model containing all views for a specified table.\");\n\nexport const softrGetTableViews = action(\"SOFTR_GET_TABLE_VIEWS\", {\n slug: \"softr-get-table-views\",\n name: \"Get Table Views\",\n description: \"Tool to retrieve all views for a specified table in a Softr database. Use when you need to list or inspect available views for a table.\",\n input: SoftrGetTableViewsInput,\n output: SoftrGetTableViewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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-table-views.d.ts
4
- declare const SoftrGetTableViewsInput: z.ZodTypeAny;
5
- declare const SoftrGetTableViewsOutput: z.ZodTypeAny;
6
- declare const softrGetTableViews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetTableViewsInput: z.ZodObject<{
5
+ table_id: z.ZodString;
6
+ database_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SoftrGetTableViewsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const softrGetTableViews: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ table_id: string;
20
+ database_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { softrGetTableViews };
9
24
  //# sourceMappingURL=get-table-views.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-views.d.cts","names":[],"sources":["../../src/actions/get-table-views.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAS/D,wBAAA,EAA0B,CAAA,CAAE,UAEgC;AAAA,cAE5D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-table-views.d.cts","names":[],"sources":["../../src/actions/get-table-views.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-table-views.d.ts
4
- declare const SoftrGetTableViewsInput: z.ZodTypeAny;
5
- declare const SoftrGetTableViewsOutput: z.ZodTypeAny;
6
- declare const softrGetTableViews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetTableViewsInput: z.ZodObject<{
5
+ table_id: z.ZodString;
6
+ database_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SoftrGetTableViewsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const softrGetTableViews: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ table_id: string;
20
+ database_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { softrGetTableViews };
9
24
  //# sourceMappingURL=get-table-views.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-table-views.d.mts","names":[],"sources":["../../src/actions/get-table-views.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAS/D,wBAAA,EAA0B,CAAA,CAAE,UAEgC;AAAA,cAE5D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-table-views.d.mts","names":[],"sources":["../../src/actions/get-table-views.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}