@teambit/workspace 1.0.698 → 1.0.700

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.698/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.698/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.700/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.700/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -7,22 +7,21 @@ 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;
11
10
  error?: import("@apollo/client").ApolloError | 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.698",
3
+ "version": "1.0.700",
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.698"
9
+ "version": "1.0.700"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,39 +28,22 @@
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.67",
32
- "@teambit/legacy.scope": "0.0.65",
33
31
  "@teambit/component-version": "1.0.4",
34
- "@teambit/legacy.consumer-component": "0.0.66",
35
- "@teambit/legacy.consumer": "0.0.65",
36
32
  "@teambit/bit-error": "0.0.404",
37
33
  "@teambit/lane-id": "0.0.312",
38
- "@teambit/legacy.bit-map": "0.0.122",
39
34
  "@teambit/toolbox.fs.last-modified": "0.0.6",
40
35
  "@teambit/toolbox.path.path": "0.0.8",
41
36
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1351",
43
- "@teambit/cli": "0.0.1258",
44
37
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
38
  "@teambit/legacy.constants": "0.0.14",
46
39
  "@teambit/harmony.modules.resolved-component": "0.0.504",
47
40
  "@teambit/legacy.utils": "0.0.23",
48
- "@teambit/config-store": "0.0.138",
49
- "@teambit/config": "0.0.1432",
50
41
  "@teambit/harmony.modules.requireable-component": "0.0.504",
51
42
  "@teambit/toolbox.modules.module-resolver": "0.0.11",
52
- "@teambit/workspace.modules.node-modules-linker": "0.0.293",
53
- "@teambit/global-config": "0.0.1261",
54
- "@teambit/legacy.consumer-config": "0.0.65",
55
- "@teambit/variants": "0.0.1525",
56
43
  "@teambit/component-issues": "0.0.161",
57
- "@teambit/component.sources": "0.0.117",
58
44
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
59
45
  "@teambit/harmony.modules.in-memory-cache": "0.0.17",
60
46
  "@teambit/legacy-bit-id": "1.1.3",
61
- "@teambit/legacy.component-list": "0.0.119",
62
- "@teambit/legacy.scope-api": "0.0.120",
63
- "@teambit/scope.remotes": "0.0.65",
64
47
  "@teambit/toolbox.path.is-path-inside": "0.0.500",
65
48
  "@teambit/workspace.modules.match-pattern": "0.0.510",
66
49
  "@teambit/component.ui.component-drawer": "0.0.457",
@@ -100,23 +83,40 @@
100
83
  "@teambit/scopes.scope-id": "0.0.7",
101
84
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
102
85
  "@teambit/workspace.ui.workspace-component-card": "0.0.556",
103
- "@teambit/component": "1.0.698",
104
- "@teambit/dependency-resolver": "1.0.698",
105
- "@teambit/envs": "1.0.698",
106
- "@teambit/objects": "0.0.205",
107
- "@teambit/scope": "1.0.698",
108
- "@teambit/graph": "1.0.698",
109
- "@teambit/isolator": "1.0.698",
110
- "@teambit/component-tree": "1.0.698",
111
- "@teambit/watcher": "1.0.698",
112
- "@teambit/aspect-loader": "1.0.698",
113
- "@teambit/graphql": "1.0.698",
114
- "@teambit/bundler": "1.0.698",
115
- "@teambit/ui": "1.0.698",
116
- "@teambit/command-bar": "1.0.698",
117
- "@teambit/sidebar": "1.0.698",
118
- "@teambit/pubsub": "1.0.698",
119
- "@teambit/deprecation": "1.0.698"
86
+ "@teambit/component": "1.0.700",
87
+ "@teambit/dependency-resolver": "1.0.700",
88
+ "@teambit/envs": "1.0.700",
89
+ "@teambit/legacy.extension-data": "0.0.68",
90
+ "@teambit/legacy.scope": "0.0.66",
91
+ "@teambit/legacy.consumer-component": "0.0.67",
92
+ "@teambit/legacy.consumer": "0.0.66",
93
+ "@teambit/legacy.bit-map": "0.0.123",
94
+ "@teambit/logger": "0.0.1352",
95
+ "@teambit/objects": "0.0.207",
96
+ "@teambit/scope": "1.0.700",
97
+ "@teambit/graph": "1.0.700",
98
+ "@teambit/cli": "0.0.1259",
99
+ "@teambit/isolator": "1.0.700",
100
+ "@teambit/component-tree": "1.0.700",
101
+ "@teambit/watcher": "1.0.700",
102
+ "@teambit/aspect-loader": "1.0.700",
103
+ "@teambit/config-store": "0.0.139",
104
+ "@teambit/config": "0.0.1433",
105
+ "@teambit/workspace.modules.node-modules-linker": "0.0.294",
106
+ "@teambit/graphql": "1.0.700",
107
+ "@teambit/bundler": "1.0.700",
108
+ "@teambit/global-config": "0.0.1262",
109
+ "@teambit/legacy.consumer-config": "0.0.66",
110
+ "@teambit/ui": "1.0.700",
111
+ "@teambit/variants": "0.0.1526",
112
+ "@teambit/component.sources": "0.0.118",
113
+ "@teambit/legacy.component-list": "0.0.120",
114
+ "@teambit/legacy.scope-api": "0.0.121",
115
+ "@teambit/scope.remotes": "0.0.66",
116
+ "@teambit/command-bar": "1.0.700",
117
+ "@teambit/sidebar": "1.0.700",
118
+ "@teambit/pubsub": "1.0.700",
119
+ "@teambit/deprecation": "1.0.700"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",