Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
seancolsen committed Jul 27, 2024
1 parent cdb87c4 commit 1814459
Show file tree
Hide file tree
Showing 76 changed files with 481 additions and 463 deletions.
11 changes: 0 additions & 11 deletions mathesar_ui/src/api/rest/columns.ts

This file was deleted.

2 changes: 1 addition & 1 deletion mathesar_ui/src/api/rest/types/queries.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Column } from '@mathesar/api/rest/types/tables/columns';
import type { JpPath } from '@mathesar/api/rest/types/tables/joinable_tables';
import type { PaginatedResponse } from '@mathesar/api/rest/utils/requestUtils';
import type { Column } from '@mathesar/api/rpc/columns';
import type { Schema } from '@mathesar/api/rpc/schemas';

export type QueryColumnAlias = string;
Expand Down
162 changes: 0 additions & 162 deletions mathesar_ui/src/api/rest/types/tables/columns.ts

This file was deleted.

12 changes: 6 additions & 6 deletions mathesar_ui/src/api/rest/types/tables/joinable_tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import type { Table } from '@mathesar/api/rpc/tables';

import type { Column } from './columns';

type ForeignKeyId = number;
type IsLinkReversed = boolean;
export type JpPath = [Column['id'], Column['id']][];

/** [attnum, attnum][] */
export type JpPath = [number, number][];

export interface JoinableTable {
target: Table['oid']; // baseTableId
Expand All @@ -26,14 +26,14 @@ export interface JoinableTablesResult {
string, // tableId
{
name: Table['name'];
columns: Column['id'][];
columns: number[];
}
>;
columns: Record<
string, // columnId
{
name: Column['name'];
type: Column['type'];
name: string;
type: string;
}
>;
}
Loading

0 comments on commit 1814459

Please sign in to comment.