@@ -13,7 +13,7 @@ declare module '@getflywheel/local/main' {
1313 import type { RequestInit as NodeFetchRequestInit } from 'node-fetch' ;
1414 import type { IResolvers } from '@graphql-tools/utils' ;
1515 import type { PubSub } from 'graphql-subscriptions' ;
16- import type { ApolloClient } from 'apollo-boost ' ;
16+ import type { ApolloClient , NormalizedCacheObject } from '@ apollo/client ' ;
1717 import type fetch from 'cross-fetch' ;
1818 import type { SiteGroup } from '@getflywheel/local/graphql' ;
1919
@@ -69,7 +69,7 @@ declare module '@getflywheel/local/main' {
6969 lightningServices : Services . LightningServices
7070 liveLinks : Services . LiveLinks
7171 liveLinksMuPlugin : Services . LiveLinksMuPlugin
72- localHubClient : ApolloClient < { uri : string ; fetch : typeof fetch } >
72+ localHubClient : ApolloClient < NormalizedCacheObject >
7373 analyticsV2 : Services . AnalyticsV2Service
7474 userEvent : Services . UserEvent
7575 graphql : Services . GraphQLService
@@ -836,11 +836,15 @@ declare module '@getflywheel/local/main' {
836836 export interface IImportData {
837837 wpVersion ?: string ,
838838 multiSiteInfo ?: any ,
839- oldSite ?: any
840- fileDir ?: string
841- sql ?: any
842- metadata ?: any
843- type ?: string
839+ oldSite ?: any ,
840+ fileDir ?: string ,
841+
842+ /**
843+ * An array of paths to SQL files to be imported.
844+ */
845+ sql ?: string [ ] ,
846+ metadata ?: any ,
847+ type ?: string ,
844848 }
845849
846850 /**
@@ -1490,7 +1494,7 @@ declare module '@getflywheel/local/main' {
14901494 wpCredentials,
14911495 goToSite,
14921496 installWP,
1493- siteLanguage
1497+ siteLanguage,
14941498 } : IAddSite ) : Promise < Local . Site > ;
14951499
14961500 finishAddingSite ( site : Local . Site ) : void ;
0 commit comments