@keystrokehq/softr 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/package.json +1 -1
|
@@ -13,7 +13,7 @@ const SoftrCreateDatabaseOutput = zod.z.object({
|
|
|
13
13
|
updatedAt: zod.z.string().describe("ISO 8601 timestamp when the database was last updated").nullable().optional(),
|
|
14
14
|
description: zod.z.string().describe("Description of the database").nullable().optional(),
|
|
15
15
|
workspaceId: zod.z.string().describe("ID of the workspace containing the database").nullable().optional()
|
|
16
|
-
}).describe("Response model returned after creating a Softr database.");
|
|
16
|
+
}).passthrough().describe("Response model returned after creating a Softr database.");
|
|
17
17
|
const softrCreateDatabase = require_action.action("SOFTR_CREATE_DATABASE", {
|
|
18
18
|
slug: "softr-create-database",
|
|
19
19
|
name: "Create Database",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-database.cjs","names":["z","action"],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateDatabaseInput = z.object({\n name: z.string().describe(\"The name of the new database. Choose a descriptive name that helps identify the database purpose. This will be displayed in the Softr interface.\"),\n description: z.string().describe(\"Optional description of the database. Provide additional context about the database purpose, data structure, or usage guidelines.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace where the database will be created. This is a required parameter that identifies which workspace will contain the new database.\"),\n}).describe(\"Request parameters for creating a new database in Softr workspace.\");\nexport const SoftrCreateDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier of the newly created database\").nullable().optional(),\n name: z.string().describe(\"Name of the created database\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the database was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the database was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing the database\").nullable().optional(),\n}).describe(\"Response model returned after creating a Softr database.\");\n\nexport const softrCreateDatabase = action(\"SOFTR_CREATE_DATABASE\", {\n slug: \"softr-create-database\",\n name: \"Create Database\",\n description: \"Tool to create a new database in a Softr workspace. Use when you need to set up a new database for storing data within a specific Softr workspace.\",\n input: SoftrCreateDatabaseInput,\n output: SoftrCreateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;CAC5K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC/K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;AAC5L,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"create-database.cjs","names":["z","action"],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateDatabaseInput = z.object({\n name: z.string().describe(\"The name of the new database. Choose a descriptive name that helps identify the database purpose. This will be displayed in the Softr interface.\"),\n description: z.string().describe(\"Optional description of the database. Provide additional context about the database purpose, data structure, or usage guidelines.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace where the database will be created. This is a required parameter that identifies which workspace will contain the new database.\"),\n}).describe(\"Request parameters for creating a new database in Softr workspace.\");\nexport const SoftrCreateDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier of the newly created database\").nullable().optional(),\n name: z.string().describe(\"Name of the created database\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the database was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the database was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing the database\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after creating a Softr database.\");\n\nexport const softrCreateDatabase = action(\"SOFTR_CREATE_DATABASE\", {\n slug: \"softr-create-database\",\n name: \"Create Database\",\n description: \"Tool to create a new database in a Softr workspace. Use when you need to set up a new database for storing data within a specific Softr workspace.\",\n input: SoftrCreateDatabaseInput,\n output: SoftrCreateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;CAC5K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC/K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;AAC5L,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SoftrCreateDatabaseOutput: z.ZodObject<{
|
|
|
13
13
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const softrCreateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
name: string;
|
|
19
19
|
workspaceId: string;
|
|
@@ -13,7 +13,7 @@ declare const SoftrCreateDatabaseOutput: z.ZodObject<{
|
|
|
13
13
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const softrCreateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
name: string;
|
|
19
19
|
workspaceId: string;
|
|
@@ -16,7 +16,7 @@ const softrCreateDatabase = action("SOFTR_CREATE_DATABASE", {
|
|
|
16
16
|
updatedAt: z.string().describe("ISO 8601 timestamp when the database was last updated").nullable().optional(),
|
|
17
17
|
description: z.string().describe("Description of the database").nullable().optional(),
|
|
18
18
|
workspaceId: z.string().describe("ID of the workspace containing the database").nullable().optional()
|
|
19
|
-
}).describe("Response model returned after creating a Softr database.")
|
|
19
|
+
}).passthrough().describe("Response model returned after creating a Softr database.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { softrCreateDatabase };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-database.mjs","names":[],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateDatabaseInput = z.object({\n name: z.string().describe(\"The name of the new database. Choose a descriptive name that helps identify the database purpose. This will be displayed in the Softr interface.\"),\n description: z.string().describe(\"Optional description of the database. Provide additional context about the database purpose, data structure, or usage guidelines.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace where the database will be created. This is a required parameter that identifies which workspace will contain the new database.\"),\n}).describe(\"Request parameters for creating a new database in Softr workspace.\");\nexport const SoftrCreateDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier of the newly created database\").nullable().optional(),\n name: z.string().describe(\"Name of the created database\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the database was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the database was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing the database\").nullable().optional(),\n}).describe(\"Response model returned after creating a Softr database.\");\n\nexport const softrCreateDatabase = action(\"SOFTR_CREATE_DATABASE\", {\n slug: \"softr-create-database\",\n name: \"Create Database\",\n description: \"Tool to create a new database in a Softr workspace. Use when you need to set up a new database for storing data within a specific Softr workspace.\",\n input: SoftrCreateDatabaseInput,\n output: SoftrCreateDatabaseOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EAC5K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EAC/K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;CAC5L,CAAC,CAAC,CAAC,SAAS,oEAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-database.mjs","names":[],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateDatabaseInput = z.object({\n name: z.string().describe(\"The name of the new database. Choose a descriptive name that helps identify the database purpose. This will be displayed in the Softr interface.\"),\n description: z.string().describe(\"Optional description of the database. Provide additional context about the database purpose, data structure, or usage guidelines.\").optional(),\n workspaceId: z.string().describe(\"The ID of the workspace where the database will be created. This is a required parameter that identifies which workspace will contain the new database.\"),\n}).describe(\"Request parameters for creating a new database in Softr workspace.\");\nexport const SoftrCreateDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier of the newly created database\").nullable().optional(),\n name: z.string().describe(\"Name of the created database\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the database was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the database was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing the database\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after creating a Softr database.\");\n\nexport const softrCreateDatabase = action(\"SOFTR_CREATE_DATABASE\", {\n slug: \"softr-create-database\",\n name: \"Create Database\",\n description: \"Tool to create a new database in a Softr workspace. Use when you need to set up a new database for storing data within a specific Softr workspace.\",\n input: SoftrCreateDatabaseInput,\n output: SoftrCreateDatabaseOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ;EAC5K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EAC/K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;CAC5L,CAAC,CAAC,CAAC,SAAS,oEAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -2,17 +2,17 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/create-record.ts
|
|
4
4
|
const SoftrCreateRecordInput = zod.z.object({
|
|
5
|
-
fields: zod.z.
|
|
5
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Field values for the new record. This is a mapping of field IDs to their values. Field IDs are specific to your table schema in Softr. Example: {'c63tL': 'test@example.com', 'o0JWv': 'Test User'}"),
|
|
6
6
|
table_id: zod.z.string().describe("The unique identifier of the table where the record will be created"),
|
|
7
7
|
database_id: zod.z.string().describe("The unique identifier of the database where the record will be created")
|
|
8
8
|
}).describe("Request schema for CreateRecord");
|
|
9
9
|
const SoftrCreateRecord_RecordDataSchema = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("Unique identifier for the created record").nullable(),
|
|
11
|
-
fields: zod.z.
|
|
11
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The field values of the created record, mapped by field ID"),
|
|
12
12
|
createdAt: zod.z.string().describe("Timestamp when the record was created (ISO 8601 format)").nullable(),
|
|
13
13
|
updatedAt: zod.z.string().describe("Timestamp when the record was last updated (ISO 8601 format)").nullable()
|
|
14
|
-
}).describe("Schema for the created record data");
|
|
15
|
-
const SoftrCreateRecordOutput = zod.z.object({ data: SoftrCreateRecord_RecordDataSchema.nullable() }).describe("Response schema for CreateRecord");
|
|
14
|
+
}).passthrough().describe("Schema for the created record data");
|
|
15
|
+
const SoftrCreateRecordOutput = zod.z.object({ data: SoftrCreateRecord_RecordDataSchema.nullable() }).passthrough().describe("Response schema for CreateRecord");
|
|
16
16
|
const softrCreateRecord = require_action.action("SOFTR_CREATE_RECORD", {
|
|
17
17
|
slug: "softr-create-record",
|
|
18
18
|
name: "Create Record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.cjs","names":["z","action"],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateRecordInput = z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"create-record.cjs","names":["z","action"],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values for the new record. This is a mapping of field IDs to their values. Field IDs are specific to your table schema in Softr. Example: {'c63tL': 'test@example.com', 'o0JWv': 'Test User'}\"),\n table_id: z.string().describe(\"The unique identifier of the table where the record will be created\"),\n database_id: z.string().describe(\"The unique identifier of the database where the record will be created\"),\n}).describe(\"Request schema for CreateRecord\");\nconst SoftrCreateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created record\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"The field values of the created record, mapped by field ID\"),\n createdAt: z.string().describe(\"Timestamp when the record was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the record was last updated (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Schema for the created record data\");\nexport const SoftrCreateRecordOutput = z.object({\n data: SoftrCreateRecord_RecordDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for CreateRecord\");\n\nexport const softrCreateRecord = action(\"SOFTR_CREATE_RECORD\", {\n slug: \"softr-create-record\",\n name: \"Create Record\",\n description: \"Creates a new record in a Softr database table. Use when you need to add new data to a specific table in your Softr database.\",\n input: SoftrCreateRecordInput,\n output: SoftrCreateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qMAAqM;CACxP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC3G,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,20 +2,20 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-record.d.ts
|
|
4
4
|
declare const SoftrCreateRecordInput: z.ZodObject<{
|
|
5
|
-
fields: z.
|
|
5
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
table_id: z.ZodString;
|
|
7
7
|
database_id: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const SoftrCreateRecordOutput: z.ZodObject<{
|
|
10
10
|
data: z.ZodNullable<z.ZodObject<{
|
|
11
11
|
id: z.ZodNullable<z.ZodString>;
|
|
12
|
-
fields: z.
|
|
12
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
13
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
14
14
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const softrCreateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
-
fields: Record<string,
|
|
18
|
+
fields: Record<string, unknown>;
|
|
19
19
|
table_id: string;
|
|
20
20
|
database_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,20 +2,20 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-record.d.ts
|
|
4
4
|
declare const SoftrCreateRecordInput: z.ZodObject<{
|
|
5
|
-
fields: z.
|
|
5
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
table_id: z.ZodString;
|
|
7
7
|
database_id: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const SoftrCreateRecordOutput: z.ZodObject<{
|
|
10
10
|
data: z.ZodNullable<z.ZodObject<{
|
|
11
11
|
id: z.ZodNullable<z.ZodString>;
|
|
12
|
-
fields: z.
|
|
12
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
13
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
14
14
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const softrCreateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
-
fields: Record<string,
|
|
18
|
+
fields: Record<string, unknown>;
|
|
19
19
|
table_id: string;
|
|
20
20
|
database_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,22 +2,22 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/create-record.ts
|
|
4
4
|
const SoftrCreateRecordInput = z.object({
|
|
5
|
-
fields: z.
|
|
5
|
+
fields: z.record(z.string(), z.unknown()).describe("Field values for the new record. This is a mapping of field IDs to their values. Field IDs are specific to your table schema in Softr. Example: {'c63tL': 'test@example.com', 'o0JWv': 'Test User'}"),
|
|
6
6
|
table_id: z.string().describe("The unique identifier of the table where the record will be created"),
|
|
7
7
|
database_id: z.string().describe("The unique identifier of the database where the record will be created")
|
|
8
8
|
}).describe("Request schema for CreateRecord");
|
|
9
9
|
const SoftrCreateRecord_RecordDataSchema = z.object({
|
|
10
10
|
id: z.string().describe("Unique identifier for the created record").nullable(),
|
|
11
|
-
fields: z.
|
|
11
|
+
fields: z.record(z.string(), z.unknown()).describe("The field values of the created record, mapped by field ID"),
|
|
12
12
|
createdAt: z.string().describe("Timestamp when the record was created (ISO 8601 format)").nullable(),
|
|
13
13
|
updatedAt: z.string().describe("Timestamp when the record was last updated (ISO 8601 format)").nullable()
|
|
14
|
-
}).describe("Schema for the created record data");
|
|
14
|
+
}).passthrough().describe("Schema for the created record data");
|
|
15
15
|
const softrCreateRecord = action("SOFTR_CREATE_RECORD", {
|
|
16
16
|
slug: "softr-create-record",
|
|
17
17
|
name: "Create Record",
|
|
18
18
|
description: "Creates a new record in a Softr database table. Use when you need to add new data to a specific table in your Softr database.",
|
|
19
19
|
input: SoftrCreateRecordInput,
|
|
20
|
-
output: z.object({ data: SoftrCreateRecord_RecordDataSchema.nullable() }).describe("Response schema for CreateRecord")
|
|
20
|
+
output: z.object({ data: SoftrCreateRecord_RecordDataSchema.nullable() }).passthrough().describe("Response schema for CreateRecord")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { softrCreateRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-record.mjs","names":[],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateRecordInput = z.object({\n fields: z.
|
|
1
|
+
{"version":3,"file":"create-record.mjs","names":[],"sources":["../../src/actions/create-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values for the new record. This is a mapping of field IDs to their values. Field IDs are specific to your table schema in Softr. Example: {'c63tL': 'test@example.com', 'o0JWv': 'Test User'}\"),\n table_id: z.string().describe(\"The unique identifier of the table where the record will be created\"),\n database_id: z.string().describe(\"The unique identifier of the database where the record will be created\"),\n}).describe(\"Request schema for CreateRecord\");\nconst SoftrCreateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the created record\").nullable(),\n fields: z.record(z.string(), z.unknown()).describe(\"The field values of the created record, mapped by field ID\"),\n createdAt: z.string().describe(\"Timestamp when the record was created (ISO 8601 format)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the record was last updated (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Schema for the created record data\");\nexport const SoftrCreateRecordOutput = z.object({\n data: SoftrCreateRecord_RecordDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for CreateRecord\");\n\nexport const softrCreateRecord = action(\"SOFTR_CREATE_RECORD\", {\n slug: \"softr-create-record\",\n name: \"Create Record\",\n description: \"Creates a new record in a Softr database table. Use when you need to add new data to a specific table in your Softr database.\",\n input: SoftrCreateRecordInput,\n output: SoftrCreateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qMAAqM;CACxP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAC3G,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
|
|
@@ -36,7 +36,7 @@ const SoftrCreateTableFieldInput = zod.z.object({
|
|
|
36
36
|
"RECORD_ID",
|
|
37
37
|
"USER"
|
|
38
38
|
]).describe("The type of the field, which determines what kind of data can be stored. Common types include SINGLE_LINE_TEXT for short text, EMAIL for email addresses, NUMBER for numeric values, CHECKBOX for boolean values, and SELECT for dropdown choices."),
|
|
39
|
-
options: zod.z.
|
|
39
|
+
options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Configuration options specific to the field type. For SINGLE_LINE_TEXT, can include 'minLength' and 'maxLength' constraints. For SELECT, would include the list of choices. Can be an empty object {} if no specific options are needed.").optional(),
|
|
40
40
|
tableId: zod.z.string().describe("The unique identifier of the table where the field will be added. This specifies which table within the database should receive the new field."),
|
|
41
41
|
databaseId: zod.z.string().describe("The unique identifier of the database containing the table. This is a UUID format identifier that specifies which database to use.")
|
|
42
42
|
}).describe("Request parameters for adding a new field to a Softr table.");
|
|
@@ -45,7 +45,7 @@ const SoftrCreateTableField_FieldDataSchema = zod.z.object({
|
|
|
45
45
|
name: zod.z.string().describe("The name of the field as specified in the request.").nullable(),
|
|
46
46
|
type: zod.z.string().describe("The field type (e.g., SINGLE_LINE_TEXT, EMAIL, NUMBER).").nullable(),
|
|
47
47
|
locked: zod.z.boolean().describe("Whether this field is locked and cannot be modified.").nullable(),
|
|
48
|
-
options: zod.z.
|
|
48
|
+
options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Configuration options for the field, specific to its type."),
|
|
49
49
|
readonly: zod.z.boolean().describe("Whether this field is read-only and cannot be edited by users.").nullable(),
|
|
50
50
|
required: zod.z.boolean().describe("Whether this field is required and must have a value.").nullable(),
|
|
51
51
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the field was created.").nullable(),
|
|
@@ -57,8 +57,8 @@ const SoftrCreateTableField_FieldDataSchema = zod.z.object({
|
|
|
57
57
|
zod.z.boolean()
|
|
58
58
|
]).nullable().optional(),
|
|
59
59
|
allowMultipleEntries: zod.z.boolean().describe("Whether this field allows multiple entries/values.").nullable()
|
|
60
|
-
}).describe("Detailed information about the created table field.");
|
|
61
|
-
const SoftrCreateTableFieldOutput = zod.z.object({ data: SoftrCreateTableField_FieldDataSchema.nullable() }).describe("Response containing the newly created table field information.");
|
|
60
|
+
}).passthrough().describe("Detailed information about the created table field.");
|
|
61
|
+
const SoftrCreateTableFieldOutput = zod.z.object({ data: SoftrCreateTableField_FieldDataSchema.nullable() }).passthrough().describe("Response containing the newly created table field information.");
|
|
62
62
|
const softrCreateTableField = require_action.action("SOFTR_CREATE_TABLE_FIELD", {
|
|
63
63
|
slug: "softr-create-table-field",
|
|
64
64
|
name: "Create Table Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-table-field.cjs","names":["z","action"],"sources":["../../src/actions/create-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableFieldInput = z.object({\n name: z.string().describe(\"The name of the new field. This will be the display name shown in the table and used to reference the field. Should be descriptive and unique within the table.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field, which determines what kind of data can be stored. Common types include SINGLE_LINE_TEXT for short text, EMAIL for email addresses, NUMBER for numeric values, CHECKBOX for boolean values, and SELECT for dropdown choices.\"),\n options: z.
|
|
1
|
+
{"version":3,"file":"create-table-field.cjs","names":["z","action"],"sources":["../../src/actions/create-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableFieldInput = z.object({\n name: z.string().describe(\"The name of the new field. This will be the display name shown in the table and used to reference the field. Should be descriptive and unique within the table.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field, which determines what kind of data can be stored. Common types include SINGLE_LINE_TEXT for short text, EMAIL for email addresses, NUMBER for numeric values, CHECKBOX for boolean values, and SELECT for dropdown choices.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT, can include 'minLength' and 'maxLength' constraints. For SELECT, would include the list of choices. Can be an empty object {} if no specific options are needed.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table where the field will be added. This specifies which table within the database should receive the new field.\"),\n databaseId: z.string().describe(\"The unique identifier of the database containing the table. This is a UUID format identifier that specifies which database to use.\"),\n}).describe(\"Request parameters for adding a new field to a Softr table.\");\nconst SoftrCreateTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the newly created field.\").nullable(),\n name: z.string().describe(\"The name of the field as specified in the request.\").nullable(),\n type: z.string().describe(\"The field type (e.g., SINGLE_LINE_TEXT, EMAIL, NUMBER).\").nullable(),\n locked: z.boolean().describe(\"Whether this field is locked and cannot be modified.\").nullable(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field, specific to its type.\"),\n readonly: z.boolean().describe(\"Whether this field is read-only and cannot be edited by users.\").nullable(),\n required: z.boolean().describe(\"Whether this field is required and must have a value.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the field was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the field was last updated.\").nullable(),\n defaultValue: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether this field allows multiple entries/values.\").nullable(),\n}).passthrough().describe(\"Detailed information about the created table field.\");\nexport const SoftrCreateTableFieldOutput = z.object({\n data: SoftrCreateTableField_FieldDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the newly created table field information.\");\n\nexport const softrCreateTableField = action(\"SOFTR_CREATE_TABLE_FIELD\", {\n slug: \"softr-create-table-field\",\n name: \"Create Table Field\",\n description: \"Tool to add a new field to a Softr table. Use when you need to add a new column to an existing table, such as adding an email field, a text field, or any other field type to store additional data.\",\n input: SoftrCreateTableFieldInput,\n output: SoftrCreateTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;CAC3L,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAY;EAAY;EAAY;EAAS;EAAU;EAAU;EAAc;EAAU;EAAiB;EAAa;EAAO;EAAW;EAAU;EAAY;EAAS;EAAc;EAAW;EAAQ;EAAU;EAAU;EAAW;EAAS;EAAc;EAAc;EAAc;EAAc;EAAc;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,oPAAoP;CACxnB,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0OAA0O,CAAC,CAAC,SAAS;CACzS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC7K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;AACtK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAChH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -36,7 +36,7 @@ declare const SoftrCreateTableFieldInput: z.ZodObject<{
|
|
|
36
36
|
RECORD_ID: "RECORD_ID";
|
|
37
37
|
USER: "USER";
|
|
38
38
|
}>;
|
|
39
|
-
options: z.ZodOptional<z.
|
|
39
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
40
40
|
tableId: z.ZodString;
|
|
41
41
|
databaseId: z.ZodString;
|
|
42
42
|
}, z.core.$strip>;
|
|
@@ -46,21 +46,21 @@ declare const SoftrCreateTableFieldOutput: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodNullable<z.ZodString>;
|
|
47
47
|
type: z.ZodNullable<z.ZodString>;
|
|
48
48
|
locked: z.ZodNullable<z.ZodBoolean>;
|
|
49
|
-
options: z.
|
|
49
|
+
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
50
50
|
readonly: z.ZodNullable<z.ZodBoolean>;
|
|
51
51
|
required: z.ZodNullable<z.ZodBoolean>;
|
|
52
52
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
53
53
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
54
54
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
|
|
55
55
|
allowMultipleEntries: z.ZodNullable<z.ZodBoolean>;
|
|
56
|
-
}, z.core.$
|
|
57
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const softrCreateTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
59
|
name: string;
|
|
60
60
|
type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
|
|
61
61
|
tableId: string;
|
|
62
62
|
databaseId: string;
|
|
63
|
-
options?: Record<string,
|
|
63
|
+
options?: Record<string, unknown> | undefined;
|
|
64
64
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { softrCreateTableField };
|
|
@@ -36,7 +36,7 @@ declare const SoftrCreateTableFieldInput: z.ZodObject<{
|
|
|
36
36
|
RECORD_ID: "RECORD_ID";
|
|
37
37
|
USER: "USER";
|
|
38
38
|
}>;
|
|
39
|
-
options: z.ZodOptional<z.
|
|
39
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
40
40
|
tableId: z.ZodString;
|
|
41
41
|
databaseId: z.ZodString;
|
|
42
42
|
}, z.core.$strip>;
|
|
@@ -46,21 +46,21 @@ declare const SoftrCreateTableFieldOutput: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodNullable<z.ZodString>;
|
|
47
47
|
type: z.ZodNullable<z.ZodString>;
|
|
48
48
|
locked: z.ZodNullable<z.ZodBoolean>;
|
|
49
|
-
options: z.
|
|
49
|
+
options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
50
50
|
readonly: z.ZodNullable<z.ZodBoolean>;
|
|
51
51
|
required: z.ZodNullable<z.ZodBoolean>;
|
|
52
52
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
53
53
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
54
54
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
|
|
55
55
|
allowMultipleEntries: z.ZodNullable<z.ZodBoolean>;
|
|
56
|
-
}, z.core.$
|
|
57
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const softrCreateTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
59
|
name: string;
|
|
60
60
|
type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
|
|
61
61
|
tableId: string;
|
|
62
62
|
databaseId: string;
|
|
63
|
-
options?: Record<string,
|
|
63
|
+
options?: Record<string, unknown> | undefined;
|
|
64
64
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { softrCreateTableField };
|
|
@@ -36,7 +36,7 @@ const SoftrCreateTableFieldInput = z.object({
|
|
|
36
36
|
"RECORD_ID",
|
|
37
37
|
"USER"
|
|
38
38
|
]).describe("The type of the field, which determines what kind of data can be stored. Common types include SINGLE_LINE_TEXT for short text, EMAIL for email addresses, NUMBER for numeric values, CHECKBOX for boolean values, and SELECT for dropdown choices."),
|
|
39
|
-
options: z.
|
|
39
|
+
options: z.record(z.string(), z.unknown()).describe("Configuration options specific to the field type. For SINGLE_LINE_TEXT, can include 'minLength' and 'maxLength' constraints. For SELECT, would include the list of choices. Can be an empty object {} if no specific options are needed.").optional(),
|
|
40
40
|
tableId: z.string().describe("The unique identifier of the table where the field will be added. This specifies which table within the database should receive the new field."),
|
|
41
41
|
databaseId: z.string().describe("The unique identifier of the database containing the table. This is a UUID format identifier that specifies which database to use.")
|
|
42
42
|
}).describe("Request parameters for adding a new field to a Softr table.");
|
|
@@ -45,7 +45,7 @@ const SoftrCreateTableField_FieldDataSchema = z.object({
|
|
|
45
45
|
name: z.string().describe("The name of the field as specified in the request.").nullable(),
|
|
46
46
|
type: z.string().describe("The field type (e.g., SINGLE_LINE_TEXT, EMAIL, NUMBER).").nullable(),
|
|
47
47
|
locked: z.boolean().describe("Whether this field is locked and cannot be modified.").nullable(),
|
|
48
|
-
options: z.
|
|
48
|
+
options: z.record(z.string(), z.unknown()).describe("Configuration options for the field, specific to its type."),
|
|
49
49
|
readonly: z.boolean().describe("Whether this field is read-only and cannot be edited by users.").nullable(),
|
|
50
50
|
required: z.boolean().describe("Whether this field is required and must have a value.").nullable(),
|
|
51
51
|
createdAt: z.string().describe("ISO 8601 timestamp when the field was created.").nullable(),
|
|
@@ -57,13 +57,13 @@ const SoftrCreateTableField_FieldDataSchema = z.object({
|
|
|
57
57
|
z.boolean()
|
|
58
58
|
]).nullable().optional(),
|
|
59
59
|
allowMultipleEntries: z.boolean().describe("Whether this field allows multiple entries/values.").nullable()
|
|
60
|
-
}).describe("Detailed information about the created table field.");
|
|
60
|
+
}).passthrough().describe("Detailed information about the created table field.");
|
|
61
61
|
const softrCreateTableField = action("SOFTR_CREATE_TABLE_FIELD", {
|
|
62
62
|
slug: "softr-create-table-field",
|
|
63
63
|
name: "Create Table Field",
|
|
64
64
|
description: "Tool to add a new field to a Softr table. Use when you need to add a new column to an existing table, such as adding an email field, a text field, or any other field type to store additional data.",
|
|
65
65
|
input: SoftrCreateTableFieldInput,
|
|
66
|
-
output: z.object({ data: SoftrCreateTableField_FieldDataSchema.nullable() }).describe("Response containing the newly created table field information.")
|
|
66
|
+
output: z.object({ data: SoftrCreateTableField_FieldDataSchema.nullable() }).passthrough().describe("Response containing the newly created table field information.")
|
|
67
67
|
});
|
|
68
68
|
//#endregion
|
|
69
69
|
export { softrCreateTableField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-table-field.mjs","names":[],"sources":["../../src/actions/create-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableFieldInput = z.object({\n name: z.string().describe(\"The name of the new field. This will be the display name shown in the table and used to reference the field. Should be descriptive and unique within the table.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field, which determines what kind of data can be stored. Common types include SINGLE_LINE_TEXT for short text, EMAIL for email addresses, NUMBER for numeric values, CHECKBOX for boolean values, and SELECT for dropdown choices.\"),\n options: z.
|
|
1
|
+
{"version":3,"file":"create-table-field.mjs","names":[],"sources":["../../src/actions/create-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableFieldInput = z.object({\n name: z.string().describe(\"The name of the new field. This will be the display name shown in the table and used to reference the field. Should be descriptive and unique within the table.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field, which determines what kind of data can be stored. Common types include SINGLE_LINE_TEXT for short text, EMAIL for email addresses, NUMBER for numeric values, CHECKBOX for boolean values, and SELECT for dropdown choices.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT, can include 'minLength' and 'maxLength' constraints. For SELECT, would include the list of choices. Can be an empty object {} if no specific options are needed.\").optional(),\n tableId: z.string().describe(\"The unique identifier of the table where the field will be added. This specifies which table within the database should receive the new field.\"),\n databaseId: z.string().describe(\"The unique identifier of the database containing the table. This is a UUID format identifier that specifies which database to use.\"),\n}).describe(\"Request parameters for adding a new field to a Softr table.\");\nconst SoftrCreateTableField_FieldDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the newly created field.\").nullable(),\n name: z.string().describe(\"The name of the field as specified in the request.\").nullable(),\n type: z.string().describe(\"The field type (e.g., SINGLE_LINE_TEXT, EMAIL, NUMBER).\").nullable(),\n locked: z.boolean().describe(\"Whether this field is locked and cannot be modified.\").nullable(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field, specific to its type.\"),\n readonly: z.boolean().describe(\"Whether this field is read-only and cannot be edited by users.\").nullable(),\n required: z.boolean().describe(\"Whether this field is required and must have a value.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the field was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the field was last updated.\").nullable(),\n defaultValue: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether this field allows multiple entries/values.\").nullable(),\n}).passthrough().describe(\"Detailed information about the created table field.\");\nexport const SoftrCreateTableFieldOutput = z.object({\n data: SoftrCreateTableField_FieldDataSchema.nullable(),\n}).passthrough().describe(\"Response containing the newly created table field information.\");\n\nexport const softrCreateTableField = action(\"SOFTR_CREATE_TABLE_FIELD\", {\n slug: \"softr-create-table-field\",\n name: \"Create Table Field\",\n description: \"Tool to add a new field to a Softr table. Use when you need to add a new column to an existing table, such as adding an email field, a text field, or any other field type to store additional data.\",\n input: SoftrCreateTableFieldInput,\n output: SoftrCreateTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;CAC3L,MAAM,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAY;EAAY;EAAY;EAAS;EAAU;EAAU;EAAc;EAAU;EAAiB;EAAa;EAAO;EAAW;EAAU;EAAY;EAAS;EAAc;EAAW;EAAQ;EAAU;EAAU;EAAW;EAAS;EAAc;EAAc;EAAc;EAAc;EAAc;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,oPAAoP;CACxnB,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0OAA0O,CAAC,CAAC,SAAS;CACzS,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC7K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;AACtK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAChH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -39,7 +39,7 @@ const SoftrCreateTableInput = zod.z.object({
|
|
|
39
39
|
"USER"
|
|
40
40
|
]).describe("The type of the field. Must be one of the supported field types."),
|
|
41
41
|
options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).").optional()
|
|
42
|
-
}).describe("Definition of a field in the table.")).describe("Collection of field definitions for the table. At least one field is required. Each field must have a name and type."),
|
|
42
|
+
}).passthrough().describe("Definition of a field in the table.")).describe("Collection of field definitions for the table. At least one field is required. Each field must have a name and type."),
|
|
43
43
|
database_id: zod.z.string().describe("The unique identifier of the database where the table will be created."),
|
|
44
44
|
description: zod.z.string().describe("Optional description of the table to explain its purpose.").optional(),
|
|
45
45
|
primary_field_name: zod.z.string().describe("Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.").optional()
|
|
@@ -57,7 +57,7 @@ const SoftrCreateTable_ResponseFieldSchema = zod.z.object({
|
|
|
57
57
|
updatedAt: zod.z.string().describe("Timestamp when the field was last updated.").nullable().optional(),
|
|
58
58
|
defaultValue: zod.z.string().describe("Default value for the field.").nullable().optional(),
|
|
59
59
|
allowMultipleEntries: zod.z.boolean().describe("Whether multiple entries are allowed for this field.").nullable().optional()
|
|
60
|
-
}).describe("Field information in the response.");
|
|
60
|
+
}).passthrough().describe("Field information in the response.");
|
|
61
61
|
const SoftrCreateTable_TableDataSchema = zod.z.object({
|
|
62
62
|
id: zod.z.string().describe("Unique identifier of the created table.").nullable(),
|
|
63
63
|
name: zod.z.string().describe("Name of the table.").nullable(),
|
|
@@ -67,8 +67,8 @@ const SoftrCreateTable_TableDataSchema = zod.z.object({
|
|
|
67
67
|
description: zod.z.string().describe("Description of the table.").nullable().optional(),
|
|
68
68
|
defaultViewId: zod.z.string().describe("ID of the default view for this table.").nullable().optional(),
|
|
69
69
|
primaryFieldId: zod.z.string().describe("ID of the field designated as the primary identifier.").nullable().optional()
|
|
70
|
-
}).describe("The created table data.");
|
|
71
|
-
const SoftrCreateTableOutput = zod.z.object({ data: SoftrCreateTable_TableDataSchema.nullable() }).describe("Response from creating a table in Softr database.");
|
|
70
|
+
}).passthrough().describe("The created table data.");
|
|
71
|
+
const SoftrCreateTableOutput = zod.z.object({ data: SoftrCreateTable_TableDataSchema.nullable() }).passthrough().describe("Response from creating a table in Softr database.");
|
|
72
72
|
const softrCreateTable = require_action.action("SOFTR_CREATE_TABLE", {
|
|
73
73
|
slug: "softr-create-table",
|
|
74
74
|
name: "Create Table",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-table.cjs","names":["z","action"],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableInput = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field.\").nullable(),\n name: z.string().describe(\"The name of the field.\").nullable(),\n type: z.string().describe(\"The type of the field.\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"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 aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").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}).describe(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created 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 this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).describe(\"The created table data.\");\nexport const SoftrCreateTableOutput = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACtc,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,sHAAsH;
|
|
1
|
+
{"version":3,"file":"create-table.cjs","names":["z","action"],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableInput = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).passthrough().describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field.\").nullable(),\n name: z.string().describe(\"The name of the field.\").nullable(),\n type: z.string().describe(\"The type of the field.\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"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 aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").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(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created 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 this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).passthrough().describe(\"The created table data.\");\nexport const SoftrCreateTableOutput = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).passthrough().describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACtc,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,sHAAsH;CAC/L,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,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,oCAAoC;AAC9D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,sCAAsC;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -39,7 +39,7 @@ declare const SoftrCreateTableInput: z.ZodObject<{
|
|
|
39
39
|
USER: "USER";
|
|
40
40
|
}>;
|
|
41
41
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
database_id: z.ZodString;
|
|
44
44
|
description: z.ZodOptional<z.ZodString>;
|
|
45
45
|
primary_field_name: z.ZodOptional<z.ZodString>;
|
|
@@ -61,17 +61,18 @@ declare const SoftrCreateTableOutput: z.ZodObject<{
|
|
|
61
61
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>;
|
|
65
65
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
66
66
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
67
67
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
68
|
defaultViewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
69
|
primaryFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
-
}, z.core.$
|
|
71
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>>;
|
|
71
|
+
}, z.core.$loose>;
|
|
72
72
|
declare const softrCreateTable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
73
73
|
name: string;
|
|
74
74
|
fields: {
|
|
75
|
+
[x: string]: unknown;
|
|
75
76
|
name: string;
|
|
76
77
|
type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
|
|
77
78
|
options?: Record<string, unknown> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-table.d.cts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-table.d.cts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA;;;;;;cAM3B,MAAA;EAAA"}
|
|
@@ -39,7 +39,7 @@ declare const SoftrCreateTableInput: z.ZodObject<{
|
|
|
39
39
|
USER: "USER";
|
|
40
40
|
}>;
|
|
41
41
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
database_id: z.ZodString;
|
|
44
44
|
description: z.ZodOptional<z.ZodString>;
|
|
45
45
|
primary_field_name: z.ZodOptional<z.ZodString>;
|
|
@@ -61,17 +61,18 @@ declare const SoftrCreateTableOutput: z.ZodObject<{
|
|
|
61
61
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>;
|
|
65
65
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
66
66
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
67
67
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
68
|
defaultViewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
69
|
primaryFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
-
}, z.core.$
|
|
71
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>>;
|
|
71
|
+
}, z.core.$loose>;
|
|
72
72
|
declare const softrCreateTable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
73
73
|
name: string;
|
|
74
74
|
fields: {
|
|
75
|
+
[x: string]: unknown;
|
|
75
76
|
name: string;
|
|
76
77
|
type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
|
|
77
78
|
options?: Record<string, unknown> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-table.d.mts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-table.d.mts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA;;;;;;cAM3B,MAAA;EAAA"}
|