@teambit/workspace 1.0.760 → 1.0.762

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.760/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.760/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.762/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.762/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.760",
3
+ "version": "1.0.762",
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.760"
9
+ "version": "1.0.762"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,61 +28,59 @@
28
28
  "reset-css": "5.0.1",
29
29
  "@teambit/component-id": "1.2.4",
30
30
  "@teambit/harmony": "0.4.7",
31
- "@teambit/legacy.extension-data": "0.0.79",
32
- "@teambit/legacy.scope": "0.0.77",
31
+ "@teambit/legacy.extension-data": "0.0.80",
32
+ "@teambit/legacy.scope": "0.0.78",
33
33
  "@teambit/component-version": "1.0.4",
34
- "@teambit/legacy.consumer-component": "0.0.78",
35
- "@teambit/legacy.consumer": "0.0.77",
34
+ "@teambit/legacy.consumer-component": "0.0.79",
35
+ "@teambit/legacy.consumer": "0.0.78",
36
36
  "@teambit/bit-error": "0.0.404",
37
37
  "@teambit/lane-id": "0.0.312",
38
- "@teambit/legacy.bit-map": "0.0.134",
39
- "@teambit/toolbox.fs.last-modified": "0.0.8",
40
- "@teambit/toolbox.path.path": "0.0.10",
38
+ "@teambit/legacy.bit-map": "0.0.135",
39
+ "@teambit/toolbox.fs.last-modified": "0.0.9",
40
+ "@teambit/toolbox.path.path": "0.0.11",
41
41
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1369",
43
- "@teambit/cli": "0.0.1276",
42
+ "@teambit/logger": "0.0.1370",
43
+ "@teambit/cli": "0.0.1277",
44
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
- "@teambit/legacy.constants": "0.0.18",
46
- "@teambit/harmony.modules.resolved-component": "0.0.507",
47
- "@teambit/legacy.utils": "0.0.27",
48
- "@teambit/config-store": "0.0.156",
49
- "@teambit/config": "0.0.1450",
50
- "@teambit/harmony.modules.requireable-component": "0.0.507",
51
- "@teambit/toolbox.modules.module-resolver": "0.0.13",
52
- "@teambit/workspace.modules.node-modules-linker": "0.0.305",
53
- "@teambit/global-config": "0.0.1279",
54
- "@teambit/legacy.consumer-config": "0.0.77",
55
- "@teambit/variants": "0.0.1543",
56
- "@teambit/component-issues": "0.0.164",
57
- "@teambit/component.sources": "0.0.129",
45
+ "@teambit/legacy.constants": "0.0.19",
46
+ "@teambit/harmony.modules.resolved-component": "0.0.508",
47
+ "@teambit/legacy.utils": "0.0.28",
48
+ "@teambit/config-store": "0.0.157",
49
+ "@teambit/config": "0.0.1451",
50
+ "@teambit/harmony.modules.requireable-component": "0.0.508",
51
+ "@teambit/toolbox.modules.module-resolver": "0.0.14",
52
+ "@teambit/workspace.modules.node-modules-linker": "0.0.306",
53
+ "@teambit/global-config": "0.0.1280",
54
+ "@teambit/legacy.consumer-config": "0.0.78",
55
+ "@teambit/variants": "0.0.1544",
56
+ "@teambit/component-issues": "0.0.165",
57
+ "@teambit/component.sources": "0.0.130",
58
58
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
59
- "@teambit/harmony.modules.in-memory-cache": "0.0.22",
59
+ "@teambit/harmony.modules.in-memory-cache": "0.0.23",
60
60
  "@teambit/legacy-bit-id": "1.1.3",
61
- "@teambit/legacy.component-list": "0.0.131",
62
- "@teambit/legacy.scope-api": "0.0.132",
63
- "@teambit/scope.remotes": "0.0.77",
64
- "@teambit/toolbox.path.is-path-inside": "0.0.502",
65
- "@teambit/workspace.modules.match-pattern": "0.0.514",
66
- "@teambit/component.ui.component-drawer": "0.0.466",
61
+ "@teambit/legacy.component-list": "0.0.132",
62
+ "@teambit/legacy.scope-api": "0.0.133",
63
+ "@teambit/scope.remotes": "0.0.78",
64
+ "@teambit/toolbox.path.is-path-inside": "0.0.503",
65
+ "@teambit/workspace.modules.match-pattern": "0.0.515",
67
66
  "@teambit/design.ui.tree": "0.0.16",
