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:
Mads Rasmussen
2023-04-20 15:21:08 +02:00
committed by GitHub
parent 588887b779
commit 39ecc9fd32
12 changed files with 185 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
import type { DataSourceResponse } from '@umbraco-cms/backoffice/repository';
export interface UmbCopyDataSource {
copy(unique: string, targetUnique: string): Promise<DataSourceResponse<string>>;
}