@teambit/code.ui.queries.get-file-content 0.0.489 → 0.0.490
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;
|
|
22
23
|
startPolling: (pollInterval: number) => void;
|
|
23
24
|
stopPolling: () => void;
|
|
24
25
|
subscribeToMore: <TSubscriptionData = FileResult, TSubscriptionVariables = import("@apollo/client").OperationVariables>(options: import("@apollo/client").SubscribeToMoreOptions<FileResult, TSubscriptionVariables, TSubscriptionData>) => () => void;
|
|
25
26
|
updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: FileResult, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, FileResult>, "variables">) => FileResult) => void;
|
|
26
27
|
refetch: (variables?: Partial<import("@apollo/client").OperationVariables>) => Promise<import("@apollo/client").ApolloQueryResult<FileResult>>;
|
|
27
|
-
|
|
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: {
|
|
28
|
+
fetchMore: ((fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, FileResult> & import("@apollo/client").FetchMoreOptions<FileResult, import("@apollo/client").OperationVariables>) => Promise<import("@apollo/client").ApolloQueryResult<FileResult>>) & (<TData2, 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,
|
|
30
|
+
} & import("@apollo/client").FetchMoreQueryOptions<TVariables2, 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.490",
|
|
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.490"
|
|
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.489"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/mocha": "9.1.0",
|
|
@@ -22,39 +22,11 @@
|
|
|
22
22
|
"@types/node": "12.20.4"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@apollo/client": "^3.
|
|
25
|
+
"@apollo/client": "^3.4.0",
|
|
26
26
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
27
27
|
"react": "^16.8.0 || ^17.0.0"
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
|
-
"bit": {
|
|
31
|
-
"bindingPrefix": "@teambit",
|
|
32
|
-
"env": {},
|
|
33
|
-
"overrides": {
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@teambit/legacy": "-",
|
|
36
|
-
"core-js": "^3.0.0",
|
|
37
|
-
"react-dom": "-",
|
|
38
|
-
"react": "-"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"@teambit/legacy": "-",
|
|
42
|
-
"@types/mocha": "9.1.0",
|
|
43
|
-
"@types/testing-library__jest-dom": "5.9.5",
|
|
44
|
-
"@babel/runtime": "7.12.18",
|
|
45
|
-
"@types/jest": "^26.0.0",
|
|
46
|
-
"@types/react-dom": "^17.0.5",
|
|
47
|
-
"@types/react": "^17.0.8",
|
|
48
|
-
"@types/node": "12.20.4",
|
|
49
|
-
"react-dom": "-",
|
|
50
|
-
"react": "-"
|
|
51
|
-
},
|
|
52
|
-
"peerDependencies": {
|
|
53
|
-
"react-dom": "^16.8.0 || ^17.0.0",
|
|
54
|
-
"react": "^16.8.0 || ^17.0.0"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
30
|
"private": false,
|
|
59
31
|
"engines": {
|
|
60
32
|
"node": ">=12.22.0"
|
|
Binary file
|