Skip to content

Commit 4051715

Browse files
committed
feat: update package version to 2.0.0 and export additional types and interfaces in index.ts
1 parent a39cb2f commit 4051715

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
export * from './components';
2+
3+
// Export types and interfaces used by components
4+
export { CameraDirection } from './utils/camera.service';
5+
export type { LabeledDescriptorsArray } from './components/input-face-api-webcam/TrainedModel';
6+
export type { FaceDetectionError, iFaceDetected } from './components/input-face-api-webcam/input-face-api-webcam';
7+
export type { DetectionImg } from './utils/facepi.service';
8+
export type { WebcamError } from './components/input-file-from-webcam/input-file-from-webcam';
9+
export type { InputScanData } from './components/input-scan-reader/input-scan-reader.types';

0 commit comments

Comments
 (0)