mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 05:45:46 +00:00
feat(FE): api integration production standards
This commit is contained in:
@@ -147,24 +147,8 @@ export const FlockApi = new BaseApiService<
|
||||
UpdateFlockPayload
|
||||
>('/master-data/flocks');
|
||||
|
||||
export class ProductionStandardApi extends BaseApiService<
|
||||
export const ProductionStandardApi = new BaseApiService<
|
||||
ProductionStandard,
|
||||
unknown,
|
||||
unknown
|
||||
> {
|
||||
constructor(basePath: string) {
|
||||
super(basePath);
|
||||
}
|
||||
|
||||
async getAllFetcher() {
|
||||
return await getDummyAllFetcher();
|
||||
}
|
||||
|
||||
async getSingleFetcher(id: number) {
|
||||
return await getDummySingleFetcher(id);
|
||||
}
|
||||
}
|
||||
|
||||
export const productionStandardApi = new ProductionStandardApi(
|
||||
'/master-data/production-standard'
|
||||
);
|
||||
>('/master-data/production-standards');
|
||||
|
||||
Reference in New Issue
Block a user