@kemu-io/hs 0.4.44 → 0.4.46
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/cjs/types/kemuCore.d.ts +17 -0
- package/cjs/types/kemuCore.js +3 -2
- package/mjs/types/kemuCore.d.ts +17 -0
- package/mjs/types/kemuCore.js +1 -1
- package/package.json +1 -1
package/cjs/types/kemuCore.d.ts
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
export type KemuObjectWrapper<O, DT extends DataType> = O & {
|
|
4
|
+
_kemuType: DT;
|
|
5
|
+
};
|
|
6
|
+
export type ImageDataLike = KemuObjectWrapper<{
|
|
7
|
+
/** the raw image data */
|
|
8
|
+
data: Uint8ClampedArray;
|
|
9
|
+
/** the width of the image */
|
|
10
|
+
width: number;
|
|
11
|
+
/** the height of the image */
|
|
12
|
+
height: number;
|
|
13
|
+
colorSpace: string;
|
|
14
|
+
}, DataType.ImageData>;
|
|
15
|
+
export declare enum RecipeType {
|
|
16
|
+
Browser = "browser",
|
|
17
|
+
Cloud = "cloud",
|
|
18
|
+
Desktop = "desktop"
|
|
19
|
+
}
|
|
3
20
|
/**
|
|
4
21
|
* Valid Kemu Data types
|
|
5
22
|
**/
|
package/cjs/types/kemuCore.js
CHANGED
|
@@ -205,9 +205,10 @@ function requireKemuCore () {
|
|
|
205
205
|
hasRequiredKemuCore = 1;
|
|
206
206
|
(function (exports) {
|
|
207
207
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
208
|
-
exports.DataType = void 0;
|
|
208
|
+
exports.RecipeType = exports.DataType = void 0;
|
|
209
209
|
const hs_types_1 = requireCjs();
|
|
210
|
-
Object.defineProperty(exports, "DataType", { enumerable: true, get: function () { return hs_types_1.DataType; } });
|
|
210
|
+
Object.defineProperty(exports, "DataType", { enumerable: true, get: function () { return hs_types_1.DataType; } });
|
|
211
|
+
Object.defineProperty(exports, "RecipeType", { enumerable: true, get: function () { return hs_types_1.RecipeType; } });
|
|
211
212
|
} (kemuCore$1));
|
|
212
213
|
return kemuCore$1;
|
|
213
214
|
}
|
package/mjs/types/kemuCore.d.ts
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
export type KemuObjectWrapper<O, DT extends DataType> = O & {
|
|
4
|
+
_kemuType: DT;
|
|
5
|
+
};
|
|
6
|
+
export type ImageDataLike = KemuObjectWrapper<{
|
|
7
|
+
/** the raw image data */
|
|
8
|
+
data: Uint8ClampedArray;
|
|
9
|
+
/** the width of the image */
|
|
10
|
+
width: number;
|
|
11
|
+
/** the height of the image */
|
|
12
|
+
height: number;
|
|
13
|
+
colorSpace: string;
|
|
14
|
+
}, DataType.ImageData>;
|
|
15
|
+
export declare enum RecipeType {
|
|
16
|
+
Browser = "browser",
|
|
17
|
+
Cloud = "cloud",
|
|
18
|
+
Desktop = "desktop"
|
|
19
|
+
}
|
|
3
20
|
/**
|
|
4
21
|
* Valid Kemu Data types
|
|
5
22
|
**/
|
package/mjs/types/kemuCore.js
CHANGED