@teambit/workspace 1.0.1082 → 1.0.1084

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/filter.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ComponentID, ComponentIdList } from '@teambit/component-id';
2
2
  import type { Workspace } from './workspace';
3
- export declare const statesFilter: readonly ["new", "modified", "deprecated", "deleted", "internal", "snappedOnMain", "softTagged", "codeModified", "localOnly"];
3
+ export declare const statesFilter: readonly ['new', 'modified', 'deprecated', 'deleted', 'internal', 'snappedOnMain', 'softTagged', 'codeModified', 'localOnly'];
4
4
  export type StatesFilter = (typeof statesFilter)[number];
5
5
  export declare class Filter {
6
6
  private workspace;
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1082/dist/workspace.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1082/dist/workspace.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1084/dist/workspace.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.workspace_workspace@1.0.1084/dist/workspace.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -28,7 +28,7 @@ export declare class WorkspaceComponent extends Component {
28
28
  /**
29
29
  * head version of the component. can be `null` for new components.
30
30
  */
31
- head: (Snap | null) | undefined,
31
+ head: Snap | null | undefined,
32
32
  /**
33
33
  * state of the component.
34
34
  */
@@ -1,7 +1,8 @@
1
1
  import type { GraphqlMain } from '@teambit/graphql';
2
2
  import type { Workspace } from './workspace';
3
3
  import type { WorkspaceComponent } from './workspace-component';
4
- declare const _default: (workspace: Workspace, graphql: GraphqlMain) => {
4
+ export default _default;
5
+ declare function _default(workspace: Workspace, graphql: GraphqlMain): {
5
6
  typeDefs: import("graphql").DocumentNode;
6
7
  resolvers: {
7
8
  Subscription: {
@@ -44,4 +45,3 @@ declare const _default: (workspace: Workspace, graphql: GraphqlMain) => {
44
45
  };
45
46
  };
46
47
  };
47
- export default _default;
@@ -48,7 +48,7 @@ export type OnRootAspectAddedSlot = SlotRegistry<OnRootAspectAdded>;
48
48
  export declare class WorkspaceMain {
49
49
  static runtime: import("@teambit/harmony").RuntimeDefinition;
50
50
  static dependencies: import("@teambit/harmony").Aspect[];
51
- static slots: (((registerFn: () => string) => SlotRegistry<OnComponentLoad>) | ((registerFn: () => string) => SlotRegistry<OnComponentChange>) | ((registerFn: () => string) => SlotRegistry<OnComponentAdd>) | ((registerFn: () => string) => SlotRegistry<OnComponentRemove>) | ((registerFn: () => string) => SlotRegistry<OnAspectsResolve>) | ((registerFn: () => string) => SlotRegistry<OnRootAspectAdded>))[];
51
+ static slots: (((registerFn: () => string) => SlotRegistry<OnAspectsResolve>) | ((registerFn: () => string) => SlotRegistry<OnComponentAdd>) | ((registerFn: () => string) => SlotRegistry<OnComponentChange>) | ((registerFn: () => string) => SlotRegistry<OnComponentLoad>) | ((registerFn: () => string) => SlotRegistry<OnComponentRemove>) | ((registerFn: () => string) => SlotRegistry<OnRootAspectAdded>))[];
52
52
  static provider([cli, scope, component, isolator, dependencyResolver, variants, loggerExt, graphql, ui, bundler, aspectLoader, envs, globalConfig, configStore,]: WorkspaceDeps, config: WorkspaceExtConfig, [onComponentLoadSlot, onComponentChangeSlot, onComponentAddSlot, onComponentRemoveSlot, onAspectsResolveSlot, onRootAspectAddedSlot, onBitmapChangeSlot, onWorkspaceConfigChangeSlot,]: [
53
53
  OnComponentLoadSlot,
54
54
  OnComponentChangeSlot,
@@ -78,7 +78,7 @@ export declare class WorkspaceUI {
78
78
  private menuItems;
79
79
  static dependencies: import("@teambit/harmony").Aspect[];
80
80
  static runtime: import("@teambit/harmony").RuntimeDefinition;
81
- static slots: (((registerFn: () => string) => SlotRegistry<ComponentTreeNode>) | ((registerFn: () => string) => SlotRegistry<RouteProps>) | ((registerFn: () => string) => SlotRegistry<MenuItemSlot>) | ((registerFn: () => string) => SlotRegistry<SidebarItemSlot>) | ((registerFn: () => string) => SlotRegistry<DrawerWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<ComponentFiltersSlot>) | ((registerFn: () => string) => SlotRegistry<MenuWidgetSlot>))[];
81
+ static slots: (((registerFn: () => string) => SlotRegistry<ComponentFiltersSlot>) | ((registerFn: () => string) => SlotRegistry<ComponentTreeNode>) | ((registerFn: () => string) => SlotRegistry<DrawerWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<MenuItemSlot>) | ((registerFn: () => string) => SlotRegistry<MenuWidgetSlot>) | ((registerFn: () => string) => SlotRegistry<SidebarItemSlot>) | ((registerFn: () => string) => SlotRegistry<RouteProps>))[];
82
82
  static provider([ui, componentUi, sidebar, componentTree, commandBarUI, graphUI]: [
83
83
  UiUI,
84
84
  ComponentUI,
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/workspace",
3
- "version": "1.0.1082",
3
+ "version": "1.0.1084",
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.1082"
9
+ "version": "1.0.1084"
10
10
  },
11
11
  "dependencies": {
12
12
  "lodash": "4.17.21",
@@ -30,32 +30,65 @@
30
30
  "reset-css": "5.0.1",
31
31
  "@teambit/component-id": "1.2.4",
32
32
  "@teambit/harmony": "0.4.12",
33
+ "@teambit/legacy.extension-data": "0.0.144",
34
+ "@teambit/legacy.scope": "0.0.142",
33
35
  "@teambit/component-version": "1.0.4",
36
+ "@teambit/legacy.consumer-component": "0.0.143",
37
+ "@teambit/legacy.consumer": "0.0.142",
34
38
  "@teambit/bit-error": "0.0.404",
35
39
  "@teambit/lane-id": "0.0.312",
40
+ "@teambit/legacy.bit-map": "0.0.199",
36
41
  "@teambit/toolbox.fs.last-modified": "0.0.19",
37
42
  "@teambit/toolbox.path.path": "0.0.21",
38
43
  "@teambit/graph.cleargraph": "0.0.11",
44
+ "@teambit/logger": "0.0.1452",
45
+ "@teambit/cli": "0.0.1359",
46
+ "@teambit/config-store": "0.0.240",
47
+ "@teambit/legacy.constants": "0.0.39",
39
48
  "@teambit/component.ui.component-status-resolver": "0.0.510",
49
+ "@teambit/harmony.modules.load-trace": "0.0.11",
50
+ "@teambit/harmony.modules.resolved-component": "0.0.523",
51
+ "@teambit/legacy.utils": "0.0.47",
52
+ "@teambit/scope.remotes": "0.0.142",
53
+ "@teambit/config": "0.0.1534",
54
+ "@teambit/harmony.modules.requireable-component": "0.0.523",
40
55
  "@teambit/toolbox.modules.module-resolver": "0.0.24",
56
+ "@teambit/workspace.modules.node-modules-linker": "0.0.373",
57
+ "@teambit/global-config": "0.0.1363",
58
+ "@teambit/legacy.consumer-config": "0.0.142",
59
+ "@teambit/variants": "0.0.1627",
60
+ "@teambit/component-issues": "0.0.182",
61
+ "@teambit/component.sources": "0.0.194",
41
62
  "@teambit/dependencies.modules.packages-excluder": "1.0.8",
63
+ "@teambit/git.modules.git-executable": "0.0.40",
64
+ "@teambit/harmony.modules.in-memory-cache": "0.0.43",
42
65
  "@teambit/legacy-bit-id": "1.1.3",
66
+ "@teambit/legacy.component-list": "0.0.196",
67
+ "@teambit/legacy.scope-api": "0.0.197",
43
68
  "@teambit/toolbox.path.is-path-inside": "0.0.513",
69
+ "@teambit/workspace.modules.match-pattern": "0.0.531",
70
+ "@teambit/component.ui.component-drawer": "0.0.499",
44
71
  "@teambit/design.ui.tree": "0.0.16",
72
+ "@teambit/lanes.hooks.use-lane-components": "0.0.311",
45
73
  "@teambit/lanes.hooks.use-lanes": "0.0.294",
46
74
  "@teambit/lanes.ui.models.lanes-model": "0.0.233",
75
+ "@teambit/ui-foundation.ui.side-bar": "0.0.948",
47
76
  "@teambit/component.ui.component-filters.component-filter-context": "0.0.242",
48
77
  "@teambit/component.ui.component-filters.deprecate-filter": "0.0.244",
78
+ "@teambit/component.ui.component-filters.env-filter": "0.0.285",
49
79
  "@teambit/component.ui.component-filters.show-main-filter": "0.0.237",
50
80
  "@teambit/design.ui.surfaces.menu.link-item": "1.0.13",
51
81
  "@teambit/ui-foundation.ui.main-dropdown": "0.0.505",
52
82
  "@teambit/ui-foundation.ui.menu": "0.0.503",
53
83
  "@teambit/ui-foundation.ui.react-router.slot-router": "0.0.527",
54
84
  "@teambit/ui-foundation.ui.tree.drawer": "1.0.0",
85
+ "@teambit/harmony.modules.concurrency": "0.0.40",
55
86
  "@teambit/toolbox.promise.map-pool": "0.0.19",
56
87
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
57
88
  "@teambit/ui-foundation.ui.hooks.use-data-query": "0.0.507",
58
89
  "@teambit/workspace.ui.use-workspace-mode": "0.0.3",
90
+ "@teambit/component-descriptor": "0.0.460",
91
+ "@teambit/explorer.ui.components-overview": "0.0.2",
59
92
  "@teambit/ui-foundation.ui.constants.z-indexes": "0.0.504",
60
93
  "@teambit/base-ui.surfaces.split-pane.hover-splitter": "1.0.1",
61
94
  "@teambit/base-ui.surfaces.split-pane.split-pane": "1.0.0",
@@ -67,56 +100,23 @@
67
100
  "@teambit/workspace.hooks.use-url-change-broadcaster": "0.0.2",
68
101
  "@teambit/workspace.ui.preserve-workspace-mode": "0.0.3",
69
102
  "@teambit/evangelist.elements.icon": "1.0.5",
70
- "@teambit/component": "1.0.1082",
71
- "@teambit/dependency-resolver": "1.0.1082",
72
- "@teambit/envs": "1.0.1082",
73
- "@teambit/legacy.extension-data": "0.0.144",
74
- "@teambit/legacy.scope": "0.0.142",
75
- "@teambit/legacy.consumer-component": "0.0.143",
76
- "@teambit/legacy.consumer": "0.0.142",
77
- "@teambit/legacy.bit-map": "0.0.199",
78
- "@teambit/logger": "0.0.1452",
79
- "@teambit/objects": "0.0.589",
80
- "@teambit/scope": "1.0.1082",
81
- "@teambit/graph": "1.0.1082",
82
- "@teambit/cli": "0.0.1359",
83
- "@teambit/config-store": "0.0.240",
84
- "@teambit/isolator": "1.0.1082",
85
- "@teambit/legacy.constants": "0.0.39",
86
- "@teambit/component-tree": "1.0.1082",
87
- "@teambit/harmony.modules.load-trace": "0.0.11",
88
- "@teambit/harmony.modules.resolved-component": "0.0.523",
89
- "@teambit/legacy.utils": "0.0.47",
90
- "@teambit/watcher": "1.0.1082",
91
- "@teambit/scope.remotes": "0.0.142",
92
- "@teambit/aspect-loader": "1.0.1082",
93
- "@teambit/config": "0.0.1534",
94
- "@teambit/harmony.modules.requireable-component": "0.0.523",
95
- "@teambit/workspace.modules.node-modules-linker": "0.0.373",
96
- "@teambit/graphql": "1.0.1082",
97
- "@teambit/bundler": "1.0.1082",
98
- "@teambit/global-config": "0.0.1363",
99
- "@teambit/legacy.consumer-config": "0.0.142",
100
- "@teambit/ui": "1.0.1082",
101
- "@teambit/variants": "0.0.1627",
102
- "@teambit/component-issues": "0.0.182",
103
- "@teambit/component.sources": "0.0.194",
104
- "@teambit/git.modules.git-executable": "0.0.40",
105
- "@teambit/harmony.modules.in-memory-cache": "0.0.43",
106
- "@teambit/legacy.component-list": "0.0.196",
107
- "@teambit/legacy.scope-api": "0.0.197",
108
- "@teambit/workspace.modules.match-pattern": "0.0.531",
109
- "@teambit/component.ui.component-drawer": "0.0.499",
110
- "@teambit/lanes.hooks.use-lane-components": "0.0.311",
111
- "@teambit/ui-foundation.ui.side-bar": "0.0.948",
112
- "@teambit/command-bar": "1.0.1082",
113
- "@teambit/component.ui.component-filters.env-filter": "0.0.285",
114
- "@teambit/sidebar": "1.0.1082",
115
- "@teambit/pubsub": "1.0.1082",
116
- "@teambit/harmony.modules.concurrency": "0.0.40",
117
- "@teambit/component-descriptor": "0.0.460",
118
- "@teambit/deprecation": "1.0.1082",
119
- "@teambit/explorer.ui.components-overview": "0.0.2"
103
+ "@teambit/component": "1.0.1084",
104
+ "@teambit/dependency-resolver": "1.0.1084",
105
+ "@teambit/envs": "1.0.1084",
106
+ "@teambit/objects": "0.0.591",
107
+ "@teambit/scope": "1.0.1084",
108
+ "@teambit/graph": "1.0.1084",
109
+ "@teambit/isolator": "1.0.1084",
110
+ "@teambit/component-tree": "1.0.1084",
111
+ "@teambit/watcher": "1.0.1084",
112
+ "@teambit/aspect-loader": "1.0.1084",
113
+ "@teambit/graphql": "1.0.1084",
114
+ "@teambit/bundler": "1.0.1084",
115
+ "@teambit/ui": "1.0.1084",
116
+ "@teambit/command-bar": "1.0.1084",
117
+ "@teambit/sidebar": "1.0.1084",
118
+ "@teambit/pubsub": "1.0.1084",
119
+ "@teambit/deprecation": "1.0.1084"
120
120
  },
121
121
  "devDependencies": {
122
122
  "@types/lodash": "4.14.165",