* add copy data source * add copy repo * add copy logic to mock db * add copy request interceptor * add data type copy server data source * add copy method to data type repo * add data type copy entity action * show copied notification * update hasChildren flag * use correct icon * note --------- Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com> Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
6 lines
200 B
TypeScript
6 lines
200 B
TypeScript
import type { DataSourceResponse } from '@umbraco-cms/backoffice/repository';
|
|
|
|
export interface UmbCopyDataSource {
|
|
copy(unique: string, targetUnique: string): Promise<DataSourceResponse<string>>;
|
|
}
|