@teambit/workspace 1.0.686 → 1.0.687

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.686/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.686/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.687/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.687/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.686",
3
+ "version": "1.0.687",
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.686"
9
+ "version": "1.0.687"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -73,7 +73,7 @@
73
73
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.237",
74
74
  "@teambit/component.ui.component-filters.env-filter": "0.0.256",
75
75
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.230",
76
- "@teambit/design.ui.surfaces.menu.link-item": "1.0.12",
76
+ "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
77
77
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.503",
78
78
  "@teambit/ui-foundation.ui.menu": "0.0.502",
79
79
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.518",
@@ -87,7 +87,6 @@
87
87
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
88
88
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
89
89
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
90
- "@teambit/ui-foundation.ui.buttons.collapser": "0.0.229",
91
90
  "@teambit/ui-foundation.ui.corner": "0.0.520",
92
91
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
93
92
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
@@ -100,23 +99,24 @@
100
99
  "@teambit/scopes.scope-id": "0.0.7",
101
100
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
102
101
  "@teambit/workspace.ui.workspace-component-card": "0.0.553",
103
- "@teambit/component": "1.0.686",
104
- "@teambit/dependency-resolver": "1.0.686",
105
- "@teambit/envs": "1.0.686",
106
- "@teambit/objects": "0.0.193",
107
- "@teambit/scope": "1.0.686",
108
- "@teambit/graph": "1.0.686",
109
- "@teambit/isolator": "1.0.686",
110
- "@teambit/component-tree": "1.0.686",
111
- "@teambit/watcher": "1.0.686",
112
- "@teambit/aspect-loader": "1.0.686",
113
- "@teambit/graphql": "1.0.686",
114
- "@teambit/bundler": "1.0.686",
115
- "@teambit/ui": "1.0.686",
116
- "@teambit/command-bar": "1.0.686",
117
- "@teambit/sidebar": "1.0.686",
118
- "@teambit/pubsub": "1.0.686",
119
- "@teambit/deprecation": "1.0.686"
102
+ "@teambit/component": "1.0.687",
103
+ "@teambit/dependency-resolver": "1.0.687",
104
+ "@teambit/envs": "1.0.687",
105
+ "@teambit/objects": "0.0.194",
106
+ "@teambit/scope": "1.0.687",
107
+ "@teambit/graph": "1.0.687",
108
+ "@teambit/isolator": "1.0.687",
109
+ "@teambit/component-tree": "1.0.687",
110
+ "@teambit/watcher": "1.0.687",
111
+ "@teambit/aspect-loader": "1.0.687",
112
+ "@teambit/graphql": "1.0.687",
113
+ "@teambit/bundler": "1.0.687",
114
+ "@teambit/ui": "1.0.687",
115
+ "@teambit/command-bar": "1.0.687",
116
+ "@teambit/sidebar": "1.0.687",
117
+ "@teambit/pubsub": "1.0.687",
118
+ "@teambit/deprecation": "1.0.687",
119
+ "@teambit/ui-foundation.ui.buttons.collapser": "0.0.230"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",