import { UmbModalToken } from '@umbraco-cms/backoffice/modal';

export interface UmbCreateUserSuccessModalData {
	userId: string;
	initialPassword: string;
}

export type UmbCreateUserSuccessModalValue = undefined;

export const UMB_CREATE_USER_SUCCESS_MODAL = new UmbModalToken<
	UmbCreateUserSuccessModalData,
	UmbCreateUserSuccessModalValue
>('Umb.Modal.User.CreateSuccess', {
	modal: {
		type: 'dialog',
		size: 'small',
	},
});
