1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- export type ColumnType =
- | 'boolean'
- | 'date'
- | 'duration'
- | 'integer'
- | 'number'
- | 'percentage'
- | 'string';
- export enum FieldKey {
- ASSIGNEE = 'assignee',
- TITLE = 'title',
- ISSUE = 'issue',
- LEVEL = 'level',
- STATUS = 'status',
- PLATFORM = 'platform',
- IS_BOOKMARKED = 'isBookmarked',
- IS_SUBSCRIBED = 'isSubscribed',
- IS_HANDLED = 'isHandled',
- LAST_SEEN = 'lastSeen',
- FIRST_SEEN = 'firstSeen',
- EVENTS = 'events',
- USERS = 'users',
- LIFETIME_EVENTS = 'lifetimeEvents',
- LIFETIME_USERS = 'lifetimeUsers',
- PROJECT = 'project',
- LINKS = 'links',
- }
- export const ISSUE_FIELDS: Readonly<Record<FieldKey, ColumnType>> = {
- [FieldKey.ASSIGNEE]: 'string',
- [FieldKey.TITLE]: 'string',
- [FieldKey.ISSUE]: 'string',
- [FieldKey.LEVEL]: 'string',
- [FieldKey.STATUS]: 'string',
- [FieldKey.PLATFORM]: 'string',
- [FieldKey.IS_BOOKMARKED]: 'boolean',
- [FieldKey.IS_SUBSCRIBED]: 'boolean',
- [FieldKey.IS_HANDLED]: 'boolean',
- [FieldKey.LAST_SEEN]: 'date',
- [FieldKey.FIRST_SEEN]: 'date',
- [FieldKey.EVENTS]: 'string',
- [FieldKey.USERS]: 'string',
- [FieldKey.LIFETIME_EVENTS]: 'string',
- [FieldKey.LIFETIME_USERS]: 'string',
- [FieldKey.PROJECT]: 'string',
- [FieldKey.LINKS]: 'string',
- };
- export const ISSUE_FIELD_TO_HEADER_MAP = {
- [FieldKey.LIFETIME_EVENTS]: 'Lifetime Events',
- [FieldKey.LIFETIME_USERS]: 'Lifetime Users',
- };
|