20 lines
676 B
TypeScript
20 lines
676 B
TypeScript
import type { NormalizedCacheObject } from '@apollo/client';
|
|
import type { User } from 'services/user/types';
|
|
import type { CalculationOptions } from 'stores/calculation/options/types';
|
|
import type { CalculationStatuses } from 'stores/calculation/statuses/types';
|
|
import type { CalculationValues } from 'stores/calculation/values/types';
|
|
import type { InsuranceTableData } from 'stores/tables/insurance';
|
|
|
|
export interface BasePageProps {
|
|
user: User;
|
|
initialApolloState: NormalizedCacheObject;
|
|
calculation?: {
|
|
values: CalculationValues;
|
|
statuses?: CalculationStatuses;
|
|
options?: CalculationOptions;
|
|
};
|
|
tables: {
|
|
insurance: InsuranceTableData;
|
|
};
|
|
}
|