Skip to content

Commit

Permalink
Re-export all classes for viz-core pacakge
Browse files Browse the repository at this point in the history
  • Loading branch information
SarantopoulosKon committed Sep 27, 2023
1 parent feb0c96 commit d47a01a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
13 changes: 6 additions & 7 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
export * from './base';
export * from './image';
export * from './mbrs';
import { TileDBPointCloudVisualization } from './point-cloud';
import type { TileDBPointCloudOptions } from './point-cloud';
import { TileDBTileImageVisualization } from './tile';
import type { TileDBTileImageOptions } from './tile';
export { TileDBPointCloudVisualization };
export type { TileDBPointCloudOptions };

export { TileDBPointCloudVisualization, TileDBTileImageVisualization };
export type { TileDBPointCloudOptions, TileDBTileImageOptions };
export * from './base';
export * from './image';
export * from './mbrs';
export * from './tile';
7 changes: 2 additions & 5 deletions packages/core/src/point-cloud/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
import TileDBPointCloudVisualization from './point-cloud';
import type { TileDBPointCloudOptions } from './utils';

export { TileDBPointCloudVisualization };
export type { TileDBPointCloudOptions };
export { default as TileDBPointCloudVisualization } from './point-cloud';
export type { TileDBPointCloudOptions } from './utils';
7 changes: 2 additions & 5 deletions packages/core/src/tile/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import TileDBTileImageVisualization from './tileImage';
import type { TileDBTileImageOptions } from './types';

export { TileDBTileImageVisualization };
export type { TileDBTileImageOptions };
export type { TileDBTileImageOptions } from './types';

export * from './tileImage';
export * from './types';
4 changes: 1 addition & 3 deletions packages/core/src/tile/tileImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { ImageManager } from './model/image/imageManager';
import { GeometryManager } from './model/geometry/geometryManager';
import { MinimapManager } from './model/image/minimap';

class TileDBTiledImageVisualization extends TileDBVisualization {
export class TileDBTileImageVisualization extends TileDBVisualization {
private scene!: Scene;
private options: TileDBTileImageOptions;
private tileset!: ImageManager;
Expand Down Expand Up @@ -363,5 +363,3 @@ class TileDBTiledImageVisualization extends TileDBVisualization {
clearMultiCache(this.levels.map(x => `${x.id}_${this.tileSize}`));
}
}

export default TileDBTiledImageVisualization;

0 comments on commit d47a01a

Please sign in to comment.