teableio/teable

View on GitHub
packages/core/src/auth/anonymous.ts

Summary

Maintainability
A
0 mins
Test Coverage
export const ANONYMOUS_USER_ID = 'anonymous';

export const isAnonymous = (userId: string) => userId === ANONYMOUS_USER_ID;