@teambit/workspace 0.0.832 → 0.0.833

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.
@@ -8,19 +8,24 @@ declare type UseWorkspaceOptions = {
8
8
  };
9
9
  export declare function useWorkspace(options?: UseWorkspaceOptions): {
10
10
  client: import("@apollo/client").ApolloClient<any>;
11
+ observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
11
12
  previousData?: any;
12
13
  error?: import("@apollo/client").ApolloError | undefined;
13
14
  loading: boolean;
14
15
  networkStatus: import("@apollo/client").NetworkStatus;
15
- called: true;
16
+ called: boolean;
17
+ variables: import("@apollo/client").OperationVariables | undefined;
16
18
  startPolling: (pollInterval: number) => void;
17
19
  stopPolling: () => void;
18
20
  updateQuery: <TVars = import("@apollo/client").OperationVariables>(mapFn: (previousQueryResult: any, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, any>, "variables">) => any) => void;
19
21
  refetch: (variables?: Partial<import("@apollo/client").OperationVariables> | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
20
- variables: import("@apollo/client").OperationVariables | undefined;
21
- fetchMore: (<K extends string>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<import("@apollo/client").OperationVariables, K, any> & import("@apollo/client").FetchMoreOptions<any, import("@apollo/client").OperationVariables>) => Promise<import("@apollo/client").ApolloQueryResult<any>>) & (<TData2, TVariables2, K_1 extends keyof TVariables2>(fetchMoreOptions: {
22
- query?: import("@apollo/client").DocumentNode | import("@graphql-typed-document-node/core").TypedDocumentNode<any, import("@apollo/client").OperationVariables> | undefined;
23
- } & import("@apollo/client").FetchMoreQueryOptions<TVariables2, K_1, any> & import("@apollo/client").FetchMoreOptions<TData2, TVariables2>) => Promise<import("@apollo/client").ApolloQueryResult<TData2>>);
22
+ reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("@apollo/client").OperationVariables, any>> | undefined, newNetworkStatus?: import("@apollo/client").NetworkStatus | undefined) => Promise<import("@apollo/client").ApolloQueryResult<any>>;
23
+ fetchMore: <TFetchData = any, TFetchVars = import("@apollo/client").OperationVariables>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
24
+ updateQuery?: ((previousQueryResult: any, options: {
25
+ fetchMoreResult: TFetchData;
26
+ variables: TFetchVars;
27
+ }) => any) | undefined;
28
+ }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
24
29
  workspace: Workspace | undefined;
25
30
  subscribeToMore: <TSubscriptionData = any, TSubscriptionVariables = import("@apollo/client").OperationVariables>(options: import("@apollo/client").SubscribeToMoreOptions<any, TSubscriptionVariables, TSubscriptionData>) => () => void;
26
31
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "0.0.832",
3
+ "version": "0.0.833",
4
4
  "homepage": "https://bit.dev/teambit/workspace/workspace",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "workspace",
