@teambit/workspace 1.0.692 → 1.0.694

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.
package/dist/esm.d.mts ADDED
@@ -0,0 +1,9 @@
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';
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.692/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.692/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.694/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.694/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>;
18
14
  observable: import("@apollo/client").ObservableQuery<any, import("@apollo/client").OperationVariables>;
19
15
  networkStatus: import("@apollo/client").NetworkStatus;
20
16
  called: boolean;
17
+ startPolling: (pollInterval: number) => void;
18
+ stopPolling: () => void;
19
+ updateQuery: (mapFn: import("@apollo/client").UpdateQueryMapFn<any, import("@apollo/client").OperationVariables>) => void;
20
+ 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
+ variables: import("@apollo/client").OperationVariables | undefined;
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.692",
3
+ "version": "1.0.694",
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.692"
9
+ "version": "1.0.694"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -39,20 +39,14 @@
39
39
  "@teambit/toolbox.fs.last-modified": "0.0.6",
40
40
  "@teambit/toolbox.path.path": "0.0.8",
41
41
  "@teambit/graph.cleargraph": "0.0.11",
42
- "@teambit/logger": "0.0.1349",
43
- "@teambit/cli": "0.0.1256",
44
42
  "@teambit/component.ui.component-status-resolver": "0.0.510",
45
43
  "@teambit/legacy.constants": "0.0.14",
46
44
  "@teambit/harmony.modules.resolved-component": "0.0.504",
47
45
  "@teambit/legacy.utils": "0.0.23",
48
- "@teambit/config-store": "0.0.136",
49
- "@teambit/config": "0.0.1430",
50
46
  "@teambit/harmony.modules.requireable-component": "0.0.504",
51
47
  "@teambit/toolbox.modules.module-resolver": "0.0.11",
52
48
  "@teambit/workspace.modules.node-modules-linker": "0.0.293",
53
- "@teambit/global-config": "0.0.1259",
54
49
  "@teambit/legacy.consumer-config": "0.0.65",
55
- "@teambit/variants": "0.0.1523",
56
50
  "@teambit/component-issues": "0.0.161",
57
51
  "@teambit/component.sources": "0.0.117",
58
52
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
@@ -63,9 +57,7 @@
63
57
  "@teambit/scope.remotes": "0.0.65",
64
58
  "@teambit/toolbox.path.is-path-inside": "0.0.500",
65
59
  "@teambit/workspace.modules.match-pattern": "0.0.510",
66
- "@teambit/component.ui.component-drawer": "0.0.454",
67
60
  "@teambit/design.ui.tree": "0.0.16",
68
- "@teambit/lanes.hooks.use-lane-components": "0.0.288",
69
61
  "@teambit/lanes.hooks.use-lanes": "0.0.290",
70
62
  "@teambit/lanes.ui.models.lanes-model": "0.0.229",
71
63
  "@teambit/ui-foundation.ui.side-bar": "0.0.914",
@@ -82,7 +74,6 @@
82
74
  "@teambit/toolbox.promise.map-pool": "0.0.6",
83
75
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.506",
84
76
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2",
85
- "@teambit/component-descriptor": "0.0.438",
86
77
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
87
78
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
88
79
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.0",
@@ -96,27 +87,36 @@
96
87
  "@teambit/design.ui.tooltip": "0.0.379",
97
88
  "@teambit/explorer.ui.component-card": "0.0.50",
98
89
  "@teambit/explorer.ui.gallery.component-grid": "0.0.496",
99
- "@teambit/preview.ui.preview-placeholder": "0.0.547",
100
90
  "@teambit/scopes.scope-id": "0.0.7",
101
91
  "@teambit/workspace.ui.empty-workspace": "0.0.509",
102
- "@teambit/workspace.ui.workspace-component-card": "0.0.554",
103
- "@teambit/component": "1.0.692",
104
- "@teambit/dependency-resolver": "1.0.692",
105
- "@teambit/envs": "1.0.692",
106
- "@teambit/objects": "0.0.199",
107
- "@teambit/scope": "1.0.692",
108
- "@teambit/graph": "1.0.692",
109
- "@teambit/isolator": "1.0.692",
110
- "@teambit/component-tree": "1.0.692",
111
- "@teambit/watcher": "1.0.692",
112
- "@teambit/aspect-loader": "1.0.692",
113
- "@teambit/graphql": "1.0.692",
114
- "@teambit/bundler": "1.0.692",
115
- "@teambit/ui": "1.0.692",
116
- "@teambit/command-bar": "1.0.692",
117
- "@teambit/sidebar": "1.0.692",
118
- "@teambit/pubsub": "1.0.692",
119
- "@teambit/deprecation": "1.0.692"
92
+ "@teambit/component": "1.0.694",
93
+ "@teambit/dependency-resolver": "1.0.694",
94
+ "@teambit/envs": "1.0.694",
95
+ "@teambit/logger": "0.0.1350",
96
+ "@teambit/objects": "0.0.201",
97
+ "@teambit/scope": "1.0.694",
98
+ "@teambit/graph": "1.0.694",
99
+ "@teambit/cli": "0.0.1257",
100
+ "@teambit/isolator": "1.0.694",
101
+ "@teambit/component-tree": "1.0.694",
102
+ "@teambit/watcher": "1.0.694",
103
+ "@teambit/aspect-loader": "1.0.694",
104
+ "@teambit/config-store": "0.0.137",
105
+ "@teambit/config": "0.0.1431",
106
+ "@teambit/graphql": "1.0.694",
107
+ "@teambit/bundler": "1.0.694",
108
+ "@teambit/global-config": "0.0.1260",
109
+ "@teambit/ui": "1.0.694",
110
+ "@teambit/variants": "0.0.1524",
111
+ "@teambit/component.ui.component-drawer": "0.0.455",
112
+ "@teambit/lanes.hooks.use-lane-components": "0.0.289",
113
+ "@teambit/command-bar": "1.0.694",
114
+ "@teambit/sidebar": "1.0.694",
115
+ "@teambit/pubsub": "1.0.694",
116
+ "@teambit/component-descriptor": "0.0.439",
117
+ "@teambit/deprecation": "1.0.694",
118
+ "@teambit/preview.ui.preview-placeholder": "0.0.548",
119
+ "@teambit/workspace.ui.workspace-component-card": "0.0.555"
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.73"
132
+ "@teambit/harmony.envs.core-aspect-env": "0.0.74"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "@apollo/client": "^3.6.0",