-
Notifications
You must be signed in to change notification settings - Fork 28
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
Feat/conditional feature access based on user plan and payment #728
Feat/conditional feature access based on user plan and payment #728
Conversation
…r plan meta or billable metrics
…d and return the Project
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 7bb2b86. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
const isBillableMetricAvailable = await this.paymentAPIService.checkEvent({ | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
email: user._userId.email, |
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.
Make it like, (uploadInfo._templateId as unknown as TemplateEntity).name
|
||
import { Button } from '@ui/button'; | ||
import { Textarea } from '@ui/textarea'; | ||
import { Checkbox } from '@ui/checkbox'; | ||
import { MultiSelect } from '@ui/multi-select'; | ||
import { CustomSelect } from '@ui/custom-select'; | ||
import { useSchema } from '@hooks/useSchema'; | ||
import { useEffect, useState } from 'react'; |
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.
Bring it on top.
apps/web/hooks/useSchema.tsx
Outdated
|
||
import { useUpdateBulkColumns } from './useUpdateBulkColumns'; | ||
import { ConfirmDelete } from '@components/imports/forms/ConfirmDelete'; | ||
import { usePlanMetaData } from 'store/planmeta.store.context'; | ||
import { SelectItem } from '@mantine/core'; |
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.
Bring it top.
No description provided.