Files
artcraft/frontend/editor3d/app/enums/authentication.ts
T
Brandon Thomas b31badc6d1 Editor3D - this directory is a fork of "studio gen 2" by Tanish.
We'll be using this for our image generation roadmap:

https://docs.google.com/document/d/1O9YI_iLwXkl2wAJJ23dFp3eHR-JzhlRHCBPD8psG-1E/edit

The original Studio Gen 2 is in the `frontend/studio-gen-2` directory.

The original Studio Gen 1 is in the `frontend/studio-gen-1` directory
2025-03-31 13:28:59 -04:00

27 lines
677 B
TypeScript

export enum STORAGE_KEYS {
SESSION_TOKEN = "session_token",
}
export enum AUTH_STATUS {
INIT = "INIT",
NO_ACCESS = "no_access",
LOGGED_IN = "logged_in",
LOGGING = "logging",
GET_USER_INFO = "get_user_info",
LOGGED_OUT = "logged_out",
}
export enum AUTH_ERROR_FALLBACKS {
CreateSessionError = "Unknown Error during Create Session",
DestorySessionError = "Unknown Error during Destroy Session",
GetSessionError = "Unknown Error During Get Session",
Unauthorized = "User Unauthorized",
}
export enum USER_FEATURE_FLAGS {
EXPLORE_MEDIA = "explore_media",
STUDIO = "studio",
UPLOAD_3D = "upload_3d",
VIDEO_STYLE_TRANSFER = "video_style_transfer",
}