@teambit/workspace 1.0.817 → 1.0.818

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.817/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.817/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.818/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.818/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.817",
3
+ "version": "1.0.818",
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.817"
9
+ "version": "1.0.818"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,22 +28,39 @@
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.90",
32
+ "@teambit/legacy.scope": "0.0.88",
31
33
  "@teambit/component-version": "1.0.4",
34
+ "@teambit/legacy.consumer-component": "0.0.89",
35
+ "@teambit/legacy.consumer": "0.0.88",
32
36
  "@teambit/bit-error": "0.0.404",
33
37
  "@teambit/lane-id": "0.0.312",
38
+ "@teambit/legacy.bit-map": "0.0.145",
34
39
  "@teambit/toolbox.fs.last-modified": "0.0.10",
35
40
  "@teambit/toolbox.path.path": "0.0.12",
36
41
  "@teambit/graph.cleargraph": "0.0.11",
42
+ "@teambit/logger": "0.0.1381",
43
+ "@teambit/cli": "0.0.1288",
37
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
38
45
  "@teambit/legacy.constants": "0.0.20",
39
46
  "@teambit/harmony.modules.resolved-component": "0.0.509",
40
47
  "@teambit/legacy.utils": "0.0.29",
48
+ "@teambit/config-store": "0.0.168",
49
+ "@teambit/config": "0.0.1462",
41
50
  "@teambit/harmony.modules.requireable-component": "0.0.509",
42
51
  "@teambit/toolbox.modules.module-resolver": "0.0.15",
52
+ "@teambit/workspace.modules.node-modules-linker": "0.0.317",
53
+ "@teambit/global-config": "0.0.1291",
54
+ "@teambit/legacy.consumer-config": "0.0.88",
55
+ "@teambit/variants": "0.0.1555",
43
56
  "@teambit/component-issues": "0.0.166",
57
+ "@teambit/component.sources": "0.0.140",
44
58
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
45
59
  "@teambit/harmony.modules.in-memory-cache": "0.0.24",
46
60
  "@teambit/legacy-bit-id": "1.1.3",
61
+ "@teambit/legacy.component-list": "0.0.142",
62
+ "@teambit/legacy.scope-api": "0.0.143",
63
+ "@teambit/scope.remotes": "0.0.88",
47
64
  "@teambit/toolbox.path.is-path-inside": "0.0.504",
48
65
  "@teambit/workspace.modules.match-pattern": "0.0.516",
49
66
  "@teambit/component.ui.component-drawer": "0.0.470",
@@ -85,40 +102,23 @@
85
102
  "@teambit/scopes.scope-id": "0.0.9",
86
103
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
87
104
  "@teambit/workspace.ui.workspace-component-card": "0.0.565",
88
- "@teambit/component": "1.0.817",
89
- "@teambit/dependency-resolver": "1.0.817",
90
- "@teambit/envs": "1.0.817",
91
- "@teambit/legacy.extension-data": "0.0.90",
92
- "@teambit/legacy.scope": "0.0.88",
93
- "@teambit/legacy.consumer-component": "0.0.89",
94
- "@teambit/legacy.consumer": "0.0.88",
95
- "@teambit/legacy.bit-map": "0.0.145",
96
- "@teambit/logger": "0.0.1381",
97
- "@teambit/objects": "0.0.324",
98
- "@teambit/scope": "1.0.817",
99
- "@teambit/graph": "1.0.817",
100
- "@teambit/cli": "0.0.1288",
101
- "@teambit/isolator": "1.0.817",
102
- "@teambit/component-tree": "1.0.817",
103
- "@teambit/watcher": "1.0.817",
104
- "@teambit/aspect-loader": "1.0.817",
105
- "@teambit/config-store": "0.0.168",
106
- "@teambit/config": "0.0.1462",
107
- "@teambit/workspace.modules.node-modules-linker": "0.0.317",
108
- "@teambit/graphql": "1.0.817",
109
- "@teambit/bundler": "1.0.817",
110
- "@teambit/global-config": "0.0.1291",
111
- "@teambit/legacy.consumer-config": "0.0.88",
112
- "@teambit/ui": "1.0.817",
113
- "@teambit/variants": "0.0.1555",
114
- "@teambit/component.sources": "0.0.140",
115
- "@teambit/legacy.component-list": "0.0.142",
116
- "@teambit/legacy.scope-api": "0.0.143",
117
- "@teambit/scope.remotes": "0.0.88",
118
- "@teambit/command-bar": "1.0.817",
119
- "@teambit/sidebar": "1.0.817",
120
- "@teambit/pubsub": "1.0.817",
121
- "@teambit/deprecation": "1.0.817"
105
+ "@teambit/component": "1.0.818",
106
+ "@teambit/dependency-resolver": "1.0.818",
107
+ "@teambit/envs": "1.0.818",
108
+ "@teambit/objects": "0.0.325",
109
+ "@teambit/scope": "1.0.818",
110
+ "@teambit/graph": "1.0.818",
111
+ "@teambit/isolator": "1.0.818",
112
+ "@teambit/component-tree": "1.0.818",
113
+ "@teambit/watcher": "1.0.818",
114
+ "@teambit/aspect-loader": "1.0.818",
115
+ "@teambit/graphql": "1.0.818",
116
+ "@teambit/bundler": "1.0.818",
117
+ "@teambit/ui": "1.0.818",
118
+ "@teambit/command-bar": "1.0.818",
119
+ "@teambit/sidebar": "1.0.818",
120
+ "@teambit/pubsub": "1.0.818",
121
+ "@teambit/deprecation": "1.0.818"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@types/lodash": "4.14.165",