@teambit/workspace 1.0.705 → 1.0.706

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.705/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.705/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.706/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.706/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -7,21 +7,22 @@ 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;
10
11
  error?: import("@apollo/client").ApolloError | 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>;
14
+ variables: import("@apollo/client").OperationVariables | undefined;
18
15
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
19
16
  networkStatus: import("@apollo/client").NetworkStatus;
20
17
  called: boolean;
18
+ startPolling: (pollInterval: number) => void;
19
+ stopPolling: () => void;
20
+ updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
21
+ 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
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.705",
3
+ "version": "1.0.706",
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.705"
9
+ "version": "1.0.706"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -39,14 +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.1357",
43
+ "@teambit/cli": "0.0.1264",
42
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
43
45
  "@teambit/legacy.constants": "0.0.14",
44
46
  "@teambit/harmony.modules.resolved-component": "0.0.504",
45
47
  "@teambit/legacy.utils": "0.0.23",
48
+ "@teambit/config-store": "0.0.144",
49
+ "@teambit/config": "0.0.1438",
46
50
  "@teambit/harmony.modules.requireable-component": "0.0.504",
47
51
  "@teambit/toolbox.modules.module-resolver": "0.0.11",
48
52
  "@teambit/workspace.modules.node-modules-linker": "0.0.296",
53
+ "@teambit/global-config": "0.0.1267",
49
54
  "@teambit/legacy.consumer-config": "0.0.68",
55
+ "@teambit/variants": "0.0.1531",
50
56
  "@teambit/component-issues": "0.0.161",
51
57
  "@teambit/component.sources": "0.0.120",
52
58
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
@@ -57,7 +63,9 @@
57
63
  "@teambit/scope.remotes": "0.0.68",
58
64
  "@teambit/toolbox.path.is-path-inside": "0.0.500",
59
65
  "@teambit/workspace.modules.match-pattern": "0.0.510",
66
+ "@teambit/component.ui.component-drawer": "0.0.460",
60
67
  "@teambit/design.ui.tree": "0.0.16",
68
+ "@teambit/lanes.hooks.use-lane-components": "0.0.293",
61
69
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
62
70
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
63
71
  "@teambit/ui-foundation.ui.side-bar": "0.0.915",
@@ -74,6 +82,7 @@
74
82
  "@teambit/toolbox.promise.map-pool": "0.0.6",
75
83
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
76
84
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
85
+ "@teambit/component-descriptor": "0.0.443",
77
86
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
78
87
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
79
88
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
@@ -87,36 +96,27 @@
87
96
  "@teambit/design.ui.tooltip": "0.0.380",
88
97
  "@teambit/explorer.ui.component-card": "0.0.50",
89
98
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
99
+ "@teambit/preview.ui.preview-placeholder": "0.0.552",
90
100
  "@teambit/scopes.scope-id": "0.0.7",
91
101
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
92
- "@teambit/component": "1.0.705",
93
- "@teambit/dependency-resolver": "1.0.705",
94
- "@teambit/envs": "1.0.705",
95
- "@teambit/logger": "0.0.1357",
96
- "@teambit/objects": "0.0.212",
97
- "@teambit/scope": "1.0.705",
98
- "@teambit/graph": "1.0.705",
99
- "@teambit/cli": "0.0.1264",
100
- "@teambit/isolator": "1.0.705",
101
- "@teambit/component-tree": "1.0.705",
102
- "@teambit/watcher": "1.0.705",
103
- "@teambit/aspect-loader": "1.0.705",
104
- "@teambit/config-store": "0.0.144",
105
- "@teambit/config": "0.0.1438",
106
- "@teambit/graphql": "1.0.705",
107
- "@teambit/bundler": "1.0.705",
108
- "@teambit/global-config": "0.0.1267",
109
- "@teambit/ui": "1.0.705",
110
- "@teambit/variants": "0.0.1531",
111
- "@teambit/component.ui.component-drawer": "0.0.460",
112
- "@teambit/lanes.hooks.use-lane-components": "0.0.293",
113
- "@teambit/command-bar": "1.0.705",
114
- "@teambit/sidebar": "1.0.705",
115
- "@teambit/pubsub": "1.0.705",
116
- "@teambit/component-descriptor": "0.0.443",
117
- "@teambit/deprecation": "1.0.705",
118
- "@teambit/preview.ui.preview-placeholder": "0.0.552",
119
- "@teambit/workspace.ui.workspace-component-card": "0.0.559"
102
+ "@teambit/workspace.ui.workspace-component-card": "0.0.559",
103
+ "@teambit/component": "1.0.706",
104
+ "@teambit/dependency-resolver": "1.0.706",
105
+ "@teambit/envs": "1.0.706",
106
+ "@teambit/objects": "0.0.213",
107
+ "@teambit/scope": "1.0.706",
108
+ "@teambit/graph": "1.0.706",
109
+ "@teambit/isolator": "1.0.706",
110
+ "@teambit/component-tree": "1.0.706",
111
+ "@teambit/watcher": "1.0.706",
112
+ "@teambit/aspect-loader": "1.0.706",
113
+ "@teambit/graphql": "1.0.706",
114
+ "@teambit/bundler": "1.0.706",
115
+ "@teambit/ui": "1.0.706",
116
+ "@teambit/command-bar": "1.0.706",
117
+ "@teambit/sidebar": "1.0.706",
118
+ "@teambit/pubsub": "1.0.706",
119
+ "@teambit/deprecation": "1.0.706"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",