@teambit/workspace 1.0.735 → 1.0.737

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.735/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.735/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.737/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.737/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -8,21 +8,20 @@ type UseWorkspaceOptions = {
8
8
  };
9
9
  export declare function useWorkspace(options?: UseWorkspaceOptions): {
10
10
  error?: import("@apollo/client").ApolloError | undefined;
11
- errors?: ReadonlyArray<import("graphql").GraphQLFormattedError> | 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.735",
3
+ "version": "1.0.737",
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.735"
9
+ "version": "1.0.737"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,16 +28,41 @@
28
28
  "reset-css": "5.0.1",
29
29
  "@teambit/component-id": "1.2.4",
30
30
  "@teambit/harmony": "0.4.7",
31
+ "@teambit/legacy.extension-data": "0.0.74",
32
+ "@teambit/legacy.scope": "0.0.72",
31
33
  "@teambit/component-version": "1.0.4",
34
+ "@teambit/legacy.consumer-component": "0.0.73",
35
+ "@teambit/legacy.consumer": "0.0.72",
32
36
  "@teambit/bit-error": "0.0.404",
33
37
  "@teambit/lane-id": "0.0.312",
38
+ "@teambit/legacy.bit-map": "0.0.129",
39
+ "@teambit/toolbox.fs.last-modified": "0.0.8",
40
+ "@teambit/toolbox.path.path": "0.0.10",
34
41
  "@teambit/graph.cleargraph": "0.0.11",
42
+ "@teambit/logger": "0.0.1364",
43
+ "@teambit/cli": "0.0.1271",
35
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
+ "@teambit/legacy.constants": "0.0.17",
36
46
  "@teambit/harmony.modules.resolved-component": "0.0.506",
47
+ "@teambit/legacy.utils": "0.0.26",
48
+ "@teambit/config-store": "0.0.151",
49
+ "@teambit/config": "0.0.1445",
37
50
  "@teambit/harmony.modules.requireable-component": "0.0.506",
51
+ "@teambit/toolbox.modules.module-resolver": "0.0.13",
52
+ "@teambit/workspace.modules.node-modules-linker": "0.0.300",
53
+ "@teambit/global-config": "0.0.1274",
54
+ "@teambit/legacy.consumer-config": "0.0.72",
55
+ "@teambit/variants": "0.0.1538",
38
56
  "@teambit/component-issues": "0.0.163",
57
+ "@teambit/component.sources": "0.0.124",
39
58
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
59
+ "@teambit/harmony.modules.in-memory-cache": "0.0.20",
40
60
  "@teambit/legacy-bit-id": "1.1.3",
61
+ "@teambit/legacy.component-list": "0.0.126",
62
+ "@teambit/legacy.scope-api": "0.0.127",
63
+ "@teambit/scope.remotes": "0.0.72",
64
+ "@teambit/toolbox.path.is-path-inside": "0.0.502",
65
+ "@teambit/workspace.modules.match-pattern": "0.0.513",
41
66
  "@teambit/component.ui.component-drawer": "0.0.465",
42
67
  "@teambit/design.ui.tree": "0.0.16",
43
68
  "@teambit/lanes.hooks.use-lane-components": "0.0.295",
@@ -53,6 +78,8 @@
53
78
  "@teambit/ui-foundation.ui.menu": "0.0.502",
54
79
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.518",
55
80
  "@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
81
+ "@teambit/harmony.modules.concurrency": "0.0.18",
82
+ "@teambit/toolbox.promise.map-pool": "0.0.8",
56
83
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
57
84
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
58
85
  "@teambit/component-descriptor": "0.0.445",
@@ -69,54 +96,27 @@
69
96
  "@teambit/design.ui.tooltip": "0.0.381",
70
97
  "@teambit/explorer.ui.component-card": "0.0.51",
71
98
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
99
+ "@teambit/preview.ui.preview-placeholder": "0.0.557",
72
100
  "@teambit/scopes.scope-id": "0.0.9",
73
101
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
74
102
  "@teambit/workspace.ui.workspace-component-card": "0.0.562",
75
- "@teambit/component": "1.0.735",
76
- "@teambit/dependency-resolver": "1.0.735",
77
- "@teambit/envs": "1.0.735",
78
- "@teambit/legacy.extension-data": "0.0.74",
79
- "@teambit/legacy.scope": "0.0.72",
80
- "@teambit/legacy.consumer-component": "0.0.73",
81
- "@teambit/legacy.consumer": "0.0.72",
82
- "@teambit/legacy.bit-map": "0.0.129",
83
- "@teambit/toolbox.fs.last-modified": "0.0.8",
84
- "@teambit/toolbox.path.path": "0.0.10",
85
- "@teambit/logger": "0.0.1364",
86
- "@teambit/objects": "0.0.242",
87
- "@teambit/scope": "1.0.735",
88
- "@teambit/graph": "1.0.735",
89
- "@teambit/cli": "0.0.1271",
90
- "@teambit/isolator": "1.0.735",
91
- "@teambit/component-tree": "1.0.735",
92
- "@teambit/legacy.constants": "0.0.17",
93
- "@teambit/legacy.utils": "0.0.26",
94
- "@teambit/watcher": "1.0.735",
95
- "@teambit/aspect-loader": "1.0.735",
96
- "@teambit/config-store": "0.0.151",
97
- "@teambit/config": "0.0.1445",
98
- "@teambit/toolbox.modules.module-resolver": "0.0.13",
99
- "@teambit/workspace.modules.node-modules-linker": "0.0.300",
100
- "@teambit/graphql": "1.0.735",
101
- "@teambit/bundler": "1.0.735",
102
- "@teambit/global-config": "0.0.1274",
103
- "@teambit/legacy.consumer-config": "0.0.72",
104
- "@teambit/ui": "1.0.735",
105
- "@teambit/variants": "0.0.1538",
106
- "@teambit/component.sources": "0.0.124",
107
- "@teambit/harmony.modules.in-memory-cache": "0.0.20",
108
- "@teambit/legacy.component-list": "0.0.126",
109
- "@teambit/legacy.scope-api": "0.0.127",
110
- "@teambit/scope.remotes": "0.0.72",
111
- "@teambit/toolbox.path.is-path-inside": "0.0.502",
112
- "@teambit/workspace.modules.match-pattern": "0.0.513",
113
- "@teambit/command-bar": "1.0.735",
114
- "@teambit/sidebar": "1.0.735",
115
- "@teambit/pubsub": "1.0.735",
116
- "@teambit/harmony.modules.concurrency": "0.0.18",
117
- "@teambit/toolbox.promise.map-pool": "0.0.8",
118
- "@teambit/deprecation": "1.0.735",
119
- "@teambit/preview.ui.preview-placeholder": "0.0.557"
103
+ "@teambit/component": "1.0.737",
104
+ "@teambit/dependency-resolver": "1.0.737",
105
+ "@teambit/envs": "1.0.737",
106
+ "@teambit/objects": "0.0.244",
107
+ "@teambit/scope": "1.0.737",
108
+ "@teambit/graph": "1.0.737",
109
+ "@teambit/isolator": "1.0.737",
110
+ "@teambit/component-tree": "1.0.737",
111
+ "@teambit/watcher": "1.0.737",
112
+ "@teambit/aspect-loader": "1.0.737",
113
+ "@teambit/graphql": "1.0.737",
114
+ "@teambit/bundler": "1.0.737",
115
+ "@teambit/ui": "1.0.737",
116
+ "@teambit/command-bar": "1.0.737",
117
+ "@teambit/sidebar": "1.0.737",
118
+ "@teambit/pubsub": "1.0.737",
119
+ "@teambit/deprecation": "1.0.737"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",