@teambit/workspace 1.0.654 → 1.0.656

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.654/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.654/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.656/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.656/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.654",
3
+ "version": "1.0.656",
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.654"
9
+ "version": "1.0.656"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -35,33 +35,21 @@
35
35
  "@teambit/toolbox.path.path": "0.0.8",
36
36
  "@teambit/graph.cleargraph": "0.0.11",
37
37
  "@teambit/component.ui.component-status-resolver": "0.0.510",
38
- "@teambit/legacy.constants": "0.0.12",
39
- "@teambit/harmony.modules.resolved-component": "0.0.502",
40
- "@teambit/legacy.utils": "0.0.21",
41
- "@teambit/harmony.modules.requireable-component": "0.0.502",
42
38
  "@teambit/toolbox.modules.module-resolver": "0.0.11",
43
- "@teambit/component-issues": "0.0.159",
44
39
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
45
- "@teambit/harmony.modules.in-memory-cache": "0.0.14",
46
40
  "@teambit/legacy-bit-id": "1.1.3",
47
41
  "@teambit/toolbox.path.is-path-inside": "0.0.500",
48
- "@teambit/workspace.modules.match-pattern": "0.0.509",
49
- "@teambit/component.ui.component-drawer": "0.0.449",
50
42
  "@teambit/design.ui.tree": "0.0.16",
51
43
  "@teambit/lanes.hooks.use-lane-components": "0.0.285",
52
44
  "@teambit/lanes.hooks.use-lanes": "0.0.289",
53
45
  "@teambit/lanes.ui.models.lanes-model": "0.0.228",
54
- "@teambit/ui-foundation.ui.side-bar": "0.0.911",
55
46
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.238",
56
47
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.236",
57
- "@teambit/component.ui.component-filters.env-filter": "0.0.253",
58
48
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.229",
59
49
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.12",
60
50
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.503",
61
51
  "@teambit/ui-foundation.ui.menu": "0.0.502",
62
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.516",
63
52
  "@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
64
- "@teambit/harmony.modules.concurrency": "0.0.13",
65
53
  "@teambit/toolbox.promise.map-pool": "0.0.6",
66
54
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
67
55
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
@@ -75,7 +63,6 @@
75
63
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
76
64
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
77
65
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
78
- "@teambit/cloud.hooks.use-cloud-scopes": "0.0.8",
79
66
  "@teambit/design.ui.tooltip": "0.0.378",
80
67
  "@teambit/explorer.ui.component-card": "0.0.50",
81
68
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
@@ -83,40 +70,53 @@
83
70
  "@teambit/scopes.scope-id": "0.0.7",
84
71
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
85
72
  "@teambit/workspace.ui.workspace-component-card": "0.0.551",
86
- "@teambit/component": "1.0.654",
87
- "@teambit/dependency-resolver": "1.0.654",
88
- "@teambit/envs": "1.0.654",
89
- "@teambit/legacy.extension-data": "0.0.58",
90
- "@teambit/legacy.scope": "0.0.56",
91
- "@teambit/legacy.consumer-component": "0.0.57",
92
- "@teambit/legacy.consumer": "0.0.56",
93
- "@teambit/legacy.bit-map": "0.0.113",
94
- "@teambit/logger": "0.0.1324",
95
- "@teambit/objects": "0.0.161",
96
- "@teambit/scope": "1.0.654",
97
- "@teambit/graph": "1.0.654",
98
- "@teambit/cli": "0.0.1231",
99
- "@teambit/isolator": "1.0.654",
100
- "@teambit/component-tree": "1.0.654",
101
- "@teambit/watcher": "1.0.654",
102
- "@teambit/aspect-loader": "1.0.654",
103
- "@teambit/config-store": "0.0.111",
104
- "@teambit/config": "0.0.1405",
105
- "@teambit/workspace.modules.node-modules-linker": "0.0.284",
106
- "@teambit/graphql": "1.0.654",
107
- "@teambit/bundler": "1.0.654",
108
- "@teambit/global-config": "0.0.1234",
109
- "@teambit/legacy.consumer-config": "0.0.56",
110
- "@teambit/ui": "1.0.654",
111
- "@teambit/variants": "0.0.1498",
112
- "@teambit/component.sources": "0.0.108",
113
- "@teambit/legacy.component-list": "0.0.110",
114
- "@teambit/legacy.scope-api": "0.0.111",
115
- "@teambit/scope.remotes": "0.0.56",
116
- "@teambit/command-bar": "1.0.654",
117
- "@teambit/sidebar": "1.0.654",
118
- "@teambit/pubsub": "1.0.654",
119
- "@teambit/deprecation": "1.0.654"
73
+ "@teambit/component": "1.0.656",
74
+ "@teambit/dependency-resolver": "1.0.656",
75
+ "@teambit/envs": "1.0.656",
76
+ "@teambit/legacy.extension-data": "0.0.59",
77
+ "@teambit/legacy.scope": "0.0.57",
78
+ "@teambit/legacy.consumer-component": "0.0.58",
79
+ "@teambit/legacy.consumer": "0.0.57",
80
+ "@teambit/legacy.bit-map": "0.0.114",
81
+ "@teambit/logger": "0.0.1326",
82
+ "@teambit/objects": "0.0.163",
83
+ "@teambit/scope": "1.0.656",
84
+ "@teambit/graph": "1.0.656",
85
+ "@teambit/cli": "0.0.1233",
86
+ "@teambit/isolator": "1.0.656",
87
+ "@teambit/component-tree": "1.0.656",
88
+ "@teambit/legacy.constants": "0.0.13",
89
+ "@teambit/harmony.modules.resolved-component": "0.0.503",
90
+ "@teambit/legacy.utils": "0.0.22",
91
+ "@teambit/watcher": "1.0.656",
92
+ "@teambit/aspect-loader": "1.0.656",
93
+ "@teambit/config-store": "0.0.113",
94
+ "@teambit/config": "0.0.1407",
95
+ "@teambit/harmony.modules.requireable-component": "0.0.503",
96
+ "@teambit/workspace.modules.node-modules-linker": "0.0.285",
97
+ "@teambit/graphql": "1.0.656",
98
+ "@teambit/bundler": "1.0.656",
99
+ "@teambit/global-config": "0.0.1236",
100
+ "@teambit/legacy.consumer-config": "0.0.57",
101
+ "@teambit/ui": "1.0.656",
102
+ "@teambit/variants": "0.0.1500",
103
+ "@teambit/component-issues": "0.0.160",
104
+ "@teambit/component.sources": "0.0.109",
105
+ "@teambit/harmony.modules.in-memory-cache": "0.0.15",
106
+ "@teambit/legacy.component-list": "0.0.111",
107
+ "@teambit/legacy.scope-api": "0.0.112",
108
+ "@teambit/scope.remotes": "0.0.57",
109
+ "@teambit/workspace.modules.match-pattern": "0.0.510",
110
+ "@teambit/component.ui.component-drawer": "0.0.450",
111
+ "@teambit/ui-foundation.ui.side-bar": "0.0.912",
112
+ "@teambit/command-bar": "1.0.656",
113
+ "@teambit/component.ui.component-filters.env-filter": "0.0.254",
114
+ "@teambit/sidebar": "1.0.656",
115
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.517",
116
+ "@teambit/pubsub": "1.0.656",
117
+ "@teambit/harmony.modules.concurrency": "0.0.14",
118
+ "@teambit/deprecation": "1.0.656",
119
+ "@teambit/cloud.hooks.use-cloud-scopes": "0.0.9"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",