@webex/plugin-meetings 3.0.0-beta.160 → 3.0.0-beta.161
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/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/constants.js +12 -2
- package/dist/constants.js.map +1 -1
- package/dist/interpretation/collection.js +23 -0
- package/dist/interpretation/collection.js.map +1 -0
- package/dist/interpretation/index.js +214 -0
- package/dist/interpretation/index.js.map +1 -0
- package/dist/interpretation/siLanguage.js +25 -0
- package/dist/interpretation/siLanguage.js.map +1 -0
- package/dist/locus-info/controlsUtils.js +1 -0
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +19 -0
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/selfUtils.js +20 -11
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/meeting/index.js +402 -354
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/util.js +1 -0
- package/dist/meeting/util.js.map +1 -1
- package/dist/member/index.js +2 -0
- package/dist/member/index.js.map +1 -1
- package/dist/member/util.js +11 -0
- package/dist/member/util.js.map +1 -1
- package/dist/types/constants.d.ts +9 -0
- package/dist/types/interpretation/collection.d.ts +5 -0
- package/dist/types/interpretation/index.d.ts +5 -0
- package/dist/types/interpretation/siLanguage.d.ts +5 -0
- package/dist/types/meeting/index.d.ts +8 -0
- package/dist/types/member/index.d.ts +1 -0
- package/package.json +19 -19
- package/src/constants.ts +10 -0
- package/src/interpretation/README.md +51 -0
- package/src/interpretation/collection.ts +19 -0
- package/src/interpretation/index.ts +182 -0
- package/src/interpretation/siLanguage.ts +18 -0
- package/src/locus-info/controlsUtils.ts +2 -0
- package/src/locus-info/index.ts +29 -0
- package/src/locus-info/selfUtils.ts +6 -0
- package/src/meeting/index.ts +62 -1
- package/src/meeting/util.ts +1 -0
- package/src/member/index.ts +2 -0
- package/src/member/util.ts +14 -0
- package/test/unit/spec/interpretation/collection.ts +15 -0
- package/test/unit/spec/interpretation/index.ts +329 -0
- package/test/unit/spec/interpretation/siLanguage.ts +26 -0
- package/test/unit/spec/locus-info/controlsUtils.js +20 -0
- package/test/unit/spec/locus-info/index.js +64 -0
- package/test/unit/spec/locus-info/selfConstant.js +10 -0
- package/test/unit/spec/locus-info/selfUtils.js +26 -0
- package/test/unit/spec/meeting/index.js +62 -1
- package/test/unit/spec/meeting/utils.js +2 -0
- package/test/unit/spec/member/index.js +11 -4
- package/test/unit/spec/member/util.js +24 -0
|
@@ -398,4 +398,28 @@ describe('plugin-meetings', () => {
|
|
|
398
398
|
assert.isFalse(MemberUtil.isLiveAnnotationSupported(participant));
|
|
399
399
|
});
|
|
400
400
|
});
|
|
401
|
+
|
|
402
|
+
describe('MemberUtil.isInterpretationSupported', () => {
|
|
403
|
+
it('throws error when there is no participant', () => {
|
|
404
|
+
assert.throws(() => {
|
|
405
|
+
MemberUtil.isInterpretationSupported();
|
|
406
|
+
}, 'Interpretation support could not be processed, participant is undefined.');
|
|
407
|
+
});
|
|
408
|
+
|
|
409
|
+
it('returns true when hand SiInterpreter are supported', () => {
|
|
410
|
+
const participant = {
|
|
411
|
+
doesNotSupportSiInterpreter: false
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
assert.isTrue(MemberUtil.isInterpretationSupported(participant));
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
it('returns false when hand SiInterpreter are not supported', () => {
|
|
418
|
+
const participant = {
|
|
419
|
+
doesNotSupportSiInterpreter: true
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
assert.isFalse(MemberUtil.isInterpretationSupported(participant));
|
|
423
|
+
});
|
|
424
|
+
});
|
|
401
425
|
});
|