@keystrokehq/softr 0.1.2 → 0.1.4
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.
- package/dist/actions/create-database.cjs +1 -1
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +1 -1
- package/dist/actions/create-database.d.mts +1 -1
- package/dist/actions/create-database.mjs +1 -1
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-record.cjs +4 -4
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +5 -5
- package/dist/actions/create-record.d.mts +5 -5
- package/dist/actions/create-record.mjs +4 -4
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-table-field.cjs +4 -4
- package/dist/actions/create-table-field.cjs.map +1 -1
- package/dist/actions/create-table-field.d.cts +5 -5
- package/dist/actions/create-table-field.d.mts +5 -5
- package/dist/actions/create-table-field.mjs +4 -4
- package/dist/actions/create-table-field.mjs.map +1 -1
- package/dist/actions/create-table.cjs +4 -4
- package/dist/actions/create-table.cjs.map +1 -1
- package/dist/actions/create-table.d.cts +5 -4
- package/dist/actions/create-table.d.cts.map +1 -1
- package/dist/actions/create-table.d.mts +5 -4
- package/dist/actions/create-table.d.mts.map +1 -1
- package/dist/actions/create-table.mjs +4 -4
- package/dist/actions/create-table.mjs.map +1 -1
- package/dist/actions/delete-database.cjs +1 -1
- package/dist/actions/delete-database.cjs.map +1 -1
- package/dist/actions/delete-database.d.cts +1 -1
- package/dist/actions/delete-database.d.mts +1 -1
- package/dist/actions/delete-database.mjs +1 -1
- package/dist/actions/delete-database.mjs.map +1 -1
- package/dist/actions/delete-record.cjs +1 -1
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +1 -1
- package/dist/actions/delete-record.d.mts +1 -1
- package/dist/actions/delete-record.mjs +1 -1
- package/dist/actions/delete-record.mjs.map +1 -1
- package/dist/actions/delete-table-field.cjs +1 -1
- package/dist/actions/delete-table-field.cjs.map +1 -1
- package/dist/actions/delete-table-field.d.cts +1 -1
- package/dist/actions/delete-table-field.d.mts +1 -1
- package/dist/actions/delete-table-field.mjs +1 -1
- package/dist/actions/delete-table-field.mjs.map +1 -1
- package/dist/actions/delete-table.cjs +1 -1
- package/dist/actions/delete-table.cjs.map +1 -1
- package/dist/actions/delete-table.d.cts +1 -1
- package/dist/actions/delete-table.d.mts +1 -1
- package/dist/actions/delete-table.mjs +1 -1
- package/dist/actions/delete-table.mjs.map +1 -1
- package/dist/actions/get-database.cjs +2 -2
- package/dist/actions/get-database.cjs.map +1 -1
- package/dist/actions/get-database.d.cts +2 -2
- package/dist/actions/get-database.d.mts +2 -2
- package/dist/actions/get-database.mjs +2 -2
- package/dist/actions/get-database.mjs.map +1 -1
- package/dist/actions/get-databases.cjs +2 -2
- package/dist/actions/get-databases.cjs.map +1 -1
- package/dist/actions/get-databases.d.cts +2 -2
- package/dist/actions/get-databases.d.mts +2 -2
- package/dist/actions/get-databases.mjs +2 -2
- package/dist/actions/get-databases.mjs.map +1 -1
- package/dist/actions/get-record.cjs +3 -3
- package/dist/actions/get-record.cjs.map +1 -1
- package/dist/actions/get-record.d.cts +3 -3
- package/dist/actions/get-record.d.mts +3 -3
- package/dist/actions/get-record.mjs +3 -3
- package/dist/actions/get-record.mjs.map +1 -1
- package/dist/actions/get-records.cjs +3 -3
- package/dist/actions/get-records.cjs.map +1 -1
- package/dist/actions/get-records.d.cts +3 -3
- package/dist/actions/get-records.d.mts +3 -3
- package/dist/actions/get-records.mjs +3 -3
- package/dist/actions/get-records.mjs.map +1 -1
- package/dist/actions/get-table-field.cjs +2 -2
- package/dist/actions/get-table-field.cjs.map +1 -1
- package/dist/actions/get-table-field.d.cts +2 -2
- package/dist/actions/get-table-field.d.mts +2 -2
- package/dist/actions/get-table-field.mjs +2 -2
- package/dist/actions/get-table-field.mjs.map +1 -1
- package/dist/actions/get-table-views.cjs +2 -2
- package/dist/actions/get-table-views.cjs.map +1 -1
- package/dist/actions/get-table-views.d.cts +2 -2
- package/dist/actions/get-table-views.d.mts +2 -2
- package/dist/actions/get-table-views.mjs +2 -2
- package/dist/actions/get-table-views.mjs.map +1 -1
- package/dist/actions/get-table.cjs +3 -3
- package/dist/actions/get-table.cjs.map +1 -1
- package/dist/actions/get-table.d.cts +3 -3
- package/dist/actions/get-table.d.mts +3 -3
- package/dist/actions/get-table.mjs +3 -3
- package/dist/actions/get-table.mjs.map +1 -1
- package/dist/actions/get-tables.cjs +2 -2
- package/dist/actions/get-tables.cjs.map +1 -1
- package/dist/actions/get-tables.d.cts +2 -2
- package/dist/actions/get-tables.d.mts +2 -2
- package/dist/actions/get-tables.mjs +2 -2
- package/dist/actions/get-tables.mjs.map +1 -1
- package/dist/actions/search-records.cjs +3 -3
- package/dist/actions/search-records.cjs.map +1 -1
- package/dist/actions/search-records.d.cts +3 -3
- package/dist/actions/search-records.d.mts +3 -3
- package/dist/actions/search-records.mjs +3 -3
- package/dist/actions/search-records.mjs.map +1 -1
- package/dist/actions/update-database.cjs +2 -2
- package/dist/actions/update-database.cjs.map +1 -1
- package/dist/actions/update-database.d.cts +2 -2
- package/dist/actions/update-database.d.mts +2 -2
- package/dist/actions/update-database.mjs +2 -2
- package/dist/actions/update-database.mjs.map +1 -1
- package/dist/actions/update-record.cjs +2 -2
- package/dist/actions/update-record.cjs.map +1 -1
- package/dist/actions/update-record.d.cts +2 -2
- package/dist/actions/update-record.d.mts +2 -2
- package/dist/actions/update-record.mjs +2 -2
- package/dist/actions/update-record.mjs.map +1 -1
- package/dist/actions/update-table-field.cjs +1 -1
- package/dist/actions/update-table-field.cjs.map +1 -1
- package/dist/actions/update-table-field.d.cts +1 -1
- package/dist/actions/update-table-field.d.mts +1 -1
- package/dist/actions/update-table-field.mjs +1 -1
- package/dist/actions/update-table-field.mjs.map +1 -1
- package/dist/actions/update-table.cjs +3 -3
- package/dist/actions/update-table.cjs.map +1 -1
- package/dist/actions/update-table.d.cts +3 -3
- package/dist/actions/update-table.d.mts +3 -3
- package/dist/actions/update-table.mjs +3 -3
- package/dist/actions/update-table.mjs.map +1 -1
- package/dist/catalog.cjs +2 -2
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +2 -2
- package/dist/catalog.d.mts +2 -2
- package/dist/catalog.mjs +2 -2
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tables.mjs","names":[],"sources":["../../src/actions/get-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTablesInput = z.object({\n databaseId: z.string().describe(\"The unique identifier of the database to retrieve tables from.\"),\n});\nconst SoftrGetTables_TableSchema = z.object({\n id: z.string().describe(\"Unique identifier for the table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the table was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the table was last updated.\").nullable().optional(),\n description: z.string().describe(\"Optional description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"Identifier of the default view for the table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"Identifier of the primary field in the table.\").nullable().optional(),\n}).describe(\"Represents a table within a Softr database.\");\nexport const SoftrGetTablesOutput = z.object({\n data: z.array(SoftrGetTables_TableSchema).describe(\"Array of table objects within the specified database.\"),\n}).describe(\"Response containing all tables in a database.\");\n\nexport const softrGetTables = action(\"SOFTR_GET_TABLES\", {\n slug: \"softr-get-tables\",\n name: \"Get Tables\",\n description: \"Retrieves all tables within a specified Softr database. Use when you need to list or explore the tables available in a database.\",\n input: SoftrGetTablesInput,\n output: SoftrGetTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAClG,CAAC;AACD,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"get-tables.mjs","names":[],"sources":["../../src/actions/get-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTablesInput = z.object({\n databaseId: z.string().describe(\"The unique identifier of the database to retrieve tables from.\"),\n});\nconst SoftrGetTables_TableSchema = z.object({\n id: z.string().describe(\"Unique identifier for the table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the table was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the table was last updated.\").nullable().optional(),\n description: z.string().describe(\"Optional description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"Identifier of the default view for the table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"Identifier of the primary field in the table.\").nullable().optional(),\n}).passthrough().describe(\"Represents a table within a Softr database.\");\nexport const SoftrGetTablesOutput = z.object({\n data: z.array(SoftrGetTables_TableSchema).describe(\"Array of table objects within the specified database.\"),\n}).passthrough().describe(\"Response containing all tables in a database.\");\n\nexport const softrGetTables = action(\"SOFTR_GET_TABLES\", {\n slug: \"softr-get-tables\",\n name: \"Get Tables\",\n description: \"Retrieves all tables within a specified Softr database. Use when you need to list or explore the tables available in a database.\",\n input: SoftrGetTablesInput,\n output: SoftrGetTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAClG,CAAC;AACD,MAAM,6BAA6B,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,uDAAuD,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -17,16 +17,16 @@ const SoftrSearchRecords_RecordSchema = zod.z.object({
|
|
|
17
17
|
tableId: zod.z.string().describe("Identifier of the table this record belongs to.").nullable().optional(),
|
|
18
18
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the record was created.").nullable(),
|
|
19
19
|
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the record was last updated.").nullable()
|
|
20
|
-
}).describe("Represents a single record from a Softr table.");
|
|
20
|
+
}).passthrough().describe("Represents a single record from a Softr table.");
|
|
21
21
|
const SoftrSearchRecords_SearchMetadataSchema = zod.z.object({
|
|
22
22
|
limit: zod.z.number().int().describe("Maximum number of records requested.").nullable(),
|
|
23
23
|
total: zod.z.number().int().describe("Total number of records matching the filter criteria.").nullable(),
|
|
24
24
|
offset: zod.z.number().int().describe("Number of records skipped in this result set.").nullable()
|
|
25
|
-
}).describe("Metadata about the search results and pagination.");
|
|
25
|
+
}).passthrough().describe("Metadata about the search results and pagination.");
|
|
26
26
|
const SoftrSearchRecordsOutput = zod.z.object({
|
|
27
27
|
data: zod.z.array(SoftrSearchRecords_RecordSchema).describe("List of records matching the search criteria."),
|
|
28
28
|
metadata: SoftrSearchRecords_SearchMetadataSchema.nullable()
|
|
29
|
-
}).describe("Response model containing search results and metadata.");
|
|
29
|
+
}).passthrough().describe("Response model containing search results and metadata.");
|
|
30
30
|
const softrSearchRecords = require_action.action("SOFTR_SEARCH_RECORDS", {
|
|
31
31
|
slug: "softr-search-records",
|
|
32
32
|
name: "Search Records",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-records.cjs","names":["z","action"],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrSearchRecordsInput = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Filter conditions for searching records. Structure varies based on table schema and filter requirements.\").optional(),\n paging: z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of records to return per request. Must be between 1 and 100. Defaults to 10.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of records to skip. Use for pagination. Defaults to 0.\").optional(),\n}).describe(\"Pagination options for record search.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to search records in.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for searching records in a Softr database table.\");\nconst SoftrSearchRecords_RecordFieldsSchema = z.record(z.string(), z.unknown()).describe(\"Custom fields for a record. Structure varies based on the table schema.\");\nconst SoftrSearchRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n fields: SoftrSearchRecords_RecordFieldsSchema.nullable(),\n tableId: z.string().describe(\"Identifier of the table this record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated.\").nullable(),\n}).describe(\"Represents a single record from a Softr table.\");\nconst SoftrSearchRecords_SearchMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records requested.\").nullable(),\n total: z.number().int().describe(\"Total number of records matching the filter criteria.\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped in this result set.\").nullable(),\n}).describe(\"Metadata about the search results and pagination.\");\nexport const SoftrSearchRecordsOutput = z.object({\n data: z.array(SoftrSearchRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n metadata: SoftrSearchRecords_SearchMetadataSchema.nullable(),\n}).describe(\"Response model containing search results and metadata.\");\n\nexport const softrSearchRecords = action(\"SOFTR_SEARCH_RECORDS\", {\n slug: \"softr-search-records\",\n name: \"Search Records\",\n description: \"Tool to search records in a Softr database table with filtering and pagination. Use when you need to retrieve records from a specific table, optionally filtered by field values and paginated for large result sets.\",\n input: SoftrSearchRecordsInput,\n output: SoftrSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxK,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAClK,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,QAAQ,sCAAsC,SAAS;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"search-records.cjs","names":["z","action"],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrSearchRecordsInput = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Filter conditions for searching records. Structure varies based on table schema and filter requirements.\").optional(),\n paging: z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of records to return per request. Must be between 1 and 100. Defaults to 10.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of records to skip. Use for pagination. Defaults to 0.\").optional(),\n}).describe(\"Pagination options for record search.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to search records in.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for searching records in a Softr database table.\");\nconst SoftrSearchRecords_RecordFieldsSchema = z.record(z.string(), z.unknown()).describe(\"Custom fields for a record. Structure varies based on the table schema.\");\nconst SoftrSearchRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n fields: SoftrSearchRecords_RecordFieldsSchema.nullable(),\n tableId: z.string().describe(\"Identifier of the table this record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated.\").nullable(),\n}).passthrough().describe(\"Represents a single record from a Softr table.\");\nconst SoftrSearchRecords_SearchMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records requested.\").nullable(),\n total: z.number().int().describe(\"Total number of records matching the filter criteria.\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped in this result set.\").nullable(),\n}).passthrough().describe(\"Metadata about the search results and pagination.\");\nexport const SoftrSearchRecordsOutput = z.object({\n data: z.array(SoftrSearchRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n metadata: SoftrSearchRecords_SearchMetadataSchema.nullable(),\n}).passthrough().describe(\"Response model containing search results and metadata.\");\n\nexport const softrSearchRecords = action(\"SOFTR_SEARCH_RECORDS\", {\n slug: \"softr-search-records\",\n name: \"Search Records\",\n description: \"Tool to search records in a Softr database table with filtering and pagination. Use when you need to retrieve records from a specific table, optionally filtered by field values and paginated for large result sets.\",\n input: SoftrSearchRecordsInput,\n output: SoftrSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxK,QAAQA,IAAAA,EAAE,OAAO;EACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAClK,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,QAAQ,sCAAsC,SAAS;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+CAA+C;CACvG,UAAU,wCAAwC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,13 +17,13 @@ declare const SoftrSearchRecordsOutput: z.ZodObject<{
|
|
|
17
17
|
tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
19
19
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
22
22
|
limit: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
total: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
26
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const softrSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
table_id: string;
|
|
29
29
|
database_id: string;
|
|
@@ -17,13 +17,13 @@ declare const SoftrSearchRecordsOutput: z.ZodObject<{
|
|
|
17
17
|
tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
19
19
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
22
22
|
limit: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
total: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
26
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const softrSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
table_id: string;
|
|
29
29
|
database_id: string;
|
|
@@ -17,12 +17,12 @@ const SoftrSearchRecords_RecordSchema = z.object({
|
|
|
17
17
|
tableId: z.string().describe("Identifier of the table this record belongs to.").nullable().optional(),
|
|
18
18
|
createdAt: z.string().describe("ISO 8601 timestamp when the record was created.").nullable(),
|
|
19
19
|
updatedAt: z.string().describe("ISO 8601 timestamp when the record was last updated.").nullable()
|
|
20
|
-
}).describe("Represents a single record from a Softr table.");
|
|
20
|
+
}).passthrough().describe("Represents a single record from a Softr table.");
|
|
21
21
|
const SoftrSearchRecords_SearchMetadataSchema = z.object({
|
|
22
22
|
limit: z.number().int().describe("Maximum number of records requested.").nullable(),
|
|
23
23
|
total: z.number().int().describe("Total number of records matching the filter criteria.").nullable(),
|
|
24
24
|
offset: z.number().int().describe("Number of records skipped in this result set.").nullable()
|
|
25
|
-
}).describe("Metadata about the search results and pagination.");
|
|
25
|
+
}).passthrough().describe("Metadata about the search results and pagination.");
|
|
26
26
|
const softrSearchRecords = action("SOFTR_SEARCH_RECORDS", {
|
|
27
27
|
slug: "softr-search-records",
|
|
28
28
|
name: "Search Records",
|
|
@@ -31,7 +31,7 @@ const softrSearchRecords = action("SOFTR_SEARCH_RECORDS", {
|
|
|
31
31
|
output: z.object({
|
|
32
32
|
data: z.array(SoftrSearchRecords_RecordSchema).describe("List of records matching the search criteria."),
|
|
33
33
|
metadata: SoftrSearchRecords_SearchMetadataSchema.nullable()
|
|
34
|
-
}).describe("Response model containing search results and metadata.")
|
|
34
|
+
}).passthrough().describe("Response model containing search results and metadata.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { softrSearchRecords };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-records.mjs","names":[],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrSearchRecordsInput = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Filter conditions for searching records. Structure varies based on table schema and filter requirements.\").optional(),\n paging: z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of records to return per request. Must be between 1 and 100. Defaults to 10.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of records to skip. Use for pagination. Defaults to 0.\").optional(),\n}).describe(\"Pagination options for record search.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to search records in.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for searching records in a Softr database table.\");\nconst SoftrSearchRecords_RecordFieldsSchema = z.record(z.string(), z.unknown()).describe(\"Custom fields for a record. Structure varies based on the table schema.\");\nconst SoftrSearchRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n fields: SoftrSearchRecords_RecordFieldsSchema.nullable(),\n tableId: z.string().describe(\"Identifier of the table this record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated.\").nullable(),\n}).describe(\"Represents a single record from a Softr table.\");\nconst SoftrSearchRecords_SearchMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records requested.\").nullable(),\n total: z.number().int().describe(\"Total number of records matching the filter criteria.\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped in this result set.\").nullable(),\n}).describe(\"Metadata about the search results and pagination.\");\nexport const SoftrSearchRecordsOutput = z.object({\n data: z.array(SoftrSearchRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n metadata: SoftrSearchRecords_SearchMetadataSchema.nullable(),\n}).describe(\"Response model containing search results and metadata.\");\n\nexport const softrSearchRecords = action(\"SOFTR_SEARCH_RECORDS\", {\n slug: \"softr-search-records\",\n name: \"Search Records\",\n description: \"Tool to search records in a Softr database table with filtering and pagination. Use when you need to retrieve records from a specific table, optionally filtered by field values and paginated for large result sets.\",\n input: SoftrSearchRecordsInput,\n output: SoftrSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxK,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAClK,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,QAAQ,sCAAsC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"search-records.mjs","names":[],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrSearchRecordsInput = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Filter conditions for searching records. Structure varies based on table schema and filter requirements.\").optional(),\n paging: z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of records to return per request. Must be between 1 and 100. Defaults to 10.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of records to skip. Use for pagination. Defaults to 0.\").optional(),\n}).describe(\"Pagination options for record search.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to search records in.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for searching records in a Softr database table.\");\nconst SoftrSearchRecords_RecordFieldsSchema = z.record(z.string(), z.unknown()).describe(\"Custom fields for a record. Structure varies based on the table schema.\");\nconst SoftrSearchRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n fields: SoftrSearchRecords_RecordFieldsSchema.nullable(),\n tableId: z.string().describe(\"Identifier of the table this record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated.\").nullable(),\n}).passthrough().describe(\"Represents a single record from a Softr table.\");\nconst SoftrSearchRecords_SearchMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records requested.\").nullable(),\n total: z.number().int().describe(\"Total number of records matching the filter criteria.\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped in this result set.\").nullable(),\n}).passthrough().describe(\"Metadata about the search results and pagination.\");\nexport const SoftrSearchRecordsOutput = z.object({\n data: z.array(SoftrSearchRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n metadata: SoftrSearchRecords_SearchMetadataSchema.nullable(),\n}).passthrough().describe(\"Response model containing search results and metadata.\");\n\nexport const softrSearchRecords = action(\"SOFTR_SEARCH_RECORDS\", {\n slug: \"softr-search-records\",\n name: \"Search Records\",\n description: \"Tool to search records in a Softr database table with filtering and pagination. Use when you need to retrieve records from a specific table, optionally filtered by field values and paginated for large result sets.\",\n input: SoftrSearchRecordsInput,\n output: SoftrSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxK,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAClK,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,QAAQ,sCAAsC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,0CAA0C,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+CAA+C;EACvG,UAAU,wCAAwC,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ const SoftrUpdateDatabase_DatabaseSchema = zod.z.object({
|
|
|
13
13
|
updatedAt: zod.z.string().describe("Timestamp when the database was last updated").nullable(),
|
|
14
14
|
description: zod.z.string().describe("Description of the database").nullable().optional(),
|
|
15
15
|
workspaceId: zod.z.string().describe("ID of the workspace this database belongs to").nullable()
|
|
16
|
-
}).describe("Database object model");
|
|
17
|
-
const SoftrUpdateDatabaseOutput = zod.z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).describe("Response model for update database action");
|
|
16
|
+
}).passthrough().describe("Database object model");
|
|
17
|
+
const SoftrUpdateDatabaseOutput = zod.z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).passthrough().describe("Response model for update database action");
|
|
18
18
|
const softrUpdateDatabase = require_action.action("SOFTR_UPDATE_DATABASE", {
|
|
19
19
|
slug: "softr-update-database",
|
|
20
20
|
name: "Update Database",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-database.cjs","names":["z","action"],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\").nullable(),\n}).describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,uBAAuB;
|
|
1
|
+
{"version":3,"file":"update-database.cjs","names":["z","action"],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\").nullable(),\n}).passthrough().describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).passthrough().describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ declare const SoftrUpdateDatabaseOutput: z.ZodObject<{
|
|
|
14
14
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const softrUpdateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
database_id: string;
|
|
21
21
|
name?: string | undefined;
|
|
@@ -14,8 +14,8 @@ declare const SoftrUpdateDatabaseOutput: z.ZodObject<{
|
|
|
14
14
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const softrUpdateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
database_id: string;
|
|
21
21
|
name?: string | undefined;
|
|
@@ -13,13 +13,13 @@ const SoftrUpdateDatabase_DatabaseSchema = z.object({
|
|
|
13
13
|
updatedAt: z.string().describe("Timestamp when the database was last updated").nullable(),
|
|
14
14
|
description: z.string().describe("Description of the database").nullable().optional(),
|
|
15
15
|
workspaceId: z.string().describe("ID of the workspace this database belongs to").nullable()
|
|
16
|
-
}).describe("Database object model");
|
|
16
|
+
}).passthrough().describe("Database object model");
|
|
17
17
|
const softrUpdateDatabase = action("SOFTR_UPDATE_DATABASE", {
|
|
18
18
|
slug: "softr-update-database",
|
|
19
19
|
name: "Update Database",
|
|
20
20
|
description: "Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.",
|
|
21
21
|
input: SoftrUpdateDatabaseInput,
|
|
22
|
-
output: z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).describe("Response model for update database action")
|
|
22
|
+
output: z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).passthrough().describe("Response model for update database action")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { softrUpdateDatabase };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-database.mjs","names":[],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\").nullable(),\n}).describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,uBAAuB;
|
|
1
|
+
{"version":3,"file":"update-database.mjs","names":[],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\").nullable(),\n}).passthrough().describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).passthrough().describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAKjD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ const SoftrUpdateRecord_RecordDataSchema = zod.z.object({
|
|
|
13
13
|
tableId: zod.z.string().describe("The unique identifier of the table the record belongs to.").nullable().optional(),
|
|
14
14
|
createdAt: zod.z.string().describe("The timestamp when the record was created (ISO 8601 format).").nullable().optional(),
|
|
15
15
|
updatedAt: zod.z.string().describe("The timestamp when the record was last updated (ISO 8601 format).").nullable().optional()
|
|
16
|
-
}).describe("Record data structure returned by the API.");
|
|
17
|
-
const SoftrUpdateRecordOutput = zod.z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).describe("Response model containing the updated record data.");
|
|
16
|
+
}).passthrough().describe("Record data structure returned by the API.");
|
|
17
|
+
const SoftrUpdateRecordOutput = zod.z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).passthrough().describe("Response model containing the updated record data.");
|
|
18
18
|
const softrUpdateRecord = require_action.action("SOFTR_UPDATE_RECORD", {
|
|
19
19
|
slug: "softr-update-record",
|
|
20
20
|
name: "Update a record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-record.cjs","names":["z","action"],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\n table_id: z.string().describe(\"The unique identifier of the table containing the record.\"),\n record_id: z.string().describe(\"The unique identifier of the record to update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.\",\n input: SoftrUpdateRecordInput,\n output: SoftrUpdateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAChS,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"update-record.cjs","names":["z","action"],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\n table_id: z.string().describe(\"The unique identifier of the table containing the record.\"),\n record_id: z.string().describe(\"The unique identifier of the record to update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.\",\n input: SoftrUpdateRecordInput,\n output: SoftrUpdateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAChS,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ declare const SoftrUpdateRecordOutput: z.ZodObject<{
|
|
|
14
14
|
tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const softrUpdateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
fields: Record<string, unknown>;
|
|
21
21
|
table_id: string;
|
|
@@ -14,8 +14,8 @@ declare const SoftrUpdateRecordOutput: z.ZodObject<{
|
|
|
14
14
|
tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const softrUpdateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
fields: Record<string, unknown>;
|
|
21
21
|
table_id: string;
|
|
@@ -13,13 +13,13 @@ const SoftrUpdateRecord_RecordDataSchema = z.object({
|
|
|
13
13
|
tableId: z.string().describe("The unique identifier of the table the record belongs to.").nullable().optional(),
|
|
14
14
|
createdAt: z.string().describe("The timestamp when the record was created (ISO 8601 format).").nullable().optional(),
|
|
15
15
|
updatedAt: z.string().describe("The timestamp when the record was last updated (ISO 8601 format).").nullable().optional()
|
|
16
|
-
}).describe("Record data structure returned by the API.");
|
|
16
|
+
}).passthrough().describe("Record data structure returned by the API.");
|
|
17
17
|
const softrUpdateRecord = action("SOFTR_UPDATE_RECORD", {
|
|
18
18
|
slug: "softr-update-record",
|
|
19
19
|
name: "Update a record",
|
|
20
20
|
description: "Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.",
|
|
21
21
|
input: SoftrUpdateRecordInput,
|
|
22
|
-
output: z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).describe("Response model containing the updated record data.")
|
|
22
|
+
output: z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).passthrough().describe("Response model containing the updated record data.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { softrUpdateRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-record.mjs","names":[],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\n table_id: z.string().describe(\"The unique identifier of the table containing the record.\"),\n record_id: z.string().describe(\"The unique identifier of the record to update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.\",\n input: SoftrUpdateRecordInput,\n output: SoftrUpdateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAChS,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"update-record.mjs","names":[],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\n table_id: z.string().describe(\"The unique identifier of the table containing the record.\"),\n record_id: z.string().describe(\"The unique identifier of the record to update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.\",\n input: SoftrUpdateRecordInput,\n output: SoftrUpdateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAChS,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -53,7 +53,7 @@ const SoftrUpdateTableFieldOutput = zod.z.object({
|
|
|
53
53
|
updatedAt: zod.z.string().describe("Timestamp when the field was last updated.").nullable().optional(),
|
|
54
54
|
defaultValue: zod.z.unknown().describe("The default value for the field.").nullable().optional(),
|
|
55
55
|
allowMultipleEntries: zod.z.boolean().describe("Whether the field allows multiple entries.").nullable().optional()
|
|
56
|
-
}).describe("Response model for the updated table field.");
|
|
56
|
+
}).passthrough().describe("Response model for the updated table field.");
|
|
57
57
|
const softrUpdateTableField = require_action.action("SOFTR_UPDATE_TABLE_FIELD", {
|
|
58
58
|
slug: "softr-update-table-field",
|
|
59
59
|
name: "Update table field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-table-field.cjs","names":["z","action"],"sources":["../../src/actions/update-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableFieldInput = z.object({\n name: z.string().describe(\"The new name of the field. If not provided, the field name remains unchanged.\").optional(),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The field type. Must be provided even if not changing the type. Common types: SINGLE_LINE_TEXT (text), EMAIL (email validation), NUMBER (numeric), CHECKBOX (boolean), SELECT (dropdown), LONG_TEXT (multi-line text).\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT: {minLength: 0, maxLength: 1024}. For NUMBER: {precision: 2}. For SELECT: {choices: ['Option1', 'Option2']}. Structure varies by field type.\"),\n field_id: z.string().describe(\"The unique identifier of the field to update.\"),\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}).describe(\"Request model for updating an existing field in a Softr table.\");\nexport const SoftrUpdateTableFieldOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated field.\").nullable().optional(),\n name: z.string().describe(\"The name of the updated field.\").nullable().optional(),\n type: z.string().describe(\"The type of the field.\").nullable().optional(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type.\").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(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.unknown().describe(\"The default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether the field allows multiple entries.\").nullable().optional(),\n}).describe(\"Response model for the updated table field.\");\n\nexport const softrUpdateTableField = action(\"SOFTR_UPDATE_TABLE_FIELD\", {\n slug: \"softr-update-table-field\",\n name: \"Update table field\",\n description: \"Updates an existing field in a Softr table. Use when you need to modify a field's name, type, or configuration options. Note: The API requires both 'type' and 'options' fields even if only updating the name.\",\n input: SoftrUpdateTableFieldInput,\n output: SoftrUpdateTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAY;EAAY;EAAY;EAAS;EAAU;EAAU;EAAc;EAAU;EAAiB;EAAa;EAAO;EAAW;EAAU;EAAY;EAAS;EAAc;EAAW;EAAQ;EAAU;EAAU;EAAW;EAAS;EAAc;EAAc;EAAc;EAAc;EAAc;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,wNAAwN;CAC5lB,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qNAAqN;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,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,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"update-table-field.cjs","names":["z","action"],"sources":["../../src/actions/update-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableFieldInput = z.object({\n name: z.string().describe(\"The new name of the field. If not provided, the field name remains unchanged.\").optional(),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The field type. Must be provided even if not changing the type. Common types: SINGLE_LINE_TEXT (text), EMAIL (email validation), NUMBER (numeric), CHECKBOX (boolean), SELECT (dropdown), LONG_TEXT (multi-line text).\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT: {minLength: 0, maxLength: 1024}. For NUMBER: {precision: 2}. For SELECT: {choices: ['Option1', 'Option2']}. Structure varies by field type.\"),\n field_id: z.string().describe(\"The unique identifier of the field to update.\"),\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}).describe(\"Request model for updating an existing field in a Softr table.\");\nexport const SoftrUpdateTableFieldOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated field.\").nullable().optional(),\n name: z.string().describe(\"The name of the updated field.\").nullable().optional(),\n type: z.string().describe(\"The type of the field.\").nullable().optional(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type.\").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(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.unknown().describe(\"The default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether the field allows multiple entries.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated table field.\");\n\nexport const softrUpdateTableField = action(\"SOFTR_UPDATE_TABLE_FIELD\", {\n slug: \"softr-update-table-field\",\n name: \"Update table field\",\n description: \"Updates an existing field in a Softr table. Use when you need to modify a field's name, type, or configuration options. Note: The API requires both 'type' and 'options' fields even if only updating the name.\",\n input: SoftrUpdateTableFieldInput,\n output: SoftrUpdateTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAY;EAAY;EAAY;EAAS;EAAU;EAAU;EAAc;EAAU;EAAiB;EAAa;EAAO;EAAW;EAAU;EAAY;EAAS;EAAc;EAAW;EAAQ;EAAU;EAAU;EAAW;EAAS;EAAc;EAAc;EAAc;EAAc;EAAc;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,wNAAwN;CAC5lB,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qNAAqN;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,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,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -53,7 +53,7 @@ declare const SoftrUpdateTableFieldOutput: z.ZodObject<{
|
|
|
53
53
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
55
55
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const softrUpdateTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
|
|
59
59
|
options: Record<string, unknown>;
|
|
@@ -53,7 +53,7 @@ declare const SoftrUpdateTableFieldOutput: z.ZodObject<{
|
|
|
53
53
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
55
55
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const softrUpdateTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
|
|
59
59
|
options: Record<string, unknown>;
|
|
@@ -56,7 +56,7 @@ const softrUpdateTableField = action("SOFTR_UPDATE_TABLE_FIELD", {
|
|
|
56
56
|
updatedAt: z.string().describe("Timestamp when the field was last updated.").nullable().optional(),
|
|
57
57
|
defaultValue: z.unknown().describe("The default value for the field.").nullable().optional(),
|
|
58
58
|
allowMultipleEntries: z.boolean().describe("Whether the field allows multiple entries.").nullable().optional()
|
|
59
|
-
}).describe("Response model for the updated table field.")
|
|
59
|
+
}).passthrough().describe("Response model for the updated table field.")
|
|
60
60
|
});
|
|
61
61
|
//#endregion
|
|
62
62
|
export { softrUpdateTableField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-table-field.mjs","names":[],"sources":["../../src/actions/update-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableFieldInput = z.object({\n name: z.string().describe(\"The new name of the field. If not provided, the field name remains unchanged.\").optional(),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The field type. Must be provided even if not changing the type. Common types: SINGLE_LINE_TEXT (text), EMAIL (email validation), NUMBER (numeric), CHECKBOX (boolean), SELECT (dropdown), LONG_TEXT (multi-line text).\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT: {minLength: 0, maxLength: 1024}. For NUMBER: {precision: 2}. For SELECT: {choices: ['Option1', 'Option2']}. Structure varies by field type.\"),\n field_id: z.string().describe(\"The unique identifier of the field to update.\"),\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}).describe(\"Request model for updating an existing field in a Softr table.\");\nexport const SoftrUpdateTableFieldOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated field.\").nullable().optional(),\n name: z.string().describe(\"The name of the updated field.\").nullable().optional(),\n type: z.string().describe(\"The type of the field.\").nullable().optional(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type.\").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(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.unknown().describe(\"The default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether the field allows multiple entries.\").nullable().optional(),\n}).describe(\"Response model for the updated table field.\");\n\nexport const softrUpdateTableField = action(\"SOFTR_UPDATE_TABLE_FIELD\", {\n slug: \"softr-update-table-field\",\n name: \"Update table field\",\n description: \"Updates an existing field in a Softr table. Use when you need to modify a field's name, type, or configuration options. Note: The API requires both 'type' and 'options' fields even if only updating the name.\",\n input: SoftrUpdateTableFieldInput,\n output: SoftrUpdateTableFieldOutput,\n});\n"],"mappings":";;AA0BA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,wNAAwN;EAC5lB,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qNAAqN;EACzQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC3E,CAAC,CAAC,CAAC,SAAS,gEAmBH;CACP,QAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-table-field.mjs","names":[],"sources":["../../src/actions/update-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableFieldInput = z.object({\n name: z.string().describe(\"The new name of the field. If not provided, the field name remains unchanged.\").optional(),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The field type. Must be provided even if not changing the type. Common types: SINGLE_LINE_TEXT (text), EMAIL (email validation), NUMBER (numeric), CHECKBOX (boolean), SELECT (dropdown), LONG_TEXT (multi-line text).\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT: {minLength: 0, maxLength: 1024}. For NUMBER: {precision: 2}. For SELECT: {choices: ['Option1', 'Option2']}. Structure varies by field type.\"),\n field_id: z.string().describe(\"The unique identifier of the field to update.\"),\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}).describe(\"Request model for updating an existing field in a Softr table.\");\nexport const SoftrUpdateTableFieldOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated field.\").nullable().optional(),\n name: z.string().describe(\"The name of the updated field.\").nullable().optional(),\n type: z.string().describe(\"The type of the field.\").nullable().optional(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type.\").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(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.unknown().describe(\"The default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether the field allows multiple entries.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated table field.\");\n\nexport const softrUpdateTableField = action(\"SOFTR_UPDATE_TABLE_FIELD\", {\n slug: \"softr-update-table-field\",\n name: \"Update table field\",\n description: \"Updates an existing field in a Softr table. Use when you need to modify a field's name, type, or configuration options. Note: The API requires both 'type' and 'options' fields even if only updating the name.\",\n input: SoftrUpdateTableFieldInput,\n output: SoftrUpdateTableFieldOutput,\n});\n"],"mappings":";;AA0BA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,wNAAwN;EAC5lB,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qNAAqN;EACzQ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAC3E,CAAC,CAAC,CAAC,SAAS,gEAmBH;CACP,QAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const SoftrUpdateTable_TableFieldSchema = zod.z.object({
|
|
|
20
20
|
updatedAt: zod.z.string().describe("Field update timestamp").nullable().optional(),
|
|
21
21
|
defaultValue: zod.z.string().describe("Default value for field").nullable().optional(),
|
|
22
22
|
allowMultipleEntries: zod.z.boolean().describe("Whether multiple entries are allowed").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const SoftrUpdateTable_TableSchema = zod.z.object({
|
|
25
25
|
id: zod.z.string().describe("Table identifier").nullable(),
|
|
26
26
|
name: zod.z.string().describe("Table name").nullable(),
|
|
@@ -30,8 +30,8 @@ const SoftrUpdateTable_TableSchema = zod.z.object({
|
|
|
30
30
|
description: zod.z.string().describe("Table description").nullable().optional(),
|
|
31
31
|
defaultViewId: zod.z.string().describe("ID of default view").nullable(),
|
|
32
32
|
primaryFieldId: zod.z.string().describe("ID of primary field").nullable()
|
|
33
|
-
});
|
|
34
|
-
const SoftrUpdateTableOutput = zod.z.object({ data: SoftrUpdateTable_TableSchema.nullable() });
|
|
33
|
+
}).passthrough();
|
|
34
|
+
const SoftrUpdateTableOutput = zod.z.object({ data: SoftrUpdateTable_TableSchema.nullable() }).passthrough();
|
|
35
35
|
const softrUpdateTable = require_action.action("SOFTR_UPDATE_TABLE", {
|
|
36
36
|
slug: "softr-update-table",
|
|
37
37
|
name: "Update Table",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-table.cjs","names":["z","action"],"sources":["../../src/actions/update-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableInput = z.object({\n name: z.string().describe(\"The name of the table (required by API)\"),\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 description: z.string().describe(\"The new description of the table\").optional(),\n});\nconst SoftrUpdateTable_TableFieldOptionsSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific configuration for table fields\");\nconst SoftrUpdateTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Field identifier\").nullable(),\n name: z.string().describe(\"Field name\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, CHECKBOX, EMAIL, etc.)\").nullable(),\n locked: z.boolean().describe(\"Whether field is locked\").nullable().optional(),\n options: SoftrUpdateTable_TableFieldOptionsSchema.nullable().optional(),\n readonly: z.boolean().describe(\"Whether field is read-only\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required\").nullable().optional(),\n createdAt: z.string().describe(\"Field creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Field update timestamp\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for field\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed\").nullable().optional(),\n});\nconst SoftrUpdateTable_TableSchema = z.object({\n id: z.string().describe(\"Table identifier\").nullable(),\n name: z.string().describe(\"Table name\").nullable(),\n fields: z.array(SoftrUpdateTable_TableFieldSchema).describe(\"Array of table fields\"),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Table description\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of default view\").nullable(),\n primaryFieldId: z.string().describe(\"ID of primary field\").nullable(),\n});\nexport const SoftrUpdateTableOutput = z.object({\n data: SoftrUpdateTable_TableSchema.nullable(),\n});\n\nexport const softrUpdateTable = action(\"SOFTR_UPDATE_TABLE\", {\n slug: \"softr-update-table\",\n name: \"Update Table\",\n description: \"Tool to update a table's name and/or description in Softr Database. Use when you need to modify table metadata. To modify fields, use the field-specific endpoints instead.\",\n input: SoftrUpdateTableInput,\n output: SoftrUpdateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1I,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;
|
|
1
|
+
{"version":3,"file":"update-table.cjs","names":["z","action"],"sources":["../../src/actions/update-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableInput = z.object({\n name: z.string().describe(\"The name of the table (required by API)\"),\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 description: z.string().describe(\"The new description of the table\").optional(),\n});\nconst SoftrUpdateTable_TableFieldOptionsSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific configuration for table fields\");\nconst SoftrUpdateTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Field identifier\").nullable(),\n name: z.string().describe(\"Field name\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, CHECKBOX, EMAIL, etc.)\").nullable(),\n locked: z.boolean().describe(\"Whether field is locked\").nullable().optional(),\n options: SoftrUpdateTable_TableFieldOptionsSchema.nullable().optional(),\n readonly: z.boolean().describe(\"Whether field is read-only\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required\").nullable().optional(),\n createdAt: z.string().describe(\"Field creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Field update timestamp\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for field\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed\").nullable().optional(),\n}).passthrough();\nconst SoftrUpdateTable_TableSchema = z.object({\n id: z.string().describe(\"Table identifier\").nullable(),\n name: z.string().describe(\"Table name\").nullable(),\n fields: z.array(SoftrUpdateTable_TableFieldSchema).describe(\"Array of table fields\"),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Table description\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of default view\").nullable(),\n primaryFieldId: z.string().describe(\"ID of primary field\").nullable(),\n}).passthrough();\nexport const SoftrUpdateTableOutput = z.object({\n data: SoftrUpdateTable_TableSchema.nullable(),\n}).passthrough();\n\nexport const softrUpdateTable = action(\"SOFTR_UPDATE_TABLE\", {\n slug: \"softr-update-table\",\n name: \"Update Table\",\n description: \"Tool to update a table's name and/or description in Softr Database. Use when you need to modify table metadata. To modify fields, use the field-specific endpoints instead.\",\n input: SoftrUpdateTableInput,\n output: SoftrUpdateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1I,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uBAAuB;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,6BAA6B,SAAS,EAC9C,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,14 +23,14 @@ declare const SoftrUpdateTableOutput: z.ZodObject<{
|
|
|
23
23
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
28
28
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
29
29
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
defaultViewId: z.ZodNullable<z.ZodString>;
|
|
31
31
|
primaryFieldId: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const softrUpdateTable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
table_id: string;
|
|
@@ -23,14 +23,14 @@ declare const SoftrUpdateTableOutput: z.ZodObject<{
|
|
|
23
23
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
28
28
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
29
29
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
defaultViewId: z.ZodNullable<z.ZodString>;
|
|
31
31
|
primaryFieldId: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const softrUpdateTable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
table_id: string;
|
|
@@ -20,7 +20,7 @@ const SoftrUpdateTable_TableFieldSchema = z.object({
|
|
|
20
20
|
updatedAt: z.string().describe("Field update timestamp").nullable().optional(),
|
|
21
21
|
defaultValue: z.string().describe("Default value for field").nullable().optional(),
|
|
22
22
|
allowMultipleEntries: z.boolean().describe("Whether multiple entries are allowed").nullable().optional()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const SoftrUpdateTable_TableSchema = z.object({
|
|
25
25
|
id: z.string().describe("Table identifier").nullable(),
|
|
26
26
|
name: z.string().describe("Table name").nullable(),
|
|
@@ -30,13 +30,13 @@ const SoftrUpdateTable_TableSchema = z.object({
|
|
|
30
30
|
description: z.string().describe("Table description").nullable().optional(),
|
|
31
31
|
defaultViewId: z.string().describe("ID of default view").nullable(),
|
|
32
32
|
primaryFieldId: z.string().describe("ID of primary field").nullable()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const softrUpdateTable = action("SOFTR_UPDATE_TABLE", {
|
|
35
35
|
slug: "softr-update-table",
|
|
36
36
|
name: "Update Table",
|
|
37
37
|
description: "Tool to update a table's name and/or description in Softr Database. Use when you need to modify table metadata. To modify fields, use the field-specific endpoints instead.",
|
|
38
38
|
input: SoftrUpdateTableInput,
|
|
39
|
-
output: z.object({ data: SoftrUpdateTable_TableSchema.nullable() })
|
|
39
|
+
output: z.object({ data: SoftrUpdateTable_TableSchema.nullable() }).passthrough()
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { softrUpdateTable };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-table.mjs","names":[],"sources":["../../src/actions/update-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableInput = z.object({\n name: z.string().describe(\"The name of the table (required by API)\"),\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 description: z.string().describe(\"The new description of the table\").optional(),\n});\nconst SoftrUpdateTable_TableFieldOptionsSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific configuration for table fields\");\nconst SoftrUpdateTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Field identifier\").nullable(),\n name: z.string().describe(\"Field name\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, CHECKBOX, EMAIL, etc.)\").nullable(),\n locked: z.boolean().describe(\"Whether field is locked\").nullable().optional(),\n options: SoftrUpdateTable_TableFieldOptionsSchema.nullable().optional(),\n readonly: z.boolean().describe(\"Whether field is read-only\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required\").nullable().optional(),\n createdAt: z.string().describe(\"Field creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Field update timestamp\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for field\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed\").nullable().optional(),\n});\nconst SoftrUpdateTable_TableSchema = z.object({\n id: z.string().describe(\"Table identifier\").nullable(),\n name: z.string().describe(\"Table name\").nullable(),\n fields: z.array(SoftrUpdateTable_TableFieldSchema).describe(\"Array of table fields\"),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Table description\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of default view\").nullable(),\n primaryFieldId: z.string().describe(\"ID of primary field\").nullable(),\n});\nexport const SoftrUpdateTableOutput = z.object({\n data: SoftrUpdateTable_TableSchema.nullable(),\n});\n\nexport const softrUpdateTable = action(\"SOFTR_UPDATE_TABLE\", {\n slug: \"softr-update-table\",\n name: \"Update Table\",\n description: \"Tool to update a table's name and/or description in Softr Database. Use when you need to modify table metadata. To modify fields, use the field-specific endpoints instead.\",\n input: SoftrUpdateTableInput,\n output: SoftrUpdateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1I,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;
|
|
1
|
+
{"version":3,"file":"update-table.mjs","names":[],"sources":["../../src/actions/update-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableInput = z.object({\n name: z.string().describe(\"The name of the table (required by API)\"),\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 description: z.string().describe(\"The new description of the table\").optional(),\n});\nconst SoftrUpdateTable_TableFieldOptionsSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific configuration for table fields\");\nconst SoftrUpdateTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Field identifier\").nullable(),\n name: z.string().describe(\"Field name\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, CHECKBOX, EMAIL, etc.)\").nullable(),\n locked: z.boolean().describe(\"Whether field is locked\").nullable().optional(),\n options: SoftrUpdateTable_TableFieldOptionsSchema.nullable().optional(),\n readonly: z.boolean().describe(\"Whether field is read-only\").nullable().optional(),\n required: z.boolean().describe(\"Whether field is required\").nullable().optional(),\n createdAt: z.string().describe(\"Field creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Field update timestamp\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for field\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed\").nullable().optional(),\n}).passthrough();\nconst SoftrUpdateTable_TableSchema = z.object({\n id: z.string().describe(\"Table identifier\").nullable(),\n name: z.string().describe(\"Table name\").nullable(),\n fields: z.array(SoftrUpdateTable_TableFieldSchema).describe(\"Array of table fields\"),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n description: z.string().describe(\"Table description\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of default view\").nullable(),\n primaryFieldId: z.string().describe(\"ID of primary field\").nullable(),\n}).passthrough();\nexport const SoftrUpdateTableOutput = z.object({\n data: SoftrUpdateTable_TableSchema.nullable(),\n}).passthrough();\n\nexport const softrUpdateTable = action(\"SOFTR_UPDATE_TABLE\", {\n slug: \"softr-update-table\",\n name: \"Update Table\",\n description: \"Tool to update a table's name and/or description in Softr Database. Use when you need to modify table metadata. To modify fields, use the field-specific endpoints instead.\",\n input: SoftrUpdateTableInput,\n output: SoftrUpdateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1I,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uBAAuB;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAClE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,6BAA6B,SAAS,EAC9C,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -9,12 +9,12 @@ const softrCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
12
|
+
"generic_api_key": {
|
|
13
13
|
"label": "API Key",
|
|
14
14
|
"secret": true,
|
|
15
15
|
"description": "Navigate to Dashboard → Profile icon → My account → API Settings and click \"Generate API key\". You must be an application owner or workspace collaborator."
|
|
16
16
|
},
|
|
17
|
-
"
|
|
17
|
+
"generic_id": {
|
|
18
18
|
"label": "Domain",
|
|
19
19
|
"description": "Your Softr app domain or subdomain (e.g., \"yourdomain.softr.app\" or \"yourdomain.com\"). Access your app on Softr → Publish to find your subdomain. Your app must be published before making API calls."
|
|
20
20
|
}
|