2024-08-06 10:25:19 +02:00
|
|
|
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
2024-07-27 15:55:00 +02:00
|
|
|
|
2024-08-06 10:25:19 +02:00
|
|
|
export type Data = object;
|
|
|
|
|
export type RetData = object;
|
2024-07-27 15:55:00 +02:00
|
|
|
|
2024-08-06 10:25:19 +02:00
|
|
|
export const EXAMPLE_ROUTED_MODAL = new UmbModalToken<Data, RetData>(
|
|
|
|
|
'example.routed.modal', // this needs to match the alias of the modal registered in manifest.ts
|
|
|
|
|
{
|
|
|
|
|
modal: {
|
|
|
|
|
type: 'dialog',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
);
|