@norskvideo/norsk-studio-aws 1.11.0 → 1.27.0
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/client/info.js +15 -3
- package/client/style.css +5 -867
- package/lib/input.mediaconnect/info.js +5 -1
- package/lib/input.mediaconnect/info.js.map +1 -1
- package/lib/input.mediaconnect/runtime.d.ts +1 -0
- package/lib/input.mediaconnect/runtime.js +36 -32
- package/lib/input.mediaconnect/runtime.js.map +1 -1
- package/lib/output.medialive/info.js +7 -3
- package/lib/output.medialive/info.js.map +1 -1
- package/lib/output.medialive/runtime.d.ts +1 -0
- package/lib/output.medialive/runtime.js +35 -31
- package/lib/output.medialive/runtime.js.map +1 -1
- package/lib/processor.aws-transcribe/info.js +5 -1
- package/lib/processor.aws-transcribe/info.js.map +1 -1
- package/lib/processor.aws-transcribe/runtime.d.ts +1 -0
- package/lib/processor.aws-transcribe/runtime.js +42 -37
- package/lib/processor.aws-transcribe/runtime.js.map +1 -1
- package/package.json +4 -5
package/client/info.js
CHANGED
|
@@ -626,6 +626,10 @@ function info_default({ defineComponent, Av, validation: { Z } }) {
|
|
|
626
626
|
component: OutputSelection2,
|
|
627
627
|
validation: Z.string().min(1, "Choosing an output is mandatory")
|
|
628
628
|
}
|
|
629
|
+
},
|
|
630
|
+
notes: {
|
|
631
|
+
help: "Additional notes about this component",
|
|
632
|
+
hint: { type: "text", optional: true }
|
|
629
633
|
}
|
|
630
634
|
}
|
|
631
635
|
}
|
|
@@ -653,8 +657,8 @@ function info_default2({ defineComponent, validation: { Z }, All }) {
|
|
|
653
657
|
}
|
|
654
658
|
},
|
|
655
659
|
extraValidation: function(ctx) {
|
|
656
|
-
const audioStreams = ctx.subscriptions.filter((s) => s.
|
|
657
|
-
const videoStreams = ctx.subscriptions.filter((s) => s.
|
|
660
|
+
const audioStreams = ctx.subscriptions.filter((s) => s.validatedStreams.select.includes("audio"));
|
|
661
|
+
const videoStreams = ctx.subscriptions.filter((s) => s.validatedStreams.select.includes("video"));
|
|
658
662
|
if (audioStreams.length == 0) {
|
|
659
663
|
ctx.addWarning("Output has no audio, is this intentional");
|
|
660
664
|
}
|
|
@@ -707,6 +711,10 @@ function info_default2({ defineComponent, validation: { Z }, All }) {
|
|
|
707
711
|
component: UrlSelection2,
|
|
708
712
|
validation: Z.number().min(0, "Choosing a url is mandatory")
|
|
709
713
|
}
|
|
714
|
+
},
|
|
715
|
+
notes: {
|
|
716
|
+
help: "Additional notes about this component",
|
|
717
|
+
hint: { type: "text", optional: true }
|
|
710
718
|
}
|
|
711
719
|
}
|
|
712
720
|
}
|
|
@@ -768,7 +776,11 @@ function info_default3({ defineComponent, Av, Subtitle, validation: { LanguageTa
|
|
|
768
776
|
configForm: {
|
|
769
777
|
form: {
|
|
770
778
|
language: { help: "Source language to transcribe", hint: { type: "custom", component: TranscribeLanguageSelection2, defaultValue: "en-US", validation: LanguageTagWithCountry } },
|
|
771
|
-
targetLanguage: { help: "Target language to translate to (optional).", hint: { type: "custom", component: TranslateLanguageSelection2, defaultValue: "", validation: Z.union([LanguageTagOptionalCountry, Z.string().length(0)]) } }
|
|
779
|
+
targetLanguage: { help: "Target language to translate to (optional).", hint: { type: "custom", component: TranslateLanguageSelection2, defaultValue: "", validation: Z.union([LanguageTagOptionalCountry, Z.string().length(0)]) } },
|
|
780
|
+
notes: {
|
|
781
|
+
help: "Additional notes about this component",
|
|
782
|
+
hint: { type: "text", optional: true }
|
|
783
|
+
}
|
|
772
784
|
}
|
|
773
785
|
}
|
|
774
786
|
});
|