@teambit/workspace 1.0.659 → 1.0.660

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.659/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.659/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.660/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.660/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -8,20 +8,21 @@ type UseWorkspaceOptions = {
8
8
  };
9
9
  export declare function useWorkspace(options?: UseWorkspaceOptions): {
10
10
  error?: import("@apollo/client").ApolloError | undefined;
11
+ errors?: ReadonlyArray<import("graphql").GraphQLFormattedError> | 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.659",
3
+ "version": "1.0.660",
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.659"
9
+ "version": "1.0.660"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -94,29 +94,29 @@
94
94
  "@teambit/scopes.scope-id": "0.0.7",
95
95
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
96
96
  "@teambit/workspace.ui.workspace-component-card": "0.0.551",
97
- "@teambit/component": "1.0.659",
98
- "@teambit/dependency-resolver": "1.0.659",
99
- "@teambit/envs": "1.0.659",
100
- "@teambit/logger": "0.0.1329",
101
- "@teambit/objects": "0.0.166",
102
- "@teambit/scope": "1.0.659",
103
- "@teambit/graph": "1.0.659",
104
- "@teambit/cli": "0.0.1236",
105
- "@teambit/isolator": "1.0.659",
106
- "@teambit/component-tree": "1.0.659",
107
- "@teambit/watcher": "1.0.659",
108
- "@teambit/aspect-loader": "1.0.659",
109
- "@teambit/config-store": "0.0.116",
110
- "@teambit/config": "0.0.1410",
111
- "@teambit/graphql": "1.0.659",
112
- "@teambit/bundler": "1.0.659",
113
- "@teambit/global-config": "0.0.1239",
114
- "@teambit/ui": "1.0.659",
115
- "@teambit/variants": "0.0.1503",
116
- "@teambit/command-bar": "1.0.659",
117
- "@teambit/sidebar": "1.0.659",
118
- "@teambit/pubsub": "1.0.659",
119
- "@teambit/deprecation": "1.0.659"
97
+ "@teambit/component": "1.0.660",
98
+ "@teambit/dependency-resolver": "1.0.660",
99
+ "@teambit/envs": "1.0.660",
100
+ "@teambit/logger": "0.0.1330",
101
+ "@teambit/objects": "0.0.167",
102
+ "@teambit/scope": "1.0.660",
103
+ "@teambit/graph": "1.0.660",
104
+ "@teambit/cli": "0.0.1237",
105
+ "@teambit/isolator": "1.0.660",
106
+ "@teambit/component-tree": "1.0.660",
107
+ "@teambit/watcher": "1.0.660",
108
+ "@teambit/aspect-loader": "1.0.660",
109
+ "@teambit/config-store": "0.0.117",
110
+ "@teambit/config": "0.0.1411",
111
+ "@teambit/graphql": "1.0.660",
112
+ "@teambit/bundler": "1.0.660",
113
+ "@teambit/global-config": "0.0.1240",
114
+ "@teambit/ui": "1.0.660",
115
+ "@teambit/variants": "0.0.1504",
116
+ "@teambit/command-bar": "1.0.660",
117
+ "@teambit/sidebar": "1.0.660",
118
+ "@teambit/pubsub": "1.0.660",
119
+ "@teambit/deprecation": "1.0.660"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",