Skip to content

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

update: Add TS any checks to ratchet rules to further stop slipping (#40877)

Ali Waseemdb8b88a89078
diff --git a/apps/design-system/registry/default/example/dialog-demo.tsx b/apps/design-system/registry/default/example/dialog-demo.tsx
index 68e81be28d5..3316817aea9 100644
--- a/apps/design-system/registry/default/example/dialog-demo.tsx
+++ b/apps/design-system/registry/default/example/dialog-demo.tsx
@@ -21,7 +21,7 @@ export default function DialogDemo() {
<DialogHeader padding={'small'}>
<DialogTitle>Edit profile</DialogTitle>
<DialogDescription>
- Make changes to your profile here. Click save when you're done.
+ Make changes to your profile here. Click save when you&apos;re done.
</DialogDescription>
</DialogHeader>
<DialogSectionSeparator />
diff --git a/apps/design-system/registry/default/example/page-layout-detail.tsx b/apps/design-system/registry/default/example/page-layout-detail.tsx
index 6553522b8ed..a5036cca81c 100644
--- a/apps/design-system/registry/default/example/page-layout-detail.tsx
+++ b/apps/design-system/registry/default/example/page-layout-detail.tsx
@@ -24,7 +24,7 @@ export default function PageLayoutDetail() {
<PageHeaderSummary>
<PageHeaderTitle>Billing</PageHeaderTitle>
<PageHeaderDescription>
- Manage your organization's billing and subscription settings.
+ Manage your organization&apos;s billing and subscription settings.
</PageHeaderDescription>
</PageHeaderSummary>
</PageHeaderMeta>
@@ -72,7 +72,7 @@ export default function PageLayoutDetail() {
<PageSectionSummary>
<PageSectionTitle>Cost control</PageSectionTitle>
<PageSectionDescription>
- Set spending limits and alerts to manage your organization's costs.
+ Set spending limits and alerts to manage your organization&apos;s costs.
</PageSectionDescription>
</PageSectionSummary>
</PageSectionMeta>
diff --git a/apps/design-system/registry/default/example/toc-demo.tsx b/apps/design-system/registry/default/example/toc-demo.tsx
index 2de1b7fdfeb..86c2d700664 100644
--- a/apps/design-system/registry/default/example/toc-demo.tsx
+++ b/apps/design-system/registry/default/example/toc-demo.tsx
@@ -39,7 +39,7 @@ export default function MultiSelectDemo() {
</a>
</h2>
<p>
- Before diving deep into cloud services, it's important to understand the basic
+ Before diving deep into cloud services, it&apos;s important to understand the basic
building blocks that make cloud computing possible.
</p>
diff --git a/apps/design-system/registry/default/example/toc-single-demo.tsx b/apps/design-system/registry/default/example/toc-single-demo.tsx
index d7fe367d0ce..d5f24f153b0 100644
--- a/apps/design-system/registry/default/example/toc-single-demo.tsx
+++ b/apps/design-system/registry/default/example/toc-single-demo.tsx
@@ -39,7 +39,7 @@ export default function MultiSelectDemo() {
</a>
</h2>
<p>
- Before diving deep into cloud services, it's important to understand the basic
+ Before diving deep into cloud services, it&apos;s important to understand the basic
building blocks that make cloud computing possible.
</p>
diff --git a/apps/design-system/registry/default/example/typography-blockquote.tsx b/apps/design-system/registry/default/example/typography-blockquote.tsx
index 15c95473fd2..4d0ae0e529e 100644
--- a/apps/design-system/registry/default/example/typography-blockquote.tsx
+++ b/apps/design-system/registry/default/example/typography-blockquote.tsx
@@ -1,8 +1,8 @@
export default function TypographyBlockquote() {
return (
<blockquote className="mt-6 border-l-2 pl-6 italic">
- "After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for
- the privilege."
+ &quot;After all,&quot; he said, &quot;everyone enjoys a good joke, so it&apos;s only fair that
+ they should pay for the privilege.&quot;
</blockquote>
)
}
diff --git a/apps/design-system/registry/default/example/typography-demo.tsx b/apps/design-system/registry/default/example/typography-demo.tsx
index 60ec59526bc..3ea54c3a470 100644
--- a/apps/design-system/registry/default/example/typography-demo.tsx
+++ b/apps/design-system/registry/default/example/typography-demo.tsx
@@ -10,7 +10,7 @@ export default function TypographyDemo() {
of money.
</p>
<h2 className="mt-10 scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight transition-colors first:mt-0">
- The King's Plan
+ The King&apos;s Plan
</h2>
<p className="leading-7 [&:not(:first-child)]:mt-6">
The king thought long and hard, and finally came up with{' '}
@@ -20,12 +20,13 @@ export default function TypographyDemo() {
: he would tax the jokes in the kingdom.
</p>
<blockquote className="mt-6 border-l-2 pl-6 italic">
- "After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay
- for the privilege."
+ &quot;After all,&quot; he said, &quot;everyone enjoys a good joke, so it&apos;s only fair
+ that they should pay for the privilege.&quot;
</blockquote>
<h3 className="mt-8 scroll-m-20 text-2xl font-semibold tracking-tight">The Joke Tax</h3>
<p className="leading-7 [&:not(:first-child)]:mt-6">
- The king's subjects were not amused. They grumbled and complained, but the king was firm:
+ The king&apos;s subjects were not amused. They grumbled and complained, but the king was
+ firm:
</p>
<ul className="my-6 ml-6 list-disc [&>li]:mt-2">
<li>1st level of puns: 5 gold coins</li>
@@ -34,22 +35,24 @@ export default function TypographyDemo() {
</ul>
<p className="leading-7 [&:not(:first-child)]:mt-6">
As a result, people stopped telling jokes, and the kingdom fell into a gloom. But there was
- one person who refused to let the king's foolishness get him down: a court jester named
+ one person who refused to let the king&apos;s foolishness get him down: a court jester named
Jokester.
</p>
- <h3 className="mt-8 scroll-m-20 text-2xl font-semibold tracking-tight">Jokester's Revolt</h3>
+ <h3 className="mt-8 scroll-m-20 text-2xl font-semibold tracking-tight">
+ Jokester&apos;s Revolt
+ </h3>
<p className="leading-7 [&:not(:first-child)]:mt-6">
Jokester began sneaking into the castle in the middle of the night and leaving jokes all
- over the place: under the king's pillow, in his soup, even in the royal toilet. The king was
- furious, but he couldn't seem to stop Jokester.
+ over the place: under the king&apos;s pillow, in his soup, even in the royal toilet. The
+ king was furious, but he couldn&apos;t seem to stop Jokester.
</p>
<p className="leading-7 [&:not(:first-child)]:mt-6">
And then, one day, the people of the kingdom discovered that the jokes left by Jokester were
- so funny that they couldn't help but laugh. And once they started laughing, they couldn't
- stop.
+ so funny that they couldn&apos;t help but laugh. And once they started laughing, they
+ couldn&apos;t stop.
</p>
<h3 className="mt-8 scroll-m-20 text-2xl font-semibold tracking-tight">
- The People's Rebellion
+ The People&apos;s Rebellion
</h3>
<p className="leading-7 [&:not(:first-child)]:mt-6">
The people of the kingdom, feeling uplifted by the laughter, started to tell jokes and puns
@@ -60,10 +63,10 @@ export default function TypographyDemo() {
<thead>
<tr className="m-0 border-t p-0 even:bg-muted">
<th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
- King's Treasury
+ King&apos;s Treasury
</th>
<th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
- People's happiness
+ People&apos;s happiness
</th>
</tr>
</thead>
diff --git a/apps/design-system/registry/default/example/typography-table.tsx b/apps/design-system/registry/default/example/typography-table.tsx
index 0698c475194..7a91dfda844 100644
--- a/apps/design-system/registry/default/example/typography-table.tsx
+++ b/apps/design-system/registry/default/example/typography-table.tsx
@@ -5,10 +5,10 @@ export default function TypographyTable() {
<thead>
<tr className="m-0 border-t p-0 even:bg-muted">
<th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
- King's Treasury
+ King&apos;s Treasury
</th>
<th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
- People's happiness
+ People&apos;s happiness
</th>
</tr>
</thead>
diff --git a/apps/docs/instrumentation.ts b/apps/docs/instrumentation.ts
index 3063091e693..b1d3d20b222 100644
--- a/apps/docs/instrumentation.ts
+++ b/apps/docs/instrumentation.ts
@@ -1,10 +1,12 @@
import * as Sentry from '@sentry/nextjs'
export async function register() {
+ // eslint-disable-next-line turbo/no-undeclared-env-vars
if (process.env.NEXT_RUNTIME === 'nodejs') {
await import('./sentry.server.config')
}
+ // eslint-disable-next-line turbo/no-undeclared-env-vars
if (process.env.NEXT_RUNTIME === 'edge') {
await import('./sentry.edge.config')
}
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json
index a2729485e45..016422c7cf9 100644
--- a/apps/studio/.github/eslint-rule-baselines.json
+++ b/apps/studio/.github/eslint-rule-baselines.json
@@ -1,9 +1,10 @@
{
"rules": {
- "react-hooks/exhaustive-deps": 230,
+ "react-hooks/exhaustive-deps": 226,
"import/no-anonymous-default-export": 62,
- "@tanstack/query/exhaustive-deps": 19,
- "@tanstack/query/no-deprecated-options": 0
+ "@tanstack/query/exhaustive-deps": 18,
+ "@tanstack/query/no-deprecated-options": 0,
+ "@typescript-eslint/no-explicit-any": 1452
},
"ruleFiles": {
"react-hooks/exhaustive-deps": {
@@ -24,7 +25,6 @@
"components/interfaces/Auth/BasicAuthSettingsForm.tsx": 1,
"components/interfaces/Auth/Hooks/CreateHookSheet.tsx": 1,
"components/interfaces/Auth/MfaAuthSettingsForm/MfaAuthSettingsForm.tsx": 1,
- "components/interfaces/Auth/OAuthApps/CreateOAuthAppSheet.tsx": 1,
"components/interfaces/Auth/OAuthApps/OAuthServerSettingsForm.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx": 1,
"components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyDetailsV2.tsx": 1,
@@ -101,14 +101,12 @@
"components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/CopyEnvButton.tsx": 1,
"components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx": 1,
"components/interfaces/Storage/StorageSettings/StorageSettings.tsx": 1,
- "components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx": 1,
"components/interfaces/Storage/VectorBuckets/CreateVectorTableSheet.tsx": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsx": 2,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/index.tsx": 2,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/TextEditor.tsx": 2,
- "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableQuickstart/QuickstartAIWidget.tsx": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableQuickstart/useAITableGeneration.ts": 2,
"components/interfaces/TableGridEditor/TableDefinition.tsx": 1,
@@ -168,14 +166,13 @@
"pages/project/[ref]/editor/index.tsx": 1,
"pages/project/[ref]/integrations/[id]/[pageId]/index.tsx": 1,
"pages/project/[ref]/logs/explorer/index.tsx": 1,
- "pages/project/[ref]/settings/jwt/index.tsx": 1,
+ "pages/project/[ref]/settings/jwt/legacy.tsx": 1,
"pages/project/[ref]/sql/quickstarts.tsx": 1,
"pages/project/[ref]/sql/templates.tsx": 1,
"pages/sign-in-fly-tos.tsx": 1,
"pages/sign-in-mfa.tsx": 1,
"state/role-impersonation-state.tsx": 1,
"state/sidebar-manager-state.tsx": 1,
- "state/storage-explorer.tsx": 1,
"state/table-editor-table.tsx": 1
},
"import/no-anonymous-default-export": {
@@ -245,7 +242,7 @@
"@tanstack/query/exhaustive-deps": {
"components/interfaces/Reports/SharedAPIReport/SharedAPIReport.constants.ts": 1,
"components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx": 1,
- "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx": 3,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx": 2,
"data/branches/branch-diff-query.ts": 1,
"data/database/foreign-key-constraints-query.ts": 1,
"data/database/schemas-query.ts": 1,
@@ -258,6 +255,574 @@
"hooks/analytics/useProjectUsageStats.tsx": 1,
"hooks/analytics/useSingleLog.tsx": 1
},
- "@tanstack/query/no-deprecated-options": {}
+ "@tanstack/query/no-deprecated-options": {},
+ "@typescript-eslint/no-explicit-any": {
+ "components/grid/SupabaseGrid.tsx": 1,
+ "components/grid/SupabaseGrid.utils.ts": 4,
+ "components/grid/components/common/Hooks.tsx": 2,
+ "components/grid/components/common/MonacoEditor.tsx": 3,
+ "components/grid/components/editor/BooleanEditor.tsx": 1,
+ "components/grid/components/editor/JsonEditor.tsx": 2,
+ "components/grid/components/editor/SelectEditor.tsx": 1,
+ "components/grid/components/editor/TextEditor.tsx": 2,
+ "components/grid/components/formatter/ReferenceRecordPeek.tsx": 4,
+ "components/grid/components/grid/AddColumn.tsx": 2,
+ "components/grid/components/grid/Grid.tsx": 10,
+ "components/grid/components/grid/Grid.utils.tsx": 2,
+ "components/grid/components/grid/GridError.tsx": 4,
+ "components/grid/components/grid/SelectColumn.tsx": 3,
+ "components/grid/components/header/Header.utils.ts": 1,
+ "components/grid/components/header/sort/SortRow.tsx": 1,
+ "components/grid/components/menu/ColumnMenu.tsx": 1,
+ "components/grid/types/base.ts": 2,
+ "components/grid/types/table.ts": 1,
+ "components/grid/utils/column.ts": 2,
+ "components/grid/utils/common.ts": 1,
+ "components/grid/utils/gridColumns.tsx": 10,
+ "components/interfaces/Account/AccessTokens/NewAccessTokenButton.tsx": 1,
+ "components/interfaces/Account/AccessTokens/NewAccessTokenDialog.tsx": 1,
+ "components/interfaces/Auth/AdvancedAuthSettingsForm.tsx": 2,
+ "components/interfaces/Auth/AuditLogsForm.tsx": 1,
+ "components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.ts": 1,
+ "components/interfaces/Auth/AuthProvidersForm/FormField.tsx": 4,
+ "components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx": 6,
+ "components/interfaces/Auth/AuthProvidersForm/index.tsx": 5,
+ "components/interfaces/Auth/AuthProvidersFormValidation.tsx": 2,
+ "components/interfaces/Auth/BasicAuthSettingsForm.tsx": 1,
+ "components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx": 1,
+ "components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx": 1,
+ "components/interfaces/Auth/MfaAuthSettingsForm/MfaAuthSettingsForm.tsx": 3,
+ "components/interfaces/Auth/Overview/OverviewTable.tsx": 1,
+ "components/interfaces/Auth/Overview/OverviewUsage.constants.ts": 1,
+ "components/interfaces/Auth/Policies/Policies.tsx": 1,
+ "components/interfaces/Auth/Policies/Policies.utils.ts": 1,
+ "components/interfaces/Auth/Policies/PolicyEditor/PolicyRoles.tsx": 1,
+ "components/interfaces/Auth/Policies/PolicyEditor/index.tsx": 2,
+ "components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx": 2,
+ "components/interfaces/Auth/Policies/PolicyEditorPanel/PolicyTemplates.tsx": 1,
+ "components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx": 2,
+ "components/interfaces/Auth/Policies/PolicyEditorPanel/index.tsx": 2,
+ "components/interfaces/Auth/ProtectionAuthSettingsForm/ProtectionAuthSettingsForm.tsx": 1,
+ "components/interfaces/Auth/RedirectUrls/RedirectUrlList.tsx": 1,
+ "components/interfaces/Auth/SessionsAuthSettingsForm/SessionsAuthSettingsForm.tsx": 2,
+ "components/interfaces/Auth/SiteUrl/SiteUrl.tsx": 1,
+ "components/interfaces/Auth/SmtpForm/SmtpForm.tsx": 4,
+ "components/interfaces/Auth/Users/CreateUserModal.tsx": 1,
+ "components/interfaces/Auth/Users/InviteUserModal.tsx": 3,
+ "components/interfaces/Auth/Users/UserLogs.tsx": 1,
+ "components/interfaces/Auth/Users/UserPanel.tsx": 2,
+ "components/interfaces/Auth/Users/Users.utils.tsx": 5,
+ "components/interfaces/Auth/Users/UsersGridComponents.tsx": 2,
+ "components/interfaces/Auth/Users/UsersV2.tsx": 6,
+ "components/interfaces/Billing/Payment/AddNewPaymentMethodModal.tsx": 3,
+ "components/interfaces/Billing/Payment/AddPaymentMethodForm.tsx": 3,
+ "components/interfaces/Billing/Payment/PaymentMethods/PaymentMethods.tsx": 3,
+ "components/interfaces/BranchManagement/Branch.Commands.tsx": 1,
+ "components/interfaces/BranchManagement/DatabaseDiffPanel.tsx": 1,
+ "components/interfaces/BranchManagement/EmptyStates.tsx": 1,
+ "components/interfaces/BranchManagement/ReviewWithAI.tsx": 1,
+ "components/interfaces/Connect/ConnectTabs.tsx": 1,
+ "components/interfaces/Database/Backups/PITR/PITR.utils.ts": 1,
+ "components/interfaces/Database/Backups/RestoreToNewProject/BackupsList.tsx": 1,
+ "components/interfaces/Database/EnumeratedTypes/CreateEnumeratedTypeSidePanel.tsx": 2,
+ "components/interfaces/Database/EnumeratedTypes/DeleteEnumeratedTypeModal.tsx": 1,
+ "components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx": 2,
+ "components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx": 1,
+ "components/interfaces/Database/Extensions/EnableExtensionModal.tsx": 4,
+ "components/interfaces/Database/Functions/CreateFunction/FunctionEditor.tsx": 1,
+ "components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx": 3,
+ "components/interfaces/Database/Hooks/EditHookPanel.tsx": 9,
+ "components/interfaces/Database/Hooks/FormContents.tsx": 5,
+ "components/interfaces/Database/Hooks/HTTPRequestFields.tsx": 6,
+ "components/interfaces/Database/Hooks/HooksList/HooksList.tsx": 2,
+ "components/interfaces/Database/Indexes/Indexes.tsx": 1,
+ "components/interfaces/Database/Migrations/Migrations.tsx": 2,
+ "components/interfaces/Database/Privileges/PrivilegesTable.tsx": 1,
+ "components/interfaces/Database/Publications/PublicationsList.tsx": 5,
+ "components/interfaces/Database/Publications/PublicationsTableItem.tsx": 5,
+ "components/interfaces/Database/Replication/DestinationPanel/DestinationPanel.tsx": 8,
+ "components/interfaces/Database/Replication/PublicationsComboBox.tsx": 1,
+ "components/interfaces/Database/Replication/ReplicationPipelineStatus/ReplicationPipelineStatus.utils.tsx": 1,
+ "components/interfaces/Database/Replication/RetryOptionsDropdown.tsx": 1,
+ "components/interfaces/Database/Replication/RowMenu.tsx": 2,
+ "components/interfaces/Database/Replication/UpdateVersionModal.tsx": 2,
+ "components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx": 1,
+ "components/interfaces/Database/Roles/RoleRow.tsx": 4,
+ "components/interfaces/Database/Roles/RolesList.tsx": 1,
+ "components/interfaces/Database/Schemas/SchemaGraph.tsx": 1,
+ "components/interfaces/Database/Tables/ColumnList.tsx": 2,
+ "components/interfaces/DiskManagement/DiskManagement.utils.ts": 3,
+ "components/interfaces/Docs/Description.tsx": 2,
+ "components/interfaces/Docs/GeneratingTypes.tsx": 1,
+ "components/interfaces/Docs/Param.tsx": 1,
+ "components/interfaces/Docs/ResourceContent.tsx": 1,
+ "components/interfaces/Docs/RpcContent.tsx": 4,
+ "components/interfaces/Docs/Snippets.ts": 1,
+ "components/interfaces/Functions/CommandRender.tsx": 4,
+ "components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx": 1,
+ "components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.utils.tsx": 3,
+ "components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionTesterSheet.tsx": 1,
+ "components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx": 1,
+ "components/interfaces/Functions/EdgeFunctionsListItem.tsx": 2,
+ "components/interfaces/Functions/FunctionsNav.tsx": 1,
+ "components/interfaces/Home/Home.tsx": 6,
+ "components/interfaces/Home/NewProjectPanel/APIKeys.tsx": 1,
+ "components/interfaces/Home/ProjectList/ProjectList.tsx": 1,
+ "components/interfaces/Home/ProjectUsage.tsx": 1,
+ "components/interfaces/Home/ServiceStatus.tsx": 1,
+ "components/interfaces/HomeNew/ProjectUsageSection.tsx": 1,
+ "components/interfaces/Integrations/CronJobs/CreateCronJobSheet/CreateCronJobSheet.tsx": 1,
+ "components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx": 2,
+ "components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx": 1,
+ "components/interfaces/Integrations/CronJobs/CronJobsTab.tsx": 1,
+ "components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx": 2,
+ "components/interfaces/Integrations/GraphQL/GraphiQLTab.tsx": 1,
+ "components/interfaces/Integrations/Landing/Integrations.constants.tsx": 1,
+ "components/interfaces/Integrations/Queues/QueuesSettings.tsx": 1,
+ "components/interfaces/Integrations/Queues/SingleQueue/MessageDetailsPanel.tsx": 1,
+ "components/interfaces/Integrations/Queues/SingleQueue/QueueFilters.tsx": 1,
+ "components/interfaces/Integrations/Queues/SingleQueue/QueueSettings.tsx": 2,
+ "components/interfaces/Integrations/Vault/Secrets/AddNewSecretModal.tsx": 6,
+ "components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx": 1,
+ "components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx": 3,
+ "components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx": 6,
+ "components/interfaces/Integrations/Wrappers/EditWrapperSheet.tsx": 7,
+ "components/interfaces/Integrations/Wrappers/InputField.tsx": 1,
+ "components/interfaces/Integrations/Wrappers/WrapperDynamicColumns.tsx": 1,
+ "components/interfaces/Integrations/Wrappers/WrapperTableEditor.tsx": 7,
+ "components/interfaces/Integrations/Wrappers/Wrappers.utils.ts": 2,
+ "components/interfaces/JwtSecrets/jwt-secret-keys-table/create-key-dialog.tsx": 2,
+ "components/interfaces/JwtSecrets/jwt-settings.tsx": 5,
+ "components/interfaces/Linter/LinterDataGrid.tsx": 4,
+ "components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx": 2,
+ "components/interfaces/Organization/BillingSettings/BillingCustomerData/BillingCustomerData.tsx": 2,
+ "components/interfaces/Organization/BillingSettings/BillingCustomerData/TaxID.utils.ts": 2,
+ "components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx": 2,
+ "components/interfaces/Organization/BillingSettings/CreditTopUp.tsx": 2,
+ "components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx": 1,
+ "components/interfaces/Organization/BillingSettings/Subscription/PaymentMethodSelection.tsx": 2,
+ "components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx": 1,
+ "components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx": 6,
+ "components/interfaces/Organization/BillingSettings/Subscription/UpgradeModal.tsx": 3,
+ "components/interfaces/Organization/Documents/SOC2.tsx": 1,
+ "components/interfaces/Organization/Documents/SecurityQuestionnaire.tsx": 1,
+ "components/interfaces/Organization/GeneralSettings/DeleteOrganizationButton.tsx": 3,
+ "components/interfaces/Organization/IntegrationSettings/IntegrationSettings.tsx": 1,
+ "components/interfaces/Organization/IntegrationSettings/SidePanelVercelProjectLinker.tsx": 1,
+ "components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx": 1,
+ "components/interfaces/Organization/OAuthApps/PublishAppSidePanel/index.tsx": 9,
+ "components/interfaces/Organization/ProjectClaim/confirm.tsx": 1,
+ "components/interfaces/Organization/TeamSettings/MemberRow.tsx": 2,
+ "components/interfaces/Organization/TeamSettings/TeamSettings.tsx": 1,
+ "components/interfaces/Organization/TeamSettings/UpdateRolesPanel/UpdateRolesConfirmationModal.tsx": 2,
+ "components/interfaces/Organization/Usage/Usage.tsx": 1,
+ "components/interfaces/Organization/Usage/Usage.utils.ts": 1,
+ "components/interfaces/Organization/Usage/UsageChartTooltips.tsx": 7,
+ "components/interfaces/ProjectAPIDocs/Content/Entities.tsx": 1,
+ "components/interfaces/ProjectAPIDocs/Content/Entity.tsx": 1,
+ "components/interfaces/ProjectAPIDocs/Content/RPC.tsx": 1,
+ "components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts": 2,
+ "components/interfaces/ProjectAPIDocs/ResourceContent.tsx": 1,
+ "components/interfaces/ProjectAPIDocs/SecondLevelNav.tsx": 1,
+ "components/interfaces/ProjectCreation/DatabasePasswordInput.tsx": 1,
+ "components/interfaces/ProjectCreation/PostgresVersionSelector.tsx": 2,
+ "components/interfaces/ProjectCreation/SchemaGenerator.tsx": 1,
+ "components/interfaces/QueryPerformance/IndexAdvisor/EnableIndexAdvisorButton.tsx": 1,
+ "components/interfaces/QueryPerformance/IndexAdvisor/IndexAdvisorDisabledState.tsx": 1,
+ "components/interfaces/QueryPerformance/IndexAdvisor/index-advisor.utils.ts": 2,
+ "components/interfaces/QueryPerformance/QueryDetail.tsx": 1,
+ "components/interfaces/QueryPerformance/QueryIndexes.tsx": 1,
+ "components/interfaces/QueryPerformance/QueryPerformance.tsx": 1,
+ "components/interfaces/QueryPerformance/QueryPerformanceChart.tsx": 3,
+ "components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx": 3,
+ "components/interfaces/QueryPerformance/WithMonitor/WithMonitor.utils.ts": 2,
+ "components/interfaces/QueryPerformance/WithStatements/WithStatements.tsx": 2,
+ "components/interfaces/QueryPerformance/WithStatements/WithStatements.utils.ts": 1,
+ "components/interfaces/Realtime/Inspector/Messages.types.ts": 1,
+ "components/interfaces/Realtime/Inspector/RealtimeFilterPopover/TableSelector.tsx": 1,
+ "components/interfaces/Realtime/Inspector/useRealtimeMessages.ts": 10,
+ "components/interfaces/Realtime/RealtimeSettings.tsx": 2,
+ "components/interfaces/Reports/GridResize.tsx": 2,
+ "components/interfaces/Reports/MetricOptions.tsx": 1,
+ "components/interfaces/Reports/ReportBlock/ChartBlock.tsx": 1,
+ "components/interfaces/Reports/ReportWidget.tsx": 2,
+ "components/interfaces/Reports/Reports.tsx": 3,
+ "components/interfaces/Reports/Reports.types.ts": 1,
+ "components/interfaces/Reports/Reports.utils.tsx": 10,
+ "components/interfaces/Reports/SharedAPIReport/SharedAPIReport.tsx": 3,
+ "components/interfaces/Reports/v2/ReportChartUpsell.tsx": 1,
+ "components/interfaces/Reports/v2/ReportChartV2.test.tsx": 4,
+ "components/interfaces/Reports/v2/ReportChartV2.tsx": 8,
+ "components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx": 1,
+ "components/interfaces/SQLEditor/MonacoEditor.tsx": 2,
+ "components/interfaces/SQLEditor/MoveQueryModal.tsx": 2,
+ "components/interfaces/SQLEditor/RenameQueryModal.tsx": 5,
+ "components/interfaces/SQLEditor/SQLEditor.tsx": 4,
+ "components/interfaces/SQLEditor/SQLEditor.utils.ts": 1,
+ "components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx": 1,
+ "components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx": 1,
+ "components/interfaces/SQLEditor/UtilityPanel/CellDetailPanel.tsx": 1,
+ "components/interfaces/SQLEditor/UtilityPanel/ChartConfig.tsx": 2,
+ "components/interfaces/SQLEditor/UtilityPanel/Results.tsx": 7,
+ "components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx": 1,
+ "components/interfaces/SQLEditor/hooks.ts": 1,
+ "components/interfaces/SQLEditor/useAddDefinitions.ts": 1,
+ "components/interfaces/SchemaVisualizer/index.tsx": 1,
+ "components/interfaces/Settings/Addons/Addons.tsx": 1,
+ "components/interfaces/Settings/Addons/CustomDomainSidePanel.tsx": 1,
+ "components/interfaces/Settings/Addons/IPv4SidePanel.tsx": 1,
+ "components/interfaces/Settings/Addons/PITRSidePanel.tsx": 1,
+ "components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx": 2,
+ "components/interfaces/Settings/Database/DiskSizeConfigurationModal.tsx": 1,
+ "components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx": 5,
+ "components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.utils.ts": 2,
+ "components/interfaces/Settings/General/CustomDomainConfig/CustomDomainsConfigureHostname.tsx": 1,
+ "components/interfaces/Settings/General/General.tsx": 3,
+ "components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx": 1,
+ "components/interfaces/Settings/General/TransferProjectPanel/TransferProjectButton.tsx": 1,
+ "components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx": 1,
+ "components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceNode.tsx": 1,
+ "components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/RestartReplicaConfirmationModal.tsx": 1,
+ "components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultPreviewSelectionRenderer.tsx": 1,
+ "components/interfaces/Settings/Logs/LogTable.tsx": 3,
+ "components/interfaces/Settings/Logs/Logs.constants.ts": 1,
+ "components/interfaces/Settings/Logs/Logs.types.ts": 1,
+ "components/interfaces/Settings/Logs/Logs.utils.ts": 11,
+ "components/interfaces/Settings/Logs/LogsQueryPanel.tsx": 2,
+ "components/interfaces/Settings/Logs/PreviewFilterPanel.tsx": 1,
+ "components/interfaces/Settings/Logs/PreviewFilterPanelWithUniversal.tsx": 3,
+ "components/interfaces/Settings/Logs/SidebarV2/SidebarItem.tsx": 1,
+ "components/interfaces/Sidebar.tsx": 3,
+ "components/interfaces/SignIn/SignInForm.tsx": 1,
+ "components/interfaces/SignIn/SignInWithCustom.tsx": 1,
+ "components/interfaces/SignIn/SignInWithGitHub.tsx": 1,
+ "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/ConnectTablesDialog.tsx": 2,
+ "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/InitializeForeignSchemaDialog.tsx": 1,
+ "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/TableRowComponent.tsx": 4,
+ "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/NamespaceWithTables/index.tsx": 1,
+ "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/UpdateForeignSchemaDialog.tsx": 1,
+ "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/index.tsx": 1,
+ "components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/useAnalyticsBucketAssociatedEntities.tsx": 4,
+ "components/interfaces/Storage/AnalyticsBuckets/CreateAnalyticsBucketModal.tsx": 1,
+ "components/interfaces/Storage/CreateBucketModal.tsx": 1,
+ "components/interfaces/Storage/DeleteBucketModal.tsx": 1,
+ "components/interfaces/Storage/ImportForeignSchemaDialog.tsx": 1,
+ "components/interfaces/Storage/Storage.utils.ts": 7,
+ "components/interfaces/Storage/StorageBucketsError.tsx": 1,
+ "components/interfaces/Storage/StorageExplorer/CustomExpiryModal.tsx": 5,
+ "components/interfaces/Storage/StorageExplorer/FileExplorer.tsx": 2,
+ "components/interfaces/Storage/StorageExplorer/FileExplorerColumn.tsx": 6,
+ "components/interfaces/Storage/StorageExplorer/FileExplorerHeader.tsx": 6,
+ "components/interfaces/Storage/StorageExplorer/FileExplorerRow.tsx": 1,
+ "components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx": 2,
+ "components/interfaces/Storage/StorageExplorer/ItemContextMenu.tsx": 1,
+ "components/interfaces/Storage/StorageExplorer/MoveItemsModal.tsx": 1,
+ "components/interfaces/Storage/StorageExplorer/StorageExplorer.tsx": 1,
+ "components/interfaces/Storage/StorageExplorer/StorageExplorer.utils.tsx": 2,
+ "components/interfaces/Storage/StoragePolicies/StoragePolicies.tsx": 8,
+ "components/interfaces/Storage/StoragePolicies/StoragePoliciesEditPolicyModal.tsx": 11,
+ "components/interfaces/Storage/StoragePolicies/StoragePoliciesEditor.tsx": 2,
+ "components/interfaces/Storage/StoragePolicies/StoragePoliciesReview.tsx": 3,
+ "components/interfaces/Storage/StorageSettings/StorageSettings.tsx": 2,
+ "components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx": 2,
+ "components/interfaces/Storage/VectorBuckets/CreateVectorTableSheet.tsx": 3,
+ "components/interfaces/Support/AttachmentUpload.tsx": 3,
+ "components/interfaces/Support/LinkSupportTicketForm.tsx": 6,
+ "components/interfaces/Support/SupportFormV2.tsx": 1,
+ "components/interfaces/Support/__tests__/SupportFormPage.test.tsx": 19,
+ "components/interfaces/TableGridEditor/SidePanelEditor/ActionBar.tsx": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnDefaultValue.tsx": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx": 5,
+ "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.utils.ts": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnType.tsx": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.tsx": 9,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/ForeignRowSelector.tsx": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/InputField.tsx": 9,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownPane.tsx": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/DrilldownViewer/DrilldownViewer.tsx": 3,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/JsonEditor/index.tsx": 3,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.tsx": 9,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.types.ts": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.test.ts": 8,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/RowEditor.utils.ts": 9,
+ "components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/TextEditor.tsx": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SchemaEditor.tsx": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.tsx": 14,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.types.ts": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.test.ts": 6,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SidePanelEditor.utils.tsx": 14,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetFileUpload.tsx": 3,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadSheetTextInput.tsx": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.tsx": 4,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.types.ts": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImport.utils.tsx": 18,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetPreviewGrid.tsx": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx": 3,
+ "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx": 3,
+ "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ForeignKeysManagement/ForeignKeyRow.tsx": 1,
+ "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx": 2,
+ "components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.types.ts": 1,
+ "components/interfaces/TableGridEditor/TableDefinition.tsx": 3,
+ "components/interfaces/TableGridEditor/TableEntity.utils.ts": 1,
+ "components/interfaces/UnifiedLogs/ServiceFlow/components/ServiceFlowHeader.tsx": 1,
+ "components/interfaces/UnifiedLogs/ServiceFlow/components/blocks/ResponseCompletedBlock.tsx": 2,
+ "components/interfaces/UnifiedLogs/ServiceFlow/components/shared/Block.tsx": 1,
+ "components/interfaces/UnifiedLogs/ServiceFlow/components/shared/CollapsibleSection.tsx": 4,
+ "components/interfaces/UnifiedLogs/ServiceFlow/components/shared/FieldWithSeeMore.tsx": 4,
+ "components/interfaces/UnifiedLogs/ServiceFlow/components/shared/TimelineStep.tsx": 1,
+ "components/interfaces/UnifiedLogs/ServiceFlow/config/fieldHelpers.ts": 3,
+ "components/interfaces/UnifiedLogs/ServiceFlow/types.ts": 10,
+ "components/interfaces/UnifiedLogs/ServiceFlow/utils/storageUtils.ts": 3,
+ "components/interfaces/UnifiedLogs/UnifiedLogs.queries.ts": 5,
+ "components/interfaces/UnifiedLogs/UnifiedLogs.tsx": 8,
+ "components/interfaces/UnifiedLogs/UnifiedLogs.utils.ts": 1,
+ "components/interfaces/UnifiedLogs/components/DownloadLogsButton.tsx": 1,
+ "components/interfaces/UnifiedLogs/components/LogsListPanel.tsx": 1,
+ "components/layouts/AccountLayout/WithSidebar.tsx": 3,
+ "components/layouts/DocsLayout/DocsLayout.tsx": 2,
+ "components/layouts/IntegrationsLayout/Integrations.utils.ts": 2,
+ "components/layouts/LogsLayout/LogsSidebarMenuV2.tsx": 1,
+ "components/layouts/ObservabilityLayout/ObservabilityMenu.tsx": 1,
+ "components/layouts/ProjectLayout/BuildingState.tsx": 1,
+ "components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsx": 2,
+ "components/layouts/ProjectLayout/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx": 3,
+ "components/layouts/ProjectLayout/LayoutHeader/LayoutHeader.tsx": 1,
+ "components/layouts/ProjectLayout/NavigationBar/NavigationIconLink.tsx": 1,
+ "components/layouts/ReportsLayout/ReportsMenu.tsx": 1,
+ "components/layouts/SQLEditorLayout/SQLEditorMenu.tsx": 2,
+ "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.tsx": 3,
+ "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorNav.utils.ts": 2,
+ "components/layouts/SQLEditorLayout/SQLEditorNavV2/SQLEditorTreeViewItem.tsx": 2,
+ "components/layouts/SQLEditorLayout/SQLEditorNavV2/SearchList.tsx": 1,
+ "components/layouts/TableEditorLayout/EntityListItem.tsx": 3,
+ "components/layouts/TableEditorLayout/TableEditorMenu.tsx": 2,
+ "components/layouts/Tabs/NewTab.tsx": 1,
+ "components/to-be-cleaned/KeyMap.tsx": 3,
+ "components/ui/AIAssistantPanel/AIAssistant.utils.ts": 1,
+ "components/ui/AIAssistantPanel/DisplayBlockRenderer.tsx": 1,
+ "components/ui/AIAssistantPanel/Message.Parts.tsx": 1,
+ "components/ui/AIAssistantPanel/MessageMarkdown.tsx": 1,
+ "components/ui/AIEditor/index.tsx": 2,
+ "components/ui/CardButton.tsx": 2,
+ "components/ui/Charts/AreaChart.tsx": 1,
+ "components/ui/Charts/BarChart.tsx": 2,
+ "components/ui/Charts/ChartHandler.tsx": 4,
+ "components/ui/Charts/ChartHeader.tsx": 5,
+ "components/ui/Charts/Charts.constants.ts": 1,
+ "components/ui/Charts/Charts.utils.tsx": 3,
+ "components/ui/Charts/ComposedChart.tsx": 10,
+ "components/ui/Charts/ComposedChart.utils.tsx": 13,
+ "components/ui/Charts/ComposedChartHandler.tsx": 9,
+ "components/ui/Charts/StackedBarChart.tsx": 3,
+ "components/ui/Charts/useChartHighlight.tsx": 9,
+ "components/ui/Charts/useChartHoverState.test.tsx": 1,
+ "components/ui/CodeEditor/CodeEditor.tsx": 8,
+ "components/ui/CodeEditor/CodeEditor.utils.ts": 2,
+ "components/ui/CodeEditor/Providers/BackwardIterator.ts": 1,
+ "components/ui/CodeEditor/Providers/PgSQLCompletionProvider.ts": 21,
+ "components/ui/CodeEditor/Providers/PgSQLSignatureHelpProvider.ts": 4,
+ "components/ui/DataTable/DataTable.utils.ts": 8,
+ "components/ui/DataTable/DataTableFilters/DataTableFilterCommand.tsx": 1,
+ "components/ui/DataTable/DataTableFilters/DataTableFilters.utils.ts": 1,
+ "components/ui/DataTable/DataTableInfinite.tsx": 6,
+ "components/ui/DataTable/DataTableViewOptions.tsx": 1,
+ "components/ui/DataTable/LiveButton.tsx": 1,
+ "components/ui/DataTable/providers/DataTableProvider.tsx": 3,
+ "components/ui/DatePicker/DatePicker.types.ts": 2,
+ "components/ui/DatePicker/index.tsx": 2,
+ "components/ui/DateRangePicker.tsx": 1,
+ "components/ui/DebouncedComponent.tsx": 1,
+ "components/ui/DownloadResultsButton.tsx": 2,
+ "components/ui/Error.tsx": 1,
+ "components/ui/ErrorBoundary/ErrorBoundary.tsx": 2,
+ "components/ui/ErrorBoundary/GlobalErrorBoundaryState.tsx": 1,
+ "components/ui/FilterPopover.tsx": 1,
+ "components/ui/Forms/Form.constants.ts": 1,
+ "components/ui/InfiniteList.tsx": 1,
+ "components/ui/Logs/LogsExplorerHeader.tsx": 2,
+ "components/ui/PasswordStrengthBar.tsx": 4,
+ "components/ui/ProductMenu/ProductMenu.types.ts": 1,
+ "components/ui/ProjectSettings/DisplayApiSettings.tsx": 1,
+ "components/ui/QueryBlock/QueryBlock.tsx": 4,
+ "components/ui/QueryBlock/QueryBlock.utils.ts": 1,
+ "components/ui/SchemaComboBox.tsx": 1,
+ "components/ui/SchemaSelector.tsx": 1,
+ "components/ui/SqlEditor.tsx": 6,
+ "components/ui/TwoOptionToggle.tsx": 4,
+ "components/ui/ui.types.ts": 1,
+ "data/ai/check-api-key-query.ts": 1,
+ "data/ai/rate-message-mutation.ts": 1,
+ "data/ai/sql-cron-mutation.ts": 1,
+ "data/ai/sql-title-mutation.ts": 1,
+ "data/analytics/functions-combined-stats-query.ts": 1,
+ "data/analytics/functions-req-stats-query.ts": 1,
+ "data/analytics/functions-resource-usage-query.ts": 1,
+ "data/analytics/infra-monitoring-queries.ts": 1,
+ "data/analytics/infra-monitoring-query.ts": 1,
+ "data/analytics/project-daily-stats-queries.ts": 1,
+ "data/analytics/project-metrics-query.ts": 3,
+ "data/api-settings/create-and-expose-api-schema-mutation.ts": 1,
+ "data/auth/auth-overview-query.ts": 1,
+ "data/auth/session-access-token-query.ts": 1,
+ "data/config/project-disk-resize-mutation.ts": 1,
+ "data/config/project-storage-config-query.ts": 2,
+ "data/content/content-insert-mutation.ts": 1,
+ "data/custom-domains/custom-domains-query.ts": 1,
+ "data/database-columns/database-column-create-mutation.ts": 1,
+ "data/database-queues/database-queues-metrics-query.ts": 1,
+ "data/database-triggers/database-triggers-query.ts": 2,
+ "data/database/table-columns-query.ts": 1,
+ "data/docs/project-json-schema-query.ts": 1,
+ "data/documents/dpa-request-mutation.ts": 1,
+ "data/edge-functions/edge-function-test-mutation.ts": 1,
+ "data/edge-functions/edge-functions-deploy-mutation.ts": 2,
+ "data/fdw/fdw-create-mutation.ts": 1,
+ "data/fdw/fdw-update-mutation.ts": 1,
+ "data/fetchers.ts": 12,
+ "data/foreign-tables/foreign-tables-query.ts": 1,
+ "data/graphql/fragment-masking.ts": 29,
+ "data/graphql/gql.ts": 1,
+ "data/graphql/graphql.ts": 2,
+ "data/integrations/integrations.types.ts": 1,
+ "data/invoices/invoices-count-query.ts": 1,
+ "data/jwt-signing-keys/jwt-signing-key-create-mutation.ts": 1,
+ "data/log-drains/create-log-drain-mutation.ts": 1,
+ "data/log-drains/update-log-drain-mutation.ts": 1,
+ "data/logs/get-unified-logs.ts": 1,
+ "data/logs/unified-log-inspection-query.ts": 2,
+ "data/logs/unified-logs-chart-query.ts": 1,
+ "data/logs/unified-logs-count-query.ts": 1,
+ "data/logs/unified-logs-infinite-query.ts": 2,
+ "data/materialized-views/materialized-views-query.ts": 1,
+ "data/network-restrictions/network-restrictions-query.ts": 3,
+ "data/notifications/keys.ts": 1,
+ "data/notifications/notifications-v2-query.ts": 2,
+ "data/oauth-secrets/client-secret-create-mutation.ts": 2,
+ "data/open-api/api-spec-query.ts": 8,
+ "data/organization-members/organization-roles-query.ts": 1,
+ "data/organizations/organization-create-mutation.ts": 2,
+ "data/organizations/organization-customer-profile-update-mutation.ts": 2,
+ "data/organizations/organization-payment-method-default-mutation.ts": 2,
+ "data/organizations/organization-update-mutation.ts": 1,
+ "data/platform/platform-status-query.ts": 1,
+ "data/profile/profile-identities-query.ts": 1,
+ "data/profile/profile-unlink-identity-mutation.ts": 2,
+ "data/projects/project-create-mutation.ts": 1,
+ "data/projects/project-detail-query.ts": 2,
+ "data/replication/restart-pipeline-helper.ts": 2,
+ "data/replication/rollback-table-mutation.ts": 1,
+ "data/replication/use-table-reset.ts": 1,
+ "data/reports/database-charts.ts": 5,
+ "data/reports/v2/auth.config.ts": 16,
+ "data/reports/v2/edge-functions.config.ts": 9,
+ "data/reports/v2/edge-functions.test.tsx": 2,
+ "data/reports/v2/reports.types.ts": 2,
+ "data/sql/execute-sql-query.ts": 5,
+ "data/ssl-enforcement/ssl-enforcement-query.ts": 2,
+ "data/ssl-enforcement/ssl-enforcement-update-mutation.ts": 1,
+ "data/sso/sso-config-query.ts": 2,
+ "data/storage/analytics-bucket-delete-mutation.ts": 1,
+ "data/storage/bucket-delete-mutation.ts": 1,
+ "data/storage/bucket-update-mutation.ts": 3,
+ "data/subscriptions/org-subscription-confirm-pending-create.ts": 1,
+ "data/subscriptions/org-subscription-update-mutation.ts": 2,
+ "data/support/generate-attachment-urls-mutation.ts": 1,
+ "data/table-rows/get-cell-value-mutation.ts": 1,
+ "data/table-rows/keys.ts": 2,
+ "data/table-rows/table-row-create-mutation.ts": 1,
+ "data/table-rows/table-row-update-mutation.ts": 2,
+ "data/table-rows/table-rows-query.ts": 4,
+ "data/tables/tables-query.ts": 1,
+ "data/vault/vault-secret-decrypted-value-query.ts": 2,
+ "data/views/views-query.ts": 1,
+ "hooks/analytics/useDbQuery.tsx": 1,
+ "hooks/analytics/useFillTimeseriesSorted.ts": 3,
+ "hooks/analytics/useLogsPreview.tsx": 1,
+ "hooks/analytics/useLogsQuery.tsx": 1,
+ "hooks/analytics/useLogsUrlState.ts": 1,
+ "hooks/analytics/useSingleLog.tsx": 1,
+ "hooks/analytics/useTimeseriesUnixToIso.ts": 1,
+ "hooks/branches/useBranchMergeDiff.ts": 3,
+ "hooks/misc/withAuth.tsx": 1,
+ "hooks/storage/useStoragePolicyCounts.ts": 2,
+ "hooks/ui/useClickedOutside.ts": 2,
+ "hooks/ui/useFlag.ts": 1,
+ "hooks/ui/useHotKey.ts": 1,
+ "instrumentation-client.ts": 5,
+ "lib/ai/model.ts": 2,
+ "lib/ai/model.utils.ts": 4,
+ "lib/ai/test-fixtures.ts": 1,
+ "lib/ai/tool-filter.test.ts": 5,
+ "lib/ai/tool-filter.ts": 4,
+ "lib/api/apiAuthenticate.test.ts": 2,
+ "lib/api/apiHelpers.test.ts": 1,
+ "lib/api/apiHelpers.ts": 2,
+ "lib/api/apiWrappers.test.ts": 2,
+ "lib/api/generate-v4.test.ts": 2,
+ "lib/api/rate.test.ts": 2,
+ "lib/api/self-hosted/logs.ts": 2,
+ "lib/gotrue.ts": 1,
+ "lib/helpers.test.ts": 10,
+ "lib/helpers.ts": 12,
+ "lib/integration-utils.test.ts": 1,
+ "lib/integration-utils.ts": 2,
+ "lib/password-strength.ts": 1,
+ "lib/pg-format.ts": 6,
+ "lib/pingPostgrest.test.ts": 1,
+ "lib/posthog.test.ts": 4,
+ "lib/profile.tsx": 1,
+ "lib/role-impersonation.test.ts": 5,
+ "lib/role-impersonation.ts": 1,
+ "lib/sanitize.test.ts": 10,
+ "lib/semver.test.ts": 3,
+ "lib/telemetry/track.ts": 1,
+ "lib/upload.test.ts": 1,
+ "pages/_app.tsx": 1,
+ "pages/account/tokens.tsx": 1,
+ "pages/api/ai/feedback/rate.ts": 2,
+ "pages/api/ai/sql/generate-v4.ts": 3,
+ "pages/api/check-cname.ts": 1,
+ "pages/api/edge-functions/test.ts": 1,
+ "pages/api/platform/auth/[ref]/users/[id]/factors.ts": 1,
+ "pages/api/platform/database/[ref]/pooling.ts": 1,
+ "pages/api/platform/integrations/github/authorization.ts": 1,
+ "pages/api/platform/projects/[ref]/analytics/log-drains.ts": 1,
+ "pages/api/platform/projects/[ref]/content/index.ts": 1,
+ "pages/api/platform/projects/[ref]/content/item/[id].ts": 1,
+ "pages/api/platform/projects/[ref]/databases.ts": 1,
+ "pages/cli/login.tsx": 1,
+ "pages/integrations/vercel/[slug]/deploy-button/new-project.tsx": 1,
+ "pages/integrations/vercel/[slug]/marketplace/choose-project.tsx": 1,
+ "pages/new/index.tsx": 1,
+ "pages/project/[ref]/api/index.tsx": 3,
+ "pages/project/[ref]/auth/templates/[templateId].tsx": 1,
+ "pages/project/[ref]/functions/[functionSlug]/index.tsx": 3,
+ "pages/project/[ref]/logs/explorer/index.tsx": 3,
+ "pages/project/[ref]/merge.tsx": 1,
+ "pages/project/[ref]/observability/database.tsx": 2,
+ "pages/project/[ref]/settings/log-drains.tsx": 1,
+ "pages/project/[ref]/storage/files/buckets/[bucketId].tsx": 1,
+ "scripts/__tests__/ratchet-eslint-rules.test.ts": 1,
+ "state/ai-assistant-state.tsx": 6,
+ "state/editor-panel-state.tsx": 4,
+ "state/role-impersonation-state.tsx": 1,
+ "state/sql-editor-v2.ts": 5,
+ "state/storage-explorer.tsx": 16,
+ "state/table-editor-table.tsx": 9,
+ "state/table-editor.tsx": 5,
+ "state/tabs.tsx": 1,
+ "tests/components/Editor/SpreadsheetImport.utils.test.ts": 1,
+ "tests/components/ui/Charts/Charts.utils.test.ts": 1,
+ "tests/features/logs/LogsPreviewer.test.tsx": 2,
+ "tests/features/logs/logs-query.test.tsx": 1,
+ "tests/lib/custom-render.tsx": 1,
+ "tests/setup/polyfills.ts": 3,
+ "tests/vitestSetup.ts": 1,
+ "types/form.ts": 1,
+ "types/next.ts": 2,
+ "types/ui.ts": 2
+ }
}
}
diff --git a/apps/studio/package.json b/apps/studio/package.json
index 649d785f98e..70a96386ac1 100644
--- a/apps/studio/package.json
+++ b/apps/studio/package.json
@@ -8,7 +8,7 @@
"build": "next build && if [ \"$SKIP_ASSET_UPLOAD\" != \"1\" ]; then ./../../scripts/upload-static-assets.sh; fi",
"start": "next start",
"lint": "eslint .",
- "lint:ratchet": "tsx scripts/ratchet-eslint-rules.ts --rule react-hooks/exhaustive-deps --rule import/no-anonymous-default-export --rule @tanstack/query/exhaustive-deps --rule @tanstack/query/no-deprecated-options",
+ "lint:ratchet": "tsx scripts/ratchet-eslint-rules.ts --rule react-hooks/exhaustive-deps --rule import/no-anonymous-default-export --rule @tanstack/query/exhaustive-deps --rule @tanstack/query/no-deprecated-options --rule @typescript-eslint/no-explicit-any",
"clean": "rimraf node_modules tsconfig.tsbuildinfo .next .turbo",
"test": "vitest --run --coverage",
"test:watch": "vitest watch",
diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-react-router/app/routes/sign-up.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-react-router/app/routes/sign-up.tsx
index dea6dd62212..9d287ed00d1 100644
--- a/apps/ui-library/registry/default/blocks/password-based-auth-react-router/app/routes/sign-up.tsx
+++ b/apps/ui-library/registry/default/blocks/password-based-auth-react-router/app/routes/sign-up.tsx
@@ -68,8 +68,8 @@ export default function SignUp() {
</CardHeader>
<CardContent>
<p className="text-sm text-muted-foreground">
- You've successfully signed up. Please check your email to confirm your account
- before signing in.
+ You&apos;ve successfully signed up. Please check your email to confirm your
+ account before signing in.
</p>
</CardContent>
</Card>
diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-react/components/sign-up-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-react/components/sign-up-form.tsx
index 056ada53d79..9b5d77b1187 100644
--- a/apps/ui-library/registry/default/blocks/password-based-auth-react/components/sign-up-form.tsx
+++ b/apps/ui-library/registry/default/blocks/password-based-auth-react/components/sign-up-form.tsx
@@ -55,8 +55,8 @@ export function SignUpForm({ className, ...props }: React.ComponentPropsWithoutR
</CardHeader>
<CardContent>
<p className="text-sm text-muted-foreground">
- You've successfully signed up. Please check your email to confirm your account before
- signing in.
+ You&apos;ve successfully signed up. Please check your email to confirm your account
+ before signing in.
</p>
</CardContent>
</Card>
diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/sign-up-success.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/sign-up-success.tsx
index 5a59b834113..8765ff067b9 100644
--- a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/sign-up-success.tsx
+++ b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/routes/sign-up-success.tsx
@@ -23,7 +23,7 @@ function SignUpSuccess() {
</CardHeader>
<CardContent>
<p className="text-sm text-muted-foreground">
- You've successfully signed up. Please check your email to confirm your account
+ You&apos;ve successfully signed up. Please check your email to confirm your account
before signing in.
</p>
</CardContent>
diff --git a/apps/ui-library/registry/default/platform/platform-kit-nextjs/app/api/supabase-proxy/[...path]/route.ts b/apps/ui-library/registry/default/platform/platform-kit-nextjs/app/api/supabase-proxy/[...path]/route.ts
index 9c8de65bc50..4727e7231e9 100644
--- a/apps/ui-library/registry/default/platform/platform-kit-nextjs/app/api/supabase-proxy/[...path]/route.ts
+++ b/apps/ui-library/registry/default/platform/platform-kit-nextjs/app/api/supabase-proxy/[...path]/route.ts
@@ -1,6 +1,7 @@
import { NextResponse } from 'next/server'
async function forwardToSupabaseAPI(request: Request, method: string, params: { path: string[] }) {
+ // eslint-disable-next-line turbo/no-undeclared-env-vars
if (!process.env.SUPABASE_MANAGEMENT_API_TOKEN) {
console.error('Supabase Management API token is not configured.')
return NextResponse.json({ message: 'Server configuration error.' }, { status: 500 })
@@ -30,6 +31,7 @@ async function forwardToSupabaseAPI(request: Request, method: string, params: {
try {
const forwardHeaders: HeadersInit = {
+ // eslint-disable-next-line turbo/no-undeclared-env-vars
Authorization: `Bearer ${process.env.SUPABASE_MANAGEMENT_API_TOKEN}`,
}
diff --git a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx
index 070c6069804..a6b5135fbea 100644
--- a/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx
+++ b/apps/ui-library/registry/default/platform/platform-kit-nextjs/components/supabase-manager/suggestions.tsx
@@ -37,7 +37,7 @@ export function SuggestionsManager({ projectRef }: { projectRef: string }) {
<div className="p-6 pt-4 lg:p-12 lg:pt-12 max-w-3xl mx-auto">
<h2 className="text-base lg:text-xl font-semibold mb-1">Suggestions</h2>
<p className="text-muted-foreground mb-4 lg:mb-8 text-sm lg:text-base">
- Improve your project's security and performance.
+ Improve your project&apos;s security and performance.
</p>
{isLoading && (
<div className="space-y-2">
diff --git a/packages/eslint-config-supabase/next.js b/packages/eslint-config-supabase/next.js
index 667ffba631d..b59b28777b2 100644
--- a/packages/eslint-config-supabase/next.js
+++ b/packages/eslint-config-supabase/next.js
@@ -5,6 +5,8 @@ const prettierConfig = require('eslint-config-prettier/flat')
const { default: turboConfig } = require('eslint-config-turbo/flat')
const { fixupPluginRules } = require('@eslint/compat')
const tanstackQuery = require('@tanstack/eslint-plugin-query')
+const tseslint = require('@typescript-eslint/eslint-plugin')
+const tsparser = require('@typescript-eslint/parser')
const compat = new FlatCompat({
baseDirectory: __dirname,
@@ -25,12 +27,32 @@ const tanstackQueryConfig = {
},
}
+// TypeScript ESLint config for TypeScript files
+const typescriptConfig = {
+ name: 'typescript',
+ files: ['**/*.ts', '**/*.tsx'],
+ languageOptions: {
+ parser: tsparser,
+ parserOptions: {
+ ecmaVersion: 'latest',
+ sourceType: 'module',
+ },
+ },
+ plugins: {
+ '@typescript-eslint': tseslint,
+ },
+ rules: {
+ '@typescript-eslint/no-explicit-any': 'warn',
+ },
+}
+
module.exports = defineConfig([
// Global ignore for the .next folder
{ ignores: ['.next', 'public'] },
turboConfig,
prettierConfig,
tanstackQueryConfig,
+ typescriptConfig,
{
extends: compat.extends('next/core-web-vitals'),
linterOptions: {
diff --git a/turbo.json b/turbo.json
index 1888dac5b6e..66455bb6507 100644
--- a/turbo.json
+++ b/turbo.json
@@ -197,7 +197,8 @@
"NOTION_SUPASQUAD_APPLICATIONS_DB_ID",
"CUSTOMERIO_SITE_ID",
"CUSTOMERIO_API_KEY",
- "CUSTOMERIO_APP_API_KEY"
+ "CUSTOMERIO_APP_API_KEY",
+ "NEXT_RUNTIME"
],
"outputs": [".next/**", "!.next/cache/**", ".contentlayer/**"]
},
@@ -220,7 +221,9 @@
"NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID",
"NEXT_PUBLIC_GOTRUE_URL",
"NEXT_PUBLIC_SUPABASE_ANON_KEY",
- "NEXT_PUBLIC_USERCENTRICS_RULESET_ID"
+ "NEXT_PUBLIC_USERCENTRICS_RULESET_ID",
+ "SUPABASE_MANAGEMENT_API_TOKEN",
+ "OPENAI_API_KEY"
],
"outputs": [".next/**", "!.next/cache/**", ".contentlayer/**"]
},