@teambit/workspace 1.0.708 → 1.0.709

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.708/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.708/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.709/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.709/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -8,20 +8,21 @@ 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;
11
12
  loading: boolean;
12
- variables: import("@apollo/client").OperationVariables | undefined;
13
- startPolling: (pollInterval: number) => void;
14
- stopPolling: () => void;
15
- updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
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
13
  client: import("@apollo/client").ApolloClient<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.708",
3
+ "version": "1.0.709",
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.708"
9
+ "version": "1.0.709"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,58 +28,25 @@
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.70",
32
- "@teambit/legacy.scope": "0.0.68",
33
31
  "@teambit/component-version": "1.0.4",
34
- "@teambit/legacy.consumer-component": "0.0.69",
35
- "@teambit/legacy.consumer": "0.0.68",
36
32
  "@teambit/bit-error": "0.0.404",
37
33
  "@teambit/lane-id": "0.0.312",
38
- "@teambit/legacy.bit-map": "0.0.125",
39
- "@teambit/toolbox.fs.last-modified": "0.0.6",
40
- "@teambit/toolbox.path.path": "0.0.8",
41
34
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1357",
43
- "@teambit/cli": "0.0.1264",
44
35
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
- "@teambit/legacy.constants": "0.0.14",
46
- "@teambit/harmony.modules.resolved-component": "0.0.504",
47
- "@teambit/legacy.utils": "0.0.23",
48
- "@teambit/config-store": "0.0.144",
49
- "@teambit/config": "0.0.1438",
50
- "@teambit/harmony.modules.requireable-component": "0.0.504",
51
- "@teambit/toolbox.modules.module-resolver": "0.0.11",
52
- "@teambit/workspace.modules.node-modules-linker": "0.0.296",
53
- "@teambit/global-config": "0.0.1267",
54
- "@teambit/legacy.consumer-config": "0.0.68",
55
- "@teambit/variants": "0.0.1531",
56
- "@teambit/component-issues": "0.0.161",
57
- "@teambit/component.sources": "0.0.120",
58
36
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
59
- "@teambit/harmony.modules.in-memory-cache": "0.0.17",
60
37
  "@teambit/legacy-bit-id": "1.1.3",
61
- "@teambit/legacy.component-list": "0.0.122",
62
- "@teambit/legacy.scope-api": "0.0.123",
63
- "@teambit/scope.remotes": "0.0.68",
64
- "@teambit/toolbox.path.is-path-inside": "0.0.500",
65
- "@teambit/workspace.modules.match-pattern": "0.0.510",
66
- "@teambit/component.ui.component-drawer": "0.0.460",
67
38
  "@teambit/design.ui.tree": "0.0.16",
68
39
  "@teambit/lanes.hooks.use-lane-components": "0.0.293",
69
40
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
70
41
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
71
- "@teambit/ui-foundation.ui.side-bar": "0.0.915",
72
42
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
73
43
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.237",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.257",
75
44
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.230",
76
45
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
77
46
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.503",
78
47
  "@teambit/ui-foundation.ui.menu": "0.0.502",
79
48
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.518",
80
49
  "@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
81
- "@teambit/harmony.modules.concurrency": "0.0.15",
82
- "@teambit/toolbox.promise.map-pool": "0.0.6",
83
50
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
84
51
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
85
52
  "@teambit/component-descriptor": "0.0.443",
@@ -92,31 +59,64 @@
92
59
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
93
60
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
94
61
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
95
- "@teambit/cloud.hooks.use-cloud-scopes": "0.0.9",
96
62
  "@teambit/design.ui.tooltip": "0.0.380",
97
63
  "@teambit/explorer.ui.component-card": "0.0.50",
98
64
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
99
- "@teambit/preview.ui.preview-placeholder": "0.0.552",
100
65
  "@teambit/scopes.scope-id": "0.0.7",
101
66
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
102
67
  "@teambit/workspace.ui.workspace-component-card": "0.0.559",
