@teambit/workspace 1.0.971 → 1.0.972

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.971/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.971/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.972/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.972/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
14
  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
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.971",
3
+ "version": "1.0.972",
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.971"
9
+ "version": "1.0.972"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -97,7 +97,7 @@
97
97
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
98
98
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
99
99
  "@teambit/component.filters.base-filter": "0.0.6",
100
- "@teambit/design.inputs.toggle-button": "0.0.15",
100
+ "@teambit/design.inputs.toggle-button": "0.0.16",
101
101
  "@teambit/cloud.hooks.use-cloud-scopes": "0.0.19",
102
102
  "@teambit/design.ui.heading": "1.0.26",
103
103
  "@teambit/design.ui.tooltip": "0.0.382",
@@ -107,23 +107,23 @@
107
107
  "@teambit/workspace.ui.workspace-component-card": "0.0.569",
108
108
  "@teambit/explorer.ui.component-card": "0.0.52",
109
109
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
110
- "@teambit/component": "1.0.971",
111
- "@teambit/dependency-resolver": "1.0.971",
112
- "@teambit/envs": "1.0.971",
113
- "@teambit/objects": "0.0.478",
114
- "@teambit/scope": "1.0.971",
115
- "@teambit/graph": "1.0.971",
116
- "@teambit/isolator": "1.0.971",
117
- "@teambit/component-tree": "1.0.971",
118
- "@teambit/watcher": "1.0.971",
119
- "@teambit/aspect-loader": "1.0.971",
120
- "@teambit/graphql": "1.0.971",
121
- "@teambit/bundler": "1.0.971",
122
- "@teambit/ui": "1.0.971",
123
- "@teambit/command-bar": "1.0.971",
124
- "@teambit/sidebar": "1.0.971",
125
- "@teambit/pubsub": "1.0.971",
126
- "@teambit/deprecation": "1.0.971"
110
+ "@teambit/component": "1.0.972",
111
+ "@teambit/dependency-resolver": "1.0.972",
112
+ "@teambit/envs": "1.0.972",
113
+ "@teambit/objects": "0.0.479",
114
+ "@teambit/scope": "1.0.972",
115
+ "@teambit/graph": "1.0.972",
116
+ "@teambit/isolator": "1.0.972",
117
+ "@teambit/component-tree": "1.0.972",
118
+ "@teambit/watcher": "1.0.972",
119
+ "@teambit/aspect-loader": "1.0.972",
120
+ "@teambit/graphql": "1.0.972",
121
+ "@teambit/bundler": "1.0.972",
122
+ "@teambit/ui": "1.0.972",
123
+ "@teambit/command-bar": "1.0.972",
124
+ "@teambit/sidebar": "1.0.972",
125
+ "@teambit/pubsub": "1.0.972",
126
+ "@teambit/deprecation": "1.0.972"
127
127
  },
128
128
  "devDependencies": {
129
129
  "@types/lodash": "4.14.165",