@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
|
@@ -8,17 +8,17 @@ const SoftrGetRecordInput = z.object({
|
|
|
8
8
|
}).describe("Request model for retrieving a single record by its ID from a Softr database table.");
|
|
9
9
|
const SoftrGetRecord_RecordDataSchema = z.object({
|
|
10
10
|
id: z.string().describe("Record identifier").nullable(),
|
|
11
|
-
fields: z.
|
|
11
|
+
fields: z.record(z.string(), z.unknown()).describe("A map of Field IDs to their values for this record. The structure depends on your table's schema."),
|
|
12
12
|
tableId: z.string().describe("Associated table identifier").nullable().optional(),
|
|
13
13
|
createdAt: z.string().describe("Record creation timestamp in ISO 8601 format").nullable(),
|
|
14
14
|
updatedAt: z.string().describe("Record last modification timestamp in ISO 8601 format").nullable()
|
|
15
|
-
}).describe("Record data structure containing the record details.");
|
|
15
|
+
}).passthrough().describe("Record data structure containing the record details.");
|
|
16
16
|
const softrGetRecord = action("SOFTR_GET_RECORD", {
|
|
17
17
|
slug: "softr-get-record",
|
|
18
18
|
name: "Get Record",
|
|
19
19
|
description: "Tool to retrieve a single record by its ID from a Softr database table. Use when you need to fetch detailed information about a specific record.",
|
|
20
20
|
input: SoftrGetRecordInput,
|
|
21
|
-
output: z.object({ data: SoftrGetRecord_RecordDataSchema.nullable() }).describe("Response model for retrieving a single record from Softr database.")
|
|
21
|
+
output: z.object({ data: SoftrGetRecord_RecordDataSchema.nullable() }).passthrough().describe("Response model for retrieving a single record from Softr database.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { softrGetRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record.mjs","names":[],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordInput = z.object({\n tableId: z.string().describe(\"The unique identifier of the table\"),\n recordId: z.string().describe(\"The unique identifier of the record to retrieve\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request model for retrieving a single record by its ID from a Softr database table.\");\nconst SoftrGetRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Record identifier\").nullable(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"get-record.mjs","names":[],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordInput = z.object({\n tableId: z.string().describe(\"The unique identifier of the table\"),\n recordId: z.string().describe(\"The unique identifier of the record to retrieve\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request model for retrieving a single record by its ID from a Softr database table.\");\nconst SoftrGetRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Record identifier\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of Field IDs to their values for this record. The structure depends on your table's schema.\"),\n tableId: z.string().describe(\"Associated table identifier\").nullable().optional(),\n createdAt: z.string().describe(\"Record creation timestamp in ISO 8601 format\").nullable(),\n updatedAt: z.string().describe(\"Record last modification timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record data structure containing the record details.\");\nexport const SoftrGetRecordOutput = z.object({\n data: SoftrGetRecord_RecordDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a single record from Softr database.\");\n\nexport const softrGetRecord = action(\"SOFTR_GET_RECORD\", {\n slug: \"softr-get-record\",\n name: \"Get Record\",\n description: \"Tool to retrieve a single record by its ID from a Softr database table. Use when you need to fetch detailed information about a specific record.\",\n input: SoftrGetRecordInput,\n output: SoftrGetRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACtJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -13,16 +13,16 @@ const SoftrGetRecords_RecordSchema = zod.z.object({
|
|
|
13
13
|
tableId: zod.z.string().describe("The unique identifier of the table this record belongs to").nullable().optional(),
|
|
14
14
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the record was created").nullable().optional(),
|
|
15
15
|
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the record was last updated").nullable().optional()
|
|
16
|
-
}).describe("Represents a single record from a Softr table.");
|
|
16
|
+
}).passthrough().describe("Represents a single record from a Softr table.");
|
|
17
17
|
const SoftrGetRecords_PaginationMetadataSchema = zod.z.object({
|
|
18
18
|
limit: zod.z.number().int().describe("Maximum number of records returned in the current request").nullable().optional(),
|
|
19
19
|
total: zod.z.number().int().describe("Total number of records available in the table").nullable().optional(),
|
|
20
20
|
offset: zod.z.number().int().describe("Number of records skipped in the current request").nullable().optional()
|
|
21
|
-
}).describe("Metadata about pagination for the records response.");
|
|
21
|
+
}).passthrough().describe("Metadata about pagination for the records response.");
|
|
22
22
|
const SoftrGetRecordsOutput = zod.z.object({
|
|
23
23
|
data: zod.z.array(SoftrGetRecords_RecordSchema).describe("Array of record objects retrieved from the table").nullable().optional(),
|
|
24
24
|
metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional()
|
|
25
|
-
}).describe("Response structure for the get records endpoint.");
|
|
25
|
+
}).passthrough().describe("Response structure for the get records endpoint.");
|
|
26
26
|
const softrGetRecords = require_action.action("SOFTR_GET_RECORDS", {
|
|
27
27
|
slug: "softr-get-records",
|
|
28
28
|
name: "Get records from table",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-records.cjs","names":["z","action"],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return per request. Defaults to 10 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0 if not specified.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request parameters for retrieving records from a Softr table.\");\nconst SoftrGetRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dynamic object containing the record's field values. Keys are field names, values vary by field type.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table this record belongs to\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated\").nullable().optional(),\n}).describe(\"Represents a single record from a Softr table.\");\nconst SoftrGetRecords_PaginationMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records returned in the current request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records available in the table\").nullable().optional(),\n offset: z.number().int().describe(\"Number of records skipped in the current request\").nullable().optional(),\n}).describe(\"Metadata about pagination for the records response.\");\nexport const SoftrGetRecordsOutput = z.object({\n data: z.array(SoftrGetRecords_RecordSchema).describe(\"Array of record objects retrieved from the table\").nullable().optional(),\n metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional(),\n}).describe(\"Response structure for the get records endpoint.\");\n\nexport const softrGetRecords = action(\"SOFTR_GET_RECORDS\", {\n slug: \"softr-get-records\",\n name: \"Get records from table\",\n description: \"Tool to retrieve a paginated list of records from a Softr table. Use when you need to fetch records from a specific table with optional pagination parameters.\",\n input: SoftrGetRecordsInput,\n output: SoftrGetRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-records.cjs","names":["z","action"],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return per request. Defaults to 10 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0 if not specified.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request parameters for retrieving records from a Softr table.\");\nconst SoftrGetRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dynamic object containing the record's field values. Keys are field names, values vary by field type.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table this record belongs to\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a single record from a Softr table.\");\nconst SoftrGetRecords_PaginationMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records returned in the current request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records available in the table\").nullable().optional(),\n offset: z.number().int().describe(\"Number of records skipped in the current request\").nullable().optional(),\n}).passthrough().describe(\"Metadata about pagination for the records response.\");\nexport const SoftrGetRecordsOutput = z.object({\n data: z.array(SoftrGetRecords_RecordSchema).describe(\"Array of record objects retrieved from the table\").nullable().optional(),\n metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional(),\n}).passthrough().describe(\"Response structure for the get records endpoint.\");\n\nexport const softrGetRecords = action(\"SOFTR_GET_RECORDS\", {\n slug: \"softr-get-records\",\n name: \"Get records from table\",\n description: \"Tool to retrieve a paginated list of records from a Softr table. Use when you need to fetch records from a specific table with optional pagination parameters.\",\n input: SoftrGetRecordsInput,\n output: SoftrGetRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,13 +14,13 @@ declare const SoftrGetRecordsOutput: 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.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const softrGetRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
tableId: string;
|
|
26
26
|
databaseId: string;
|
|
@@ -14,13 +14,13 @@ declare const SoftrGetRecordsOutput: 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.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
19
|
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const softrGetRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
tableId: string;
|
|
26
26
|
databaseId: string;
|
|
@@ -13,12 +13,12 @@ const SoftrGetRecords_RecordSchema = z.object({
|
|
|
13
13
|
tableId: z.string().describe("The unique identifier of the table this record belongs to").nullable().optional(),
|
|
14
14
|
createdAt: z.string().describe("ISO 8601 timestamp when the record was created").nullable().optional(),
|
|
15
15
|
updatedAt: z.string().describe("ISO 8601 timestamp when the record was last updated").nullable().optional()
|
|
16
|
-
}).describe("Represents a single record from a Softr table.");
|
|
16
|
+
}).passthrough().describe("Represents a single record from a Softr table.");
|
|
17
17
|
const SoftrGetRecords_PaginationMetadataSchema = z.object({
|
|
18
18
|
limit: z.number().int().describe("Maximum number of records returned in the current request").nullable().optional(),
|
|
19
19
|
total: z.number().int().describe("Total number of records available in the table").nullable().optional(),
|
|
20
20
|
offset: z.number().int().describe("Number of records skipped in the current request").nullable().optional()
|
|
21
|
-
}).describe("Metadata about pagination for the records response.");
|
|
21
|
+
}).passthrough().describe("Metadata about pagination for the records response.");
|
|
22
22
|
const softrGetRecords = action("SOFTR_GET_RECORDS", {
|
|
23
23
|
slug: "softr-get-records",
|
|
24
24
|
name: "Get records from table",
|
|
@@ -27,7 +27,7 @@ const softrGetRecords = action("SOFTR_GET_RECORDS", {
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
data: z.array(SoftrGetRecords_RecordSchema).describe("Array of record objects retrieved from the table").nullable().optional(),
|
|
29
29
|
metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional()
|
|
30
|
-
}).describe("Response structure for the get records endpoint.")
|
|
30
|
+
}).passthrough().describe("Response structure for the get records endpoint.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { softrGetRecords };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-records.mjs","names":[],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return per request. Defaults to 10 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0 if not specified.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request parameters for retrieving records from a Softr table.\");\nconst SoftrGetRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dynamic object containing the record's field values. Keys are field names, values vary by field type.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table this record belongs to\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated\").nullable().optional(),\n}).describe(\"Represents a single record from a Softr table.\");\nconst SoftrGetRecords_PaginationMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records returned in the current request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records available in the table\").nullable().optional(),\n offset: z.number().int().describe(\"Number of records skipped in the current request\").nullable().optional(),\n}).describe(\"Metadata about pagination for the records response.\");\nexport const SoftrGetRecordsOutput = z.object({\n data: z.array(SoftrGetRecords_RecordSchema).describe(\"Array of record objects retrieved from the table\").nullable().optional(),\n metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional(),\n}).describe(\"Response structure for the get records endpoint.\");\n\nexport const softrGetRecords = action(\"SOFTR_GET_RECORDS\", {\n slug: \"softr-get-records\",\n name: \"Get records from table\",\n description: \"Tool to retrieve a paginated list of records from a Softr table. Use when you need to fetch records from a specific table with optional pagination parameters.\",\n input: SoftrGetRecordsInput,\n output: SoftrGetRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"get-records.mjs","names":[],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return per request. Defaults to 10 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip for pagination. Defaults to 0 if not specified.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table\"),\n databaseId: z.string().describe(\"The unique identifier of the database\"),\n}).describe(\"Request parameters for retrieving records from a Softr table.\");\nconst SoftrGetRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier for the record\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dynamic object containing the record's field values. Keys are field names, values vary by field type.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table this record belongs to\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a single record from a Softr table.\");\nconst SoftrGetRecords_PaginationMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records returned in the current request\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records available in the table\").nullable().optional(),\n offset: z.number().int().describe(\"Number of records skipped in the current request\").nullable().optional(),\n}).passthrough().describe(\"Metadata about pagination for the records response.\");\nexport const SoftrGetRecordsOutput = z.object({\n data: z.array(SoftrGetRecords_RecordSchema).describe(\"Array of record objects retrieved from the table\").nullable().optional(),\n metadata: SoftrGetRecords_PaginationMetadataSchema.nullable().optional(),\n}).passthrough().describe(\"Response structure for the get records endpoint.\");\n\nexport const softrGetRecords = action(\"SOFTR_GET_RECORDS\", {\n slug: \"softr-get-records\",\n name: \"Get records from table\",\n description: \"Tool to retrieve a paginated list of records from a Softr table. Use when you need to fetch records from a specific table with optional pagination parameters.\",\n input: SoftrGetRecordsInput,\n output: SoftrGetRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAM/E,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -18,8 +18,8 @@ const SoftrGetTableField_FieldDataSchema = zod.z.object({
|
|
|
18
18
|
updatedAt: zod.z.string().describe("ISO 8601 timestamp of last update.").nullable().optional(),
|
|
19
19
|
defaultValue: zod.z.string().describe("Default value for the field.").nullable().optional(),
|
|
20
20
|
allowMultipleEntries: zod.z.boolean().describe("Whether multiple entries are allowed for this field.").nullable().optional()
|
|
21
|
-
}).describe("Represents a table field's detailed configuration.");
|
|
22
|
-
const SoftrGetTableFieldOutput = zod.z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).describe("Response model containing the table field details.");
|
|
21
|
+
}).passthrough().describe("Represents a table field's detailed configuration.");
|
|
22
|
+
const SoftrGetTableFieldOutput = zod.z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).passthrough().describe("Response model containing the table field details.");
|
|
23
23
|
const softrGetTableField = require_action.action("SOFTR_GET_TABLE_FIELD", {
|
|
24
24
|
slug: "softr-get-table-field",
|
|
25
25
|
name: "Get Table Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-field.cjs","names":["z","action"],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the field.\").nullable(),\n name: z.string().describe(\"The field name.\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"get-table-field.cjs","names":["z","action"],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the field.\").nullable(),\n name: z.string().describe(\"The field name.\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).passthrough().describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ declare const SoftrGetTableFieldOutput: z.ZodObject<{
|
|
|
19
19
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const softrGetTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
fieldId: string;
|
|
26
26
|
tableId: string;
|
|
@@ -19,8 +19,8 @@ declare const SoftrGetTableFieldOutput: z.ZodObject<{
|
|
|
19
19
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const softrGetTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
fieldId: string;
|
|
26
26
|
tableId: string;
|
|
@@ -18,13 +18,13 @@ const SoftrGetTableField_FieldDataSchema = z.object({
|
|
|
18
18
|
updatedAt: z.string().describe("ISO 8601 timestamp of last update.").nullable().optional(),
|
|
19
19
|
defaultValue: z.string().describe("Default value for the field.").nullable().optional(),
|
|
20
20
|
allowMultipleEntries: z.boolean().describe("Whether multiple entries are allowed for this field.").nullable().optional()
|
|
21
|
-
}).describe("Represents a table field's detailed configuration.");
|
|
21
|
+
}).passthrough().describe("Represents a table field's detailed configuration.");
|
|
22
22
|
const softrGetTableField = action("SOFTR_GET_TABLE_FIELD", {
|
|
23
23
|
slug: "softr-get-table-field",
|
|
24
24
|
name: "Get Table Field",
|
|
25
25
|
description: "Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.",
|
|
26
26
|
input: SoftrGetTableFieldInput,
|
|
27
|
-
output: z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).describe("Response model containing the table field details.")
|
|
27
|
+
output: z.object({ data: SoftrGetTableField_FieldDataSchema.nullable() }).passthrough().describe("Response model containing the table field details.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { softrGetTableField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-field.mjs","names":[],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the field.\").nullable(),\n name: z.string().describe(\"The field name.\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"get-table-field.mjs","names":[],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableFieldInput = z.object({\n fieldId: z.string().describe(\"The field identifier.\"),\n tableId: z.string().describe(\"The table identifier.\"),\n databaseId: z.string().describe(\"The database identifier (UUID format).\"),\n}).describe(\"Request model for getting a specific field from a table.\");\nconst SoftrGetTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the field.\").nullable(),\n name: z.string().describe(\"The field name.\").nullable(),\n type: z.string().describe(\"Field type (e.g., SINGLE_LINE_TEXT, NUMBER, DATE, etc.).\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked from editing.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Field-specific configuration options.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of field creation.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).passthrough().describe(\"Represents a table field's detailed configuration.\");\nexport const SoftrGetTableFieldOutput = z.object({\n data: SoftrGetTableField_FieldDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the table field details.\");\n\nexport const softrGetTableField = action(\"SOFTR_GET_TABLE_FIELD\", {\n slug: \"softr-get-table-field\",\n name: \"Get Table Field\",\n description: \"Tool to retrieve a specific field from a Softr table by field ID. Use when you need detailed configuration information about a table field, including its type, options, and metadata.\",\n input: SoftrGetTableFieldInput,\n output: SoftrGetTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC1E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ const SoftrGetTableViews_TableViewSchema = zod.z.object({
|
|
|
12
12
|
createdAt: zod.z.string().describe("Timestamp when the view was created.").nullable().optional(),
|
|
13
13
|
updatedAt: zod.z.string().describe("Timestamp when the view was last updated.").nullable().optional(),
|
|
14
14
|
description: zod.z.string().describe("Description of the view.").nullable().optional()
|
|
15
|
-
}).describe("Model representing a single table view.");
|
|
16
|
-
const SoftrGetTableViewsOutput = zod.z.object({ data: zod.z.array(SoftrGetTableViews_TableViewSchema).describe("List of table views.") }).describe("Response model containing all views for a specified table.");
|
|
15
|
+
}).passthrough().describe("Model representing a single table view.");
|
|
16
|
+
const SoftrGetTableViewsOutput = zod.z.object({ data: zod.z.array(SoftrGetTableViews_TableViewSchema).describe("List of table views.") }).passthrough().describe("Response model containing all views for a specified table.");
|
|
17
17
|
const softrGetTableViews = require_action.action("SOFTR_GET_TABLE_VIEWS", {
|
|
18
18
|
slug: "softr-get-table-views",
|
|
19
19
|
name: "Get Table Views",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-views.cjs","names":["z","action"],"sources":["../../src/actions/get-table-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableViewsInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table whose views are to be retrieved.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for retrieving all views for a specified table.\");\nconst SoftrGetTableViews_TableViewSchema = z.object({\n id: z.string().describe(\"The unique identifier of the view.\").nullable().optional(),\n name: z.string().describe(\"The name of the view.\").nullable().optional(),\n tableId: z.string().describe(\"The identifier of the table this view belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the view was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the view was last updated.\").nullable().optional(),\n description: z.string().describe(\"Description of the view.\").nullable().optional(),\n}).describe(\"Model representing a single table view.\");\nexport const SoftrGetTableViewsOutput = z.object({\n data: z.array(SoftrGetTableViews_TableViewSchema).describe(\"List of table views.\"),\n}).describe(\"Response model containing all views for a specified table.\");\n\nexport const softrGetTableViews = action(\"SOFTR_GET_TABLE_VIEWS\", {\n slug: \"softr-get-table-views\",\n name: \"Get Table Views\",\n description: \"Tool to retrieve all views for a specified table in a Softr database. Use when you need to list or inspect available views for a table.\",\n input: SoftrGetTableViewsInput,\n output: SoftrGetTableViewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"get-table-views.cjs","names":["z","action"],"sources":["../../src/actions/get-table-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableViewsInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table whose views are to be retrieved.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for retrieving all views for a specified table.\");\nconst SoftrGetTableViews_TableViewSchema = z.object({\n id: z.string().describe(\"The unique identifier of the view.\").nullable().optional(),\n name: z.string().describe(\"The name of the view.\").nullable().optional(),\n tableId: z.string().describe(\"The identifier of the table this view belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the view was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the view was last updated.\").nullable().optional(),\n description: z.string().describe(\"Description of the view.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single table view.\");\nexport const SoftrGetTableViewsOutput = z.object({\n data: z.array(SoftrGetTableViews_TableViewSchema).describe(\"List of table views.\"),\n}).passthrough().describe(\"Response model containing all views for a specified table.\");\n\nexport const softrGetTableViews = action(\"SOFTR_GET_TABLE_VIEWS\", {\n slug: \"softr-get-table-views\",\n name: \"Get Table Views\",\n description: \"Tool to retrieve all views for a specified table in a Softr database. Use when you need to list or inspect available views for a table.\",\n input: SoftrGetTableViewsInput,\n output: SoftrGetTableViewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const SoftrGetTableViewsOutput: z.ZodObject<{
|
|
|
13
13
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const softrGetTableViews: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
table_id: string;
|
|
20
20
|
database_id: string;
|
|
@@ -13,8 +13,8 @@ declare const SoftrGetTableViewsOutput: z.ZodObject<{
|
|
|
13
13
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const softrGetTableViews: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
table_id: string;
|
|
20
20
|
database_id: string;
|
|
@@ -12,13 +12,13 @@ const SoftrGetTableViews_TableViewSchema = z.object({
|
|
|
12
12
|
createdAt: z.string().describe("Timestamp when the view was created.").nullable().optional(),
|
|
13
13
|
updatedAt: z.string().describe("Timestamp when the view was last updated.").nullable().optional(),
|
|
14
14
|
description: z.string().describe("Description of the view.").nullable().optional()
|
|
15
|
-
}).describe("Model representing a single table view.");
|
|
15
|
+
}).passthrough().describe("Model representing a single table view.");
|
|
16
16
|
const softrGetTableViews = action("SOFTR_GET_TABLE_VIEWS", {
|
|
17
17
|
slug: "softr-get-table-views",
|
|
18
18
|
name: "Get Table Views",
|
|
19
19
|
description: "Tool to retrieve all views for a specified table in a Softr database. Use when you need to list or inspect available views for a table.",
|
|
20
20
|
input: SoftrGetTableViewsInput,
|
|
21
|
-
output: z.object({ data: z.array(SoftrGetTableViews_TableViewSchema).describe("List of table views.") }).describe("Response model containing all views for a specified table.")
|
|
21
|
+
output: z.object({ data: z.array(SoftrGetTableViews_TableViewSchema).describe("List of table views.") }).passthrough().describe("Response model containing all views for a specified table.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { softrGetTableViews };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-views.mjs","names":[],"sources":["../../src/actions/get-table-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableViewsInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table whose views are to be retrieved.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for retrieving all views for a specified table.\");\nconst SoftrGetTableViews_TableViewSchema = z.object({\n id: z.string().describe(\"The unique identifier of the view.\").nullable().optional(),\n name: z.string().describe(\"The name of the view.\").nullable().optional(),\n tableId: z.string().describe(\"The identifier of the table this view belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the view was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the view was last updated.\").nullable().optional(),\n description: z.string().describe(\"Description of the view.\").nullable().optional(),\n}).describe(\"Model representing a single table view.\");\nexport const SoftrGetTableViewsOutput = z.object({\n data: z.array(SoftrGetTableViews_TableViewSchema).describe(\"List of table views.\"),\n}).describe(\"Response model containing all views for a specified table.\");\n\nexport const softrGetTableViews = action(\"SOFTR_GET_TABLE_VIEWS\", {\n slug: \"softr-get-table-views\",\n name: \"Get Table Views\",\n description: \"Tool to retrieve all views for a specified table in a Softr database. Use when you need to list or inspect available views for a table.\",\n input: SoftrGetTableViewsInput,\n output: SoftrGetTableViewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"get-table-views.mjs","names":[],"sources":["../../src/actions/get-table-views.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableViewsInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table whose views are to be retrieved.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for retrieving all views for a specified table.\");\nconst SoftrGetTableViews_TableViewSchema = z.object({\n id: z.string().describe(\"The unique identifier of the view.\").nullable().optional(),\n name: z.string().describe(\"The name of the view.\").nullable().optional(),\n tableId: z.string().describe(\"The identifier of the table this view belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the view was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the view was last updated.\").nullable().optional(),\n description: z.string().describe(\"Description of the view.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single table view.\");\nexport const SoftrGetTableViewsOutput = z.object({\n data: z.array(SoftrGetTableViews_TableViewSchema).describe(\"List of table views.\"),\n}).passthrough().describe(\"Response model containing all views for a specified table.\");\n\nexport const softrGetTableViews = action(\"SOFTR_GET_TABLE_VIEWS\", {\n slug: \"softr-get-table-views\",\n name: \"Get Table Views\",\n description: \"Tool to retrieve all views for a specified table in a Softr database. Use when you need to list or inspect available views for a table.\",\n input: SoftrGetTableViewsInput,\n output: SoftrGetTableViewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sBAAsB,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -43,7 +43,7 @@ const SoftrGetTable_TableFieldSchema = zod.z.object({
|
|
|
43
43
|
name: zod.z.string().describe("Name of the field").nullable(),
|
|
44
44
|
type: SoftrGetTable_FieldTypeSchema.nullable(),
|
|
45
45
|
locked: zod.z.boolean().describe("Whether the field is locked").nullable().optional(),
|
|
46
|
-
options: zod.z.
|
|
46
|
+
options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Type-specific configuration options for the field").nullable().optional(),
|
|
47
47
|
readonly: zod.z.boolean().describe("Whether the field is read-only").nullable().optional(),
|
|
48
48
|
required: zod.z.boolean().describe("Whether the field is required").nullable().optional(),
|
|
49
49
|
createdAt: zod.z.string().describe("Timestamp when the field was created").nullable().optional(),
|
|
@@ -60,8 +60,8 @@ const SoftrGetTable_TableDataSchema = zod.z.object({
|
|
|
60
60
|
description: zod.z.string().describe("Description of the table").nullable().optional(),
|
|
61
61
|
defaultViewId: zod.z.string().describe("ID of the default view for the table").nullable(),
|
|
62
62
|
primaryFieldId: zod.z.string().describe("ID of the primary field in the table").nullable()
|
|
63
|
-
}).describe("Represents the data structure of a Softr table.");
|
|
64
|
-
const SoftrGetTableOutput = zod.z.object({ data: SoftrGetTable_TableDataSchema.nullable() }).describe("Response model containing the retrieved table details.");
|
|
63
|
+
}).passthrough().describe("Represents the data structure of a Softr table.");
|
|
64
|
+
const SoftrGetTableOutput = zod.z.object({ data: SoftrGetTable_TableDataSchema.nullable() }).passthrough().describe("Response model containing the retrieved table details.");
|
|
65
65
|
const softrGetTable = require_action.action("SOFTR_GET_TABLE", {
|
|
66
66
|
slug: "softr-get-table",
|
|
67
67
|
name: "Get Table",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table.cjs","names":["z","action"],"sources":["../../src/actions/get-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table to retrieve\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request model for retrieving a specific table by ID.\");\nconst SoftrGetTable_FieldTypeSchema = 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(\"Enumeration of field types supported in Softr tables.\");\nconst SoftrGetTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field\").nullable(),\n name: z.string().describe(\"Name of the field\").nullable(),\n type: SoftrGetTable_FieldTypeSchema.nullable(),\n locked: z.boolean().describe(\"Whether the field is locked\").nullable().optional(),\n options: z.
|
|
1
|
+
{"version":3,"file":"get-table.cjs","names":["z","action"],"sources":["../../src/actions/get-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table to retrieve\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request model for retrieving a specific table by ID.\");\nconst SoftrGetTable_FieldTypeSchema = 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(\"Enumeration of field types supported in Softr tables.\");\nconst SoftrGetTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field\").nullable(),\n name: z.string().describe(\"Name of the field\").nullable(),\n type: SoftrGetTable_FieldTypeSchema.nullable(),\n locked: z.boolean().describe(\"Whether the field is locked\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Type-specific configuration options for the field\").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.string().describe(\"Default value for the field\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field\").nullable().optional(),\n}).passthrough().describe(\"Represents a field in a Softr table.\");\nconst SoftrGetTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the table\").nullable(),\n name: z.string().describe(\"Name of the table\").nullable(),\n fields: z.array(SoftrGetTable_TableFieldSchema).describe(\"List of fields defined in the table\"),\n createdAt: z.string().describe(\"Timestamp when the table was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated\").nullable(),\n description: z.string().describe(\"Description of the table\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for the table\").nullable(),\n primaryFieldId: z.string().describe(\"ID of the primary field in the table\").nullable(),\n}).passthrough().describe(\"Represents the data structure of a Softr table.\");\nexport const SoftrGetTableOutput = z.object({\n data: SoftrGetTable_TableDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the retrieved table details.\");\n\nexport const softrGetTable = action(\"SOFTR_GET_TABLE\", {\n slug: \"softr-get-table\",\n name: \"Get Table\",\n description: \"Tool to retrieve details for a specific table by ID. Use when you need to inspect table structure, fields, or metadata.\",\n input: SoftrGetTableInput,\n output: SoftrGetTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gCAAgCA,IAAAA,EAAE,KAAK;CAAC;CAAoB;CAAY;CAAY;CAAY;CAAY;CAAS;CAAU;CAAU;CAAc;CAAU;CAAiB;CAAa;CAAO;CAAW;CAAU;CAAY;CAAS;CAAc;CAAW;CAAQ;CAAU;CAAU;CAAW;CAAS;CAAc;CAAc;CAAc;CAAc;CAAc;CAAa;AAAM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAC3d,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAM,8BAA8B,SAAS;CAC7C,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,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,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,qCAAqC;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -46,7 +46,7 @@ declare const SoftrGetTableOutput: z.ZodObject<{
|
|
|
46
46
|
USER: "USER";
|
|
47
47
|
}>>;
|
|
48
48
|
locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
49
|
-
options: z.ZodOptional<z.ZodNullable<z.
|
|
49
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
50
|
readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
51
51
|
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
52
52
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -59,8 +59,8 @@ declare const SoftrGetTableOutput: z.ZodObject<{
|
|
|
59
59
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
defaultViewId: z.ZodNullable<z.ZodString>;
|
|
61
61
|
primaryFieldId: z.ZodNullable<z.ZodString>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
64
|
declare const softrGetTable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
65
65
|
table_id: string;
|
|
66
66
|
database_id: string;
|
|
@@ -46,7 +46,7 @@ declare const SoftrGetTableOutput: z.ZodObject<{
|
|
|
46
46
|
USER: "USER";
|
|
47
47
|
}>>;
|
|
48
48
|
locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
49
|
-
options: z.ZodOptional<z.ZodNullable<z.
|
|
49
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
50
|
readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
51
51
|
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
52
52
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -59,8 +59,8 @@ declare const SoftrGetTableOutput: z.ZodObject<{
|
|
|
59
59
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
defaultViewId: z.ZodNullable<z.ZodString>;
|
|
61
61
|
primaryFieldId: z.ZodNullable<z.ZodString>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
64
|
declare const softrGetTable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
65
65
|
table_id: string;
|
|
66
66
|
database_id: string;
|
|
@@ -43,7 +43,7 @@ const SoftrGetTable_TableFieldSchema = z.object({
|
|
|
43
43
|
name: z.string().describe("Name of the field").nullable(),
|
|
44
44
|
type: SoftrGetTable_FieldTypeSchema.nullable(),
|
|
45
45
|
locked: z.boolean().describe("Whether the field is locked").nullable().optional(),
|
|
46
|
-
options: z.
|
|
46
|
+
options: z.record(z.string(), z.unknown()).describe("Type-specific configuration options for the field").nullable().optional(),
|
|
47
47
|
readonly: z.boolean().describe("Whether the field is read-only").nullable().optional(),
|
|
48
48
|
required: z.boolean().describe("Whether the field is required").nullable().optional(),
|
|
49
49
|
createdAt: z.string().describe("Timestamp when the field was created").nullable().optional(),
|
|
@@ -60,13 +60,13 @@ const SoftrGetTable_TableDataSchema = z.object({
|
|
|
60
60
|
description: z.string().describe("Description of the table").nullable().optional(),
|
|
61
61
|
defaultViewId: z.string().describe("ID of the default view for the table").nullable(),
|
|
62
62
|
primaryFieldId: z.string().describe("ID of the primary field in the table").nullable()
|
|
63
|
-
}).describe("Represents the data structure of a Softr table.");
|
|
63
|
+
}).passthrough().describe("Represents the data structure of a Softr table.");
|
|
64
64
|
const softrGetTable = action("SOFTR_GET_TABLE", {
|
|
65
65
|
slug: "softr-get-table",
|
|
66
66
|
name: "Get Table",
|
|
67
67
|
description: "Tool to retrieve details for a specific table by ID. Use when you need to inspect table structure, fields, or metadata.",
|
|
68
68
|
input: SoftrGetTableInput,
|
|
69
|
-
output: z.object({ data: SoftrGetTable_TableDataSchema.nullable() }).describe("Response model containing the retrieved table details.")
|
|
69
|
+
output: z.object({ data: SoftrGetTable_TableDataSchema.nullable() }).passthrough().describe("Response model containing the retrieved table details.")
|
|
70
70
|
});
|
|
71
71
|
//#endregion
|
|
72
72
|
export { softrGetTable };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table.mjs","names":[],"sources":["../../src/actions/get-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table to retrieve\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request model for retrieving a specific table by ID.\");\nconst SoftrGetTable_FieldTypeSchema = 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(\"Enumeration of field types supported in Softr tables.\");\nconst SoftrGetTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field\").nullable(),\n name: z.string().describe(\"Name of the field\").nullable(),\n type: SoftrGetTable_FieldTypeSchema.nullable(),\n locked: z.boolean().describe(\"Whether the field is locked\").nullable().optional(),\n options: z.
|
|
1
|
+
{"version":3,"file":"get-table.mjs","names":[],"sources":["../../src/actions/get-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetTableInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table to retrieve\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request model for retrieving a specific table by ID.\");\nconst SoftrGetTable_FieldTypeSchema = 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(\"Enumeration of field types supported in Softr tables.\");\nconst SoftrGetTable_TableFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field\").nullable(),\n name: z.string().describe(\"Name of the field\").nullable(),\n type: SoftrGetTable_FieldTypeSchema.nullable(),\n locked: z.boolean().describe(\"Whether the field is locked\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Type-specific configuration options for the field\").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.string().describe(\"Default value for the field\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field\").nullable().optional(),\n}).passthrough().describe(\"Represents a field in a Softr table.\");\nconst SoftrGetTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the table\").nullable(),\n name: z.string().describe(\"Name of the table\").nullable(),\n fields: z.array(SoftrGetTable_TableFieldSchema).describe(\"List of fields defined in the table\"),\n createdAt: z.string().describe(\"Timestamp when the table was created\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated\").nullable(),\n description: z.string().describe(\"Description of the table\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for the table\").nullable(),\n primaryFieldId: z.string().describe(\"ID of the primary field in the table\").nullable(),\n}).passthrough().describe(\"Represents the data structure of a Softr table.\");\nexport const SoftrGetTableOutput = z.object({\n data: SoftrGetTable_TableDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the retrieved table details.\");\n\nexport const softrGetTable = action(\"SOFTR_GET_TABLE\", {\n slug: \"softr-get-table\",\n name: \"Get Table\",\n description: \"Tool to retrieve details for a specific table by ID. Use when you need to inspect table structure, fields, or metadata.\",\n input: SoftrGetTableInput,\n output: SoftrGetTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gCAAgC,EAAE,KAAK;CAAC;CAAoB;CAAY;CAAY;CAAY;CAAY;CAAS;CAAU;CAAU;CAAc;CAAU;CAAiB;CAAa;CAAO;CAAW;CAAU;CAAY;CAAS;CAAc;CAAW;CAAQ;CAAU;CAAU;CAAW;CAAS;CAAc;CAAc;CAAc;CAAc;CAAc;CAAa;AAAM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAC3d,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAM,8BAA8B,SAAS;CAC7C,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,qCAAqC;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiC,EAAE,OAAO,EAC1C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const SoftrGetTables_TableSchema = zod.z.object({
|
|
|
10
10
|
description: zod.z.string().describe("Optional description of the table.").nullable().optional(),
|
|
11
11
|
defaultViewId: zod.z.string().describe("Identifier of the default view for the table.").nullable().optional(),
|
|
12
12
|
primaryFieldId: zod.z.string().describe("Identifier of the primary field in the table.").nullable().optional()
|
|
13
|
-
}).describe("Represents a table within a Softr database.");
|
|
14
|
-
const SoftrGetTablesOutput = zod.z.object({ data: zod.z.array(SoftrGetTables_TableSchema).describe("Array of table objects within the specified database.") }).describe("Response containing all tables in a database.");
|
|
13
|
+
}).passthrough().describe("Represents a table within a Softr database.");
|
|
14
|
+
const SoftrGetTablesOutput = zod.z.object({ data: zod.z.array(SoftrGetTables_TableSchema).describe("Array of table objects within the specified database.") }).passthrough().describe("Response containing all tables in a database.");
|
|
15
15
|
const softrGetTables = require_action.action("SOFTR_GET_TABLES", {
|
|
16
16
|
slug: "softr-get-tables",
|
|
17
17
|
name: "Get Tables",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tables.cjs","names":["z","action"],"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,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAClG,CAAC;AACD,MAAM,6BAA6BA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,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.cjs","names":["z","action"],"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,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAClG,CAAC;AACD,MAAM,6BAA6BA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,uDAAuD,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const SoftrGetTablesOutput: z.ZodObject<{
|
|
|
13
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
defaultViewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
primaryFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const softrGetTables: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
databaseId: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,8 +13,8 @@ declare const SoftrGetTablesOutput: z.ZodObject<{
|
|
|
13
13
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
defaultViewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
primaryFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const softrGetTables: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
databaseId: string;
|
|
20
20
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,13 +10,13 @@ const SoftrGetTables_TableSchema = z.object({
|
|
|
10
10
|
description: z.string().describe("Optional description of the table.").nullable().optional(),
|
|
11
11
|
defaultViewId: z.string().describe("Identifier of the default view for the table.").nullable().optional(),
|
|
12
12
|
primaryFieldId: z.string().describe("Identifier of the primary field in the table.").nullable().optional()
|
|
13
|
-
}).describe("Represents a table within a Softr database.");
|
|
13
|
+
}).passthrough().describe("Represents a table within a Softr database.");
|
|
14
14
|
const softrGetTables = action("SOFTR_GET_TABLES", {
|
|
15
15
|
slug: "softr-get-tables",
|
|
16
16
|
name: "Get Tables",
|
|
17
17
|
description: "Retrieves all tables within a specified Softr database. Use when you need to list or explore the tables available in a database.",
|
|
18
18
|
input: SoftrGetTablesInput,
|
|
19
|
-
output: z.object({ data: z.array(SoftrGetTables_TableSchema).describe("Array of table objects within the specified database.") }).describe("Response containing all tables in a database.")
|
|
19
|
+
output: z.object({ data: z.array(SoftrGetTables_TableSchema).describe("Array of table objects within the specified database.") }).passthrough().describe("Response containing all tables in a database.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { softrGetTables };
|