mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat: create type for Phase Activity
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
|
||||
export type BasePhaseActivity = {
|
||||
id: number;
|
||||
phase_id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
time_type: string;
|
||||
};
|
||||
|
||||
export type PhaseActivity = BaseMetadata & BasePhaseActivity;
|
||||
|
||||
export type CreatePhaseActivityPayload = {
|
||||
phase_id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
time_type: string;
|
||||
};
|
||||
|
||||
export type UpdatePhaseActivityPayload = {
|
||||
name: string;
|
||||
description: string;
|
||||
time_type: string;
|
||||
};
|
||||
Reference in New Issue
Block a user