mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 21:05:06 +03:00
Still 30k paying customers with missing address - changing the language to be a bit harsher + showing as danger instead of warning
30 lines
1.1 KiB
TypeScript
30 lines
1.1 KiB
TypeScript
// Add at the top of the file, with other imports
|
|
export const RESTRICTION_MESSAGES = {
|
|
GRACE_PERIOD: {
|
|
title: 'Organization plan has exceeded its quota',
|
|
message: (date: string) => `You are given a grace period until ${date}`,
|
|
},
|
|
GRACE_PERIOD_OVER: {
|
|
title: 'Grace period is over',
|
|
message: 'Your Projects will not be able to serve requests when you used up your quota.',
|
|
},
|
|
RESTRICTED: {
|
|
title: 'Services Restricted',
|
|
message:
|
|
'Your Projects are unable to serve any requests as your Organization plan has used up its quota.',
|
|
},
|
|
OVERDUE_INVOICES: {
|
|
title: 'Outstanding Invoices',
|
|
message: 'Please pay invoices to avoid service disruption.',
|
|
},
|
|
OVERDUE_INVOICES_FROM_OTHER_ORGS: {
|
|
title: 'Outstanding Invoices in other Organization',
|
|
message: 'Please pay invoices for other Organization to avoid service disruption.',
|
|
},
|
|
MISSING_BILLING_INFO: {
|
|
title: 'Missing Billing Information',
|
|
message:
|
|
'Please add a billing address to avoid restrictions. If you are a registered business, please add a tax ID too.',
|
|
},
|
|
} as const
|