瀏覽代碼

create prenotify types

WNomunomu 2 年之前
父節點
當前提交
1a459a1dec
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      apps/app/src/server/service/preNotify.ts

+ 7 - 0
apps/app/src/server/service/preNotify.ts

@@ -0,0 +1,7 @@
+import type { IUser } from '@growi/core';
+
+type PreNotifyProps = {
+  notificationTargetUsers?: IUser[],
+}
+
+export type PreNotify = (props: PreNotifyProps) => Promise<void>;