@media-quest/builder 0.0.13 → 0.0.14

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/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "@media-quest/builder",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Builder library for Media-quest schemas",
5
- "main": "dist/public-api.js",
6
- "module": "dist/public-api.mjs",
7
- "types": "dist/public-api.d.ts",
5
+ "main": "src/public-api.ts",
8
6
  "license": "MIT",
9
7
  "scripts": {
10
8
  "tsc:check:builder": "tsc --watch --noEmit",
11
9
  "clean": "rimraf dist",
12
- "build": "npm run clean && tsup src/public-api.ts --sourcemap inline --format cjs,esm --dts",
13
- "prepublishOnly": "npm run build"
10
+ "buildXXX": "npm run clean && tsup src/public-api.ts --sourcemap inline --format cjs,esm --dts"
14
11
  },
15
12
  "dependencies": {
16
- "@media-quest/engine": "0.0.13"
13
+ "@media-quest/engine": "0.0.14"
17
14
  }
18
15
  }
@@ -1,10 +1,10 @@
1
1
  import { VideoFile } from "./media-files";
2
2
 
3
3
  export interface BuilderMainVideoDto {
4
- readonly kind: "main-video";
5
- readonly file: VideoFile;
6
- mode: "autoplay" | "required" | "optional";
7
- preDelay: number;
8
- volume: number;
9
- controls: boolean;
4
+ readonly kind: "main-video";
5
+ readonly file: VideoFile;
6
+ mode: "autoplay" | "required" | "optional" | "gif-mode";
7
+ preDelay: number;
8
+ volume: number;
9
+ controls: boolean;
10
10
  }
@@ -397,7 +397,6 @@ export class DefaultThemeCompiler extends AbstractThemeCompiler<IDefaultTheme> {
397
397
  },
398
398
  };
399
399
  const btnStyles = value === 9 ? DefaultTheme.responseButtons.dontKnow : DefaultTheme.responseButtons.normal;
400
- console.log(btnStyles);
401
400
  const btn: DDivDto = {
402
401
  id,
403
402
  _tag: "div",
package/tsconfig.json CHANGED
@@ -9,6 +9,7 @@
9
9
  "skipLibCheck": true,
10
10
  "forceConsistentCasingInFileNames": true,
11
11
  "rootDir": "./src",
12
+ "composite": true,
12
13
  "outDir": "./dist"
13
14
  },
14
15
  }