import { Nullable } from "../.."; import { IEntityCopyOptionsBuilder } from "./entity-copy-options-builder"; import { IPropertyCopyOption } from "./property-copy-option"; import { IRelationCopyOption } from "./relation-copy-option"; /** * Represents options for copying an entity. */ export interface IEntityCopyOptions { /** * Gets or sets the copy profile identifier. */ copyProfileIdentifier: Nullable; /** * Gets or sets the copy profile id. */ copyProfileId: Nullable; /** * Gets or sets the id of the destination entity. */ destinationEntityId: Nullable; /** * Gets or sets the relation copy options. */ relationCopyOptions: Nullable>; /** * Gets or sets the property copy options. */ propertyCopyOptions: Nullable>; /** * Creates a {@link IEntityCopyOptionsBuilder} from the current {@link IEntityCopyOptions}. * The builder can extend or overwrite the configuration of the current {@link IEntityCopyOptions}. */ builder(): IEntityCopyOptionsBuilder; } export declare class EntityCopyOptions implements IEntityCopyOptions { /** * {@inheritDoc} */ copyProfileIdentifier: Nullable; /** * {@inheritDoc} */ copyProfileId: Nullable; /** * {@inheritDoc} */ destinationEntityId: Nullable; /** * {@inheritDoc} */ relationCopyOptions: Nullable>; /** * {@inheritDoc} */ propertyCopyOptions: Nullable>; /** * {@inheritDoc} */ builder(): IEntityCopyOptionsBuilder; }