fix: Typescript check (#21)
* fix: typescript check error * fix: typescript check error * fix: typescript check error * fix: typescript check error * fix: typescript check error
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import { AutomationStatusType, GlobalRoleType, MemberRoleType, TemplateType } from '@/types/base';
|
||||
import { RunStatusType, TestRunCaseStatusType } from '@/types/status';
|
||||
import { TestTypeType } from '@/types/testType';
|
||||
import { PriorityType } from '@/types/priority';
|
||||
import { LocaleType } from '@/types/locale';
|
||||
|
||||
const roles = [{ uid: 'administrator' }, { uid: 'user' }];
|
||||
|
||||
const memberRoles = [{ uid: 'manager' }, { uid: 'developer' }, { uid: 'reporter' }];
|
||||
const roles: GlobalRoleType[] = [{ uid: 'administrator' }, { uid: 'user' }];
|
||||
const memberRoles: MemberRoleType[] = [{ uid: 'manager' }, { uid: 'developer' }, { uid: 'reporter' }];
|
||||
|
||||
const categoricalPalette = ['#fba91e', '#6ea56c', '#3ac6e1', '#feda2f', '#f15f47', '#244470', '#9c80bb', '#f595a6'];
|
||||
|
||||
const locales = [
|
||||
const locales: LocaleType[] = [
|
||||
{ code: 'en', name: 'English' },
|
||||
{ code: 'ja', name: '日本語' },
|
||||
];
|
||||
@@ -59,14 +60,14 @@ const testTypes: TestTypeType[] = [
|
||||
{ uid: 'manual', chartColor: categoricalPalette[4] },
|
||||
];
|
||||
|
||||
const automationStatus = [
|
||||
{ name: 'Automated', uid: 'automated' },
|
||||
{ name: 'Automation Not Required', uid: 'automation-not-required' },
|
||||
{ name: 'Cannot Be Automated', uid: 'cannot-be-automated' },
|
||||
{ name: 'Obsolete', uid: 'obsolete' },
|
||||
const automationStatus: AutomationStatusType[] = [
|
||||
{ uid: 'automated' },
|
||||
{ uid: 'automation-not-required' },
|
||||
{ uid: 'cannot-be-automated' },
|
||||
{ uid: 'obsolete' },
|
||||
];
|
||||
|
||||
const templates = [{ uid: 'text' }, { uid: 'step' }];
|
||||
const templates: TemplateType[] = [{ uid: 'text' }, { uid: 'step' }];
|
||||
|
||||
export {
|
||||
roles,
|
||||
|
||||
Reference in New Issue
Block a user