From 15d45339491c4764dd55f0e2c0fc71b5d9375004 Mon Sep 17 00:00:00 2001 From: giancarlo Date: Thu, 28 Mar 2024 21:00:56 +0800 Subject: [PATCH] Update package dependencies and formatting in database.types.ts Updated the versions of '@supabase/supabase-js' dependency in 'supabase' and 'billing-gateway' packages. In 'billing-gateway' package, switched several dependencies to reference local workspace versions. Also, formatted 'database.types.ts' file to use semicolons consistently improving code readability. --- apps/web/package.json | 2 +- packages/billing-gateway/package.json | 12 +- packages/features/accounts/package.json | 12 +- packages/features/admin/package.json | 6 +- packages/features/team-accounts/package.json | 12 +- packages/stripe/package.json | 8 +- packages/supabase/package.json | 2 +- packages/supabase/src/database.types.ts | 1491 +++++++++--------- pnpm-lock.yaml | 136 +- 9 files changed, 849 insertions(+), 832 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index 71c7379ef..90acc8279 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -32,7 +32,7 @@ "@next/mdx": "^14.1.4", "@radix-ui/react-icons": "^1.3.0", "@supabase/ssr": "^0.1.0", - "@supabase/supabase-js": "^2.40.0", + "@supabase/supabase-js": "^2.41.1", "@tanstack/react-query": "5.28.6", "@tanstack/react-query-next-experimental": "^5.28.9", "@tanstack/react-table": "^8.15.0", diff --git a/packages/billing-gateway/package.json b/packages/billing-gateway/package.json index 82556995e..263ac109c 100644 --- a/packages/billing-gateway/package.json +++ b/packages/billing-gateway/package.json @@ -24,16 +24,16 @@ "zod": "^3.22.4" }, "devDependencies": { - "@kit/billing": "^0.1.0", + "@kit/billing": "workspace:^", "@kit/eslint-config": "workspace:*", "@kit/prettier-config": "workspace:*", - "@kit/shared": "^0.1.0", - "@kit/stripe": "^0.1.0", - "@kit/supabase": "^0.1.0", + "@kit/shared": "workspace:^", + "@kit/stripe": "workspace:^", + "@kit/supabase": "workspace:^", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@kit/ui": "^0.1.0", - "@supabase/supabase-js": "^2.40.0", + "@kit/ui": "workspace:^", + "@supabase/supabase-js": "^2.41.1", "lucide-react": "^0.363.0", "zod": "^3.22.4" }, diff --git a/packages/features/accounts/package.json b/packages/features/accounts/package.json index 05bbe21b1..d9536dd7a 100644 --- a/packages/features/accounts/package.json +++ b/packages/features/accounts/package.json @@ -16,16 +16,16 @@ }, "devDependencies": { "@hookform/resolvers": "^3.3.4", - "@kit/billing-gateway": "^0.1.0", - "@kit/email-templates": "^0.1.0", + "@kit/billing-gateway": "workspace:^", + "@kit/email-templates": "workspace:^", "@kit/eslint-config": "workspace:*", - "@kit/mailers": "^0.1.0", + "@kit/mailers": "workspace:^", "@kit/prettier-config": "workspace:*", - "@kit/shared": "^0.1.0", - "@kit/supabase": "^0.1.0", + "@kit/shared": "workspace:^", + "@kit/supabase": "workspace:^", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@kit/ui": "^0.1.0", + "@kit/ui": "workspace:^", "@radix-ui/react-icons": "^1.3.0", "@tanstack/react-query": "5.28.6", "lucide-react": "^0.363.0", diff --git a/packages/features/admin/package.json b/packages/features/admin/package.json index 5e7c429fd..3dcd49eac 100644 --- a/packages/features/admin/package.json +++ b/packages/features/admin/package.json @@ -15,11 +15,11 @@ "devDependencies": { "@kit/eslint-config": "workspace:*", "@kit/prettier-config": "workspace:*", - "@kit/supabase": "^0.1.0", + "@kit/supabase": "workspace:^", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@kit/ui": "^0.1.0", - "@supabase/supabase-js": "^2.40.0", + "@kit/ui": "workspace:^", + "@supabase/supabase-js": "^2.41.1", "lucide-react": "^0.363.0" }, "exports": { diff --git a/packages/features/team-accounts/package.json b/packages/features/team-accounts/package.json index cc2e49e9f..db4a501c9 100644 --- a/packages/features/team-accounts/package.json +++ b/packages/features/team-accounts/package.json @@ -13,17 +13,17 @@ }, "devDependencies": { "@hookform/resolvers": "^3.3.4", - "@kit/accounts": "^0.1.0", + "@kit/accounts": "workspace:^", "@kit/billing-gateway": "workspace:*", - "@kit/email-templates": "^0.1.0", + "@kit/email-templates": "workspace:^", "@kit/eslint-config": "workspace:*", - "@kit/mailers": "^0.1.0", + "@kit/mailers": "workspace:^", "@kit/prettier-config": "workspace:*", - "@kit/shared": "^0.1.0", - "@kit/supabase": "^0.1.0", + "@kit/shared": "workspace:^", + "@kit/supabase": "workspace:^", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@kit/ui": "^0.1.0", + "@kit/ui": "workspace:^", "@tanstack/react-query": "5.28.6", "lucide-react": "^0.363.0", "react-i18next": "^14.1.0" diff --git a/packages/stripe/package.json b/packages/stripe/package.json index 5c26ce24e..ff6d1c4a2 100644 --- a/packages/stripe/package.json +++ b/packages/stripe/package.json @@ -26,14 +26,14 @@ "stripe": "^14.22.0" }, "devDependencies": { - "@kit/billing": "^0.1.0", + "@kit/billing": "workspace:^", "@kit/eslint-config": "workspace:*", "@kit/prettier-config": "workspace:*", - "@kit/shared": "^0.1.0", - "@kit/supabase": "^0.1.0", + "@kit/shared": "workspace:^", + "@kit/supabase": "workspace:^", "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", - "@kit/ui": "^0.1.0" + "@kit/ui": "workspace:^" }, "eslintConfig": { "root": true, diff --git a/packages/supabase/package.json b/packages/supabase/package.json index 0fe6ef807..70844e46d 100644 --- a/packages/supabase/package.json +++ b/packages/supabase/package.json @@ -29,7 +29,7 @@ "@kit/tailwind-config": "workspace:*", "@kit/tsconfig": "workspace:*", "@supabase/ssr": "^0.1.0", - "@supabase/supabase-js": "^2.40.0", + "@supabase/supabase-js": "^2.41.1", "@tanstack/react-query": "5.28.6" }, "peerDependencies": { diff --git a/packages/supabase/src/database.types.ts b/packages/supabase/src/database.types.ts index d87daea35..7767f9fa4 100644 --- a/packages/supabase/src/database.types.ts +++ b/packages/supabase/src/database.types.ts @@ -4,980 +4,979 @@ export type Json = | boolean | null | { [key: string]: Json | undefined } - | Json[] + | Json[]; export type Database = { graphql_public: { Tables: { - [_ in never]: never - } + [_ in never]: never; + }; Views: { - [_ in never]: never - } + [_ in never]: never; + }; Functions: { graphql: { Args: { - operationName?: string - query?: string - variables?: Json - extensions?: Json - } - Returns: Json - } - } + operationName?: string; + query?: string; + variables?: Json; + extensions?: Json; + }; + Returns: Json; + }; + }; Enums: { - [_ in never]: never - } + [_ in never]: never; + }; CompositeTypes: { - [_ in never]: never - } - } + [_ in never]: never; + }; + }; public: { Tables: { account_roles: { Row: { - account_id: string - id: number - role: Database["public"]["Enums"]["account_role"] - } + account_id: string; + id: number; + role: Database['public']['Enums']['account_role']; + }; Insert: { - account_id: string - id?: number - role: Database["public"]["Enums"]["account_role"] - } + account_id: string; + id?: number; + role: Database['public']['Enums']['account_role']; + }; Update: { - account_id?: string - id?: number - role?: Database["public"]["Enums"]["account_role"] - } + account_id?: string; + id?: number; + role?: Database['public']['Enums']['account_role']; + }; Relationships: [ { - foreignKeyName: "account_roles_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "accounts" - referencedColumns: ["id"] + foreignKeyName: 'account_roles_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "account_roles_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_account_workspace" - referencedColumns: ["id"] + foreignKeyName: 'account_roles_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_account_workspace'; + referencedColumns: ['id']; }, { - foreignKeyName: "account_roles_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_accounts" - referencedColumns: ["id"] + foreignKeyName: 'account_roles_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_accounts'; + referencedColumns: ['id']; }, - ] - } + ]; + }; accounts: { Row: { - created_at: string | null - created_by: string | null - email: string | null - id: string - is_personal_account: boolean - name: string - picture_url: string | null - primary_owner_user_id: string - slug: string | null - updated_at: string | null - updated_by: string | null - } + created_at: string | null; + created_by: string | null; + email: string | null; + id: string; + is_personal_account: boolean; + name: string; + picture_url: string | null; + primary_owner_user_id: string; + slug: string | null; + updated_at: string | null; + updated_by: string | null; + }; Insert: { - created_at?: string | null - created_by?: string | null - email?: string | null - id?: string - is_personal_account?: boolean - name: string - picture_url?: string | null - primary_owner_user_id?: string - slug?: string | null - updated_at?: string | null - updated_by?: string | null - } + created_at?: string | null; + created_by?: string | null; + email?: string | null; + id?: string; + is_personal_account?: boolean; + name: string; + picture_url?: string | null; + primary_owner_user_id?: string; + slug?: string | null; + updated_at?: string | null; + updated_by?: string | null; + }; Update: { - created_at?: string | null - created_by?: string | null - email?: string | null - id?: string - is_personal_account?: boolean - name?: string - picture_url?: string | null - primary_owner_user_id?: string - slug?: string | null - updated_at?: string | null - updated_by?: string | null - } + created_at?: string | null; + created_by?: string | null; + email?: string | null; + id?: string; + is_personal_account?: boolean; + name?: string; + picture_url?: string | null; + primary_owner_user_id?: string; + slug?: string | null; + updated_at?: string | null; + updated_by?: string | null; + }; Relationships: [ { - foreignKeyName: "accounts_created_by_fkey" - columns: ["created_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: 'accounts_created_by_fkey'; + columns: ['created_by']; + isOneToOne: false; + referencedRelation: 'users'; + referencedColumns: ['id']; }, { - foreignKeyName: "accounts_primary_owner_user_id_fkey" - columns: ["primary_owner_user_id"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: 'accounts_primary_owner_user_id_fkey'; + columns: ['primary_owner_user_id']; + isOneToOne: false; + referencedRelation: 'users'; + referencedColumns: ['id']; }, { - foreignKeyName: "accounts_updated_by_fkey" - columns: ["updated_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: 'accounts_updated_by_fkey'; + columns: ['updated_by']; + isOneToOne: false; + referencedRelation: 'users'; + referencedColumns: ['id']; }, - ] - } + ]; + }; accounts_memberships: { Row: { - account_id: string - account_role: Database["public"]["Enums"]["account_role"] - created_at: string - created_by: string | null - updated_at: string - updated_by: string | null - user_id: string - } + account_id: string; + account_role: Database['public']['Enums']['account_role']; + created_at: string; + created_by: string | null; + updated_at: string; + updated_by: string | null; + user_id: string; + }; Insert: { - account_id: string - account_role: Database["public"]["Enums"]["account_role"] - created_at?: string - created_by?: string | null - updated_at?: string - updated_by?: string | null - user_id: string - } + account_id: string; + account_role: Database['public']['Enums']['account_role']; + created_at?: string; + created_by?: string | null; + updated_at?: string; + updated_by?: string | null; + user_id: string; + }; Update: { - account_id?: string - account_role?: Database["public"]["Enums"]["account_role"] - created_at?: string - created_by?: string | null - updated_at?: string - updated_by?: string | null - user_id?: string - } + account_id?: string; + account_role?: Database['public']['Enums']['account_role']; + created_at?: string; + created_by?: string | null; + updated_at?: string; + updated_by?: string | null; + user_id?: string; + }; Relationships: [ { - foreignKeyName: "accounts_memberships_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "accounts" - referencedColumns: ["id"] + foreignKeyName: 'accounts_memberships_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "accounts_memberships_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_account_workspace" - referencedColumns: ["id"] + foreignKeyName: 'accounts_memberships_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_account_workspace'; + referencedColumns: ['id']; }, { - foreignKeyName: "accounts_memberships_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_accounts" - referencedColumns: ["id"] + foreignKeyName: 'accounts_memberships_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "accounts_memberships_created_by_fkey" - columns: ["created_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: 'accounts_memberships_created_by_fkey'; + columns: ['created_by']; + isOneToOne: false; + referencedRelation: 'users'; + referencedColumns: ['id']; }, { - foreignKeyName: "accounts_memberships_updated_by_fkey" - columns: ["updated_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: 'accounts_memberships_updated_by_fkey'; + columns: ['updated_by']; + isOneToOne: false; + referencedRelation: 'users'; + referencedColumns: ['id']; }, { - foreignKeyName: "accounts_memberships_user_id_fkey" - columns: ["user_id"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: 'accounts_memberships_user_id_fkey'; + columns: ['user_id']; + isOneToOne: false; + referencedRelation: 'users'; + referencedColumns: ['id']; }, - ] - } + ]; + }; billing_customers: { Row: { - account_id: string - customer_id: string - email: string | null - id: number - provider: Database["public"]["Enums"]["billing_provider"] - } + account_id: string; + customer_id: string; + email: string | null; + id: number; + provider: Database['public']['Enums']['billing_provider']; + }; Insert: { - account_id: string - customer_id: string - email?: string | null - id?: number - provider: Database["public"]["Enums"]["billing_provider"] - } + account_id: string; + customer_id: string; + email?: string | null; + id?: number; + provider: Database['public']['Enums']['billing_provider']; + }; Update: { - account_id?: string - customer_id?: string - email?: string | null - id?: number - provider?: Database["public"]["Enums"]["billing_provider"] - } + account_id?: string; + customer_id?: string; + email?: string | null; + id?: number; + provider?: Database['public']['Enums']['billing_provider']; + }; Relationships: [ { - foreignKeyName: "billing_customers_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "accounts" - referencedColumns: ["id"] + foreignKeyName: 'billing_customers_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "billing_customers_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_account_workspace" - referencedColumns: ["id"] + foreignKeyName: 'billing_customers_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_account_workspace'; + referencedColumns: ['id']; }, { - foreignKeyName: "billing_customers_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_accounts" - referencedColumns: ["id"] + foreignKeyName: 'billing_customers_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_accounts'; + referencedColumns: ['id']; }, - ] - } + ]; + }; config: { Row: { - billing_provider: Database["public"]["Enums"]["billing_provider"] - enable_account_billing: boolean - enable_organization_accounts: boolean - enable_organization_billing: boolean - } + billing_provider: Database['public']['Enums']['billing_provider']; + enable_account_billing: boolean; + enable_organization_accounts: boolean; + enable_organization_billing: boolean; + }; Insert: { - billing_provider?: Database["public"]["Enums"]["billing_provider"] - enable_account_billing?: boolean - enable_organization_accounts?: boolean - enable_organization_billing?: boolean - } + billing_provider?: Database['public']['Enums']['billing_provider']; + enable_account_billing?: boolean; + enable_organization_accounts?: boolean; + enable_organization_billing?: boolean; + }; Update: { - billing_provider?: Database["public"]["Enums"]["billing_provider"] - enable_account_billing?: boolean - enable_organization_accounts?: boolean - enable_organization_billing?: boolean - } - Relationships: [] - } + billing_provider?: Database['public']['Enums']['billing_provider']; + enable_account_billing?: boolean; + enable_organization_accounts?: boolean; + enable_organization_billing?: boolean; + }; + Relationships: []; + }; invitations: { Row: { - account_id: string - created_at: string - email: string - expires_at: string - id: number - invite_token: string - invited_by: string - role: Database["public"]["Enums"]["account_role"] - updated_at: string - } + account_id: string; + created_at: string; + email: string; + expires_at: string; + id: number; + invite_token: string; + invited_by: string; + role: Database['public']['Enums']['account_role']; + updated_at: string; + }; Insert: { - account_id: string - created_at?: string - email: string - expires_at?: string - id?: number - invite_token: string - invited_by: string - role: Database["public"]["Enums"]["account_role"] - updated_at?: string - } + account_id: string; + created_at?: string; + email: string; + expires_at?: string; + id?: number; + invite_token: string; + invited_by: string; + role: Database['public']['Enums']['account_role']; + updated_at?: string; + }; Update: { - account_id?: string - created_at?: string - email?: string - expires_at?: string - id?: number - invite_token?: string - invited_by?: string - role?: Database["public"]["Enums"]["account_role"] - updated_at?: string - } + account_id?: string; + created_at?: string; + email?: string; + expires_at?: string; + id?: number; + invite_token?: string; + invited_by?: string; + role?: Database['public']['Enums']['account_role']; + updated_at?: string; + }; Relationships: [ { - foreignKeyName: "invitations_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "accounts" - referencedColumns: ["id"] + foreignKeyName: 'invitations_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "invitations_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_account_workspace" - referencedColumns: ["id"] + foreignKeyName: 'invitations_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_account_workspace'; + referencedColumns: ['id']; }, { - foreignKeyName: "invitations_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_accounts" - referencedColumns: ["id"] + foreignKeyName: 'invitations_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "invitations_invited_by_fkey" - columns: ["invited_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: 'invitations_invited_by_fkey'; + columns: ['invited_by']; + isOneToOne: false; + referencedRelation: 'users'; + referencedColumns: ['id']; }, - ] - } + ]; + }; role_permissions: { Row: { - id: number - permission: Database["public"]["Enums"]["app_permissions"] - role: Database["public"]["Enums"]["account_role"] - } + id: number; + permission: Database['public']['Enums']['app_permissions']; + role: Database['public']['Enums']['account_role']; + }; Insert: { - id?: number - permission: Database["public"]["Enums"]["app_permissions"] - role: Database["public"]["Enums"]["account_role"] - } + id?: number; + permission: Database['public']['Enums']['app_permissions']; + role: Database['public']['Enums']['account_role']; + }; Update: { - id?: number - permission?: Database["public"]["Enums"]["app_permissions"] - role?: Database["public"]["Enums"]["account_role"] - } - Relationships: [] - } + id?: number; + permission?: Database['public']['Enums']['app_permissions']; + role?: Database['public']['Enums']['account_role']; + }; + Relationships: []; + }; subscriptions: { Row: { - account_id: string - active: boolean - billing_customer_id: number - billing_provider: Database["public"]["Enums"]["billing_provider"] - cancel_at_period_end: boolean - created_at: string - currency: string - id: string - interval: string - interval_count: number - period_ends_at: string | null - period_starts_at: string | null - price_amount: number | null - product_id: string - status: Database["public"]["Enums"]["subscription_status"] - trial_ends_at: string | null - trial_starts_at: string | null - updated_at: string - variant_id: string - } + account_id: string; + active: boolean; + billing_customer_id: number; + billing_provider: Database['public']['Enums']['billing_provider']; + cancel_at_period_end: boolean; + created_at: string; + currency: string; + id: string; + interval: string; + interval_count: number; + period_ends_at: string | null; + period_starts_at: string | null; + price_amount: number | null; + product_id: string; + status: Database['public']['Enums']['subscription_status']; + trial_ends_at: string | null; + trial_starts_at: string | null; + updated_at: string; + variant_id: string; + }; Insert: { - account_id: string - active: boolean - billing_customer_id: number - billing_provider: Database["public"]["Enums"]["billing_provider"] - cancel_at_period_end: boolean - created_at?: string - currency: string - id: string - interval: string - interval_count: number - period_ends_at?: string | null - period_starts_at?: string | null - price_amount?: number | null - product_id: string - status: Database["public"]["Enums"]["subscription_status"] - trial_ends_at?: string | null - trial_starts_at?: string | null - updated_at?: string - variant_id: string - } + account_id: string; + active: boolean; + billing_customer_id: number; + billing_provider: Database['public']['Enums']['billing_provider']; + cancel_at_period_end: boolean; + created_at?: string; + currency: string; + id: string; + interval: string; + interval_count: number; + period_ends_at?: string | null; + period_starts_at?: string | null; + price_amount?: number | null; + product_id: string; + status: Database['public']['Enums']['subscription_status']; + trial_ends_at?: string | null; + trial_starts_at?: string | null; + updated_at?: string; + variant_id: string; + }; Update: { - account_id?: string - active?: boolean - billing_customer_id?: number - billing_provider?: Database["public"]["Enums"]["billing_provider"] - cancel_at_period_end?: boolean - created_at?: string - currency?: string - id?: string - interval?: string - interval_count?: number - period_ends_at?: string | null - period_starts_at?: string | null - price_amount?: number | null - product_id?: string - status?: Database["public"]["Enums"]["subscription_status"] - trial_ends_at?: string | null - trial_starts_at?: string | null - updated_at?: string - variant_id?: string - } + account_id?: string; + active?: boolean; + billing_customer_id?: number; + billing_provider?: Database['public']['Enums']['billing_provider']; + cancel_at_period_end?: boolean; + created_at?: string; + currency?: string; + id?: string; + interval?: string; + interval_count?: number; + period_ends_at?: string | null; + period_starts_at?: string | null; + price_amount?: number | null; + product_id?: string; + status?: Database['public']['Enums']['subscription_status']; + trial_ends_at?: string | null; + trial_starts_at?: string | null; + updated_at?: string; + variant_id?: string; + }; Relationships: [ { - foreignKeyName: "subscriptions_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "accounts" - referencedColumns: ["id"] + foreignKeyName: 'subscriptions_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "subscriptions_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_account_workspace" - referencedColumns: ["id"] + foreignKeyName: 'subscriptions_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_account_workspace'; + referencedColumns: ['id']; }, { - foreignKeyName: "subscriptions_account_id_fkey" - columns: ["account_id"] - isOneToOne: false - referencedRelation: "user_accounts" - referencedColumns: ["id"] + foreignKeyName: 'subscriptions_account_id_fkey'; + columns: ['account_id']; + isOneToOne: false; + referencedRelation: 'user_accounts'; + referencedColumns: ['id']; }, { - foreignKeyName: "subscriptions_billing_customer_id_fkey" - columns: ["billing_customer_id"] - isOneToOne: false - referencedRelation: "billing_customers" - referencedColumns: ["id"] + foreignKeyName: 'subscriptions_billing_customer_id_fkey'; + columns: ['billing_customer_id']; + isOneToOne: false; + referencedRelation: 'billing_customers'; + referencedColumns: ['id']; }, - ] - } - } + ]; + }; + }; Views: { user_account_workspace: { Row: { - id: string | null - name: string | null - picture_url: string | null + id: string | null; + name: string | null; + picture_url: string | null; subscription_status: - | Database["public"]["Enums"]["subscription_status"] - | null - } - Relationships: [] - } + | Database['public']['Enums']['subscription_status'] + | null; + }; + Relationships: []; + }; user_accounts: { Row: { - id: string | null - name: string | null - picture_url: string | null - role: Database["public"]["Enums"]["account_role"] | null - slug: string | null - } - Relationships: [] - } - } + id: string | null; + name: string | null; + picture_url: string | null; + role: Database['public']['Enums']['account_role'] | null; + slug: string | null; + }; + Relationships: []; + }; + }; Functions: { accept_invitation: | { Args: { - invite_token: string - } - Returns: undefined + invite_token: string; + }; + Returns: undefined; } | { Args: { - token: string - user_id: string - } - Returns: undefined - } + token: string; + user_id: string; + }; + Returns: undefined; + }; add_invitations_to_account: { Args: { - account_slug: string - invitations: unknown[] - } - Returns: Database["public"]["Tables"]["invitations"]["Row"][] - } + account_slug: string; + invitations: unknown[]; + }; + Returns: Database['public']['Tables']['invitations']['Row'][]; + }; add_subscription: { Args: { - account_id: string - subscription_id: string - active: boolean - status: Database["public"]["Enums"]["subscription_status"] - billing_provider: Database["public"]["Enums"]["billing_provider"] - product_id: string - variant_id: string - price_amount: number - cancel_at_period_end: boolean - currency: string - interval: string - interval_count: number - period_starts_at: string - period_ends_at: string - trial_starts_at: string - trial_ends_at: string - customer_id: string - } + account_id: string; + subscription_id: string; + active: boolean; + status: Database['public']['Enums']['subscription_status']; + billing_provider: Database['public']['Enums']['billing_provider']; + product_id: string; + variant_id: string; + price_amount: number; + cancel_at_period_end: boolean; + currency: string; + interval: string; + interval_count: number; + period_starts_at: string; + period_ends_at: string; + trial_starts_at: string; + trial_ends_at: string; + customer_id: string; + }; Returns: { - account_id: string - active: boolean - billing_customer_id: number - billing_provider: Database["public"]["Enums"]["billing_provider"] - cancel_at_period_end: boolean - created_at: string - currency: string - id: string - interval: string - interval_count: number - period_ends_at: string | null - period_starts_at: string | null - price_amount: number | null - product_id: string - status: Database["public"]["Enums"]["subscription_status"] - trial_ends_at: string | null - trial_starts_at: string | null - updated_at: string - variant_id: string - } - } + account_id: string; + active: boolean; + billing_customer_id: number; + billing_provider: Database['public']['Enums']['billing_provider']; + cancel_at_period_end: boolean; + created_at: string; + currency: string; + id: string; + interval: string; + interval_count: number; + period_ends_at: string | null; + period_starts_at: string | null; + price_amount: number | null; + product_id: string; + status: Database['public']['Enums']['subscription_status']; + trial_ends_at: string | null; + trial_starts_at: string | null; + updated_at: string; + variant_id: string; + }; + }; create_account: { Args: { - account_name: string - } + account_name: string; + }; Returns: { - created_at: string | null - created_by: string | null - email: string | null - id: string - is_personal_account: boolean - name: string - picture_url: string | null - primary_owner_user_id: string - slug: string | null - updated_at: string | null - updated_by: string | null - } - } + created_at: string | null; + created_by: string | null; + email: string | null; + id: string; + is_personal_account: boolean; + name: string; + picture_url: string | null; + primary_owner_user_id: string; + slug: string | null; + updated_at: string | null; + updated_by: string | null; + }; + }; create_invitation: { Args: { - account_id: string - email: string - role: Database["public"]["Enums"]["account_role"] - } + account_id: string; + email: string; + role: Database['public']['Enums']['account_role']; + }; Returns: { - account_id: string - created_at: string - email: string - expires_at: string - id: number - invite_token: string - invited_by: string - role: Database["public"]["Enums"]["account_role"] - updated_at: string - } - } + account_id: string; + created_at: string; + email: string; + expires_at: string; + id: number; + invite_token: string; + invited_by: string; + role: Database['public']['Enums']['account_role']; + updated_at: string; + }; + }; get_account_invitations: { Args: { - account_slug: string - } + account_slug: string; + }; Returns: { - id: number - email: string - account_id: string - invited_by: string - role: Database["public"]["Enums"]["account_role"] - created_at: string - updated_at: string - inviter_name: string - inviter_email: string - }[] - } + id: number; + email: string; + account_id: string; + invited_by: string; + role: Database['public']['Enums']['account_role']; + created_at: string; + updated_at: string; + inviter_name: string; + inviter_email: string; + }[]; + }; get_account_members: { Args: { - account_slug: string - } + account_slug: string; + }; Returns: { - id: string - user_id: string - account_id: string - role: Database["public"]["Enums"]["account_role"] - primary_owner_user_id: string - name: string - email: string - picture_url: string - created_at: string - updated_at: string - }[] - } + id: string; + user_id: string; + account_id: string; + role: Database['public']['Enums']['account_role']; + primary_owner_user_id: string; + name: string; + email: string; + picture_url: string; + created_at: string; + updated_at: string; + }[]; + }; get_config: { - Args: Record - Returns: Json - } + Args: Record; + Returns: Json; + }; get_user_accounts: { - Args: Record + Args: Record; Returns: { - created_at: string | null - created_by: string | null - email: string | null - id: string - is_personal_account: boolean - name: string - picture_url: string | null - primary_owner_user_id: string - slug: string | null - updated_at: string | null - updated_by: string | null - }[] - } + created_at: string | null; + created_by: string | null; + email: string | null; + id: string; + is_personal_account: boolean; + name: string; + picture_url: string | null; + primary_owner_user_id: string; + slug: string | null; + updated_at: string | null; + updated_by: string | null; + }[]; + }; has_permission: { Args: { - user_id: string - account_id: string - permission_name: Database["public"]["Enums"]["app_permissions"] - } - Returns: boolean - } + user_id: string; + account_id: string; + permission_name: Database['public']['Enums']['app_permissions']; + }; + Returns: boolean; + }; has_role_on_account: { Args: { - account_id: string - account_role?: Database["public"]["Enums"]["account_role"] - } - Returns: boolean - } + account_id: string; + account_role?: Database['public']['Enums']['account_role']; + }; + Returns: boolean; + }; is_account_owner: { Args: { - account_id: string - } - Returns: boolean - } + account_id: string; + }; + Returns: boolean; + }; is_set: { Args: { - field_name: string - } - Returns: boolean - } + field_name: string; + }; + Returns: boolean; + }; is_team_member: { Args: { - account_id: string - user_id: string - } - Returns: boolean - } + account_id: string; + user_id: string; + }; + Returns: boolean; + }; organization_account_workspace: { Args: { - account_slug: string - } + account_slug: string; + }; Returns: { - id: string - name: string - picture_url: string - slug: string - role: Database["public"]["Enums"]["account_role"] - primary_owner_user_id: string - subscription_status: Database["public"]["Enums"]["subscription_status"] - permissions: Database["public"]["Enums"]["app_permissions"][] - }[] - } + id: string; + name: string; + picture_url: string; + slug: string; + role: Database['public']['Enums']['account_role']; + primary_owner_user_id: string; + subscription_status: Database['public']['Enums']['subscription_status']; + permissions: Database['public']['Enums']['app_permissions'][]; + }[]; + }; unaccent: { Args: { - "": string - } - Returns: string - } + '': string; + }; + Returns: string; + }; unaccent_init: { Args: { - "": unknown - } - Returns: unknown - } - } + '': unknown; + }; + Returns: unknown; + }; + }; Enums: { - account_role: "owner" | "member" + account_role: 'owner' | 'member'; app_permissions: - | "roles.manage" - | "billing.manage" - | "settings.manage" - | "members.manage" - | "invites.manage" - billing_provider: "stripe" | "lemon-squeezy" | "paddle" + | 'roles.manage' + | 'billing.manage' + | 'settings.manage' + | 'members.manage' + | 'invites.manage'; + billing_provider: 'stripe' | 'lemon-squeezy' | 'paddle'; subscription_status: - | "active" - | "trialing" - | "past_due" - | "canceled" - | "unpaid" - | "incomplete" - | "incomplete_expired" - | "paused" - } + | 'active' + | 'trialing' + | 'past_due' + | 'canceled' + | 'unpaid' + | 'incomplete' + | 'incomplete_expired' + | 'paused'; + }; CompositeTypes: { - [_ in never]: never - } - } + [_ in never]: never; + }; + }; storage: { Tables: { buckets: { Row: { - allowed_mime_types: string[] | null - avif_autodetection: boolean | null - created_at: string | null - file_size_limit: number | null - id: string - name: string - owner: string | null - owner_id: string | null - public: boolean | null - updated_at: string | null - } + allowed_mime_types: string[] | null; + avif_autodetection: boolean | null; + created_at: string | null; + file_size_limit: number | null; + id: string; + name: string; + owner: string | null; + owner_id: string | null; + public: boolean | null; + updated_at: string | null; + }; Insert: { - allowed_mime_types?: string[] | null - avif_autodetection?: boolean | null - created_at?: string | null - file_size_limit?: number | null - id: string - name: string - owner?: string | null - owner_id?: string | null - public?: boolean | null - updated_at?: string | null - } + allowed_mime_types?: string[] | null; + avif_autodetection?: boolean | null; + created_at?: string | null; + file_size_limit?: number | null; + id: string; + name: string; + owner?: string | null; + owner_id?: string | null; + public?: boolean | null; + updated_at?: string | null; + }; Update: { - allowed_mime_types?: string[] | null - avif_autodetection?: boolean | null - created_at?: string | null - file_size_limit?: number | null - id?: string - name?: string - owner?: string | null - owner_id?: string | null - public?: boolean | null - updated_at?: string | null - } - Relationships: [] - } + allowed_mime_types?: string[] | null; + avif_autodetection?: boolean | null; + created_at?: string | null; + file_size_limit?: number | null; + id?: string; + name?: string; + owner?: string | null; + owner_id?: string | null; + public?: boolean | null; + updated_at?: string | null; + }; + Relationships: []; + }; migrations: { Row: { - executed_at: string | null - hash: string - id: number - name: string - } + executed_at: string | null; + hash: string; + id: number; + name: string; + }; Insert: { - executed_at?: string | null - hash: string - id: number - name: string - } + executed_at?: string | null; + hash: string; + id: number; + name: string; + }; Update: { - executed_at?: string | null - hash?: string - id?: number - name?: string - } - Relationships: [] - } + executed_at?: string | null; + hash?: string; + id?: number; + name?: string; + }; + Relationships: []; + }; objects: { Row: { - bucket_id: string | null - created_at: string | null - id: string - last_accessed_at: string | null - metadata: Json | null - name: string | null - owner: string | null - owner_id: string | null - path_tokens: string[] | null - updated_at: string | null - version: string | null - } + bucket_id: string | null; + created_at: string | null; + id: string; + last_accessed_at: string | null; + metadata: Json | null; + name: string | null; + owner: string | null; + owner_id: string | null; + path_tokens: string[] | null; + updated_at: string | null; + version: string | null; + }; Insert: { - bucket_id?: string | null - created_at?: string | null - id?: string - last_accessed_at?: string | null - metadata?: Json | null - name?: string | null - owner?: string | null - owner_id?: string | null - path_tokens?: string[] | null - updated_at?: string | null - version?: string | null - } + bucket_id?: string | null; + created_at?: string | null; + id?: string; + last_accessed_at?: string | null; + metadata?: Json | null; + name?: string | null; + owner?: string | null; + owner_id?: string | null; + path_tokens?: string[] | null; + updated_at?: string | null; + version?: string | null; + }; Update: { - bucket_id?: string | null - created_at?: string | null - id?: string - last_accessed_at?: string | null - metadata?: Json | null - name?: string | null - owner?: string | null - owner_id?: string | null - path_tokens?: string[] | null - updated_at?: string | null - version?: string | null - } + bucket_id?: string | null; + created_at?: string | null; + id?: string; + last_accessed_at?: string | null; + metadata?: Json | null; + name?: string | null; + owner?: string | null; + owner_id?: string | null; + path_tokens?: string[] | null; + updated_at?: string | null; + version?: string | null; + }; Relationships: [ { - foreignKeyName: "objects_bucketId_fkey" - columns: ["bucket_id"] - isOneToOne: false - referencedRelation: "buckets" - referencedColumns: ["id"] + foreignKeyName: 'objects_bucketId_fkey'; + columns: ['bucket_id']; + isOneToOne: false; + referencedRelation: 'buckets'; + referencedColumns: ['id']; }, - ] - } - } + ]; + }; + }; Views: { - [_ in never]: never - } + [_ in never]: never; + }; Functions: { can_insert_object: { Args: { - bucketid: string - name: string - owner: string - metadata: Json - } - Returns: undefined - } + bucketid: string; + name: string; + owner: string; + metadata: Json; + }; + Returns: undefined; + }; extension: { Args: { - name: string - } - Returns: string - } + name: string; + }; + Returns: string; + }; filename: { Args: { - name: string - } - Returns: string - } + name: string; + }; + Returns: string; + }; foldername: { Args: { - name: string - } - Returns: string[] - } + name: string; + }; + Returns: string[]; + }; get_size_by_bucket: { - Args: Record + Args: Record; Returns: { - size: number - bucket_id: string - }[] - } + size: number; + bucket_id: string; + }[]; + }; search: { Args: { - prefix: string - bucketname: string - limits?: number - levels?: number - offsets?: number - search?: string - sortcolumn?: string - sortorder?: string - } + prefix: string; + bucketname: string; + limits?: number; + levels?: number; + offsets?: number; + search?: string; + sortcolumn?: string; + sortorder?: string; + }; Returns: { - name: string - id: string - updated_at: string - created_at: string - last_accessed_at: string - metadata: Json - }[] - } - } + name: string; + id: string; + updated_at: string; + created_at: string; + last_accessed_at: string; + metadata: Json; + }[]; + }; + }; Enums: { - [_ in never]: never - } + [_ in never]: never; + }; CompositeTypes: { - [_ in never]: never - } - } -} + [_ in never]: never; + }; + }; +}; -type PublicSchema = Database[Extract] +type PublicSchema = Database[Extract]; export type Tables< PublicTableNameOrOptions extends - | keyof (PublicSchema["Tables"] & PublicSchema["Views"]) + | keyof (PublicSchema['Tables'] & PublicSchema['Views']) | { schema: keyof Database }, TableName extends PublicTableNameOrOptions extends { schema: keyof Database } - ? keyof (Database[PublicTableNameOrOptions["schema"]]["Tables"] & - Database[PublicTableNameOrOptions["schema"]]["Views"]) + ? keyof (Database[PublicTableNameOrOptions['schema']]['Tables'] & + Database[PublicTableNameOrOptions['schema']]['Views']) : never = never, > = PublicTableNameOrOptions extends { schema: keyof Database } - ? (Database[PublicTableNameOrOptions["schema"]]["Tables"] & - Database[PublicTableNameOrOptions["schema"]]["Views"])[TableName] extends { - Row: infer R + ? (Database[PublicTableNameOrOptions['schema']]['Tables'] & + Database[PublicTableNameOrOptions['schema']]['Views'])[TableName] extends { + Row: infer R; } ? R : never - : PublicTableNameOrOptions extends keyof (PublicSchema["Tables"] & - PublicSchema["Views"]) - ? (PublicSchema["Tables"] & - PublicSchema["Views"])[PublicTableNameOrOptions] extends { - Row: infer R + : PublicTableNameOrOptions extends keyof (PublicSchema['Tables'] & + PublicSchema['Views']) + ? (PublicSchema['Tables'] & + PublicSchema['Views'])[PublicTableNameOrOptions] extends { + Row: infer R; } ? R : never - : never + : never; export type TablesInsert< PublicTableNameOrOptions extends - | keyof PublicSchema["Tables"] + | keyof PublicSchema['Tables'] | { schema: keyof Database }, TableName extends PublicTableNameOrOptions extends { schema: keyof Database } - ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"] + ? keyof Database[PublicTableNameOrOptions['schema']]['Tables'] : never = never, > = PublicTableNameOrOptions extends { schema: keyof Database } - ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends { - Insert: infer I + ? Database[PublicTableNameOrOptions['schema']]['Tables'][TableName] extends { + Insert: infer I; } ? I : never - : PublicTableNameOrOptions extends keyof PublicSchema["Tables"] - ? PublicSchema["Tables"][PublicTableNameOrOptions] extends { - Insert: infer I + : PublicTableNameOrOptions extends keyof PublicSchema['Tables'] + ? PublicSchema['Tables'][PublicTableNameOrOptions] extends { + Insert: infer I; } ? I : never - : never + : never; export type TablesUpdate< PublicTableNameOrOptions extends - | keyof PublicSchema["Tables"] + | keyof PublicSchema['Tables'] | { schema: keyof Database }, TableName extends PublicTableNameOrOptions extends { schema: keyof Database } - ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"] + ? keyof Database[PublicTableNameOrOptions['schema']]['Tables'] : never = never, > = PublicTableNameOrOptions extends { schema: keyof Database } - ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends { - Update: infer U + ? Database[PublicTableNameOrOptions['schema']]['Tables'][TableName] extends { + Update: infer U; } ? U : never - : PublicTableNameOrOptions extends keyof PublicSchema["Tables"] - ? PublicSchema["Tables"][PublicTableNameOrOptions] extends { - Update: infer U + : PublicTableNameOrOptions extends keyof PublicSchema['Tables'] + ? PublicSchema['Tables'][PublicTableNameOrOptions] extends { + Update: infer U; } ? U : never - : never + : never; export type Enums< PublicEnumNameOrOptions extends - | keyof PublicSchema["Enums"] + | keyof PublicSchema['Enums'] | { schema: keyof Database }, EnumName extends PublicEnumNameOrOptions extends { schema: keyof Database } - ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] + ? keyof Database[PublicEnumNameOrOptions['schema']]['Enums'] : never = never, > = PublicEnumNameOrOptions extends { schema: keyof Database } - ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] - : PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] - ? PublicSchema["Enums"][PublicEnumNameOrOptions] - : never - + ? Database[PublicEnumNameOrOptions['schema']]['Enums'][EnumName] + : PublicEnumNameOrOptions extends keyof PublicSchema['Enums'] + ? PublicSchema['Enums'][PublicEnumNameOrOptions] + : never; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c33ae3b55..1de772fcd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,10 +82,10 @@ importers: version: 1.3.0(react@18.2.0) '@supabase/ssr': specifier: ^0.1.0 - version: 0.1.0(@supabase/supabase-js@2.40.0) + version: 0.1.0(@supabase/supabase-js@2.41.1) '@supabase/supabase-js': - specifier: ^2.40.0 - version: 2.40.0 + specifier: ^2.41.1 + version: 2.41.1 '@tanstack/react-query': specifier: 5.28.6 version: 5.28.6(react@18.2.0) @@ -182,7 +182,7 @@ importers: version: 18.2.22 autoprefixer: specifier: ^10.4.19 - version: 10.4.19(postcss@8.4.33) + version: 10.4.19(postcss@8.4.38) dotenv-cli: specifier: ^7.4.1 version: 7.4.1 @@ -229,7 +229,7 @@ importers: packages/billing-gateway: devDependencies: '@kit/billing': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../billing '@kit/eslint-config': specifier: workspace:* @@ -238,13 +238,13 @@ importers: specifier: workspace:* version: link:../../tooling/prettier '@kit/shared': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../shared '@kit/stripe': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../stripe '@kit/supabase': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../supabase '@kit/tailwind-config': specifier: workspace:* @@ -253,11 +253,11 @@ importers: specifier: workspace:* version: link:../../tooling/typescript '@kit/ui': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../ui '@supabase/supabase-js': - specifier: ^2.40.0 - version: 2.40.0 + specifier: ^2.41.1 + version: 2.41.1 lucide-react: specifier: ^0.363.0 version: 0.363.0(react@18.2.0) @@ -290,25 +290,25 @@ importers: specifier: ^3.3.4 version: 3.3.4(react-hook-form@7.51.2) '@kit/billing-gateway': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../billing-gateway '@kit/email-templates': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../email-templates '@kit/eslint-config': specifier: workspace:* version: link:../../../tooling/eslint '@kit/mailers': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../mailers '@kit/prettier-config': specifier: workspace:* version: link:../../../tooling/prettier '@kit/shared': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../shared '@kit/supabase': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../supabase '@kit/tailwind-config': specifier: workspace:* @@ -317,7 +317,7 @@ importers: specifier: workspace:* version: link:../../../tooling/typescript '@kit/ui': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../ui '@radix-ui/react-icons': specifier: ^1.3.0 @@ -353,7 +353,7 @@ importers: specifier: workspace:* version: link:../../../tooling/prettier '@kit/supabase': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../supabase '@kit/tailwind-config': specifier: workspace:* @@ -362,11 +362,11 @@ importers: specifier: workspace:* version: link:../../../tooling/typescript '@kit/ui': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../ui '@supabase/supabase-js': - specifier: ^2.40.0 - version: 2.40.0 + specifier: ^2.41.1 + version: 2.41.1 lucide-react: specifier: ^0.363.0 version: 0.363.0(react@18.2.0) @@ -419,28 +419,28 @@ importers: specifier: ^3.3.4 version: 3.3.4(react-hook-form@7.51.2) '@kit/accounts': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../accounts '@kit/billing-gateway': specifier: workspace:* version: link:../../billing-gateway '@kit/email-templates': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../email-templates '@kit/eslint-config': specifier: workspace:* version: link:../../../tooling/eslint '@kit/mailers': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../mailers '@kit/prettier-config': specifier: workspace:* version: link:../../../tooling/prettier '@kit/shared': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../shared '@kit/supabase': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../supabase '@kit/tailwind-config': specifier: workspace:* @@ -449,7 +449,7 @@ importers: specifier: workspace:* version: link:../../../tooling/typescript '@kit/ui': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../../ui '@tanstack/react-query': specifier: 5.28.6 @@ -545,7 +545,7 @@ importers: version: 14.22.0 devDependencies: '@kit/billing': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../billing '@kit/eslint-config': specifier: workspace:* @@ -554,10 +554,10 @@ importers: specifier: workspace:* version: link:../../tooling/prettier '@kit/shared': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../shared '@kit/supabase': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../supabase '@kit/tailwind-config': specifier: workspace:* @@ -566,7 +566,7 @@ importers: specifier: workspace:* version: link:../../tooling/typescript '@kit/ui': - specifier: ^0.1.0 + specifier: workspace:^ version: link:../ui packages/supabase: @@ -588,10 +588,10 @@ importers: version: link:../../tooling/typescript '@supabase/ssr': specifier: ^0.1.0 - version: 0.1.0(@supabase/supabase-js@2.40.0) + version: 0.1.0(@supabase/supabase-js@2.41.1) '@supabase/supabase-js': - specifier: ^2.40.0 - version: 2.40.0 + specifier: ^2.41.1 + version: 2.41.1 '@tanstack/react-query': specifier: 5.28.6 version: 5.28.6(react@18.2.0) @@ -3976,13 +3976,13 @@ packages: engines: {node: '>=12.16'} dev: false - /@supabase/functions-js@2.1.5: - resolution: {integrity: sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==} + /@supabase/auth-js@2.63.0: + resolution: {integrity: sha512-yIgcHnlgv24GxHtVGUhwGqAFDyJkPIC/xjx7HostN08A8yCy8HIfl4JEkTKyBqD1v1L05jNEJOUke4Lf4O1+Qg==} dependencies: '@supabase/node-fetch': 2.6.15 - /@supabase/gotrue-js@2.62.2: - resolution: {integrity: sha512-AP6e6W9rQXFTEJ7sTTNYQrNf0LCcnt1hUW+RIgUK+Uh3jbWvcIST7wAlYyNZiMlS9+PYyymWQ+Ykz/rOYSO0+A==} + /@supabase/functions-js@2.2.2: + resolution: {integrity: sha512-sJGq1nludmi7pY/fdtCpyY/pYonx7MfHdN408bqb736guWcVI1AChYVbI4kUM978EuOE4Ci6l7bUudfGg07QRw==} dependencies: '@supabase/node-fetch': 2.6.15 @@ -4008,12 +4008,12 @@ packages: - bufferutil - utf-8-validate - /@supabase/ssr@0.1.0(@supabase/supabase-js@2.40.0): + /@supabase/ssr@0.1.0(@supabase/supabase-js@2.41.1): resolution: {integrity: sha512-bIVrkqjAK5G3KjkIMKYKtAOlCgRRplEWjrlyRyXSOYtgDieiOhk2ZyNAPsEOa1By9OZVxuX5eAW1fitdnuxayw==} peerDependencies: '@supabase/supabase-js': ^2.33.1 dependencies: - '@supabase/supabase-js': 2.40.0 + '@supabase/supabase-js': 2.41.1 cookie: 0.5.0 ramda: 0.29.1 @@ -4022,11 +4022,11 @@ packages: dependencies: '@supabase/node-fetch': 2.6.15 - /@supabase/supabase-js@2.40.0: - resolution: {integrity: sha512-XF8OrsA13DYBL074sHH4M0NhXJCWhQ0R5JbVeVUytZ0coPMS9krRdzxl+0c4z4LLjqbm/Wdz0UYlTYM9MgnDag==} + /@supabase/supabase-js@2.41.1: + resolution: {integrity: sha512-xmECLhYugMo/6SObpsOhu5xaxVfsk+JK/d4JSh055bpESmgmN3PLpzbfqejKCpaUeeUNF21+lrJp/U9HQzT9mA==} dependencies: - '@supabase/functions-js': 2.1.5 - '@supabase/gotrue-js': 2.62.2 + '@supabase/auth-js': 2.63.0 + '@supabase/functions-js': 2.2.2 '@supabase/node-fetch': 2.6.15 '@supabase/postgrest-js': 1.9.2 '@supabase/realtime-js': 2.9.3 @@ -5103,6 +5103,23 @@ packages: picocolors: 1.0.0 postcss: 8.4.33 postcss-value-parser: 4.2.0 + dev: false + + /autoprefixer@10.4.19(postcss@8.4.38): + resolution: {integrity: sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + dependencies: + browserslist: 4.23.0 + caniuse-lite: 1.0.30001600 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.0.0 + postcss: 8.4.38 + postcss-value-parser: 4.2.0 + dev: true /available-typed-arrays@1.0.7: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} @@ -9424,13 +9441,13 @@ packages: engines: {node: '>= 0.4'} dev: false - /postcss-import@15.1.0(postcss@8.4.33): + /postcss-import@15.1.0(postcss@8.4.35): resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} engines: {node: '>=14.0.0'} peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.33 + postcss: 8.4.35 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 @@ -9447,14 +9464,14 @@ packages: read-cache: 1.0.0 resolve: 1.22.8 - /postcss-js@4.0.1(postcss@8.4.33): + /postcss-js@4.0.1(postcss@8.4.35): resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} engines: {node: ^12 || ^14 || >= 16} peerDependencies: postcss: ^8.4.21 dependencies: camelcase-css: 2.0.1 - postcss: 8.4.33 + postcss: 8.4.35 dev: false /postcss-js@4.0.1(postcss@8.4.38): @@ -9466,7 +9483,7 @@ packages: camelcase-css: 2.0.1 postcss: 8.4.38 - /postcss-load-config@4.0.2(postcss@8.4.33): + /postcss-load-config@4.0.2(postcss@8.4.35): resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} engines: {node: '>= 14'} peerDependencies: @@ -9479,7 +9496,7 @@ packages: optional: true dependencies: lilconfig: 3.1.1 - postcss: 8.4.33 + postcss: 8.4.35 yaml: 2.4.1 dev: false @@ -9499,13 +9516,13 @@ packages: postcss: 8.4.38 yaml: 2.4.1 - /postcss-nested@6.0.1(postcss@8.4.33): + /postcss-nested@6.0.1(postcss@8.4.35): resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 dependencies: - postcss: 8.4.33 + postcss: 8.4.35 postcss-selector-parser: 6.0.16 dev: false @@ -9544,6 +9561,7 @@ packages: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.2.0 + dev: false /postcss@8.4.35: resolution: {integrity: sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==} @@ -9551,7 +9569,7 @@ packages: dependencies: nanoid: 3.3.7 picocolors: 1.0.0 - source-map-js: 1.2.0 + source-map-js: 1.0.2 dev: false /postcss@8.4.38: @@ -10917,7 +10935,7 @@ packages: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 - chokidar: 3.6.0 + chokidar: 3.5.3 didyoumean: 1.2.2 dlv: 1.1.3 fast-glob: 3.3.2 @@ -10929,11 +10947,11 @@ packages: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.0 - postcss: 8.4.33 - postcss-import: 15.1.0(postcss@8.4.33) - postcss-js: 4.0.1(postcss@8.4.33) - postcss-load-config: 4.0.2(postcss@8.4.33) - postcss-nested: 6.0.1(postcss@8.4.33) + postcss: 8.4.35 + postcss-import: 15.1.0(postcss@8.4.35) + postcss-js: 4.0.1(postcss@8.4.35) + postcss-load-config: 4.0.2(postcss@8.4.35) + postcss-nested: 6.0.1(postcss@8.4.35) postcss-selector-parser: 6.0.16 resolve: 1.22.8 sucrase: 3.35.0