feat(notion): add auth and new DB items trigger

This commit is contained in:
Ali BARIN
2023-06-12 22:45:37 +00:00
parent f2dc2f5530
commit 6be8b55daa
15 changed files with 351 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { IGlobalVariable } from '@automatisch/types';
import getCurrentUser from '../common/get-current-user';
const isStillVerified = async ($: IGlobalVariable) => {
const user = await getCurrentUser($);
return !!user.id;
};
export default isStillVerified;