12 lines
402 B
TypeScript
12 lines
402 B
TypeScript
export const PACKAGE_AUDIT_CHANGED_EVENT = 'admin:package-audit-changed';
|
|
export const AUDIT_NOTICE_CHANGED_EVENT = 'dukang:audit-notice-changed';
|
|
|
|
export function notifyPackageAuditChanged() {
|
|
window.dispatchEvent(new Event(PACKAGE_AUDIT_CHANGED_EVENT));
|
|
window.dispatchEvent(new Event(AUDIT_NOTICE_CHANGED_EVENT));
|
|
}
|
|
|
|
export function notifyAuditNoticeChanged() {
|
|
notifyPackageAuditChanged();
|
|
}
|