mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
fix(cm): export some types for building
This commit is contained in:
parent
59a6b3828b
commit
a7b1360f24
@ -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,
|
||||
|
||||
@ -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[] }>;
|
||||
};
|
||||
|
||||
@ -8,4 +8,4 @@
|
||||
}
|
||||
},
|
||||
"include": ["./src", "../../shared", "./tests", "./custom.d.ts", "./module.d.ts"]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user