@vnejs/plugins.save.contract 0.0.2 → 0.0.3
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/dist/params.d.ts +7 -4
- package/dist/params.js +2 -1
- package/package.json +1 -1
- package/src/params.ts +7 -4
package/dist/params.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
1
|
+
import type { Widen } from "@vnejs/shared";
|
|
2
|
+
export declare const SCREENSHOT_QUALITY: number;
|
|
3
|
+
declare const PARAMS_DEFAULT: {
|
|
4
|
+
SCREENSHOT_QUALITY: number;
|
|
4
5
|
};
|
|
5
|
-
export type Params = typeof
|
|
6
|
+
export type Params = Widen<typeof PARAMS_DEFAULT>;
|
|
7
|
+
export declare const PARAMS: Params;
|
|
8
|
+
export {};
|
package/dist/params.js
CHANGED
package/package.json
CHANGED
package/src/params.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Widen } from "@vnejs/shared";
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const SCREENSHOT_QUALITY = 0.5 as number;
|
|
4
|
+
|
|
5
|
+
const PARAMS_DEFAULT = {
|
|
4
6
|
SCREENSHOT_QUALITY,
|
|
5
|
-
}
|
|
7
|
+
};
|
|
6
8
|
|
|
7
|
-
export type Params = typeof
|
|
9
|
+
export type Params = Widen<typeof PARAMS_DEFAULT>;
|
|
10
|
+
export const PARAMS: Params = PARAMS_DEFAULT;
|