Skip to content

Commit

Permalink
resovled comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Budhadev authored and Jay Budhadev committed Nov 24, 2023
1 parent 669200a commit 0990607
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/app/core/enums/platform/v1/custom-fields-type.enum.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export enum CustomFieldTypes {
TEXT = 'TEXT',
NUMBER = 'NUMBER',
SELECT = 'SELECT',
BOOLEAN = 'BOOLEAN',
MULTI_SELECT = 'MULTI_SELECT',
LOCATION = 'LOCATION',
USER_LIST = 'USER_LIST',
DATE = 'DATE',
DEPENDENT_SELECT = 'DEPENDENT_SELECT',
}
6 changes: 4 additions & 2 deletions src/app/core/models/platform/custom-fields.model.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { CustomFieldTypes } from '../../enums/platform/v1/custom-fields-type.enum';

export interface CustomFields {
name: string;
value: string | string[] | boolean | number | Record<string, string | string[] | boolean>;
type?: string;
is_enabled?: boolean;
type: CustomFieldTypes;
is_enabled: boolean;
}

0 comments on commit 0990607

Please sign in to comment.