ms-types 0.0.1

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.
@@ -0,0 +1,4 @@
1
+ export declare const MSImage: {
2
+ captureFullScreen(): string;
3
+ saveTo(imageId: string, filePath: string): void;
4
+ };
@@ -0,0 +1,11 @@
1
+ const a = {
2
+ captureFullScreen() {
3
+ return image.captureFullScreen();
4
+ },
5
+ saveTo(e, r) {
6
+ return image.saveTo(e, r);
7
+ }
8
+ };
9
+ export {
10
+ a as MSImage
11
+ };
@@ -0,0 +1 @@
1
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.MSTypes={}))})(this,function(e){"use strict";const n={captureFullScreen(){return image.captureFullScreen()},saveTo(t,i){return image.saveTo(t,i)}};e.MSImage=n,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ export * from './MSImage';
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "ms-types",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "main": "./dist/MSTypes.umd.cjs",
12
+ "module": "./dist/MSTypes.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/MSTypes.js",
17
+ "require": "./dist/MSTypes.umd.cjs"
18
+ },
19
+ "scripts": {
20
+ "build": "tsc && vite build",
21
+ "prepublishOnly": "npm run build"
22
+ },
23
+ "devDependencies": {
24
+ "typescript": "~5.8.3",
25
+ "vite": "^7.0.0",
26
+ "vite-plugin-dts": "^4.5.4"
27
+ }
28
+ }