9
- "version": "0.0.832"
9
+ "version": "0.0.833"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -37,59 +37,59 @@
37
37
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.0",
38
38
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
39
39
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
40
- "@teambit/bit-error": "0.0.395",
41
- "@teambit/logger": "0.0.650",
42
- "@teambit/cli": "0.0.557",
43
- "@teambit/compiler": "0.0.832",
44
- "@teambit/component": "0.0.832",
45
- "@teambit/graphql": "0.0.832",
46
- "@teambit/community": "0.0.105",
47
- "@teambit/envs": "0.0.832",
48
- "@teambit/ui": "0.0.832",
49
- "@teambit/component-id": "0.0.406",
50
- "@teambit/lane-id": "0.0.76",
51
- "@teambit/legacy-bit-id": "0.0.403",
52
- "@teambit/scope": "0.0.832",
53
- "@teambit/isolator": "0.0.832",
54
- "@teambit/component-tree": "0.0.620",
55
- "@teambit/component.ui.component-status-resolver": "0.0.494",
56
- "@teambit/lanes.hooks.use-lanes": "0.0.11",
57
- "@teambit/harmony.modules.resolved-component": "0.0.485",
58
- "@teambit/dependency-resolver": "0.0.832",
59
- "@teambit/aspect-loader": "0.0.832",
60
- "@teambit/bundler": "0.0.832",
61
- "@teambit/pubsub": "0.0.832",
62
- "@teambit/variants": "0.0.654",
63
- "@teambit/component-issues": "0.0.61",
64
- "@teambit/config": "0.0.570",
65
- "@teambit/harmony.modules.requireable-component": "0.0.485",
66
- "@teambit/importer": "0.0.261",
67
- "@teambit/workspace.modules.match-pattern": "0.0.490",
68
- "@teambit/component.ui.component-drawer": "0.0.106",
69
- "@teambit/design.ui.tree": "0.0.7",
70
- "@teambit/ui-foundation.ui.side-bar": "0.0.623",
71
- "@teambit/command-bar": "0.0.832",
72
- "@teambit/component.ui.component-filters.component-filter-context": "0.0.2",
73
- "@teambit/component.ui.component-filters.deprecate-filter": "0.0.2",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.2",
75
- "@teambit/graph": "0.0.832",
76
- "@teambit/sidebar": "0.0.832",
77
- "@teambit/ui-foundation.ui.main-dropdown": "0.0.488",
78
- "@teambit/ui-foundation.ui.menu": "0.0.488",
79
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.491",
80
- "@teambit/ui-foundation.ui.tree.drawer": "0.0.500",
81
- "@teambit/toolbox.time.time-format": "0.0.484",
82
- "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.491",
83
- "@teambit/component-descriptor": "0.0.120",
84
- "@teambit/deprecation": "0.0.832",
85
- "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.489",
86
- "@teambit/ui-foundation.ui.buttons.collapser": "0.0.196",
87
- "@teambit/ui-foundation.ui.corner": "0.0.499",
88
- "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.488",
89
- "@teambit/ui-foundation.ui.top-bar": "0.0.494",
90
- "@teambit/explorer.ui.gallery.component-grid": "0.0.487",
91
- "@teambit/workspace.ui.empty-workspace": "0.0.494",
92
- "@teambit/workspace.ui.workspace-component-card": "0.0.499"
40
+ "@teambit/bit-error": "0.0.396",
41
+ "@teambit/logger": "0.0.651",
42
+ "@teambit/cli": "0.0.558",
43
+ "@teambit/compiler": "0.0.833",
44
+ "@teambit/component": "0.0.833",
45
+ "@teambit/graphql": "0.0.833",
46
+ "@teambit/community": "0.0.106",
47
+ "@teambit/envs": "0.0.833",
48
+ "@teambit/ui": "0.0.833",
49
+ "@teambit/component-id": "0.0.407",
50
+ "@teambit/lane-id": "0.0.77",
51
+ "@teambit/legacy-bit-id": "0.0.404",
52
+ "@teambit/scope": "0.0.833",
53
+ "@teambit/isolator": "0.0.833",
54
+ "@teambit/component-tree": "0.0.621",
55
+ "@teambit/component.ui.component-status-resolver": "0.0.495",
56
+ "@teambit/lanes.hooks.use-lanes": "0.0.12",
57
+ "@teambit/harmony.modules.resolved-component": "0.0.486",
58
+ "@teambit/dependency-resolver": "0.0.833",
59
+ "@teambit/aspect-loader": "0.0.833",
60
+ "@teambit/bundler": "0.0.833",
61
+ "@teambit/pubsub": "0.0.833",
62
+ "@teambit/variants": "0.0.655",
63
+ "@teambit/component-issues": "0.0.62",
64
+ "@teambit/config": "0.0.571",
65
+ "@teambit/harmony.modules.requireable-component": "0.0.486",
66
+ "@teambit/importer": "0.0.262",
67
+ "@teambit/workspace.modules.match-pattern": "0.0.491",
68
+ "@teambit/component.ui.component-drawer": "0.0.107",
69
+ "@teambit/design.ui.tree": "0.0.8",
70
+ "@teambit/ui-foundation.ui.side-bar": "0.0.624",
71
+ "@teambit/command-bar": "0.0.833",
72
+ "@teambit/component.ui.component-filters.component-filter-context": "0.0.3",
73
+ "@teambit/component.ui.component-filters.deprecate-filter": "0.0.3",
74
+ "@teambit/component.ui.component-filters.env-filter": "0.0.3",
75
+ "@teambit/graph": "0.0.833",
76
+ "@teambit/sidebar": "0.0.833",
77
+ "@teambit/ui-foundation.ui.main-dropdown": "0.0.489",
78
+ "@teambit/ui-foundation.ui.menu": "0.0.489",
79
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.492",
80
+ "@teambit/ui-foundation.ui.tree.drawer": "0.0.501",
81
+ "@teambit/toolbox.time.time-format": "0.0.485",
82
+ "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.492",
83
+ "@teambit/component-descriptor": "0.0.121",
84
+ "@teambit/deprecation": "0.0.833",
85
+ "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.490",
86
+ "@teambit/ui-foundation.ui.buttons.collapser": "0.0.197",
87
+ "@teambit/ui-foundation.ui.corner": "0.0.500",
88
+ "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.489",
89
+ "@teambit/ui-foundation.ui.top-bar": "0.0.495",
90
+ "@teambit/explorer.ui.gallery.component-grid": "0.0.488",
91
+ "@teambit/workspace.ui.empty-workspace": "0.0.495",
92
+ "@teambit/workspace.ui.workspace-component-card": "0.0.500"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@types/lodash": "4.14.165",
@@ -108,8 +108,8 @@
108
108
  },
109
109
  "peerDependencies": {
110
110
  "react-router-dom": "^6.0.0",
111
- "@apollo/client": "^3.0.0",
112
- "@teambit/legacy": "1.0.340",
111
+ "@apollo/client": "^3.6.0",
112
+ "@teambit/legacy": "1.0.341",
113
113
  "react-dom": "^16.8.0 || ^17.0.0",
114
114
  "react": "^16.8.0 || ^17.0.0"
115
115
  },
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.832/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.832/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.833/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@0.0.833/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];