@keystrokehq/rocketadmin 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/check-api-key.cjs +1 -1
- package/dist/actions/check-api-key.cjs.map +1 -1
- package/dist/actions/check-api-key.d.cts +1 -1
- package/dist/actions/check-api-key.d.mts +1 -1
- package/dist/actions/check-api-key.mjs +1 -1
- package/dist/actions/check-api-key.mjs.map +1 -1
- package/dist/actions/delete-table-row.cjs +1 -1
- package/dist/actions/delete-table-row.cjs.map +1 -1
- package/dist/actions/delete-table-row.d.cts +1 -1
- package/dist/actions/delete-table-row.d.mts +1 -1
- package/dist/actions/delete-table-row.mjs +1 -1
- package/dist/actions/delete-table-row.mjs.map +1 -1
- package/dist/actions/get-company-invite-verify.cjs +1 -1
- package/dist/actions/get-company-invite-verify.cjs.map +1 -1
- package/dist/actions/get-company-invite-verify.d.cts +1 -1
- package/dist/actions/get-company-invite-verify.d.mts +1 -1
- package/dist/actions/get-company-invite-verify.mjs +1 -1
- package/dist/actions/get-company-invite-verify.mjs.map +1 -1
- package/dist/actions/get-connection-tables-v2.cjs +3 -3
- package/dist/actions/get-connection-tables-v2.cjs.map +1 -1
- package/dist/actions/get-connection-tables-v2.d.cts +4 -4
- package/dist/actions/get-connection-tables-v2.d.mts +4 -4
- package/dist/actions/get-connection-tables-v2.mjs +3 -3
- package/dist/actions/get-connection-tables-v2.mjs.map +1 -1
- package/dist/actions/get-connection-token.cjs +1 -1
- package/dist/actions/get-connection-token.cjs.map +1 -1
- package/dist/actions/get-connection-token.d.cts +1 -1
- package/dist/actions/get-connection-token.d.mts +1 -1
- package/dist/actions/get-connection-token.mjs +1 -1
- package/dist/actions/get-connection-token.mjs.map +1 -1
- package/dist/actions/get-connections.cjs +2 -2
- package/dist/actions/get-connections.cjs.map +1 -1
- package/dist/actions/get-connections.d.cts +2 -2
- package/dist/actions/get-connections.d.mts +2 -2
- package/dist/actions/get-connections.mjs +2 -2
- package/dist/actions/get-connections.mjs.map +1 -1
- package/dist/actions/get-hello.cjs +1 -1
- package/dist/actions/get-hello.cjs.map +1 -1
- package/dist/actions/get-hello.d.cts +1 -1
- package/dist/actions/get-hello.d.mts +1 -1
- package/dist/actions/get-hello.mjs +1 -1
- package/dist/actions/get-hello.mjs.map +1 -1
- package/dist/actions/get-saas-users-email.cjs +2 -2
- package/dist/actions/get-saas-users-email.cjs.map +1 -1
- package/dist/actions/get-saas-users-email.d.cts +2 -2
- package/dist/actions/get-saas-users-email.d.mts +2 -2
- package/dist/actions/get-saas-users-email.mjs +2 -2
- package/dist/actions/get-saas-users-email.mjs.map +1 -1
- package/dist/actions/get-table-structure.cjs +1 -1
- package/dist/actions/get-table-structure.cjs.map +1 -1
- package/dist/actions/get-table-structure.d.cts +1 -1
- package/dist/actions/get-table-structure.d.mts +1 -1
- package/dist/actions/get-table-structure.mjs +1 -1
- package/dist/actions/get-table-structure.mjs.map +1 -1
- package/dist/actions/get-user-email-verify.cjs +1 -1
- package/dist/actions/get-user-email-verify.cjs.map +1 -1
- package/dist/actions/get-user-email-verify.d.cts +1 -1
- package/dist/actions/get-user-email-verify.d.mts +1 -1
- package/dist/actions/get-user-email-verify.mjs +1 -1
- package/dist/actions/get-user-email-verify.mjs.map +1 -1
- package/dist/actions/post-table-csv-export.cjs +1 -1
- package/dist/actions/post-table-csv-export.cjs.map +1 -1
- package/dist/actions/post-table-csv-export.d.cts +1 -1
- package/dist/actions/post-table-csv-export.d.mts +1 -1
- package/dist/actions/post-table-csv-export.mjs +1 -1
- package/dist/actions/post-table-csv-export.mjs.map +1 -1
- package/dist/actions/post-table-row.cjs +1 -1
- package/dist/actions/post-table-row.cjs.map +1 -1
- package/dist/actions/post-table-row.d.cts +2 -2
- package/dist/actions/post-table-row.d.mts +2 -2
- package/dist/actions/post-table-row.mjs +1 -1
- package/dist/actions/post-table-row.mjs.map +1 -1
- package/dist/actions/post-table-rows-find.cjs +1 -1
- package/dist/actions/post-table-rows-find.cjs.map +1 -1
- package/dist/actions/post-table-rows-find.d.cts +2 -2
- package/dist/actions/post-table-rows-find.d.mts +2 -2
- package/dist/actions/post-table-rows-find.mjs +1 -1
- package/dist/actions/post-table-rows-find.mjs.map +1 -1
- package/dist/actions/put-table-row.cjs +1 -1
- package/dist/actions/put-table-row.cjs.map +1 -1
- package/dist/actions/put-table-row.d.cts +2 -2
- package/dist/actions/put-table-row.d.mts +2 -2
- package/dist/actions/put-table-row.mjs +1 -1
- package/dist/actions/put-table-row.mjs.map +1 -1
- package/dist/actions/put-table-rows-delete.cjs +2 -2
- package/dist/actions/put-table-rows-delete.cjs.map +1 -1
- package/dist/actions/put-table-rows-delete.d.cts +3 -3
- package/dist/actions/put-table-rows-delete.d.mts +3 -3
- package/dist/actions/put-table-rows-delete.mjs +2 -2
- package/dist/actions/put-table-rows-delete.mjs.map +1 -1
- package/dist/actions/put-table-rows-update.cjs +3 -3
- package/dist/actions/put-table-rows-update.cjs.map +1 -1
- package/dist/actions/put-table-rows-update.d.cts +5 -5
- package/dist/actions/put-table-rows-update.d.mts +5 -5
- package/dist/actions/put-table-rows-update.mjs +3 -3
- package/dist/actions/put-table-rows-update.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-table-row.mjs","names":[],"sources":["../../src/actions/put-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowInput = z.object({\n id: z.union([z.string(), z.number().int()]),\n row_data: z.
|
|
1
|
+
{"version":3,"file":"put-table-row.mjs","names":[],"sources":["../../src/actions/put-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowInput = z.object({\n id: z.union([z.string(), z.number().int()]),\n row_data: z.record(z.string(), z.unknown()).describe(\"The row data to update. Keys should match table column names and values should match expected data types. Only include fields that need to be updated.\"),\n tableName: z.string().describe(\"The name of the database table containing the row to update.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the row will be updated.\"),\n}).describe(\"Request model for updating a row in a table by primary key.\");\nexport const RocketadminPutTableRowOutput = z.record(z.string(), z.unknown()).describe(\"Response model containing the updated row data from the specified table.\\nThe response structure is dynamic and depends on the table schema.\\nAll columns and their values are returned as top-level fields.\");\n\nexport const rocketadminPutTableRow = action(\"ROCKETADMIN_PUT_TABLE_ROW\", {\n slug: \"rocketadmin-put-table-row\",\n name: \"Update Table Row by Primary Key\",\n description: \"Tool to update a row in a database table by its primary key. Use when you need to modify existing row data in a RocketAdmin connection. This is an API+ feature.\",\n input: RocketadminPutTableRowInput,\n output: RocketadminPutTableRowOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO;EAClD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wJAAwJ;EAC7M,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACtH,CAAC,CAAC,CAAC,SAAS,6DAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8MAO7E;AACV,CAAC"}
|
|
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/put-table-rows-delete.ts
|
|
4
4
|
const RocketadminPutTableRowsDeleteInput = zod.z.object({
|
|
5
|
-
rows: zod.z.array(zod.z.
|
|
5
|
+
rows: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row."),
|
|
6
6
|
tableName: zod.z.string().describe("The name of the table from which rows will be deleted."),
|
|
7
7
|
connectionId: zod.z.string().describe("The unique identifier for the database connection where the deletion will occur.")
|
|
8
8
|
}).describe("Request model for deleting multiple rows from a table by primary key.");
|
|
9
|
-
const RocketadminPutTableRowsDeleteOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for successful deletion of table rows.");
|
|
9
|
+
const RocketadminPutTableRowsDeleteOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).passthrough().describe("Response model for successful deletion of table rows.");
|
|
10
10
|
const rocketadminPutTableRowsDelete = require_action.action("ROCKETADMIN_PUT_TABLE_ROWS_DELETE", {
|
|
11
11
|
slug: "rocketadmin-put-table-rows-delete",
|
|
12
12
|
name: "Delete Multiple Table Rows",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-table-rows-delete.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput = z.object({\n rows: z.array(z.
|
|
1
|
+
{"version":3,"file":"put-table-rows-delete.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput = z.object({\n rows: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row.\"),\n tableName: z.string().describe(\"The name of the table from which rows will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting multiple rows from a table by primary key.\");\nexport const RocketadminPutTableRowsDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful deletion of table rows.\");\n\nexport const rocketadminPutTableRowsDelete = action(\"ROCKETADMIN_PUT_TABLE_ROWS_DELETE\", {\n slug: \"rocketadmin-put-table-rows-delete\",\n name: \"Delete Multiple Table Rows\",\n description: \"Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.\",\n input: RocketadminPutTableRowsDeleteInput,\n output: RocketadminPutTableRowsDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;CACvO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,15 +2,15 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/put-table-rows-delete.d.ts
|
|
4
4
|
declare const RocketadminPutTableRowsDeleteInput: z.ZodObject<{
|
|
5
|
-
rows: z.ZodArray<z.
|
|
5
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
tableName: z.ZodString;
|
|
7
7
|
connectionId: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const RocketadminPutTableRowsDeleteOutput: z.ZodObject<{
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const rocketadminPutTableRowsDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
-
rows: Record<string,
|
|
13
|
+
rows: Record<string, unknown>[];
|
|
14
14
|
tableName: string;
|
|
15
15
|
connectionId: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,15 +2,15 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/put-table-rows-delete.d.ts
|
|
4
4
|
declare const RocketadminPutTableRowsDeleteInput: z.ZodObject<{
|
|
5
|
-
rows: z.ZodArray<z.
|
|
5
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
tableName: z.ZodString;
|
|
7
7
|
connectionId: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const RocketadminPutTableRowsDeleteOutput: z.ZodObject<{
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const rocketadminPutTableRowsDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
-
rows: Record<string,
|
|
13
|
+
rows: Record<string, unknown>[];
|
|
14
14
|
tableName: string;
|
|
15
15
|
connectionId: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,11 +5,11 @@ const rocketadminPutTableRowsDelete = action("ROCKETADMIN_PUT_TABLE_ROWS_DELETE"
|
|
|
5
5
|
name: "Delete Multiple Table Rows",
|
|
6
6
|
description: "Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
rows: z.array(z.
|
|
8
|
+
rows: z.array(z.record(z.string(), z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row."),
|
|
9
9
|
tableName: z.string().describe("The name of the table from which rows will be deleted."),
|
|
10
10
|
connectionId: z.string().describe("The unique identifier for the database connection where the deletion will occur.")
|
|
11
11
|
}).describe("Request model for deleting multiple rows from a table by primary key."),
|
|
12
|
-
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for successful deletion of table rows.")
|
|
12
|
+
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).passthrough().describe("Response model for successful deletion of table rows.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { rocketadminPutTableRowsDelete };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-table-rows-delete.mjs","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput = z.object({\n rows: z.array(z.
|
|
1
|
+
{"version":3,"file":"put-table-rows-delete.mjs","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput = z.object({\n rows: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row.\"),\n tableName: z.string().describe(\"The name of the table from which rows will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting multiple rows from a table by primary key.\");\nexport const RocketadminPutTableRowsDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful deletion of table rows.\");\n\nexport const rocketadminPutTableRowsDelete = action(\"ROCKETADMIN_PUT_TABLE_ROWS_DELETE\", {\n slug: \"rocketadmin-put-table-rows-delete\",\n name: \"Delete Multiple Table Rows\",\n description: \"Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.\",\n input: RocketadminPutTableRowsDeleteInput,\n output: RocketadminPutTableRowsDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;EACvO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACtH,CAAC,CAAC,CAAC,SAAS,uEASH;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -2,12 +2,12 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/put-table-rows-update.ts
|
|
4
4
|
const RocketadminPutTableRowsUpdateInput = zod.z.object({
|
|
5
|
-
newValues: zod.z.
|
|
5
|
+
newValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Object containing the field names and new values to be set for all identified rows. Keys should match table column names."),
|
|
6
6
|
tableName: zod.z.string().describe("The name of the table where rows will be updated."),
|
|
7
|
-
primaryKeys: zod.z.array(zod.z.
|
|
7
|
+
primaryKeys: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row."),
|
|
8
8
|
connectionId: zod.z.string().describe("The unique identifier for the database connection where the update will occur.")
|
|
9
9
|
}).describe("Request model for updating multiple rows in a table by primary key.");
|
|
10
|
-
const RocketadminPutTableRowsUpdateOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).describe("Response model for successful update of table rows.");
|
|
10
|
+
const RocketadminPutTableRowsUpdateOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).passthrough().describe("Response model for successful update of table rows.");
|
|
11
11
|
const rocketadminPutTableRowsUpdate = require_action.action("ROCKETADMIN_PUT_TABLE_ROWS_UPDATE", {
|
|
12
12
|
slug: "rocketadmin-put-table-rows-update",
|
|
13
13
|
name: "Update Multiple Table Rows",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-table-rows-update.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput = z.object({\n newValues: z.
|
|
1
|
+
{"version":3,"file":"put-table-rows-update.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput = z.object({\n newValues: z.record(z.string(), z.unknown()).describe(\"Object containing the field names and new values to be set for all identified rows. Keys should match table column names.\"),\n tableName: z.string().describe(\"The name of the table where rows will be updated.\"),\n primaryKeys: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the update will occur.\"),\n}).describe(\"Request model for updating multiple rows in a table by primary key.\");\nexport const RocketadminPutTableRowsUpdateOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful update of table rows.\");\n\nexport const rocketadminPutTableRowsUpdate = action(\"ROCKETADMIN_PUT_TABLE_ROWS_UPDATE\", {\n slug: \"rocketadmin-put-table-rows-update\",\n name: \"Update Multiple Table Rows\",\n description: \"Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.\",\n input: RocketadminPutTableRowsUpdateInput,\n output: RocketadminPutTableRowsUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H;CACjL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;CAC9O,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACpH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -2,18 +2,18 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/put-table-rows-update.d.ts
|
|
4
4
|
declare const RocketadminPutTableRowsUpdateInput: z.ZodObject<{
|
|
5
|
-
newValues: z.
|
|
5
|
+
newValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
tableName: z.ZodString;
|
|
7
|
-
primaryKeys: z.ZodArray<z.
|
|
7
|
+
primaryKeys: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
connectionId: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const RocketadminPutTableRowsUpdateOutput: z.ZodObject<{
|
|
11
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const rocketadminPutTableRowsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
-
newValues: Record<string,
|
|
14
|
+
newValues: Record<string, unknown>;
|
|
15
15
|
tableName: string;
|
|
16
|
-
primaryKeys: Record<string,
|
|
16
|
+
primaryKeys: Record<string, unknown>[];
|
|
17
17
|
connectionId: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
@@ -2,18 +2,18 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/actions/put-table-rows-update.d.ts
|
|
4
4
|
declare const RocketadminPutTableRowsUpdateInput: z.ZodObject<{
|
|
5
|
-
newValues: z.
|
|
5
|
+
newValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
tableName: z.ZodString;
|
|
7
|
-
primaryKeys: z.ZodArray<z.
|
|
7
|
+
primaryKeys: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
connectionId: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const RocketadminPutTableRowsUpdateOutput: z.ZodObject<{
|
|
11
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const rocketadminPutTableRowsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
-
newValues: Record<string,
|
|
14
|
+
newValues: Record<string, unknown>;
|
|
15
15
|
tableName: string;
|
|
16
|
-
primaryKeys: Record<string,
|
|
16
|
+
primaryKeys: Record<string, unknown>[];
|
|
17
17
|
connectionId: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
@@ -5,12 +5,12 @@ const rocketadminPutTableRowsUpdate = action("ROCKETADMIN_PUT_TABLE_ROWS_UPDATE"
|
|
|
5
5
|
name: "Update Multiple Table Rows",
|
|
6
6
|
description: "Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
newValues: z.
|
|
8
|
+
newValues: z.record(z.string(), z.unknown()).describe("Object containing the field names and new values to be set for all identified rows. Keys should match table column names."),
|
|
9
9
|
tableName: z.string().describe("The name of the table where rows will be updated."),
|
|
10
|
-
primaryKeys: z.array(z.
|
|
10
|
+
primaryKeys: z.array(z.record(z.string(), z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row."),
|
|
11
11
|
connectionId: z.string().describe("The unique identifier for the database connection where the update will occur.")
|
|
12
12
|
}).describe("Request model for updating multiple rows in a table by primary key."),
|
|
13
|
-
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).describe("Response model for successful update of table rows.")
|
|
13
|
+
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).passthrough().describe("Response model for successful update of table rows.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { rocketadminPutTableRowsUpdate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-table-rows-update.mjs","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput = z.object({\n newValues: z.
|
|
1
|
+
{"version":3,"file":"put-table-rows-update.mjs","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput = z.object({\n newValues: z.record(z.string(), z.unknown()).describe(\"Object containing the field names and new values to be set for all identified rows. Keys should match table column names.\"),\n tableName: z.string().describe(\"The name of the table where rows will be updated.\"),\n primaryKeys: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the update will occur.\"),\n}).describe(\"Request model for updating multiple rows in a table by primary key.\");\nexport const RocketadminPutTableRowsUpdateOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful update of table rows.\");\n\nexport const rocketadminPutTableRowsUpdate = action(\"ROCKETADMIN_PUT_TABLE_ROWS_UPDATE\", {\n slug: \"rocketadmin-put-table-rows-update\",\n name: \"Update Multiple Table Rows\",\n description: \"Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.\",\n input: RocketadminPutTableRowsUpdateInput,\n output: RocketadminPutTableRowsUpdateOutput,\n});\n"],"mappings":";;AAcA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdgD,EAAE,OAAO;EACzD,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H;EACjL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;EAC9O,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACpH,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const rocketadminCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/rocketadmin",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings"
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const rocketadminCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const rocketadminCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const rocketadminCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/rocketadmin",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings"
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|