mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat(FE-390): slicing UI and API integration for production dashboard
This commit is contained in:
@@ -5,7 +5,17 @@
|
|||||||
* This file is auto-generated. Do not edit manually.
|
* This file is auto-generated. Do not edit manually.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { DashboardProductionStatisticsData, DashboardProductionProductionChartsFlocks, DashboardProductionProductionCharts, DashboardProductionStandardProductionsStandards, DashboardProductionStandardProductions, DashboardProductionFcrDataFlock, DashboardProductionEggWeights, DashboardProductionFcrData, DashboardProduction } from '../../types/api/dashboard/dashboard-production';
|
import {
|
||||||
|
DashboardProductionStatisticsData,
|
||||||
|
DashboardProductionProductionChartsFlocks,
|
||||||
|
DashboardProductionProductionCharts,
|
||||||
|
DashboardProductionStandardProductionsStandards,
|
||||||
|
DashboardProductionStandardProductions,
|
||||||
|
DashboardProductionFcrDataFlock,
|
||||||
|
DashboardProductionEggWeights,
|
||||||
|
DashboardProductionFcrData,
|
||||||
|
DashboardProduction,
|
||||||
|
} from '../../types/api/dashboard/dashboard-production';
|
||||||
import { BaseApiResponse } from '@/types/api/api-general';
|
import { BaseApiResponse } from '@/types/api/api-general';
|
||||||
import dummyData from './dashboard.production.dummy.json';
|
import dummyData from './dashboard.production.dummy.json';
|
||||||
|
|
||||||
@@ -13,7 +23,9 @@ import dummyData from './dashboard.production.dummy.json';
|
|||||||
* Get dummy DashboardProduction data
|
* Get dummy DashboardProduction data
|
||||||
* @returns Promise with BaseApiResponse containing DashboardProduction
|
* @returns Promise with BaseApiResponse containing DashboardProduction
|
||||||
*/
|
*/
|
||||||
export async function getDummySingle(): Promise<BaseApiResponse<DashboardProduction>> {
|
export async function getDummySingle(): Promise<
|
||||||
|
BaseApiResponse<DashboardProduction>
|
||||||
|
> {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
resolve({
|
resolve({
|
||||||
|
|||||||
Reference in New Issue
Block a user