The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: clean up org.project_limit (#7074)
Hieu Pham42eb1d7a6158
diff --git a/studio/components/interfaces/Organization/BillingSettings/AWSMarketplaceSubscription.tsx b/studio/components/interfaces/Organization/BillingSettings/AWSMarketplaceSubscription.tsxindex 5a7acdac437..cf175daa039 100644--- a/studio/components/interfaces/Organization/BillingSettings/AWSMarketplaceSubscription.tsx+++ b/studio/components/interfaces/Organization/BillingSettings/AWSMarketplaceSubscription.tsx@@ -9,8 +9,7 @@ const AWSMarketplaceSubscription: FC<Props> = ({ organization }) => {return (<div className="flex flex-col space-y-4"><Typography.Text>- This organization is subscribed via AWS Marketplace, with a limit of{' '}- {organization.project_limit} projects and expiring on{' '}+ This organization is subscribed via AWS Marketplace. The subscription expires on{' '}{organization.aws_marketplace.Entitlements[0].ExpirationDate.slice(0, 10)}.</Typography.Text>diff --git a/studio/types/base.ts b/studio/types/base.tsindex 7d7bf5145f8..f89b9da7edf 100644--- a/studio/types/base.ts+++ b/studio/types/base.ts@@ -3,13 +3,8 @@ export interface Organization {slug: stringname: stringbilling_email: string- project_limit: number- members: any[]- projects: any[]is_owner?: booleanstripe_customer_id?: string- total_free_projects?: number- total_paid_projects?: number}export interface ProjectBase {@@ -38,7 +33,7 @@ export interface Project extends ProjectBase {* We use this status to check if a project instance is HEALTHY or not* If not we will show ConnectingState and run a polling until it's back online*/- postgrestStatus?: 'ONLINE' | 'OFFLINE'+ postgrestStatus?: 'ONLINE' | 'OFFLINE'}export interface User {