Skip to content

Commit

Permalink
fix(Field Maps): Changed type enumeration to string options (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndickerson authored May 26, 2020
1 parent 1465882 commit e623b0f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/types/FieldMap.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
/**
* Enumeration of different field types associated with Bullhorn Data.
*/
export enum FieldType {
ID,
COMPOSITE,
TO_ONE,
TO_MANY,
SCALAR,
}

export interface FieldMapOption {
value?: any;
label?: string;
Expand All @@ -17,7 +9,7 @@ export interface FieldMapOption {

export interface FieldMap {
name: string;
type?: FieldType;
type?: 'ID' | 'COMPOSITE' | 'TO_ONE' | 'TO_MANY' | 'SCALAR';
dataType?: string;
dataSpecialization?: string;
maxLength?: number;
Expand Down

0 comments on commit e623b0f

Please sign in to comment.