diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index 4b767ff122..523913830f 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -3112,6 +3112,11 @@ export interface LinkToAnotherRecordType { ur?: string; /** Model for Bool */ virtual?: BoolType; + fk_related_base_id?: string; + fk_mm_base_id?: string; + base_id?: string; + fk_related_source_id?: string; + fk_mm_source_id?: string; } /** @@ -7770,6 +7775,39 @@ export class Api< ...params, }), }; + dbLinks = { + /** + * @description Read the table metadata by linked column ID and table ID + * + * @tags DB Links + * @name TableRead + * @summary Read Partial Linked Table + * @request GET:/api/v1/db/internal/links/{linkColumnId}/tables/{tableId} + * @response `200` `TableType` OK + * @response `400` `{ + \** @example BadRequest [Error]: *\ + msg: string, + +}` + */ + tableRead: ( + linkColumnId: IdType, + tableId: IdType, + params: RequestParams = {} + ) => + this.request< + TableType, + { + /** @example BadRequest [Error]: */ + msg: string; + } + >({ + path: `/api/v1/db/internal/links/${linkColumnId}/tables/${tableId}`, + method: 'GET', + format: 'json', + ...params, + }), + }; dbTableColumn = { /** * @description Create a new column in a given Table diff --git a/scripts/pkg-executable/package.json b/scripts/pkg-executable/package.json index 787818f940..408640065e 100644 --- a/scripts/pkg-executable/package.json +++ b/scripts/pkg-executable/package.json @@ -27,11 +27,11 @@ "author": "", "license": "ISC", "dependencies": { - "@nestjs/common": "^10.3.8", - "@nestjs/core": "^10.3.8", + "@nestjs/common": "^10.4.17", + "@nestjs/core": "^10.4.17", "cors": "^2.8.5", - "express": "^4.18.3", - "nocodb": "0.204.9" + "express": "^4.21.2", + "nocodb": "0.263.4" }, "overrides": { "sqlite3": "5.1.6"