mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat: create Phase API Service
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { BaseApiService } from '@/services/api/base';
|
||||
import {
|
||||
Phase,
|
||||
CreatePhasePayload,
|
||||
UpdatePhasePayload,
|
||||
} from '@/types/api/daily-checklist/phase';
|
||||
|
||||
export class PhaseApiService extends BaseApiService<
|
||||
Phase,
|
||||
CreatePhasePayload,
|
||||
UpdatePhasePayload
|
||||
> {
|
||||
constructor(basePath: string = '/master-data/phases') {
|
||||
super(basePath);
|
||||
}
|
||||
}
|
||||
|
||||
export const PhaseApi = new PhaseApiService('/master-data/phases');
|
||||
Reference in New Issue
Block a user