@pixwel/pixwel-sdk 2.1.23 → 2.1.24
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/.vs/slnx.sqlite +0 -0
- package/coverage/clover.xml +621 -0
- package/coverage/coverage-final.json +16 -0
- package/coverage/lcov-report/Ass.js.html +647 -0
- package/coverage/lcov-report/Asset.js.html +125 -0
- package/coverage/lcov-report/AssetType.js.html +98 -0
- package/coverage/lcov-report/Encode.js.html +98 -0
- package/coverage/lcov-report/File.js.html +98 -0
- package/coverage/lcov-report/Filename.js.html +92 -0
- package/coverage/lcov-report/Ingest.js.html +2045 -0
- package/coverage/lcov-report/IngestFile.js.html +83 -0
- package/coverage/lcov-report/IngestFileDrop.js.html +540 -0
- package/coverage/lcov-report/Model.js.html +821 -0
- package/coverage/lcov-report/Order.js.html +194 -0
- package/coverage/lcov-report/Srt.js.html +329 -0
- package/coverage/lcov-report/Sub.js.html +173 -0
- package/coverage/lcov-report/Tag.js.html +98 -0
- package/coverage/lcov-report/TimeFormat.js.html +206 -0
- package/coverage/lcov-report/base.css +212 -0
- package/coverage/lcov-report/block-navigation.js +63 -0
- package/coverage/lcov-report/fileType.js.html +188 -0
- package/coverage/lcov-report/index.html +275 -0
- package/coverage/lcov-report/lib/Filename.js.html +720 -0
- package/coverage/lcov-report/lib/index.html +97 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +1 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +158 -0
- package/coverage/lcov-report/test/index.html +97 -0
- package/coverage/lcov-report/test/mocks.js.html +423 -0
- package/coverage/lcov.info +1278 -0
- package/dist/src/Ingest.js +1 -0
- package/npm-update.sh +8 -0
- package/package.json +1 -1
- package/src/Ingest.js +1 -0
- package/test/Ingest.spec.js +0 -43
package/dist/src/Ingest.js
CHANGED
package/npm-update.sh
ADDED
package/package.json
CHANGED
package/src/Ingest.js
CHANGED
package/test/Ingest.spec.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Ingest, Order } from "../index";
|
|
2
2
|
|
|
3
3
|
import mock from "./mocks/mediainfo.mock";
|
|
4
|
-
import mock4x3 from "./mocks/mediainfo-4x3.mock";
|
|
5
4
|
import proresMock from "./mocks/prores.mock";
|
|
6
5
|
import pngMock from "./mocks/mediainfo.png.mock";
|
|
7
6
|
import mxfMock from "./mocks/mediainfo.mxf.mock";
|
|
@@ -678,48 +677,6 @@ describe("Ingest", () => {
|
|
|
678
677
|
"TESTPROJECT_ITR-TEST-ASSET-A_ENG_TXTD_COMING-SOON_HOJE_PRORES_1080p2997.mp4"
|
|
679
678
|
);
|
|
680
679
|
});
|
|
681
|
-
it("includes Standard and Aspect", function() {
|
|
682
|
-
let data = {
|
|
683
|
-
asset: {
|
|
684
|
-
name: "Test Asset A",
|
|
685
|
-
slug: "test-asset-a",
|
|
686
|
-
type: "trailer.intl",
|
|
687
|
-
mediaType: "video",
|
|
688
|
-
project: {
|
|
689
|
-
filePrefix: "TESTPROJECT"
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
filename: {
|
|
693
|
-
file: {
|
|
694
|
-
ext: "mp4"
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
|
-
selected: {
|
|
698
|
-
download: {
|
|
699
|
-
language: "ENG",
|
|
700
|
-
country: "WW",
|
|
701
|
-
tags: {
|
|
702
|
-
Standard: "ntsc",
|
|
703
|
-
Aspect: "16:9",
|
|
704
|
-
Resolution: "1920x1080",
|
|
705
|
-
"Frame Mode": "progressive",
|
|
706
|
-
Framerate: "29.97",
|
|
707
|
-
Text: "txtd",
|
|
708
|
-
Extra: ["COMING-SOON", "HOJE"],
|
|
709
|
-
Codec: "PRORES"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
};
|
|
714
|
-
let ingest = new Ingest(data);
|
|
715
|
-
let allTags = [];
|
|
716
|
-
let allTypes = [{ name: "film-clip.intl" }];
|
|
717
|
-
let extension = "mp4";
|
|
718
|
-
let name = ingest.renderFilename({ allTags, allTypes, extension });
|
|
719
|
-
expect(name).toBe(
|
|
720
|
-
"TESTPROJECT_ITR-TEST-ASSET-A_ENG_TXTD_COMING-SOON_HOJE_PRORES_NTSC-16X9_1080p2997.mp4"
|
|
721
|
-
);
|
|
722
|
-
});
|
|
723
680
|
it("renders `set` tags when all tags in `set` are specified but retains `codec`", function() {
|
|
724
681
|
let data = {
|
|
725
682
|
asset: {
|