Feature: Data Type Copy Action (#653)
* 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>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import type { DataSourceResponse } from '@umbraco-cms/backoffice/repository';
|
||||
|
||||
export interface UmbCopyDataSource {
|
||||
copy(unique: string, targetUnique: string): Promise<DataSourceResponse<string>>;
|
||||
}
|
||||
Reference in New Issue
Block a user