103
- "@teambit/component": "1.0.708",
104
- "@teambit/dependency-resolver": "1.0.708",
105
- "@teambit/envs": "1.0.708",
106
- "@teambit/objects": "0.0.215",
107
- "@teambit/scope": "1.0.708",
108
- "@teambit/graph": "1.0.708",
109
- "@teambit/isolator": "1.0.708",
110
- "@teambit/component-tree": "1.0.708",
111
- "@teambit/watcher": "1.0.708",
112
- "@teambit/aspect-loader": "1.0.708",
113
- "@teambit/graphql": "1.0.708",
114
- "@teambit/bundler": "1.0.708",
115
- "@teambit/ui": "1.0.708",
116
- "@teambit/command-bar": "1.0.708",
117
- "@teambit/sidebar": "1.0.708",
118
- "@teambit/pubsub": "1.0.708",
119
- "@teambit/deprecation": "1.0.708"
68
+ "@teambit/component": "1.0.709",
69
+ "@teambit/dependency-resolver": "1.0.709",
70
+ "@teambit/envs": "1.0.709",
71
+ "@teambit/legacy.extension-data": "0.0.71",
72
+ "@teambit/legacy.scope": "0.0.69",
73
+ "@teambit/legacy.consumer-component": "0.0.70",
74
+ "@teambit/legacy.consumer": "0.0.69",
75
+ "@teambit/legacy.bit-map": "0.0.126",
76
+ "@teambit/toolbox.fs.last-modified": "0.0.7",
77
+ "@teambit/toolbox.path.path": "0.0.9",
78
+ "@teambit/logger": "0.0.1358",
79
+ "@teambit/objects": "0.0.216",
80
+ "@teambit/scope": "1.0.709",
81
+ "@teambit/graph": "1.0.709",
82
+ "@teambit/cli": "0.0.1265",
83
+ "@teambit/isolator": "1.0.709",
84
+ "@teambit/component-tree": "1.0.709",
85
+ "@teambit/legacy.constants": "0.0.15",
86
+ "@teambit/harmony.modules.resolved-component": "0.0.505",
87
+ "@teambit/legacy.utils": "0.0.24",
88
+ "@teambit/watcher": "1.0.709",
89
+ "@teambit/aspect-loader": "1.0.709",
90
+ "@teambit/config-store": "0.0.145",
91
+ "@teambit/config": "0.0.1439",
92
+ "@teambit/harmony.modules.requireable-component": "0.0.505",
93
+ "@teambit/toolbox.modules.module-resolver": "0.0.12",
94
+ "@teambit/workspace.modules.node-modules-linker": "0.0.297",
95
+ "@teambit/graphql": "1.0.709",
96
+ "@teambit/bundler": "1.0.709",
97
+ "@teambit/global-config": "0.0.1268",
98
+ "@teambit/legacy.consumer-config": "0.0.69",
99
+ "@teambit/ui": "1.0.709",
100
+ "@teambit/variants": "0.0.1532",
101
+ "@teambit/component-issues": "0.0.162",
102
+ "@teambit/component.sources": "0.0.121",
103
+ "@teambit/harmony.modules.in-memory-cache": "0.0.18",
104
+ "@teambit/legacy.component-list": "0.0.123",
105
+ "@teambit/legacy.scope-api": "0.0.124",
106
+ "@teambit/scope.remotes": "0.0.69",
107
+ "@teambit/toolbox.path.is-path-inside": "0.0.501",
108
+ "@teambit/workspace.modules.match-pattern": "0.0.511",
109
+ "@teambit/component.ui.component-drawer": "0.0.461",
110
+ "@teambit/ui-foundation.ui.side-bar": "0.0.916",
111
+ "@teambit/command-bar": "1.0.709",
112
+ "@teambit/component.ui.component-filters.env-filter": "0.0.258",
113
+ "@teambit/sidebar": "1.0.709",
114
+ "@teambit/pubsub": "1.0.709",
115
+ "@teambit/harmony.modules.concurrency": "0.0.16",
116
+ "@teambit/toolbox.promise.map-pool": "0.0.7",
117
+ "@teambit/deprecation": "1.0.709",
118
+ "@teambit/cloud.hooks.use-cloud-scopes": "0.0.10",
119
+ "@teambit/preview.ui.preview-placeholder": "0.0.553"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",