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:
21
frontend/types/base.ts
Normal file
21
frontend/types/base.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export type PageType = {
|
||||
params: {
|
||||
locale: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type GlobalRoleType = {
|
||||
uid: 'administrator' | 'user';
|
||||
};
|
||||
|
||||
export type MemberRoleType = {
|
||||
uid: 'manager' | 'developer' | 'reporter';
|
||||
};
|
||||
|
||||
export type AutomationStatusType = {
|
||||
uid: 'automated' | 'automation-not-required' | 'cannot-be-automated' | 'obsolete';
|
||||
};
|
||||
|
||||
export type TemplateType = {
|
||||
uid: 'text' | 'step';
|
||||
};
|
||||
Reference in New Issue
Block a user