@teambit/workspace 1.0.762 → 1.0.763

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.762/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.762/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.763/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.763/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: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
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").SubscribeToMoreFunction<any, import("@apollo/client").OperationVariables>;
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.762",
3
+ "version": "1.0.763",
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.762"
9
+ "version": "1.0.763"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -49,7 +49,6 @@
49
49
  "@teambit/config": "0.0.1451",
50
50
  "@teambit/harmony.modules.requireable-component": "0.0.508",
51
51
  "@teambit/toolbox.modules.module-resolver": "0.0.14",
52
- "@teambit/workspace.modules.node-modules-linker": "0.0.306",
53
52
  "@teambit/global-config": "0.0.1280",
54
53
  "@teambit/legacy.consumer-config": "0.0.78",
55
54
  "@teambit/variants": "0.0.1544",
@@ -63,6 +62,7 @@
63
62
  "@teambit/scope.remotes": "0.0.78",
64
63
  "@teambit/toolbox.path.is-path-inside": "0.0.503",
65
64
  "@teambit/workspace.modules.match-pattern": "0.0.515",
65
+ "@teambit/component.ui.component-drawer": "0.0.468",
66
66
  "@teambit/design.ui.tree": "0.0.16",
67
67
  "@teambit/lanes.hooks.use-lane-components": "0.0.296",
68
68
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
@@ -70,6 +70,7 @@
70
70
  "@teambit/ui-foundation.ui.side-bar": "0.0.920",
71
71
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
72
72
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.239",
73
+ "@teambit/component.ui.component-filters.env-filter": "0.0.264",
73
74
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.232",
74
75
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
75
76
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
@@ -98,25 +99,24 @@
98
99
  "@teambit/scopes.scope-id": "0.0.9",
99
100
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
100
101
  "@teambit/workspace.ui.workspace-component-card": "0.0.563",
101
- "@teambit/component": "1.0.762",
102
- "@teambit/dependency-resolver": "1.0.762",
103
- "@teambit/envs": "1.0.762",
104
- "@teambit/objects": "0.0.269",
105
- "@teambit/scope": "1.0.762",
106
- "@teambit/graph": "1.0.762",
107
- "@teambit/isolator": "1.0.762",
108
- "@teambit/component-tree": "1.0.762",
109
- "@teambit/watcher": "1.0.762",
110
- "@teambit/aspect-loader": "1.0.762",
111
- "@teambit/graphql": "1.0.762",
112
- "@teambit/bundler": "1.0.762",
113
- "@teambit/ui": "1.0.762",
114
- "@teambit/component.ui.component-drawer": "0.0.468",
115
- "@teambit/command-bar": "1.0.762",
116
- "@teambit/component.ui.component-filters.env-filter": "0.0.264",
117
- "@teambit/sidebar": "1.0.762",
118
- "@teambit/pubsub": "1.0.762",
119
- "@teambit/deprecation": "1.0.762"
102
+ "@teambit/component": "1.0.763",
103
+ "@teambit/dependency-resolver": "1.0.763",
104
+ "@teambit/envs": "1.0.763",
105
+ "@teambit/objects": "0.0.270",
106
+ "@teambit/scope": "1.0.763",
107
+ "@teambit/graph": "1.0.763",
108
+ "@teambit/isolator": "1.0.763",
109
+ "@teambit/component-tree": "1.0.763",
110
+ "@teambit/watcher": "1.0.763",
111
+ "@teambit/aspect-loader": "1.0.763",
112
+ "@teambit/workspace.modules.node-modules-linker": "0.0.307",
113
+ "@teambit/graphql": "1.0.763",
114
+ "@teambit/bundler": "1.0.763",
115
+ "@teambit/ui": "1.0.763",
116
+ "@teambit/command-bar": "1.0.763",
117
+ "@teambit/sidebar": "1.0.763",
118
+ "@teambit/pubsub": "1.0.763",
119
+ "@teambit/deprecation": "1.0.763"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",