mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 23:57:32 +00:00
fix merge conflicts
This commit is contained in:
parent
205e5f9d55
commit
2621ea6325
@ -439,7 +439,7 @@ export const createPushController = handlerControllerFactory<Partial<PushHandler
|
||||
this.flow = createFlow(DEFAULT_TRANSFER_FLOW);
|
||||
|
||||
this.provider = createLocalStrapiDestinationProvider({
|
||||
...params,
|
||||
...params.options,
|
||||
autoDestroy: false,
|
||||
getStrapi: () => strapi,
|
||||
});
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import type { ILocalStrapiDestinationProviderOptions } from '../../../../src/strapi/providers';
|
||||
import type { TransferMethod } from '../../../../src/strapi/remote/constants';
|
||||
|
||||
export type CommandMessage = { type: 'command' } & (InitCommand | EndCommand | StatusCommand);
|
||||
|
||||
@ -12,7 +13,10 @@ export type GetCommandParams<T extends Command> = {
|
||||
|
||||
export type InitCommand = CreateCommand<
|
||||
'init',
|
||||
Pick<ILocalStrapiDestinationProviderOptions, 'strategy' | 'restore'>
|
||||
{
|
||||
options: Pick<ILocalStrapiDestinationProviderOptions, 'strategy' | 'restore'>;
|
||||
transfer: TransferMethod;
|
||||
}
|
||||
>;
|
||||
export type TransferKind = InitCommand['params']['transfer'];
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import type { IEntity, ILink, IConfiguration, IAsset } from '../../../../common-entities';
|
||||
import type { IEntity, ILink, IConfiguration } from '../../../../common-entities';
|
||||
import { CreateTransferMessage } from './utils';
|
||||
|
||||
export type TransferPullMessage = CreateTransferMessage<
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user