@teambit/workspace 1.0.887 → 1.0.888

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.887/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.887/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.888/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.888/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
14
  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
15
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
19
16
  networkStatus: import("@apollo/client").NetworkStatus;
20
17
  called: boolean;
18
+ startPolling: (pollInterval: number) => void;
19
+ stopPolling: () => void;
20
+ updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
21
+ 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
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.887",
3
+ "version": "1.0.888",
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.887"
9
+ "version": "1.0.888"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -50,6 +50,7 @@
50
50
  "@teambit/config": "0.0.1474",
51
51
  "@teambit/harmony.modules.requireable-component": "0.0.512",
52
52
  "@teambit/toolbox.modules.module-resolver": "0.0.18",
53
+ "@teambit/workspace.modules.node-modules-linker": "0.0.327",
53
54
  "@teambit/global-config": "0.0.1302",
54
55
  "@teambit/legacy.consumer-config": "0.0.97",
55
56
  "@teambit/variants": "0.0.1567",
@@ -62,11 +63,9 @@
62
63
  "@teambit/legacy.scope-api": "0.0.152",
63
64
  "@teambit/toolbox.path.is-path-inside": "0.0.507",
64
65
  "@teambit/workspace.modules.match-pattern": "0.0.519",
65
- "@teambit/component.ui.component-drawer": "0.0.475",
66
66
  "@teambit/lanes.hooks.use-lane-components": "0.0.300",
67
67
  "@teambit/lanes.hooks.use-lanes": "0.0.292",
68
68
  "@teambit/lanes.ui.models.lanes-model": "0.0.232",
69
- "@teambit/ui-foundation.ui.side-bar": "0.0.927",
70
69
  "@teambit/design.ui.tree": "0.0.16",
71
70
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.241",
72
71
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.242",
@@ -104,24 +103,25 @@
104
103
  "@teambit/workspace.ui.workspace-component-card": "0.0.568",
105
104
  "@teambit/explorer.ui.component-card": "0.0.51",
106
105
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
107
- "@teambit/component": "1.0.887",
108
- "@teambit/dependency-resolver": "1.0.887",
109
- "@teambit/envs": "1.0.887",
110
- "@teambit/objects": "0.0.394",
111
- "@teambit/scope": "1.0.887",
112
- "@teambit/graph": "1.0.887",
113
- "@teambit/isolator": "1.0.887",
114
- "@teambit/component-tree": "1.0.887",
115
- "@teambit/watcher": "1.0.887",
116
- "@teambit/aspect-loader": "1.0.887",
117
- "@teambit/workspace.modules.node-modules-linker": "0.0.327",
118
- "@teambit/graphql": "1.0.887",
119
- "@teambit/bundler": "1.0.887",
120
- "@teambit/ui": "1.0.887",
121
- "@teambit/command-bar": "1.0.887",
122
- "@teambit/sidebar": "1.0.887",
123
- "@teambit/pubsub": "1.0.887",
124
- "@teambit/deprecation": "1.0.887"
106
+ "@teambit/component": "1.0.888",
107
+ "@teambit/dependency-resolver": "1.0.888",
108
+ "@teambit/envs": "1.0.888",
109
+ "@teambit/objects": "0.0.395",
110
+ "@teambit/scope": "1.0.888",
111
+ "@teambit/graph": "1.0.888",
112
+ "@teambit/isolator": "1.0.888",
113
+ "@teambit/component-tree": "1.0.888",
114
+ "@teambit/watcher": "1.0.888",
115
+ "@teambit/aspect-loader": "1.0.888",
116
+ "@teambit/graphql": "1.0.888",
117
+ "@teambit/bundler": "1.0.888",
118
+ "@teambit/ui": "1.0.888",
119
+ "@teambit/component.ui.component-drawer": "0.0.476",
120
+ "@teambit/ui-foundation.ui.side-bar": "0.0.928",
121
+ "@teambit/command-bar": "1.0.888",
122
+ "@teambit/sidebar": "1.0.888",
123
+ "@teambit/pubsub": "1.0.888",
124
+ "@teambit/deprecation": "1.0.888"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@types/lodash": "4.14.165",