-
Notifications
You must be signed in to change notification settings - Fork 7
BOX-204: Unify shared #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @@ -1,2 +0,0 @@ | |||
| export const avatarUri = | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не используется в проекте
azinit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self-reviewed
azinit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self-reviewed
| sessionModel.$session, | ||
| (card, viewer) => { | ||
| return !!viewer && viewer.id === card?.authorId; | ||
| return Boolean(viewer) && viewer.id === card?.authorId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linting)
| // // NOTE: Uncomment if need | ||
| // /** | ||
| // * Getting env-var | ||
| // * @throwable | ||
| // */ | ||
| // const getEnvVar = (key: string) => { | ||
| // if (process.env[key] === undefined) { | ||
| // throw new Error(`Env variable ${key} is required`); | ||
| // } | ||
| // return process.env[key]!; | ||
| // }; | ||
| // // Usage: | ||
| // export const SESSION_TOKEN = getEnvVar('RAZZLE_SESSION_TOKEN'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Можем сразу выпилить, но на всякий решил оставить (Если хотим сразу крашить приложуху, на случай когда не находится переменная)
ui, lib, apitoshared/{ui, lib, api}shared/config