@teambit/workspace 1.0.940 → 1.0.941

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.940/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.940/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.941/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.941/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
  client: import("@apollo/client").ApolloClient<any>;
12
13
  loading: boolean;
13
- variables: import("@apollo/client").OperationVariables | undefined;
14
- startPolling: (pollInterval: number) => void;
15
- stopPolling: () => void;
16
- updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
17
- reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<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.940",
3
+ "version": "1.0.941",
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.940"
9
+ "version": "1.0.941"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -39,15 +39,21 @@
39
39
  "@teambit/toolbox.fs.last-modified": "0.0.14",
40
40
  "@teambit/toolbox.path.path": "0.0.16",
41
41
  "@teambit/graph.cleargraph": "0.0.11",
42
+ "@teambit/logger": "0.0.1408",
43
+ "@teambit/cli": "0.0.1315",
42
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
43
45
  "@teambit/legacy.constants": "0.0.26",
44
46
  "@teambit/harmony.modules.resolved-component": "0.0.513",
45
47
  "@teambit/legacy.utils": "0.0.34",
46
48
  "@teambit/scope.remotes": "0.0.107",
49
+ "@teambit/config-store": "0.0.195",
50
+ "@teambit/config": "0.0.1490",
47
51
  "@teambit/harmony.modules.requireable-component": "0.0.513",
48
52
  "@teambit/toolbox.modules.module-resolver": "0.0.19",
49
53
  "@teambit/workspace.modules.node-modules-linker": "0.0.337",
54
+ "@teambit/global-config": "0.0.1318",
50
55
  "@teambit/legacy.consumer-config": "0.0.107",
56
+ "@teambit/variants": "0.0.1583",
51
57
  "@teambit/component-issues": "0.0.171",
52
58
  "@teambit/component.sources": "0.0.159",
53
59
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
@@ -57,16 +63,12 @@
57
63
  "@teambit/legacy.scope-api": "0.0.162",
58
64
  "@teambit/toolbox.path.is-path-inside": "0.0.508",
59
65
  "@teambit/workspace.modules.match-pattern": "0.0.520",
60
- "@teambit/component.ui.component-drawer": "0.0.478",
61
66
  "@teambit/lanes.hooks.use-lane-components": "0.0.300",
62
67
  "@teambit/lanes.hooks.use-lanes": "0.0.292",
63
68
  "@teambit/lanes.ui.models.lanes-model": "0.0.232",
64
- "@teambit/ui-foundation.ui.side-bar": "0.0.930",
65
69
  "@teambit/design.ui.tree": "0.0.16",
66
70
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.241",
67
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.242",
68
71
  "@teambit/component.ui.component-filters.env-filter": "0.0.272",
69
- "@teambit/component.ui.component-filters.show-main-filter": "0.0.235",
70
72
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
71
73
  "@teambit/ui-foundation.ui.menu": "0.0.503",
72
74
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.522",
@@ -79,7 +81,7 @@
79
81
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
80
82
  "@teambit/component-descriptor": "0.0.450",
81
83
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
82
- "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
84
+ "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.1",
83
85
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
84
86
  "@teambit/ui-foundation.ui.buttons.collapser": "0.0.233",
85
87
  "@teambit/ui-foundation.ui.corner": "0.0.520",
@@ -89,39 +91,37 @@
89
91
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
90
92
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
91
93
  "@teambit/component.filters.base-filter": "0.0.6",
92
- "@teambit/design.inputs.toggle-button": "0.0.13",
94
+ "@teambit/design.inputs.toggle-button": "0.0.15",
93
95
  "@teambit/cloud.hooks.use-cloud-scopes": "0.0.19",
94
96
  "@teambit/design.ui.heading": "1.0.26",
95
97
  "@teambit/design.ui.tooltip": "0.0.382",
96
98
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
97
99
  "@teambit/preview.ui.preview-placeholder": "0.0.564",
98
100
  "@teambit/scopes.scope-id": "0.0.9",
99
- "@teambit/workspace.ui.workspace-component-card": "0.0.568",
100
- "@teambit/explorer.ui.component-card": "0.0.51",
101
+ "@teambit/explorer.ui.component-card": "0.0.52",
101
102
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
102
- "@teambit/component": "1.0.940",
103
- "@teambit/dependency-resolver": "1.0.940",
104
- "@teambit/envs": "1.0.940",
105
- "@teambit/logger": "0.0.1408",
106
- "@teambit/objects": "0.0.447",
107
- "@teambit/scope": "1.0.940",
108
- "@teambit/graph": "1.0.940",
109
- "@teambit/cli": "0.0.1315",
110
- "@teambit/isolator": "1.0.940",
111
- "@teambit/component-tree": "1.0.940",
112
- "@teambit/watcher": "1.0.940",
113
- "@teambit/aspect-loader": "1.0.940",
114
- "@teambit/config-store": "0.0.195",
115
- "@teambit/config": "0.0.1490",
116
- "@teambit/graphql": "1.0.940",
117
- "@teambit/bundler": "1.0.940",
118
- "@teambit/global-config": "0.0.1318",
119
- "@teambit/ui": "1.0.940",
120
- "@teambit/variants": "0.0.1583",
121
- "@teambit/command-bar": "1.0.940",
122
- "@teambit/sidebar": "1.0.940",
123
- "@teambit/pubsub": "1.0.940",
124
- "@teambit/deprecation": "1.0.940"
103
+ "@teambit/component": "1.0.941",
104
+ "@teambit/dependency-resolver": "1.0.941",
105
+ "@teambit/envs": "1.0.941",
106
+ "@teambit/objects": "0.0.448",
107
+ "@teambit/scope": "1.0.941",
108
+ "@teambit/graph": "1.0.941",
109
+ "@teambit/isolator": "1.0.941",
110
+ "@teambit/component-tree": "1.0.941",
111
+ "@teambit/watcher": "1.0.941",
112
+ "@teambit/aspect-loader": "1.0.941",
113
+ "@teambit/graphql": "1.0.941",
114
+ "@teambit/bundler": "1.0.941",
115
+ "@teambit/ui": "1.0.941",
116
+ "@teambit/component.ui.component-drawer": "0.0.479",
117
+ "@teambit/ui-foundation.ui.side-bar": "0.0.931",
118
+ "@teambit/command-bar": "1.0.941",
119
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.243",
120
+ "@teambit/component.ui.component-filters.show-main-filter": "0.0.236",
121
+ "@teambit/sidebar": "1.0.941",
122
+ "@teambit/pubsub": "1.0.941",
123
+ "@teambit/deprecation": "1.0.941",
124
+ "@teambit/workspace.ui.workspace-component-card": "0.0.569"
125
125
  },
126
126
  "devDependencies": {
127
127
  "@types/lodash": "4.14.165",