fix(cm): export some types for building

This commit is contained in:
Josh 2023-12-06 18:14:08 +00:00 committed by ELABBASSI Hicham
parent 59a6b3828b
commit a7b1360f24
3 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@ import {
import { useIntl } from 'react-intl';
import { useMutation } from 'react-query';
import { LimitsModal } from '../../../../../../pages/SettingsPage/pages/ReviewWorkflows/components/LimitsModal';
import { useLicenseLimits } from '../../../../../hooks/useLicenseLimits';
import { LimitsModal } from '../../../../../pages/SettingsPage/pages/ReviewWorkflows/components/LimitsModal';
import {
CHARGEBEE_STAGES_PER_WORKFLOW_ENTITLEMENT_NAME,
CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME,

View File

@ -33,7 +33,7 @@ export type CurrentWorkflow = Partial<
export type PartialWorkflow = Omit<CurrentWorkflow, 'stages'> & { stages?: Partial<Stage>[] };
interface ServerState {
export interface ServerState {
contentTypes?: {
collectionTypes: Schema.CollectionType[];
singleTypes: Schema.SingleType[];
@ -46,7 +46,7 @@ interface ServerState {
// This isn't something we should do.
// TODO: Revamp the way we are handling this temp key for delete or create
export type StageWithTempKey = Stage & { __temp_key__?: number };
interface ClientState {
export interface ClientState {
currentWorkflow: {
data: Partial<Omit<CurrentWorkflow, 'stages'> & { stages: StageWithTempKey[] }>;
};

View File

@ -8,4 +8,4 @@
}
},
"include": ["./src", "../../shared", "./tests", "./custom.d.ts", "./module.d.ts"]
}
}