mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
Fix TS issues
This commit is contained in:
1 parent
716ba1bacf
commit
516e8eebc7
3 files changed
+3
-3
No files matched your search
@@ -106,7 +106,7 @@ export const EditBranchModal = ({ branch, visible, onClose }: EditBranchModalPro
|
||||
if (val.gitBranchName && val.gitBranchName.length > 0 && githubConnection?.id) {
|
||||
try {
|
||||
await checkGithubBranchValidity({
|
||||
connectionId: githubConnection.id,
|
||||
repositoryId: githubConnection.id,
|
||||
branchName: val.gitBranchName,
|
||||
})
|
||||
setIsGitBranchValid(true)
|
||||
|
||||
@@ -19,7 +19,7 @@ export async function getGitHubBranches(
|
||||
})
|
||||
|
||||
if (error) handleError(error)
|
||||
return data as Record<string, never>[]
|
||||
return data
|
||||
}
|
||||
|
||||
export type GitHubBranchesData = Awaited<ReturnType<typeof getGitHubBranches>>
|
||||
|
||||
@@ -259,7 +259,7 @@ export type IntegrationConnectionsCreateVariables = {
|
||||
|
||||
export type GitHubConnectionCreateVariables = {
|
||||
organizationId: number
|
||||
connection: components['schemas']['CreateGitHubConnectionsBody']
|
||||
connection: components['schemas']['CreateGitHubConnectionBody']
|
||||
}
|
||||
|
||||
export type EnvironmentTargets = 'production' | 'preview' | 'development'
|
||||
|
||||
Reference in new issue
Block a user