@teambit/code.ui.queries.get-file-content 0.0.490 → 0.0.491
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,15 +19,15 @@ export declare function useFileContent(componentId?: ComponentID, filePath?: str
|
|
|
19
19
|
loading: boolean;
|
|
20
20
|
networkStatus: import("@apollo/client").NetworkStatus;
|
|
21
21
|
called: true;
|
|
22
|
-
variables: import("@apollo/client").OperationVariables;
|
|
23
22
|
startPolling: (pollInterval: number) => void;
|
|
24
23
|
stopPolling: () => void;
|
|
25
24
|
subscribeToMore: <TSubscriptionData = FileResult, TSubscriptionVariables = import("@apollo/client").OperationVariables>(options: import("@apollo/client").SubscribeToMoreOptions<FileResult, TSubscriptionVariables, TSubscriptionData>) => () => void;
|
|
26
25
|
updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: FileResult, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, FileResult>, "variables">) => FileResult) => void;
|
|
27
26
|
refetch: (variables?: Partial<import("@apollo/client").OperationVariables>) => Promise<import("@apollo/client").ApolloQueryResult<FileResult>>;
|
|
28
|
-
|
|
27
|
+
variables: import("@apollo/client").OperationVariables;
|
|
28
|
+
fetchMore: (<K extends string>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, K, FileResult> & import("@apollo/client").FetchMoreOptions<FileResult, import("@apollo/client").OperationVariables>) => Promise<import("@apollo/client").ApolloQueryResult<FileResult>>) & (<TData2, TVariables2, K_1 extends keyof TVariables2>(fetchMoreOptions: {
|
|
29
29
|
query?: import("@apollo/client").DocumentNode | import("@graphql-typed-document-node/core").TypedDocumentNode<FileResult, import("@apollo/client").OperationVariables>;
|
|
30
|
-
} & import("@apollo/client").FetchMoreQueryOptions<TVariables2, FileResult> & import("@apollo/client").FetchMoreOptions<TData2, TVariables2>) => Promise<import("@apollo/client").ApolloQueryResult<TData2>>);
|
|
30
|
+
} & import("@apollo/client").FetchMoreQueryOptions<TVariables2, K_1, FileResult> & import("@apollo/client").FetchMoreOptions<TData2, TVariables2>) => Promise<import("@apollo/client").ApolloQueryResult<TData2>>);
|
|
31
31
|
fileContent: string;
|
|
32
32
|
};
|
|
33
33
|
export {};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/code.ui.queries.get-file-content",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.491",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/code/ui/queries/get-file-content",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.code",
|
|
8
8
|
"name": "ui/queries/get-file-content",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.491"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"core-js": "^3.0.0",
|
|
13
|
-
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.
|
|
13
|
+
"@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.490"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/mocha": "9.1.0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@types/node": "12.20.4"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@apollo/client": "^3.
|
|
25
|
+
"@apollo/client": "^3.0.0",
|
|
26
26
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
27
27
|
"react": "^16.8.0 || ^17.0.0"
|
|
28
28
|
},
|
|
File without changes
|
|
Binary file
|