@teambit/workspace 1.0.926 → 1.0.928

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.926/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.926/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.928/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.928/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -7,21 +7,22 @@ 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;
10
11
  error?: import("@apollo/client").ApolloError | undefined;
11
12
  client: import("@apollo/client").ApolloClient<any>;
12
13
  loading: boolean;
13
- variables: import("@apollo/client").OperationVariables | undefined;
14
- startPolling: (pollInterval: number) => void;
15
- stopPolling: () => void;
16
- updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
17
- reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
18
14
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
19
15
  networkStatus: import("@apollo/client").NetworkStatus;
20
16
  called: boolean;
17
+ startPolling: (pollInterval: number) => void;
18
+ stopPolling: () => void;
19
+ updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
20
+ reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
21
+ variables: import("@apollo/client").OperationVariables | undefined;
21
22
  previousData?: any;
22
23
  fetchMore: (options: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, any>) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
23
24
  refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
24
25
  workspace: Workspace | undefined;
25
- subscribeToMore: <TSubscriptionData = any, TSubscriptionVariables = import("@apollo/client").OperationVariables>(options: import("@apollo/client").SubscribeToMoreOptions<any, TSubscriptionVariables, TSubscriptionData>) => () => void;
26
+ subscribeToMore: import("@apollo/client").SubscribeToMoreFunction<any, import("@apollo/client").OperationVariables>;
26
27
  };
27
28
  export {};
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "1.0.926",
3
+ "version": "1.0.928",
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.926"
9
+ "version": "1.0.928"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -39,15 +39,21 @@
39
39
  "@teambit/toolbox.fs.last-modified": "0.0.14",
40
40
  "@teambit/toolbox.path.path": "0.0.16",
41
41
  "@teambit/graph.cleargraph": "0.0.11",
42
+ "@teambit/logger": "0.0.1400",
43
+ "@teambit/cli": "0.0.1307",
42
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
43
45
  "@teambit/legacy.constants": "0.0.24",
44
46
  "@teambit/harmony.modules.resolved-component": "0.0.513",
45
47
  "@teambit/legacy.utils": "0.0.34",
46
48
  "@teambit/scope.remotes": "0.0.103",
49
+ "@teambit/config-store": "0.0.187",
50
+ "@teambit/config": "0.0.1482",
47
51
  "@teambit/harmony.modules.requireable-component": "0.0.513",
48
52
  "@teambit/toolbox.modules.module-resolver": "0.0.19",
49
53
  "@teambit/workspace.modules.node-modules-linker": "0.0.333",
54
+ "@teambit/global-config": "0.0.1310",
50
55
  "@teambit/legacy.consumer-config": "0.0.103",
56
+ "@teambit/variants": "0.0.1575",
51
57
  "@teambit/component-issues": "0.0.171",
52
58
  "@teambit/component.sources": "0.0.155",
53
59
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
@@ -99,29 +105,23 @@
99
105
  "@teambit/workspace.ui.workspace-component-card": "0.0.568",
100
106
  "@teambit/explorer.ui.component-card": "0.0.51",
101
107
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
102
- "@teambit/component": "1.0.926",
103
- "@teambit/dependency-resolver": "1.0.926",
104
- "@teambit/envs": "1.0.926",
105
- "@teambit/logger": "0.0.1400",
106
- "@teambit/objects": "0.0.433",
107
- "@teambit/scope": "1.0.926",
108
- "@teambit/graph": "1.0.926",
109
- "@teambit/cli": "0.0.1307",
110
- "@teambit/isolator": "1.0.926",
111
- "@teambit/component-tree": "1.0.926",
112
- "@teambit/watcher": "1.0.926",
113
- "@teambit/aspect-loader": "1.0.926",
114
- "@teambit/config-store": "0.0.187",
115
- "@teambit/config": "0.0.1482",
116
- "@teambit/graphql": "1.0.926",
117
- "@teambit/bundler": "1.0.926",
118
- "@teambit/global-config": "0.0.1310",
119
- "@teambit/ui": "1.0.926",
120
- "@teambit/variants": "0.0.1575",
121
- "@teambit/command-bar": "1.0.926",
122
- "@teambit/sidebar": "1.0.926",
123
- "@teambit/pubsub": "1.0.926",
124
- "@teambit/deprecation": "1.0.926"
108
+ "@teambit/component": "1.0.928",
109
+ "@teambit/dependency-resolver": "1.0.928",
110
+ "@teambit/envs": "1.0.928",
111
+ "@teambit/objects": "0.0.435",
112
+ "@teambit/scope": "1.0.928",
113
+ "@teambit/graph": "1.0.928",
114
+ "@teambit/isolator": "1.0.928",
115
+ "@teambit/component-tree": "1.0.928",
116
+ "@teambit/watcher": "1.0.928",
117
+ "@teambit/aspect-loader": "1.0.928",
118
+ "@teambit/graphql": "1.0.928",
119
+ "@teambit/bundler": "1.0.928",
120
+ "@teambit/ui": "1.0.928",
121
+ "@teambit/command-bar": "1.0.928",
122
+ "@teambit/sidebar": "1.0.928",
123
+ "@teambit/pubsub": "1.0.928",
124
+ "@teambit/deprecation": "1.0.928"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@types/lodash": "4.14.165",