Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(studio): use new publish_dashboard column for marketplace db query (#45345)

Alex Hallc8781c885e07
diff --git a/apps/studio/data/marketplace/integrations-query.ts b/apps/studio/data/marketplace/integrations-query.ts
index 51a7db647ac..12b28f5ebfe 100644
--- a/apps/studio/data/marketplace/integrations-query.ts
+++ b/apps/studio/data/marketplace/integrations-query.ts
@@ -9,7 +9,7 @@ async function getMarketplaceIntegrations() {
const { data, error } = await marketplaceClient
.from('listings')
.select('*')
- .or('publish_location.eq.dashboard,publish_location.eq.both')
+ .is('publish_dashboard', true)
if (error) handleError(error)
return data ?? []
diff --git a/packages/common/marketplace.types.ts b/packages/common/marketplace.types.ts
index 7799dce739a..1ef26f44434 100644
--- a/packages/common/marketplace.types.ts
+++ b/packages/common/marketplace.types.ts
@@ -3,18 +3,7 @@ export type Json = string | number | boolean | null | { [key: string]: Json | un
export type Database = {
public: {
Tables: {
- v_secret_id: {
- Row: {
- create_secret: string | null
- }
- Insert: {
- create_secret?: string | null
- }
- Update: {
- create_secret?: string | null
- }
- Relationships: []
- }
+ [_ in never]: never
}
Views: {
categories: {
@@ -56,7 +45,9 @@ export type Database = {
partner_logo: string | null
partner_name: string | null
partner_slug: string | null
+ publish_dashboard: boolean | null
publish_location: 'marketplace' | 'dashboard' | 'both' | null
+ publish_marketplace: boolean | null
secret_key_prefix: string | null
slug: string | null
title: string | null