@vnejs/plugins.save.contract 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,11 @@
1
1
  import type { Widen } from "@vnejs/shared";
2
2
  export declare const SCREENSHOT_QUALITY: number;
3
+ export declare const SCREENSHOT_WIDTH: number;
4
+ export declare const SCREENSHOT_HEIGHT: number;
3
5
  declare const PARAMS_DEFAULT: {
4
6
  SCREENSHOT_QUALITY: number;
7
+ SCREENSHOT_WIDTH: number;
8
+ SCREENSHOT_HEIGHT: number;
5
9
  };
6
10
  export type Params = Widen<typeof PARAMS_DEFAULT>;
7
11
  export declare const PARAMS: Params;
package/dist/params.js CHANGED
@@ -1,5 +1,9 @@
1
1
  export const SCREENSHOT_QUALITY = 0.5;
2
+ export const SCREENSHOT_WIDTH = 1280;
3
+ export const SCREENSHOT_HEIGHT = 720;
2
4
  const PARAMS_DEFAULT = {
3
5
  SCREENSHOT_QUALITY,
6
+ SCREENSHOT_WIDTH,
7
+ SCREENSHOT_HEIGHT,
4
8
  };
5
9
  export const PARAMS = PARAMS_DEFAULT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.save.contract",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Contracts for @vnejs/plugins.save",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/params.ts CHANGED
@@ -1,9 +1,13 @@
1
1
  import type { Widen } from "@vnejs/shared";
2
2
 
3
3
  export const SCREENSHOT_QUALITY = 0.5 as number;
4
+ export const SCREENSHOT_WIDTH = 1280 as number;
5
+ export const SCREENSHOT_HEIGHT = 720 as number;
4
6
 
5
7
  const PARAMS_DEFAULT = {
6
8
  SCREENSHOT_QUALITY,
9
+ SCREENSHOT_WIDTH,
10
+ SCREENSHOT_HEIGHT,
7
11
  };
8
12
 
9
13
  export type Params = Widen<typeof PARAMS_DEFAULT>;