Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/libs/repository/data-source/copy-data-source.interface.ts
Mads Rasmussen 39ecc9fd32 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>
2023-04-20 13:21:08 +00:00

6 lines
200 B
TypeScript

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