Skip to content

Commit

Permalink
Update Types.ts (#3591)
Browse files Browse the repository at this point in the history
Co-authored-by: kbirk <[email protected]>
  • Loading branch information
kbirk and kbirk authored May 9, 2024
1 parent 5680192 commit 86bd027
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/hmi-client/src/types/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export interface CsvColumnStats {

export interface Grounding extends TerariumEntity {
identifiers: Identifier[];
context?: { [index: string]: any };
context?: any;
}

export interface Identifier {
Expand Down Expand Up @@ -177,7 +177,7 @@ export interface DatasetColumn extends TerariumEntity {
dataType: ColumnType;
formatStr?: string;
annotations: string[];
metadata?: { [index: string]: any };
metadata?: any;
grounding?: Grounding;
description?: string;
dataset?: Dataset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ public class DatasetColumn extends TerariumEntity {
@Column(length = 255)
private String name;

public String getName() {
return name.replace("\0", "");
}

@TSOptional
@ManyToOne
@JoinColumn(name = "dataset_id")
Expand Down

0 comments on commit 86bd027

Please sign in to comment.