@teambit/workspace 1.0.687 → 1.0.689

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.687/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.687/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.689/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.689/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.687",
3
+ "version": "1.0.689",
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.687"
9
+ "version": "1.0.689"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -39,20 +39,20 @@
39
39
  "@teambit/toolbox.fs.last-modified": "0.0.6",
40
40
  "@teambit/toolbox.path.path": "0.0.8",
41
41
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1347",
43
- "@teambit/cli": "0.0.1254",
42
+ "@teambit/logger": "0.0.1348",
43
+ "@teambit/cli": "0.0.1255",
44
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
45
  "@teambit/legacy.constants": "0.0.14",
46
46
  "@teambit/harmony.modules.resolved-component": "0.0.504",
47
47
  "@teambit/legacy.utils": "0.0.23",
48
- "@teambit/config-store": "0.0.134",
49
- "@teambit/config": "0.0.1428",
48
+ "@teambit/config-store": "0.0.135",
49
+ "@teambit/config": "0.0.1429",
50
50
  "@teambit/harmony.modules.requireable-component": "0.0.504",
51
51
  "@teambit/toolbox.modules.module-resolver": "0.0.11",
52
52
  "@teambit/workspace.modules.node-modules-linker": "0.0.292",
53
- "@teambit/global-config": "0.0.1257",
53
+ "@teambit/global-config": "0.0.1258",
54
54
  "@teambit/legacy.consumer-config": "0.0.64",
55
- "@teambit/variants": "0.0.1521",
55
+ "@teambit/variants": "0.0.1522",
56
56
  "@teambit/component-issues": "0.0.161",
57
57
  "@teambit/component.sources": "0.0.116",
58
58
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
@@ -63,9 +63,9 @@
63
63
  "@teambit/scope.remotes": "0.0.64",
64
64
  "@teambit/toolbox.path.is-path-inside": "0.0.500",
65
65
  "@teambit/workspace.modules.match-pattern": "0.0.510",
66
- "@teambit/component.ui.component-drawer": "0.0.452",
66
+ "@teambit/component.ui.component-drawer": "0.0.453",
67
67
  "@teambit/design.ui.tree": "0.0.16",
68
- "@teambit/lanes.hooks.use-lane-components": "0.0.287",
68
+ "@teambit/lanes.hooks.use-lane-components": "0.0.288",
69
69
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
70
70
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
71
71
  "@teambit/ui-foundation.ui.side-bar": "0.0.914",
@@ -82,11 +82,12 @@
82
82
  "@teambit/toolbox.promise.map-pool": "0.0.6",
83
83
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
84
84
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
85
- "@teambit/component-descriptor": "0.0.437",
85
+ "@teambit/component-descriptor": "0.0.438",
86
86
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
87
87
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
88
88
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
89
89
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
90
+ "@teambit/ui-foundation.ui.buttons.collapser": "0.0.230",
90
91
  "@teambit/ui-foundation.ui.corner": "0.0.520",
91
92
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
92
93
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
@@ -95,28 +96,27 @@
95
96
  "@teambit/design.ui.tooltip": "0.0.379",
96
97
  "@teambit/explorer.ui.component-card": "0.0.50",
97
98
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
98
- "@teambit/preview.ui.preview-placeholder": "0.0.546",
99
+ "@teambit/preview.ui.preview-placeholder": "0.0.547",
99
100
  "@teambit/scopes.scope-id": "0.0.7",
100
101
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
101
- "@teambit/workspace.ui.workspace-component-card": "0.0.553",
102
- "@teambit/component": "1.0.687",
103
- "@teambit/dependency-resolver": "1.0.687",
104
- "@teambit/envs": "1.0.687",
105
- "@teambit/objects": "0.0.194",
106
- "@teambit/scope": "1.0.687",
107
- "@teambit/graph": "1.0.687",
108
- "@teambit/isolator": "1.0.687",
109
- "@teambit/component-tree": "1.0.687",
110
- "@teambit/watcher": "1.0.687",
111
- "@teambit/aspect-loader": "1.0.687",
112
- "@teambit/graphql": "1.0.687",
113
- "@teambit/bundler": "1.0.687",
114
- "@teambit/ui": "1.0.687",
115
- "@teambit/command-bar": "1.0.687",
116
- "@teambit/sidebar": "1.0.687",
117
- "@teambit/pubsub": "1.0.687",
118
- "@teambit/deprecation": "1.0.687",
119
- "@teambit/ui-foundation.ui.buttons.collapser": "0.0.230"
102
+ "@teambit/workspace.ui.workspace-component-card": "0.0.554",
103
+ "@teambit/component": "1.0.689",
104
+ "@teambit/dependency-resolver": "1.0.689",
105
+ "@teambit/envs": "1.0.689",
106
+ "@teambit/objects": "0.0.196",
107
+ "@teambit/scope": "1.0.689",
108
+ "@teambit/graph": "1.0.689",
109
+ "@teambit/isolator": "1.0.689",
110
+ "@teambit/component-tree": "1.0.689",
111
+ "@teambit/watcher": "1.0.689",
112
+ "@teambit/aspect-loader": "1.0.689",
113
+ "@teambit/graphql": "1.0.689",
114
+ "@teambit/bundler": "1.0.689",
115
+ "@teambit/ui": "1.0.689",
116
+ "@teambit/command-bar": "1.0.689",
117
+ "@teambit/sidebar": "1.0.689",
118
+ "@teambit/pubsub": "1.0.689",
119
+ "@teambit/deprecation": "1.0.689"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",
@@ -129,7 +129,7 @@
129
129
  "@types/pluralize": "0.0.29",
130
130
  "@types/mocha": "9.1.0",
131
131
  "@teambit/workspace.content.workspace-overview": "1.95.0",
132
- "@teambit/harmony.envs.core-aspect-env": "0.0.72"
132
+ "@teambit/harmony.envs.core-aspect-env": "0.0.73"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "@apollo/client": "^3.6.0",