Add account hierarchy framework with migrations, RLS policies, and UI components
This commit is contained in:
@@ -36,7 +36,7 @@ const authConfig = AuthConfigSchema.parse({
|
||||
password: process.env.NEXT_PUBLIC_AUTH_PASSWORD === 'true',
|
||||
magicLink: process.env.NEXT_PUBLIC_AUTH_MAGIC_LINK === 'true',
|
||||
otp: process.env.NEXT_PUBLIC_AUTH_OTP === 'true',
|
||||
oAuth: ['google'],
|
||||
oAuth: ['google', 'apple', 'azure', 'github'],
|
||||
},
|
||||
} satisfies z.output<typeof AuthConfigSchema>);
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ export const CMS_BILLING_PLANS = {
|
||||
],
|
||||
pricing: {
|
||||
monthly: { amount: 1900, currency: 'eur' }, // 19,00 €
|
||||
yearly: { amount: 19000, currency: 'eur' }, // 190,00 € (2 Monate gratis)
|
||||
yearly: { amount: 19000, currency: 'eur' }, // 190,00 € (2 Monate gratis)
|
||||
},
|
||||
},
|
||||
|
||||
@@ -49,7 +49,7 @@ export const CMS_BILLING_PLANS = {
|
||||
],
|
||||
pricing: {
|
||||
monthly: { amount: 4900, currency: 'eur' }, // 49,00 €
|
||||
yearly: { amount: 49000, currency: 'eur' }, // 490,00 €
|
||||
yearly: { amount: 49000, currency: 'eur' }, // 490,00 €
|
||||
},
|
||||
},
|
||||
|
||||
@@ -75,7 +75,7 @@ export const CMS_BILLING_PLANS = {
|
||||
],
|
||||
pricing: {
|
||||
monthly: { amount: 14900, currency: 'eur' }, // 149,00 €
|
||||
yearly: { amount: 149000, currency: 'eur' }, // 1.490,00 €
|
||||
yearly: { amount: 149000, currency: 'eur' }, // 1.490,00 €
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
||||
@@ -128,10 +128,7 @@ const featuresFlagConfig = FeatureFlagsSchema.parse({
|
||||
process.env.NEXT_PUBLIC_ENABLE_DOCUMENT_GENERATION,
|
||||
true,
|
||||
),
|
||||
enableNewsletter: getBoolean(
|
||||
process.env.NEXT_PUBLIC_ENABLE_NEWSLETTER,
|
||||
true,
|
||||
),
|
||||
enableNewsletter: getBoolean(process.env.NEXT_PUBLIC_ENABLE_NEWSLETTER, true),
|
||||
enableGdprCompliance: getBoolean(
|
||||
process.env.NEXT_PUBLIC_ENABLE_GDPR_COMPLIANCE,
|
||||
true,
|
||||
@@ -140,10 +137,7 @@ const featuresFlagConfig = FeatureFlagsSchema.parse({
|
||||
process.env.NEXT_PUBLIC_ENABLE_SITE_BUILDER,
|
||||
true,
|
||||
),
|
||||
enableFischerei: getBoolean(
|
||||
process.env.NEXT_PUBLIC_ENABLE_FISCHEREI,
|
||||
false,
|
||||
),
|
||||
enableFischerei: getBoolean(process.env.NEXT_PUBLIC_ENABLE_FISCHEREI, false),
|
||||
enableMeetingProtocols: getBoolean(
|
||||
process.env.NEXT_PUBLIC_ENABLE_MEETING_PROTOCOLS,
|
||||
false,
|
||||
|
||||
@@ -1,7 +1,17 @@
|
||||
import {
|
||||
CreditCard, LayoutDashboard, Settings, Users, Database,
|
||||
UserCheck, GraduationCap, Hotel, Calendar, Wallet,
|
||||
FileText, Mail, Globe,
|
||||
CreditCard,
|
||||
LayoutDashboard,
|
||||
Settings,
|
||||
Users,
|
||||
Database,
|
||||
UserCheck,
|
||||
GraduationCap,
|
||||
Hotel,
|
||||
Calendar,
|
||||
Wallet,
|
||||
FileText,
|
||||
Mail,
|
||||
Globe,
|
||||
} from 'lucide-react';
|
||||
|
||||
import { NavigationConfigSchema } from '@kit/ui/navigation-schema';
|
||||
|
||||
Reference in New Issue
Block a user