@teambit/workspace 1.0.824 → 1.0.826

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.824/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.824/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.826/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.826/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>;
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.824",
3
+ "version": "1.0.826",
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.824"
9
+ "version": "1.0.826"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -63,16 +63,8 @@
63
63
  "@teambit/scope.remotes": "0.0.88",
64
64
  "@teambit/toolbox.path.is-path-inside": "0.0.504",
65
65
  "@teambit/workspace.modules.match-pattern": "0.0.516",
66
- "@teambit/component.ui.component-drawer": "0.0.470",
67
66
  "@teambit/design.ui.tree": "0.0.16",
68
67
  "@teambit/lanes.hooks.use-lane-components": "0.0.297",
69
- "@teambit/lanes.hooks.use-lanes": "0.0.290",
70
- "@teambit/lanes.ui.models.lanes-model": "0.0.229",
71
- "@teambit/ui-foundation.ui.side-bar": "0.0.922",
72
- "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
73
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.240",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.266",
75
- "@teambit/component.ui.component-filters.show-main-filter": "0.0.233",
76
68
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
77
69
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
78
70
  "@teambit/ui-foundation.ui.menu": "0.0.503",
@@ -102,23 +94,31 @@
102
94
  "@teambit/scopes.scope-id": "0.0.9",
103
95
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
104
96
  "@teambit/workspace.ui.workspace-component-card": "0.0.565",
105
- "@teambit/component": "1.0.824",
106
- "@teambit/dependency-resolver": "1.0.824",
107
- "@teambit/envs": "1.0.824",
108
- "@teambit/objects": "0.0.331",
109
- "@teambit/scope": "1.0.824",
110
- "@teambit/graph": "1.0.824",
111
- "@teambit/isolator": "1.0.824",
112
- "@teambit/component-tree": "1.0.824",
113
- "@teambit/watcher": "1.0.824",
114
- "@teambit/aspect-loader": "1.0.824",
115
- "@teambit/graphql": "1.0.824",
116
- "@teambit/bundler": "1.0.824",
117
- "@teambit/ui": "1.0.824",
118
- "@teambit/command-bar": "1.0.824",
119
- "@teambit/sidebar": "1.0.824",
120
- "@teambit/pubsub": "1.0.824",
121
- "@teambit/deprecation": "1.0.824"
97
+ "@teambit/component": "1.0.826",
98
+ "@teambit/dependency-resolver": "1.0.826",
99
+ "@teambit/envs": "1.0.826",
100
+ "@teambit/objects": "0.0.333",
101
+ "@teambit/scope": "1.0.826",
102
+ "@teambit/graph": "1.0.826",
103
+ "@teambit/isolator": "1.0.826",
104
+ "@teambit/component-tree": "1.0.826",
105
+ "@teambit/watcher": "1.0.826",
106
+ "@teambit/aspect-loader": "1.0.826",
107
+ "@teambit/graphql": "1.0.826",
108
+ "@teambit/bundler": "1.0.826",
109
+ "@teambit/ui": "1.0.826",
110
+ "@teambit/component.ui.component-drawer": "0.0.472",
111
+ "@teambit/lanes.hooks.use-lanes": "0.0.292",
112
+ "@teambit/lanes.ui.models.lanes-model": "0.0.232",
113
+ "@teambit/ui-foundation.ui.side-bar": "0.0.924",
114
+ "@teambit/command-bar": "1.0.826",
115
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.241",
116
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.242",
117
+ "@teambit/component.ui.component-filters.env-filter": "0.0.268",
118
+ "@teambit/component.ui.component-filters.show-main-filter": "0.0.235",
119
+ "@teambit/sidebar": "1.0.826",
120
+ "@teambit/pubsub": "1.0.826",
121
+ "@teambit/deprecation": "1.0.826"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@types/lodash": "4.14.165",