Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m50s

This commit is contained in:
eewing
2026-02-17 14:58:53 -06:00
parent cff20a652a
commit 9022114c8d
2137 changed files with 201996 additions and 762 deletions
@@ -0,0 +1,4 @@
import { IDetectedBarcode } from './IDetectedBarcode';
export interface IBarcodeDetector {
detect(image: ImageBitmapSource): Promise<IDetectedBarcode[]>;
}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=IBarcodeDetector.js.map
@@ -0,0 +1 @@
{"version":3,"file":"IBarcodeDetector.js","sourceRoot":"","sources":["../../../src/models/IBarcodeDetector.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
export interface ICornerPoint {
x: number;
y: number;
}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=ICornerPoint.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ICornerPoint.js","sourceRoot":"","sources":["../../../src/models/ICornerPoint.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
import { ICornerPoint } from './ICornerPoint';
export interface IDetectedBarcode {
boundingBox: DOMRectReadOnly;
cornerPoints: ICornerPoint[];
format: string;
rawValue: string;
}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=IDetectedBarcode.js.map
@@ -0,0 +1 @@
{"version":3,"file":"IDetectedBarcode.js","sourceRoot":"","sources":["../../../src/models/IDetectedBarcode.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
import { IBarcodeDetector } from './IBarcodeDetector';
export type WindowWithBarcodeDetector = Window & typeof globalThis & {
BarcodeDetector: {
prototype: IBarcodeDetector;
new (): IBarcodeDetector;
getSupportedFormats(): Promise<string[]>;
};
};
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=WindowWithBarcodeDetector.js.map
@@ -0,0 +1 @@
{"version":3,"file":"WindowWithBarcodeDetector.js","sourceRoot":"","sources":["../../../src/models/WindowWithBarcodeDetector.ts"],"names":[],"mappings":""}
+4
View File
@@ -0,0 +1,4 @@
export * from './ICornerPoint';
export * from './IDetectedBarcode';
export * from './IBarcodeDetector';
export * from './WindowWithBarcodeDetector';
+5
View File
@@ -0,0 +1,5 @@
export * from './ICornerPoint';
export * from './IDetectedBarcode';
export * from './IBarcodeDetector';
export * from './WindowWithBarcodeDetector';
//# sourceMappingURL=index.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC"}