@teambit/workspace 1.0.702 → 1.0.706

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.702/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.702/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.706/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.706/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.702",
3
+ "version": "1.0.706",
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.702"
9
+ "version": "1.0.706"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -28,27 +28,44 @@
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.70",
32
+ "@teambit/legacy.scope": "0.0.68",
31
33
  "@teambit/component-version": "1.0.4",
34
+ "@teambit/legacy.consumer-component": "0.0.69",
35
+ "@teambit/legacy.consumer": "0.0.68",
32
36
  "@teambit/bit-error": "0.0.404",
33
37
  "@teambit/lane-id": "0.0.312",
38
+ "@teambit/legacy.bit-map": "0.0.125",
34
39
  "@teambit/toolbox.fs.last-modified": "0.0.6",
35
40
  "@teambit/toolbox.path.path": "0.0.8",
36
41
  "@teambit/graph.cleargraph": "0.0.11",
42
+ "@teambit/logger": "0.0.1357",
43
+ "@teambit/cli": "0.0.1264",
37
44
  "@teambit/component.ui.component-status-resolver": "0.0.510",
38
45
  "@teambit/legacy.constants": "0.0.14",
39
46
  "@teambit/harmony.modules.resolved-component": "0.0.504",
40
47
  "@teambit/legacy.utils": "0.0.23",
48
+ "@teambit/config-store": "0.0.144",
49
+ "@teambit/config": "0.0.1438",
41
50
  "@teambit/harmony.modules.requireable-component": "0.0.504",
42
51
  "@teambit/toolbox.modules.module-resolver": "0.0.11",
52
+ "@teambit/workspace.modules.node-modules-linker": "0.0.296",
53
+ "@teambit/global-config": "0.0.1267",
54
+ "@teambit/legacy.consumer-config": "0.0.68",
55
+ "@teambit/variants": "0.0.1531",
43
56
  "@teambit/component-issues": "0.0.161",
57
+ "@teambit/component.sources": "0.0.120",
44
58
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
45
59
  "@teambit/harmony.modules.in-memory-cache": "0.0.17",
46
60
  "@teambit/legacy-bit-id": "1.1.3",
61
+ "@teambit/legacy.component-list": "0.0.122",
62
+ "@teambit/legacy.scope-api": "0.0.123",
63
+ "@teambit/scope.remotes": "0.0.68",
47
64
  "@teambit/toolbox.path.is-path-inside": "0.0.500",
48
65
  "@teambit/workspace.modules.match-pattern": "0.0.510",
49
- "@teambit/component.ui.component-drawer": "0.0.457",
66
+ "@teambit/component.ui.component-drawer": "0.0.460",
50
67
  "@teambit/design.ui.tree": "0.0.16",
51
- "@teambit/lanes.hooks.use-lane-components": "0.0.290",
68
+ "@teambit/lanes.hooks.use-lane-components": "0.0.293",
52
69
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
53
70
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
54
71
  "@teambit/ui-foundation.ui.side-bar": "0.0.915",
@@ -65,7 +82,7 @@
65
82
  "@teambit/toolbox.promise.map-pool": "0.0.6",
66
83
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
67
84
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
68
- "@teambit/component-descriptor": "0.0.440",
85
+ "@teambit/component-descriptor": "0.0.443",
69
86
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
70
87
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
71
88
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
@@ -79,44 +96,27 @@
79
96
  "@teambit/design.ui.tooltip": "0.0.380",
80
97
  "@teambit/explorer.ui.component-card": "0.0.50",
81
98
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
82
- "@teambit/preview.ui.preview-placeholder": "0.0.549",
99
+ "@teambit/preview.ui.preview-placeholder": "0.0.552",
83
100
  "@teambit/scopes.scope-id": "0.0.7",
84
101
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
85
- "@teambit/workspace.ui.workspace-component-card": "0.0.556",
86
- "@teambit/component": "1.0.702",
87
- "@teambit/dependency-resolver": "1.0.702",
88
- "@teambit/envs": "1.0.702",
89
- "@teambit/legacy.extension-data": "0.0.70",
90
- "@teambit/legacy.scope": "0.0.68",
91
- "@teambit/legacy.consumer-component": "0.0.69",
92
- "@teambit/legacy.consumer": "0.0.68",
93
- "@teambit/legacy.bit-map": "0.0.125",
94
- "@teambit/logger": "0.0.1354",
95
- "@teambit/objects": "0.0.209",
96
- "@teambit/scope": "1.0.702",
97
- "@teambit/graph": "1.0.702",
98
- "@teambit/cli": "0.0.1261",
99
- "@teambit/isolator": "1.0.702",
100
- "@teambit/component-tree": "1.0.702",
101
- "@teambit/watcher": "1.0.702",
102
- "@teambit/aspect-loader": "1.0.702",
103
- "@teambit/config-store": "0.0.141",
104
- "@teambit/config": "0.0.1435",
105
- "@teambit/workspace.modules.node-modules-linker": "0.0.296",
106
- "@teambit/graphql": "1.0.702",
107
- "@teambit/bundler": "1.0.702",
108
- "@teambit/global-config": "0.0.1264",
109
- "@teambit/legacy.consumer-config": "0.0.68",
110
- "@teambit/ui": "1.0.702",
111
- "@teambit/variants": "0.0.1528",
112
- "@teambit/component.sources": "0.0.120",
113
- "@teambit/legacy.component-list": "0.0.122",
114
- "@teambit/legacy.scope-api": "0.0.123",
115
- "@teambit/scope.remotes": "0.0.68",
116
- "@teambit/command-bar": "1.0.702",
117
- "@teambit/sidebar": "1.0.702",
118
- "@teambit/pubsub": "1.0.702",
119
- "@teambit/deprecation": "1.0.702"
102
+ "@teambit/workspace.ui.workspace-component-card": "0.0.559",
103
+ "@teambit/component": "1.0.706",
104
+ "@teambit/dependency-resolver": "1.0.706",
105
+ "@teambit/envs": "1.0.706",
106
+ "@teambit/objects": "0.0.213",
107
+ "@teambit/scope": "1.0.706",
108
+ "@teambit/graph": "1.0.706",
109
+ "@teambit/isolator": "1.0.706",
110
+ "@teambit/component-tree": "1.0.706",
111
+ "@teambit/watcher": "1.0.706",
112
+ "@teambit/aspect-loader": "1.0.706",
113
+ "@teambit/graphql": "1.0.706",
114
+ "@teambit/bundler": "1.0.706",
115
+ "@teambit/ui": "1.0.706",
116
+ "@teambit/command-bar": "1.0.706",
117
+ "@teambit/sidebar": "1.0.706",
118
+ "@teambit/pubsub": "1.0.706",
119
+ "@teambit/deprecation": "1.0.706"
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.95.0",
132
- "@teambit/harmony.envs.core-aspect-env": "0.0.75"
132
+ "@teambit/harmony.envs.core-aspect-env": "0.0.76"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "@apollo/client": "^3.6.0",
package/dist/esm.d.mts DELETED
@@ -1,9 +0,0 @@
1
- export const ComponentStatus: any;
2
- export const WorkspaceAspect: any;
3
- export const WorkspaceContext: any;
4
- export const OutsideWorkspaceError: any;
5
- export const OnComponentChangeEvent: any;
6
- export const OnComponentAddEvent: any;
7
- export const OnComponentRemovedEvent: any;
8
- export default cjsModule;
9
- import cjsModule from './index.js';