68
- "@teambit/lanes.hooks.use-lane-components": "0.0.295",
67
+ "@teambit/lanes.hooks.use-lane-components": "0.0.296",
69
68
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
70
69
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
71
- "@teambit/ui-foundation.ui.side-bar": "0.0.919",
70
+ "@teambit/ui-foundation.ui.side-bar": "0.0.920",
72
71
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.239",
73
72
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.239",
74
- "@teambit/component.ui.component-filters.env-filter": "0.0.262",
75
73
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.232",
76
74
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
77
75
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
78
76
  "@teambit/ui-foundation.ui.menu": "0.0.503",
79
- "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.518",
80
- "@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
81
- "@teambit/harmony.modules.concurrency": "0.0.19",
82
- "@teambit/toolbox.promise.map-pool": "0.0.8",
77
+ "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.519",
78
+ "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
79
+ "@teambit/harmony.modules.concurrency": "0.0.20",
80
+ "@teambit/toolbox.promise.map-pool": "0.0.9",
83
81
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
84
82
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
85
- "@teambit/component-descriptor": "0.0.445",
83
+ "@teambit/component-descriptor": "0.0.446",
86
84
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
87
85
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
88
86
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
@@ -92,31 +90,33 @@
92
90
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
93
91
  "@teambit/ui-foundation.ui.top-bar": "0.0.515",
94
92
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.2",
95
- "@teambit/cloud.hooks.use-cloud-scopes": "0.0.13",
93
+ "@teambit/cloud.hooks.use-cloud-scopes": "0.0.14",
96
94
  "@teambit/design.ui.tooltip": "0.0.381",
97
95
  "@teambit/explorer.ui.component-card": "0.0.51",
98
96
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
99
- "@teambit/preview.ui.preview-placeholder": "0.0.557",
97
+ "@teambit/preview.ui.preview-placeholder": "0.0.558",
100
98
  "@teambit/scopes.scope-id": "0.0.9",
101
99
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
102
- "@teambit/workspace.ui.workspace-component-card": "0.0.562",
103
- "@teambit/component": "1.0.760",
104
- "@teambit/dependency-resolver": "1.0.760",
105
- "@teambit/envs": "1.0.760",
106
- "@teambit/objects": "0.0.267",
107
- "@teambit/scope": "1.0.760",
108
- "@teambit/graph": "1.0.760",
109
- "@teambit/isolator": "1.0.760",
110
- "@teambit/component-tree": "1.0.760",
111
- "@teambit/watcher": "1.0.760",
112
- "@teambit/aspect-loader": "1.0.760",
113
- "@teambit/graphql": "1.0.760",
114
- "@teambit/bundler": "1.0.760",
115
- "@teambit/ui": "1.0.760",
116
- "@teambit/command-bar": "1.0.760",
117
- "@teambit/sidebar": "1.0.760",
118
- "@teambit/pubsub": "1.0.760",
119
- "@teambit/deprecation": "1.0.760"
100
+ "@teambit/workspace.ui.workspace-component-card": "0.0.563",
101
+ "@teambit/component": "1.0.762",
102
+ "@teambit/dependency-resolver": "1.0.762",
103
+ "@teambit/envs": "1.0.762",
104
+ "@teambit/objects": "0.0.269",
105
+ "@teambit/scope": "1.0.762",
106
+ "@teambit/graph": "1.0.762",
107
+ "@teambit/isolator": "1.0.762",
108
+ "@teambit/component-tree": "1.0.762",
109
+ "@teambit/watcher": "1.0.762",
110
+ "@teambit/aspect-loader": "1.0.762",
111
+ "@teambit/graphql": "1.0.762",
112
+ "@teambit/bundler": "1.0.762",
113
+ "@teambit/ui": "1.0.762",
114
+ "@teambit/component.ui.component-drawer": "0.0.468",
115
+ "@teambit/command-bar": "1.0.762",
116
+ "@teambit/component.ui.component-filters.env-filter": "0.0.264",
117
+ "@teambit/sidebar": "1.0.762",
118
+ "@teambit/pubsub": "1.0.762",
119
+ "@teambit/deprecation": "1.0.762"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",
@@ -129,7 +129,7 @@
129
129
  "@types/pluralize": "0.0.29",
130
130
  "@types/mocha": "9.1.0",
131
131
  "@teambit/workspace.content.workspace-overview": "1.96.6",
132
- "@teambit/harmony.envs.core-aspect-env": "0.0.78"
132
+ "@teambit/harmony.envs.core-aspect-env": "0.0.79"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "@apollo/client": "^3.6.0",