@teambit/workspace 1.0.825 → 1.0.827

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.825/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.825/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.827/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.827/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;
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>>;
13
17
  client: import("@apollo/client").ApolloClient<any>;
14
18
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
15
19
  networkStatus: import("@apollo/client").NetworkStatus;
16
20
  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;
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.825",
3
+ "version": "1.0.827",
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.825"
9
+ "version": "1.0.827"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,43 +28,34 @@
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",
33
31
  "@teambit/component-version": "1.0.4",
34
- "@teambit/legacy.consumer-component": "0.0.89",
35
- "@teambit/legacy.consumer": "0.0.88",
36
32
  "@teambit/bit-error": "0.0.404",
37
33
  "@teambit/lane-id": "0.0.312",
38
- "@teambit/legacy.bit-map": "0.0.145",
39
34
  "@teambit/toolbox.fs.last-modified": "0.0.10",
40
35
  "@teambit/toolbox.path.path": "0.0.12",
41
36
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1381",
43
- "@teambit/cli": "0.0.1288",
44
37
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
38
  "@teambit/legacy.constants": "0.0.20",
46
39
  "@teambit/harmony.modules.resolved-component": "0.0.509",
47
40
  "@teambit/legacy.utils": "0.0.29",
48
- "@teambit/config-store": "0.0.168",
49
- "@teambit/config": "0.0.1462",
50
41
  "@teambit/harmony.modules.requireable-component": "0.0.509",
51
42
  "@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",
56
43
  "@teambit/component-issues": "0.0.166",
57
- "@teambit/component.sources": "0.0.140",
58
44
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
59
45
  "@teambit/harmony.modules.in-memory-cache": "0.0.24",
60
46
  "@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",
64
47
  "@teambit/toolbox.path.is-path-inside": "0.0.504",
65
48
  "@teambit/workspace.modules.match-pattern": "0.0.516",
49
+ "@teambit/component.ui.component-drawer": "0.0.472",
66
50
  "@teambit/design.ui.tree": "0.0.16",
67
51
  "@teambit/lanes.hooks.use-lane-components": "0.0.297",
52
+ "@teambit/lanes.hooks.use-lanes": "0.0.292",
53
+ "@teambit/lanes.ui.models.lanes-model": "0.0.232",
54
+ "@teambit/ui-foundation.ui.side-bar": "0.0.924",
55
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.241",
56
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.242",
57
+ "@teambit/component.ui.component-filters.env-filter": "0.0.268",
58
+ "@teambit/component.ui.component-filters.show-main-filter": "0.0.235",
68
59
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
69
60
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
70
61
  "@teambit/ui-foundation.ui.menu": "0.0.503",
@@ -94,31 +85,40 @@
94
85
  "@teambit/scopes.scope-id": "0.0.9",
95
86
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
96
87
  "@teambit/workspace.ui.workspace-component-card": "0.0.565",
97
- "@teambit/component": "1.0.825",
98
- "@teambit/dependency-resolver": "1.0.825",
99
- "@teambit/envs": "1.0.825",
100
- "@teambit/objects": "0.0.332",
101
- "@teambit/scope": "1.0.825",
102
- "@teambit/graph": "1.0.825",
103
- "@teambit/isolator": "1.0.825",
104
- "@teambit/component-tree": "1.0.825",
105
- "@teambit/watcher": "1.0.825",
106
- "@teambit/aspect-loader": "1.0.825",
107
- "@teambit/graphql": "1.0.825",
108
- "@teambit/bundler": "1.0.825",
109
- "@teambit/ui": "1.0.825",
110
- "@teambit/component.ui.component-drawer": "0.0.471",
111
- "@teambit/lanes.hooks.use-lanes": "0.0.291",
112
- "@teambit/lanes.ui.models.lanes-model": "0.0.231",
113
- "@teambit/ui-foundation.ui.side-bar": "0.0.923",
114
- "@teambit/command-bar": "1.0.825",
115
- "@teambit/component.ui.component-filters.component-filter-context": "0.0.240",
116
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.241",
117
- "@teambit/component.ui.component-filters.env-filter": "0.0.267",
118
- "@teambit/component.ui.component-filters.show-main-filter": "0.0.234",
119
- "@teambit/sidebar": "1.0.825",
120
- "@teambit/pubsub": "1.0.825",
121
- "@teambit/deprecation": "1.0.825"
88
+ "@teambit/component": "1.0.827",
89
+ "@teambit/dependency-resolver": "1.0.827",
90
+ "@teambit/envs": "1.0.827",
91
+ "@teambit/legacy.extension-data": "0.0.91",
92
+ "@teambit/legacy.scope": "0.0.89",
93
+ "@teambit/legacy.consumer-component": "0.0.90",
94
+ "@teambit/legacy.consumer": "0.0.89",
95
+ "@teambit/legacy.bit-map": "0.0.146",
96
+ "@teambit/logger": "0.0.1382",
97
+ "@teambit/objects": "0.0.334",
98
+ "@teambit/scope": "1.0.827",
99
+ "@teambit/graph": "1.0.827",
100
+ "@teambit/cli": "0.0.1289",
101
+ "@teambit/isolator": "1.0.827",
102
+ "@teambit/component-tree": "1.0.827",
103
+ "@teambit/watcher": "1.0.827",
104
+ "@teambit/aspect-loader": "1.0.827",
105
+ "@teambit/config-store": "0.0.169",
106
+ "@teambit/config": "0.0.1463",
107
+ "@teambit/workspace.modules.node-modules-linker": "0.0.318",
108
+ "@teambit/graphql": "1.0.827",
109
+ "@teambit/bundler": "1.0.827",
110
+ "@teambit/global-config": "0.0.1292",
111
+ "@teambit/legacy.consumer-config": "0.0.89",
112
+ "@teambit/ui": "1.0.827",
113
+ "@teambit/variants": "0.0.1556",
114
+ "@teambit/component.sources": "0.0.141",
115
+ "@teambit/legacy.component-list": "0.0.143",
116
+ "@teambit/legacy.scope-api": "0.0.144",
117
+ "@teambit/scope.remotes": "0.0.89",
118
+ "@teambit/command-bar": "1.0.827",
119
+ "@teambit/sidebar": "1.0.827",
120
+ "@teambit/pubsub": "1.0.827",
121
+ "@teambit/deprecation": "1.0.827"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@types/lodash": "4.14.165",