@teambit/workspace 1.0.818 → 1.0.819
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.819/dist/workspace.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.819/dist/workspace.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -7,22 +7,21 @@ type UseWorkspaceOptions = {
|
|
|
7
7
|
onComponentRemoved?: (compId: ComponentID[]) => void;
|
|
8
8
|
};
|
|
9
9
|
export declare function useWorkspace(options?: UseWorkspaceOptions): {
|
|
10
|
-
errors?: ReadonlyArray<import("graphql").GraphQLFormattedError> | undefined;
|
|
11
10
|
error?: import("@apollo/client").ApolloError | undefined;
|
|
12
11
|
loading: boolean;
|
|
13
|
-
client: import("@apollo/client").ApolloClient<any>;
|
|
14
12
|
variables: import("@apollo/client").OperationVariables | undefined;
|
|
15
|
-
observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
|
|
16
|
-
networkStatus: import("@apollo/client").NetworkStatus;
|
|
17
|
-
called: boolean;
|
|
18
13
|
startPolling: (pollInterval: number) => void;
|
|
19
14
|
stopPolling: () => void;
|
|
20
|
-
updateQuery:
|
|
15
|
+
updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
|
|
21
16
|
reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
17
|
+
client: import("@apollo/client").ApolloClient<any>;
|
|
18
|
+
observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
|
|
19
|
+
networkStatus: import("@apollo/client").NetworkStatus;
|
|
20
|
+
called: boolean;
|
|
22
21
|
previousData?: any;
|
|
23
22
|
fetchMore: (options: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, any>) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
24
23
|
refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
25
24
|
workspace: Workspace | undefined;
|
|
26
|
-
subscribeToMore: import("@apollo/client").
|
|
25
|
+
subscribeToMore: <TSubscriptionData = any, TSubscriptionVariables = import("@apollo/client").OperationVariables>(options: import("@apollo/client").SubscribeToMoreOptions<any, TSubscriptionVariables, TSubscriptionData>) => () => void;
|
|
27
26
|
};
|
|
28
27
|
export {};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/workspace",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.819",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/workspace/workspace",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.workspace",
|
|
8
8
|
"name": "workspace",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.819"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"lodash": "4.17.21",
|
|
@@ -102,23 +102,23 @@
|
|
|
102
102
|
"@teambit/scopes.scope-id": "0.0.9",
|
|
103
103
|
"@teambit/workspace.ui.empty-workspace": "0.0.509",
|
|
104
104
|
"@teambit/workspace.ui.workspace-component-card": "0.0.565",
|
|
105
|
-
"@teambit/component": "1.0.
|
|
106
|
-
"@teambit/dependency-resolver": "1.0.
|
|
107
|
-
"@teambit/envs": "1.0.
|
|
108
|
-
"@teambit/objects": "0.0.
|
|
109
|
-
"@teambit/scope": "1.0.
|
|
110
|
-
"@teambit/graph": "1.0.
|
|
111
|
-
"@teambit/isolator": "1.0.
|
|
112
|
-
"@teambit/component-tree": "1.0.
|
|
113
|
-
"@teambit/watcher": "1.0.
|
|
114
|
-
"@teambit/aspect-loader": "1.0.
|
|
115
|
-
"@teambit/graphql": "1.0.
|
|
116
|
-
"@teambit/bundler": "1.0.
|
|
117
|
-
"@teambit/ui": "1.0.
|
|
118
|
-
"@teambit/command-bar": "1.0.
|
|
119
|
-
"@teambit/sidebar": "1.0.
|
|
120
|
-
"@teambit/pubsub": "1.0.
|
|
121
|
-
"@teambit/deprecation": "1.0.
|
|
105
|
+
"@teambit/component": "1.0.819",
|
|
106
|
+
"@teambit/dependency-resolver": "1.0.819",
|
|
107
|
+
"@teambit/envs": "1.0.819",
|
|
108
|
+
"@teambit/objects": "0.0.326",
|
|
109
|
+
"@teambit/scope": "1.0.819",
|
|
110
|
+
"@teambit/graph": "1.0.819",
|
|
111
|
+
"@teambit/isolator": "1.0.819",
|
|
112
|
+
"@teambit/component-tree": "1.0.819",
|
|
113
|
+
"@teambit/watcher": "1.0.819",
|
|
114
|
+
"@teambit/aspect-loader": "1.0.819",
|
|
115
|
+
"@teambit/graphql": "1.0.819",
|
|
116
|
+
"@teambit/bundler": "1.0.819",
|
|
117
|
+
"@teambit/ui": "1.0.819",
|
|
118
|
+
"@teambit/command-bar": "1.0.819",
|
|
119
|
+
"@teambit/sidebar": "1.0.819",
|
|
120
|
+
"@teambit/pubsub": "1.0.819",
|
|
121
|
+
"@teambit/deprecation": "1.0.819"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
124
|
"@types/lodash": "4.14.165",
|