@keystrokehq/softr 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-database.cjs +1 -0
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +3 -19
- package/dist/actions/create-database.d.cts.map +1 -1
- package/dist/actions/create-database.d.mts +3 -19
- package/dist/actions/create-database.d.mts.map +1 -1
- package/dist/actions/create-database.mjs +1 -0
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -0
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +3 -19
- package/dist/actions/create-record.d.cts.map +1 -1
- package/dist/actions/create-record.d.mts +3 -19
- package/dist/actions/create-record.d.mts.map +1 -1
- package/dist/actions/create-record.mjs +1 -0
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-table-field.cjs +1 -0
- package/dist/actions/create-table-field.cjs.map +1 -1
- package/dist/actions/create-table-field.d.cts +3 -21
- package/dist/actions/create-table-field.d.cts.map +1 -1
- package/dist/actions/create-table-field.d.mts +3 -21
- package/dist/actions/create-table-field.d.mts.map +1 -1
- package/dist/actions/create-table-field.mjs +1 -0
- package/dist/actions/create-table-field.mjs.map +1 -1
- package/dist/actions/create-table.cjs +1 -0
- package/dist/actions/create-table.cjs.map +1 -1
- package/dist/actions/create-table.d.cts +3 -26
- package/dist/actions/create-table.d.cts.map +1 -1
- package/dist/actions/create-table.d.mts +3 -26
- package/dist/actions/create-table.d.mts.map +1 -1
- package/dist/actions/create-table.mjs +1 -0
- package/dist/actions/create-table.mjs.map +1 -1
- package/dist/actions/delete-database.cjs +1 -0
- package/dist/actions/delete-database.cjs.map +1 -1
- package/dist/actions/delete-database.d.cts +3 -18
- package/dist/actions/delete-database.d.cts.map +1 -1
- package/dist/actions/delete-database.d.mts +3 -18
- package/dist/actions/delete-database.d.mts.map +1 -1
- package/dist/actions/delete-database.mjs +1 -0
- package/dist/actions/delete-database.mjs.map +1 -1
- package/dist/actions/delete-record.cjs +1 -0
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +3 -19
- package/dist/actions/delete-record.d.cts.map +1 -1
- package/dist/actions/delete-record.d.mts +3 -19
- package/dist/actions/delete-record.d.mts.map +1 -1
- package/dist/actions/delete-record.mjs +1 -0
- package/dist/actions/delete-record.mjs.map +1 -1
- package/dist/actions/delete-table-field.cjs +1 -0
- package/dist/actions/delete-table-field.cjs.map +1 -1
- package/dist/actions/delete-table-field.d.cts +3 -19
- package/dist/actions/delete-table-field.d.cts.map +1 -1
- package/dist/actions/delete-table-field.d.mts +3 -19
- package/dist/actions/delete-table-field.d.mts.map +1 -1
- package/dist/actions/delete-table-field.mjs +1 -0
- package/dist/actions/delete-table-field.mjs.map +1 -1
- package/dist/actions/delete-table.cjs +1 -0
- package/dist/actions/delete-table.cjs.map +1 -1
- package/dist/actions/delete-table.d.cts +3 -19
- package/dist/actions/delete-table.d.cts.map +1 -1
- package/dist/actions/delete-table.d.mts +3 -19
- package/dist/actions/delete-table.d.mts.map +1 -1
- package/dist/actions/delete-table.mjs +1 -0
- package/dist/actions/delete-table.mjs.map +1 -1
- package/dist/actions/get-database.cjs +1 -0
- package/dist/actions/get-database.cjs.map +1 -1
- package/dist/actions/get-database.d.cts +3 -17
- package/dist/actions/get-database.d.cts.map +1 -1
- package/dist/actions/get-database.d.mts +3 -17
- package/dist/actions/get-database.d.mts.map +1 -1
- package/dist/actions/get-database.mjs +1 -0
- package/dist/actions/get-database.mjs.map +1 -1
- package/dist/actions/get-databases.cjs +1 -0
- package/dist/actions/get-databases.cjs.map +1 -1
- package/dist/actions/get-databases.d.cts +3 -18
- package/dist/actions/get-databases.d.cts.map +1 -1
- package/dist/actions/get-databases.d.mts +3 -18
- package/dist/actions/get-databases.d.mts.map +1 -1
- package/dist/actions/get-databases.mjs +1 -0
- package/dist/actions/get-databases.mjs.map +1 -1
- package/dist/actions/get-record.cjs +1 -0
- package/dist/actions/get-record.cjs.map +1 -1
- package/dist/actions/get-record.d.cts +3 -19
- package/dist/actions/get-record.d.cts.map +1 -1
- package/dist/actions/get-record.d.mts +3 -19
- package/dist/actions/get-record.d.mts.map +1 -1
- package/dist/actions/get-record.mjs +1 -0
- package/dist/actions/get-record.mjs.map +1 -1
- package/dist/actions/get-records.cjs +1 -0
- package/dist/actions/get-records.cjs.map +1 -1
- package/dist/actions/get-records.d.cts +3 -20
- package/dist/actions/get-records.d.cts.map +1 -1
- package/dist/actions/get-records.d.mts +3 -20
- package/dist/actions/get-records.d.mts.map +1 -1
- package/dist/actions/get-records.mjs +1 -0
- package/dist/actions/get-records.mjs.map +1 -1
- package/dist/actions/get-table-field.cjs +1 -0
- package/dist/actions/get-table-field.cjs.map +1 -1
- package/dist/actions/get-table-field.d.cts +3 -19
- package/dist/actions/get-table-field.d.cts.map +1 -1
- package/dist/actions/get-table-field.d.mts +3 -19
- package/dist/actions/get-table-field.d.mts.map +1 -1
- package/dist/actions/get-table-field.mjs +1 -0
- package/dist/actions/get-table-field.mjs.map +1 -1
- package/dist/actions/get-table-views.cjs +1 -0
- package/dist/actions/get-table-views.cjs.map +1 -1
- package/dist/actions/get-table-views.d.cts +3 -18
- package/dist/actions/get-table-views.d.cts.map +1 -1
- package/dist/actions/get-table-views.d.mts +3 -18
- package/dist/actions/get-table-views.d.mts.map +1 -1
- package/dist/actions/get-table-views.mjs +1 -0
- package/dist/actions/get-table-views.mjs.map +1 -1
- package/dist/actions/get-table.cjs +1 -0
- package/dist/actions/get-table.cjs.map +1 -1
- package/dist/actions/get-table.d.cts +3 -18
- package/dist/actions/get-table.d.cts.map +1 -1
- package/dist/actions/get-table.d.mts +3 -18
- package/dist/actions/get-table.d.mts.map +1 -1
- package/dist/actions/get-table.mjs +1 -0
- package/dist/actions/get-table.mjs.map +1 -1
- package/dist/actions/get-tables.cjs +1 -0
- package/dist/actions/get-tables.cjs.map +1 -1
- package/dist/actions/get-tables.d.cts +3 -17
- package/dist/actions/get-tables.d.cts.map +1 -1
- package/dist/actions/get-tables.d.mts +3 -17
- package/dist/actions/get-tables.d.mts.map +1 -1
- package/dist/actions/get-tables.mjs +1 -0
- package/dist/actions/get-tables.mjs.map +1 -1
- package/dist/actions/search-records.cjs +1 -0
- package/dist/actions/search-records.cjs.map +1 -1
- package/dist/actions/search-records.d.cts +3 -23
- package/dist/actions/search-records.d.cts.map +1 -1
- package/dist/actions/search-records.d.mts +3 -23
- package/dist/actions/search-records.d.mts.map +1 -1
- package/dist/actions/search-records.mjs +1 -0
- package/dist/actions/search-records.mjs.map +1 -1
- package/dist/actions/update-database.cjs +1 -0
- package/dist/actions/update-database.cjs.map +1 -1
- package/dist/actions/update-database.d.cts +3 -19
- package/dist/actions/update-database.d.cts.map +1 -1
- package/dist/actions/update-database.d.mts +3 -19
- package/dist/actions/update-database.d.mts.map +1 -1
- package/dist/actions/update-database.mjs +1 -0
- package/dist/actions/update-database.mjs.map +1 -1
- package/dist/actions/update-record.cjs +1 -0
- package/dist/actions/update-record.cjs.map +1 -1
- package/dist/actions/update-record.d.cts +3 -20
- package/dist/actions/update-record.d.cts.map +1 -1
- package/dist/actions/update-record.d.mts +3 -20
- package/dist/actions/update-record.d.mts.map +1 -1
- package/dist/actions/update-record.mjs +1 -0
- package/dist/actions/update-record.mjs.map +1 -1
- package/dist/actions/update-table-field.cjs +1 -0
- package/dist/actions/update-table-field.cjs.map +1 -1
- package/dist/actions/update-table-field.d.cts +3 -22
- package/dist/actions/update-table-field.d.cts.map +1 -1
- package/dist/actions/update-table-field.d.mts +3 -22
- package/dist/actions/update-table-field.d.mts.map +1 -1
- package/dist/actions/update-table-field.mjs +1 -0
- package/dist/actions/update-table-field.mjs.map +1 -1
- package/dist/actions/update-table.cjs +1 -0
- package/dist/actions/update-table.cjs.map +1 -1
- package/dist/actions/update-table.d.cts +3 -20
- package/dist/actions/update-table.d.cts.map +1 -1
- package/dist/actions/update-table.d.mts +3 -20
- package/dist/actions/update-table.d.mts.map +1 -1
- package/dist/actions/update-table.mjs +1 -0
- package/dist/actions/update-table.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase: AppAction<\n typeof SoftrGetDatabaseInput,\n typeof SoftrGetDatabaseOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases: AppAction<\n typeof SoftrGetDatabasesInput,\n typeof SoftrGetDatabasesOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-databases.d.ts
|
|
@@ -15,24 +17,7 @@ declare const SoftrGetDatabasesOutput: z.ZodObject<{
|
|
|
15
17
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const softrGetDatabases:
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
offset?: number | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const softrGetDatabases: AppAction<typeof SoftrGetDatabasesInput, typeof SoftrGetDatabasesOutput, typeof softr.credential>;
|
|
36
21
|
//#endregion
|
|
37
22
|
export { softrGetDatabases };
|
|
38
23
|
//# sourceMappingURL=get-databases.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-databases.d.ts
|
|
@@ -15,24 +17,7 @@ declare const SoftrGetDatabasesOutput: z.ZodObject<{
|
|
|
15
17
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const softrGetDatabases:
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
offset?: number | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const softrGetDatabases: AppAction<typeof SoftrGetDatabasesInput, typeof SoftrGetDatabasesOutput, typeof softr.credential>;
|
|
36
21
|
//#endregion
|
|
37
22
|
export { softrGetDatabases };
|
|
38
23
|
//# sourceMappingURL=get-databases.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases: AppAction<\n typeof SoftrGetDatabasesInput,\n typeof SoftrGetDatabasesOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record.cjs","names":["z","action"],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordInput = z.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":"
|
|
1
|
+
{"version":3,"file":"get-record.cjs","names":["z","action"],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\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: AppAction<\n typeof SoftrGetRecordInput,\n typeof SoftrGetRecordOutput,\n typeof softr.credential\n> = 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":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACzE,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG;CACtJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-record.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SoftrGetRecordOutput: z.ZodObject<{
|
|
|
15
17
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const softrGetRecord:
|
|
19
|
-
tableId: string;
|
|
20
|
-
recordId: string;
|
|
21
|
-
databaseId: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
generic_id: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const softrGetRecord: AppAction<typeof SoftrGetRecordInput, typeof SoftrGetRecordOutput, typeof softr.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { softrGetRecord };
|
|
39
23
|
//# sourceMappingURL=get-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record.d.cts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-record.d.cts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-record.d.ts
|
|
@@ -15,25 +17,7 @@ declare const SoftrGetRecordOutput: z.ZodObject<{
|
|
|
15
17
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const softrGetRecord:
|
|
19
|
-
tableId: string;
|
|
20
|
-
recordId: string;
|
|
21
|
-
databaseId: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
generic_id: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const softrGetRecord: AppAction<typeof SoftrGetRecordInput, typeof SoftrGetRecordOutput, typeof softr.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { softrGetRecord };
|
|
39
23
|
//# sourceMappingURL=get-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record.d.mts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-record.d.mts","names":[],"sources":["../../src/actions/get-record.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-record.mjs","names":[],"sources":["../../src/actions/get-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\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: AppAction<\n typeof SoftrGetRecordInput,\n typeof SoftrGetRecordOutput,\n typeof softr.credential\n> = 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":";;;;AAMA,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,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO,EAC3C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-records.cjs","names":["z","action"],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetRecordsInput = z.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":"
|
|
1
|
+
{"version":3,"file":"get-records.cjs","names":["z","action"],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\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: AppAction<\n typeof SoftrGetRecordsInput,\n typeof SoftrGetRecordsOutput,\n typeof softr.credential\n> = 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":";;;;AAMA,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,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-records.d.ts
|
|
@@ -21,26 +23,7 @@ declare const SoftrGetRecordsOutput: z.ZodObject<{
|
|
|
21
23
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
}, z.core.$loose>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const softrGetRecords:
|
|
25
|
-
tableId: string;
|
|
26
|
-
databaseId: string;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
offset?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
generic_id: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
generic_id: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const softrGetRecords: AppAction<typeof SoftrGetRecordsInput, typeof SoftrGetRecordsOutput, typeof softr.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { softrGetRecords };
|
|
46
29
|
//# sourceMappingURL=get-records.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-records.d.cts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-records.d.cts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAkBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-records.d.ts
|
|
@@ -21,26 +23,7 @@ declare const SoftrGetRecordsOutput: z.ZodObject<{
|
|
|
21
23
|
offset: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
}, z.core.$loose>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const softrGetRecords:
|
|
25
|
-
tableId: string;
|
|
26
|
-
databaseId: string;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
offset?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
generic_id: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
generic_id: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const softrGetRecords: AppAction<typeof SoftrGetRecordsInput, typeof SoftrGetRecordsOutput, typeof softr.credential>;
|
|
44
27
|
//#endregion
|
|
45
28
|
export { softrGetRecords };
|
|
46
29
|
//# sourceMappingURL=get-records.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-records.d.mts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-records.d.mts","names":[],"sources":["../../src/actions/get-records.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAkBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-records.mjs","names":[],"sources":["../../src/actions/get-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\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: AppAction<\n typeof SoftrGetRecordsInput,\n typeof SoftrGetRecordsOutput,\n typeof softr.credential\n> = 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":";;;;AAMA,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,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,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,kDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-table-field.cjs","names":["z","action"],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\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: AppAction<\n typeof SoftrGetTableFieldInput,\n typeof SoftrGetTableFieldOutput,\n typeof softr.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-table-field.d.ts
|
|
@@ -21,25 +23,7 @@ declare const SoftrGetTableFieldOutput: z.ZodObject<{
|
|
|
21
23
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const softrGetTableField:
|
|
25
|
-
fieldId: string;
|
|
26
|
-
tableId: string;
|
|
27
|
-
databaseId: string;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const softrGetTableField: AppAction<typeof SoftrGetTableFieldInput, typeof SoftrGetTableFieldOutput, typeof softr.credential>;
|
|
43
27
|
//#endregion
|
|
44
28
|
export { softrGetTableField };
|
|
45
29
|
//# sourceMappingURL=get-table-field.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-field.d.cts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-table-field.d.cts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-table-field.d.ts
|
|
@@ -21,25 +23,7 @@ declare const SoftrGetTableFieldOutput: z.ZodObject<{
|
|
|
21
23
|
allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const softrGetTableField:
|
|
25
|
-
fieldId: string;
|
|
26
|
-
tableId: string;
|
|
27
|
-
databaseId: string;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const softrGetTableField: AppAction<typeof SoftrGetTableFieldInput, typeof SoftrGetTableFieldOutput, typeof softr.credential>;
|
|
43
27
|
//#endregion
|
|
44
28
|
export { softrGetTableField };
|
|
45
29
|
//# sourceMappingURL=get-table-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-field.d.mts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-table-field.d.mts","names":[],"sources":["../../src/actions/get-table-field.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-table-field.mjs","names":[],"sources":["../../src/actions/get-table-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\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: AppAction<\n typeof SoftrGetTableFieldInput,\n typeof SoftrGetTableFieldOutput,\n typeof softr.credential\n> = 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":";;;;AAMA,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,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-table-views.cjs","names":["z","action"],"sources":["../../src/actions/get-table-views.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\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: AppAction<\n typeof SoftrGetTableViewsInput,\n typeof SoftrGetTableViewsOutput,\n typeof softr.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-table-views.d.ts
|
|
@@ -15,24 +17,7 @@ declare const SoftrGetTableViewsOutput: z.ZodObject<{
|
|
|
15
17
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const softrGetTableViews:
|
|
19
|
-
table_id: string;
|
|
20
|
-
database_id: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const softrGetTableViews: AppAction<typeof SoftrGetTableViewsInput, typeof SoftrGetTableViewsOutput, typeof softr.credential>;
|
|
36
21
|
//#endregion
|
|
37
22
|
export { softrGetTableViews };
|
|
38
23
|
//# sourceMappingURL=get-table-views.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-views.d.cts","names":[],"sources":["../../src/actions/get-table-views.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-table-views.d.cts","names":[],"sources":["../../src/actions/get-table-views.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|