mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-18 22:36:29 +00:00
4548f69de8
Provide the minimal components required to support an Outlook add-in: user authentication, JWT retrieval, and API calls to generate meeting links. This implementation is an early alpha: developer experience is limited, documentation is incomplete, and the solution is not white-labeled. It's too early to consider these parts ready to ship into production. As a result, it is currently only available within the DINUM frontend image.
17 lines
342 B
JavaScript
17 lines
342 B
JavaScript
const { APP_NAME } = require("./index");
|
|
|
|
function isOfficeReady() {
|
|
return typeof Office !== "undefined" && Office?.context?.roamingSettings != null;
|
|
}
|
|
|
|
function applyAppName() {
|
|
document.querySelectorAll("[data-app-name]").forEach((el) => {
|
|
el.textContent = APP_NAME;
|
|
});
|
|
}
|
|
|
|
module.exports = {
|
|
isOfficeReady,
|
|
applyAppName,
|
|
};
|