mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
feat: create type for Phase
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
|||||||
|
import { BaseMetadata } from '@/types/api/api-general';
|
||||||
|
|
||||||
|
export type BasePhase = {
|
||||||
|
id: number;
|
||||||
|
name: string;
|
||||||
|
is_active: boolean;
|
||||||
|
category: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type Phase = BaseMetadata & BasePhase;
|
||||||
|
|
||||||
|
export type CreatePhasePayload = {
|
||||||
|
name: string;
|
||||||
|
category: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UpdatePhasePayload = {
|
||||||
|
name: string;
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user