Skip to content

Commit 5cf2823

Browse files
feat: export getAvailableTablesInOpenopsTables (#2190)
Export the function so the enterprise tables API can consume it directly to list available tables for a project. <!-- Ensure the title clearly reflects what was changed. Provide a clear and concise description of the changes made. The PR should only contain the changes related to the issue, and no other unrelated changes. --> Part of OPS-4064 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 152a260 commit 5cf2823

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/openops/src/lib/openops-tables

packages/openops/src/lib/openops-tables/tables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function getTableNames(
5050
return tables.map((t) => t.name);
5151
}
5252

53-
async function getAvailableTablesInOpenopsTables(
53+
export async function getAvailableTablesInOpenopsTables(
5454
serverContext: TablesServerContext,
5555
): Promise<OpenOpsTable[]> {
5656
const tables = await fetchAllTables(serverContext);

0 commit comments

Comments
 (0)