@microsoft/teams.client 0.2.11 → 0.2.13
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/README.md +37 -37
- package/dist/app.d.mts +25 -4
- package/dist/app.d.ts +25 -4
- package/dist/app.js +44 -7
- package/dist/app.js.map +1 -1
- package/dist/app.mjs +44 -7
- package/dist/app.mjs.map +1 -1
- package/dist/graph-utils.d.mts +10 -0
- package/dist/graph-utils.d.ts +10 -0
- package/dist/graph-utils.js +50 -0
- package/dist/graph-utils.js.map +1 -0
- package/dist/graph-utils.mjs +27 -0
- package/dist/graph-utils.mjs.map +1 -0
- package/dist/index.d.mts +3 -53
- package/dist/index.d.ts +3 -53
- package/dist/index.js +3 -34
- package/dist/index.mjs +1 -4
- package/dist/msal-utils.d.mts +11 -1
- package/dist/msal-utils.d.ts +11 -1
- package/dist/msal-utils.js +14 -0
- package/dist/msal-utils.js.map +1 -1
- package/dist/msal-utils.mjs +14 -1
- package/dist/msal-utils.mjs.map +1 -1
- package/package.json +4 -2
- package/dist/context/app-host.d.mts +0 -25
- package/dist/context/app-host.d.ts +0 -25
- package/dist/context/app-host.js +0 -4
- package/dist/context/app-host.js.map +0 -1
- package/dist/context/app-host.mjs +0 -3
- package/dist/context/app-host.mjs.map +0 -1
- package/dist/context/app.d.mts +0 -69
- package/dist/context/app.d.ts +0 -69
- package/dist/context/app.js +0 -4
- package/dist/context/app.js.map +0 -1
- package/dist/context/app.mjs +0 -3
- package/dist/context/app.mjs.map +0 -1
- package/dist/context/channel.d.mts +0 -37
- package/dist/context/channel.d.ts +0 -37
- package/dist/context/channel.js +0 -4
- package/dist/context/channel.js.map +0 -1
- package/dist/context/channel.mjs +0 -3
- package/dist/context/channel.mjs.map +0 -1
- package/dist/context/chat.d.mts +0 -11
- package/dist/context/chat.d.ts +0 -11
- package/dist/context/chat.js +0 -4
- package/dist/context/chat.js.map +0 -1
- package/dist/context/chat.mjs +0 -3
- package/dist/context/chat.mjs.map +0 -1
- package/dist/context/index.d.mts +0 -74
- package/dist/context/index.d.ts +0 -74
- package/dist/context/index.js +0 -108
- package/dist/context/index.js.map +0 -1
- package/dist/context/index.mjs +0 -86
- package/dist/context/index.mjs.map +0 -1
- package/dist/context/meeting.d.mts +0 -11
- package/dist/context/meeting.d.ts +0 -11
- package/dist/context/meeting.js +0 -4
- package/dist/context/meeting.js.map +0 -1
- package/dist/context/meeting.mjs +0 -3
- package/dist/context/meeting.mjs.map +0 -1
- package/dist/context/page.d.mts +0 -40
- package/dist/context/page.d.ts +0 -40
- package/dist/context/page.js +0 -4
- package/dist/context/page.js.map +0 -1
- package/dist/context/page.mjs +0 -3
- package/dist/context/page.mjs.map +0 -1
- package/dist/context/share-point-site.d.mts +0 -31
- package/dist/context/share-point-site.d.ts +0 -31
- package/dist/context/share-point-site.js +0 -4
- package/dist/context/share-point-site.js.map +0 -1
- package/dist/context/share-point-site.mjs +0 -3
- package/dist/context/share-point-site.mjs.map +0 -1
- package/dist/context/team.d.mts +0 -42
- package/dist/context/team.d.ts +0 -42
- package/dist/context/team.js +0 -4
- package/dist/context/team.js.map +0 -1
- package/dist/context/team.mjs +0 -3
- package/dist/context/team.mjs.map +0 -1
- package/dist/context/tenant.d.mts +0 -20
- package/dist/context/tenant.d.ts +0 -20
- package/dist/context/tenant.js +0 -4
- package/dist/context/tenant.js.map +0 -1
- package/dist/context/tenant.mjs +0 -3
- package/dist/context/tenant.mjs.map +0 -1
- package/dist/context/user.d.mts +0 -63
- package/dist/context/user.d.ts +0 -63
- package/dist/context/user.js +0 -4
- package/dist/context/user.js.map +0 -1
- package/dist/context/user.mjs +0 -3
- package/dist/context/user.mjs.map +0 -1
- package/dist/index-5Ok-M8A0.d.ts +0 -13
- package/dist/index-7hUkxLxx.d.mts +0 -17
- package/dist/index-8IcDrPMv.d.ts +0 -70
- package/dist/index-D6kqtGPa.d.mts +0 -13
- package/dist/index-DJal_Cxb.d.mts +0 -70
- package/dist/index-DrTQ_GLN.d.mts +0 -21
- package/dist/index-DtE-Eb9L.d.ts +0 -17
- package/dist/index-_Hc8oq9_.d.ts +0 -21
- package/dist/window/client-error.d.mts +0 -10
- package/dist/window/client-error.d.ts +0 -10
- package/dist/window/client-error.js +0 -4
- package/dist/window/client-error.js.map +0 -1
- package/dist/window/client-error.mjs +0 -3
- package/dist/window/client-error.mjs.map +0 -1
- package/dist/window/clients/app-entity.d.mts +0 -12
- package/dist/window/clients/app-entity.d.ts +0 -12
- package/dist/window/clients/app-entity.js +0 -15
- package/dist/window/clients/app-entity.js.map +0 -1
- package/dist/window/clients/app-entity.mjs +0 -13
- package/dist/window/clients/app-entity.mjs.map +0 -1
- package/dist/window/clients/app-initialization.d.mts +0 -50
- package/dist/window/clients/app-initialization.d.ts +0 -50
- package/dist/window/clients/app-initialization.js +0 -24
- package/dist/window/clients/app-initialization.js.map +0 -1
- package/dist/window/clients/app-initialization.mjs +0 -22
- package/dist/window/clients/app-initialization.mjs.map +0 -1
- package/dist/window/clients/app-install-dialog.d.mts +0 -21
- package/dist/window/clients/app-install-dialog.d.ts +0 -21
- package/dist/window/clients/app-install-dialog.js +0 -22
- package/dist/window/clients/app-install-dialog.js.map +0 -1
- package/dist/window/clients/app-install-dialog.mjs +0 -20
- package/dist/window/clients/app-install-dialog.mjs.map +0 -1
- package/dist/window/clients/authentication.d.mts +0 -66
- package/dist/window/clients/authentication.d.ts +0 -66
- package/dist/window/clients/authentication.js +0 -47
- package/dist/window/clients/authentication.js.map +0 -1
- package/dist/window/clients/authentication.mjs +0 -45
- package/dist/window/clients/authentication.mjs.map +0 -1
- package/dist/window/clients/bar-code.d.mts +0 -13
- package/dist/window/clients/bar-code.d.ts +0 -13
- package/dist/window/clients/bar-code.js +0 -20
- package/dist/window/clients/bar-code.js.map +0 -1
- package/dist/window/clients/bar-code.mjs +0 -18
- package/dist/window/clients/bar-code.mjs.map +0 -1
- package/dist/window/clients/calendar.d.mts +0 -47
- package/dist/window/clients/calendar.d.ts +0 -47
- package/dist/window/clients/calendar.js +0 -18
- package/dist/window/clients/calendar.js.map +0 -1
- package/dist/window/clients/calendar.mjs +0 -16
- package/dist/window/clients/calendar.mjs.map +0 -1
- package/dist/window/clients/call.d.mts +0 -32
- package/dist/window/clients/call.d.ts +0 -32
- package/dist/window/clients/call.js +0 -16
- package/dist/window/clients/call.js.map +0 -1
- package/dist/window/clients/call.mjs +0 -14
- package/dist/window/clients/call.mjs.map +0 -1
- package/dist/window/clients/clipboard.d.mts +0 -26
- package/dist/window/clients/clipboard.d.ts +0 -26
- package/dist/window/clients/clipboard.js +0 -19
- package/dist/window/clients/clipboard.js.map +0 -1
- package/dist/window/clients/clipboard.mjs +0 -17
- package/dist/window/clients/clipboard.mjs.map +0 -1
- package/dist/window/clients/conversation.d.mts +0 -53
- package/dist/window/clients/conversation.d.ts +0 -53
- package/dist/window/clients/conversation.js +0 -25
- package/dist/window/clients/conversation.js.map +0 -1
- package/dist/window/clients/conversation.mjs +0 -23
- package/dist/window/clients/conversation.mjs.map +0 -1
- package/dist/window/clients/dialog.d.mts +0 -81
- package/dist/window/clients/dialog.d.ts +0 -81
- package/dist/window/clients/dialog.js +0 -37
- package/dist/window/clients/dialog.js.map +0 -1
- package/dist/window/clients/dialog.mjs +0 -35
- package/dist/window/clients/dialog.mjs.map +0 -1
- package/dist/window/clients/index.d.mts +0 -84
- package/dist/window/clients/index.d.ts +0 -84
- package/dist/window/clients/index.js +0 -159
- package/dist/window/clients/index.js.map +0 -1
- package/dist/window/clients/index.mjs +0 -87
- package/dist/window/clients/index.mjs.map +0 -1
- package/dist/window/clients/location.d.mts +0 -14
- package/dist/window/clients/location.d.ts +0 -14
- package/dist/window/clients/location.js +0 -22
- package/dist/window/clients/location.js.map +0 -1
- package/dist/window/clients/location.mjs +0 -20
- package/dist/window/clients/location.mjs.map +0 -1
- package/dist/window/clients/media.d.mts +0 -190
- package/dist/window/clients/media.d.ts +0 -190
- package/dist/window/clients/media.js +0 -75
- package/dist/window/clients/media.js.map +0 -1
- package/dist/window/clients/media.mjs +0 -68
- package/dist/window/clients/media.mjs.map +0 -1
- package/dist/window/clients/notification.d.mts +0 -17
- package/dist/window/clients/notification.d.ts +0 -17
- package/dist/window/clients/notification.js +0 -15
- package/dist/window/clients/notification.js.map +0 -1
- package/dist/window/clients/notification.mjs +0 -13
- package/dist/window/clients/notification.mjs.map +0 -1
- package/dist/window/clients/permission.d.mts +0 -14
- package/dist/window/clients/permission.d.ts +0 -14
- package/dist/window/clients/permission.js +0 -20
- package/dist/window/clients/permission.js.map +0 -1
- package/dist/window/clients/permission.mjs +0 -18
- package/dist/window/clients/permission.mjs.map +0 -1
- package/dist/window/index.d.mts +0 -59
- package/dist/window/index.d.ts +0 -59
- package/dist/window/index.js +0 -35
- package/dist/window/index.js.map +0 -1
- package/dist/window/index.mjs +0 -6
- package/dist/window/index.mjs.map +0 -1
- package/dist/window/message.d.mts +0 -24
- package/dist/window/message.d.ts +0 -24
- package/dist/window/message.js +0 -4
- package/dist/window/message.js.map +0 -1
- package/dist/window/message.mjs +0 -3
- package/dist/window/message.mjs.map +0 -1
- package/dist/window/runtime.d.mts +0 -96
- package/dist/window/runtime.d.ts +0 -96
- package/dist/window/runtime.js +0 -4
- package/dist/window/runtime.js.map +0 -1
- package/dist/window/runtime.mjs +0 -3
- package/dist/window/runtime.mjs.map +0 -1
- package/dist/window/types/action-open-url-type.d.mts +0 -15
- package/dist/window/types/action-open-url-type.d.ts +0 -15
- package/dist/window/types/action-open-url-type.js +0 -13
- package/dist/window/types/action-open-url-type.js.map +0 -1
- package/dist/window/types/action-open-url-type.mjs +0 -11
- package/dist/window/types/action-open-url-type.mjs.map +0 -1
- package/dist/window/types/app-eligibility-info.d.mts +0 -48
- package/dist/window/types/app-eligibility-info.d.ts +0 -48
- package/dist/window/types/app-eligibility-info.js +0 -4
- package/dist/window/types/app-eligibility-info.js.map +0 -1
- package/dist/window/types/app-eligibility-info.mjs +0 -3
- package/dist/window/types/app-eligibility-info.mjs.map +0 -1
- package/dist/window/types/bar-code-config.d.mts +0 -13
- package/dist/window/types/bar-code-config.d.ts +0 -13
- package/dist/window/types/bar-code-config.js +0 -4
- package/dist/window/types/bar-code-config.js.map +0 -1
- package/dist/window/types/bar-code-config.mjs +0 -3
- package/dist/window/types/bar-code-config.mjs.map +0 -1
- package/dist/window/types/call-modality.d.mts +0 -21
- package/dist/window/types/call-modality.d.ts +0 -21
- package/dist/window/types/call-modality.js +0 -14
- package/dist/window/types/call-modality.js.map +0 -1
- package/dist/window/types/call-modality.mjs +0 -12
- package/dist/window/types/call-modality.mjs.map +0 -1
- package/dist/window/types/channel-type.d.mts +0 -17
- package/dist/window/types/channel-type.d.ts +0 -17
- package/dist/window/types/channel-type.js +0 -12
- package/dist/window/types/channel-type.js.map +0 -1
- package/dist/window/types/channel-type.mjs +0 -10
- package/dist/window/types/channel-type.mjs.map +0 -1
- package/dist/window/types/context.d.mts +0 -275
- package/dist/window/types/context.d.ts +0 -275
- package/dist/window/types/context.js +0 -4
- package/dist/window/types/context.js.map +0 -1
- package/dist/window/types/context.mjs +0 -3
- package/dist/window/types/context.mjs.map +0 -1
- package/dist/window/types/data-residency.d.mts +0 -6
- package/dist/window/types/data-residency.d.ts +0 -6
- package/dist/window/types/data-residency.js +0 -4
- package/dist/window/types/data-residency.js.map +0 -1
- package/dist/window/types/data-residency.mjs +0 -3
- package/dist/window/types/data-residency.mjs.map +0 -1
- package/dist/window/types/dialog/dialog-dimension.d.mts +0 -17
- package/dist/window/types/dialog/dialog-dimension.d.ts +0 -17
- package/dist/window/types/dialog/dialog-dimension.js +0 -12
- package/dist/window/types/dialog/dialog-dimension.js.map +0 -1
- package/dist/window/types/dialog/dialog-dimension.mjs +0 -10
- package/dist/window/types/dialog/dialog-dimension.mjs.map +0 -1
- package/dist/window/types/dialog/dialog-info.d.mts +0 -43
- package/dist/window/types/dialog/dialog-info.d.ts +0 -43
- package/dist/window/types/dialog/dialog-info.js +0 -4
- package/dist/window/types/dialog/dialog-info.js.map +0 -1
- package/dist/window/types/dialog/dialog-info.mjs +0 -3
- package/dist/window/types/dialog/dialog-info.mjs.map +0 -1
- package/dist/window/types/dialog/dialog-size.d.mts +0 -14
- package/dist/window/types/dialog/dialog-size.d.ts +0 -14
- package/dist/window/types/dialog/dialog-size.js +0 -4
- package/dist/window/types/dialog/dialog-size.js.map +0 -1
- package/dist/window/types/dialog/dialog-size.mjs +0 -3
- package/dist/window/types/dialog/dialog-size.mjs.map +0 -1
- package/dist/window/types/dialog/index.d.mts +0 -3
- package/dist/window/types/dialog/index.d.ts +0 -3
- package/dist/window/types/dialog/index.js +0 -28
- package/dist/window/types/dialog/index.js.map +0 -1
- package/dist/window/types/dialog/index.mjs +0 -5
- package/dist/window/types/dialog/index.mjs.map +0 -1
- package/dist/window/types/file-open-preference.d.mts +0 -17
- package/dist/window/types/file-open-preference.d.ts +0 -17
- package/dist/window/types/file-open-preference.js +0 -12
- package/dist/window/types/file-open-preference.js.map +0 -1
- package/dist/window/types/file-open-preference.mjs +0 -10
- package/dist/window/types/file-open-preference.mjs.map +0 -1
- package/dist/window/types/file.d.mts +0 -42
- package/dist/window/types/file.d.ts +0 -42
- package/dist/window/types/file.js +0 -11
- package/dist/window/types/file.js.map +0 -1
- package/dist/window/types/file.mjs +0 -9
- package/dist/window/types/file.mjs.map +0 -1
- package/dist/window/types/frame-context.d.mts +0 -44
- package/dist/window/types/frame-context.d.ts +0 -44
- package/dist/window/types/frame-context.js +0 -17
- package/dist/window/types/frame-context.js.map +0 -1
- package/dist/window/types/frame-context.mjs +0 -15
- package/dist/window/types/frame-context.mjs.map +0 -1
- package/dist/window/types/host.d.mts +0 -73
- package/dist/window/types/host.d.ts +0 -73
- package/dist/window/types/host.js +0 -32
- package/dist/window/types/host.js.map +0 -1
- package/dist/window/types/host.mjs +0 -29
- package/dist/window/types/host.mjs.map +0 -1
- package/dist/window/types/index.d.mts +0 -39
- package/dist/window/types/index.d.ts +0 -39
- package/dist/window/types/index.js +0 -189
- package/dist/window/types/index.js.map +0 -1
- package/dist/window/types/index.mjs +0 -30
- package/dist/window/types/index.mjs.map +0 -1
- package/dist/window/types/legal-age-group-classification.d.mts +0 -34
- package/dist/window/types/legal-age-group-classification.d.ts +0 -34
- package/dist/window/types/legal-age-group-classification.js +0 -14
- package/dist/window/types/legal-age-group-classification.js.map +0 -1
- package/dist/window/types/legal-age-group-classification.mjs +0 -12
- package/dist/window/types/legal-age-group-classification.mjs.map +0 -1
- package/dist/window/types/liveshare/client.d.mts +0 -23
- package/dist/window/types/liveshare/client.d.ts +0 -23
- package/dist/window/types/liveshare/client.js +0 -4
- package/dist/window/types/liveshare/client.js.map +0 -1
- package/dist/window/types/liveshare/client.mjs +0 -3
- package/dist/window/types/liveshare/client.mjs.map +0 -1
- package/dist/window/types/liveshare/container-state.d.mts +0 -33
- package/dist/window/types/liveshare/container-state.d.ts +0 -33
- package/dist/window/types/liveshare/container-state.js +0 -13
- package/dist/window/types/liveshare/container-state.js.map +0 -1
- package/dist/window/types/liveshare/container-state.mjs +0 -11
- package/dist/window/types/liveshare/container-state.mjs.map +0 -1
- package/dist/window/types/liveshare/fluid-container.d.mts +0 -28
- package/dist/window/types/liveshare/fluid-container.d.ts +0 -28
- package/dist/window/types/liveshare/fluid-container.js +0 -4
- package/dist/window/types/liveshare/fluid-container.js.map +0 -1
- package/dist/window/types/liveshare/fluid-container.mjs +0 -3
- package/dist/window/types/liveshare/fluid-container.mjs.map +0 -1
- package/dist/window/types/liveshare/fluid-tenant.d.mts +0 -16
- package/dist/window/types/liveshare/fluid-tenant.d.ts +0 -16
- package/dist/window/types/liveshare/fluid-tenant.js +0 -4
- package/dist/window/types/liveshare/fluid-tenant.js.map +0 -1
- package/dist/window/types/liveshare/fluid-tenant.mjs +0 -3
- package/dist/window/types/liveshare/fluid-tenant.mjs.map +0 -1
- package/dist/window/types/liveshare/index.d.mts +0 -6
- package/dist/window/types/liveshare/index.d.ts +0 -6
- package/dist/window/types/liveshare/index.js +0 -42
- package/dist/window/types/liveshare/index.js.map +0 -1
- package/dist/window/types/liveshare/index.mjs +0 -7
- package/dist/window/types/liveshare/index.mjs.map +0 -1
- package/dist/window/types/liveshare/ntp-time.d.mts +0 -16
- package/dist/window/types/liveshare/ntp-time.d.ts +0 -16
- package/dist/window/types/liveshare/ntp-time.js +0 -4
- package/dist/window/types/liveshare/ntp-time.js.map +0 -1
- package/dist/window/types/liveshare/ntp-time.mjs +0 -3
- package/dist/window/types/liveshare/ntp-time.mjs.map +0 -1
- package/dist/window/types/locale.d.mts +0 -38
- package/dist/window/types/locale.d.ts +0 -38
- package/dist/window/types/locale.js +0 -4
- package/dist/window/types/locale.js.map +0 -1
- package/dist/window/types/locale.mjs +0 -3
- package/dist/window/types/locale.mjs.map +0 -1
- package/dist/window/types/location.d.mts +0 -25
- package/dist/window/types/location.d.ts +0 -25
- package/dist/window/types/location.js +0 -4
- package/dist/window/types/location.js.map +0 -1
- package/dist/window/types/location.mjs +0 -3
- package/dist/window/types/location.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-info.d.mts +0 -47
- package/dist/window/types/marketplace/cart-info.d.ts +0 -47
- package/dist/window/types/marketplace/cart-info.js +0 -4
- package/dist/window/types/marketplace/cart-info.js.map +0 -1
- package/dist/window/types/marketplace/cart-info.mjs +0 -3
- package/dist/window/types/marketplace/cart-info.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-item.d.mts +0 -40
- package/dist/window/types/marketplace/cart-item.d.ts +0 -40
- package/dist/window/types/marketplace/cart-item.js +0 -4
- package/dist/window/types/marketplace/cart-item.js.map +0 -1
- package/dist/window/types/marketplace/cart-item.mjs +0 -3
- package/dist/window/types/marketplace/cart-item.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-status.d.mts +0 -33
- package/dist/window/types/marketplace/cart-status.d.ts +0 -33
- package/dist/window/types/marketplace/cart-status.js +0 -14
- package/dist/window/types/marketplace/cart-status.js.map +0 -1
- package/dist/window/types/marketplace/cart-status.mjs +0 -12
- package/dist/window/types/marketplace/cart-status.mjs.map +0 -1
- package/dist/window/types/marketplace/cart-version.d.mts +0 -17
- package/dist/window/types/marketplace/cart-version.d.ts +0 -17
- package/dist/window/types/marketplace/cart-version.js +0 -4
- package/dist/window/types/marketplace/cart-version.js.map +0 -1
- package/dist/window/types/marketplace/cart-version.mjs +0 -3
- package/dist/window/types/marketplace/cart-version.mjs.map +0 -1
- package/dist/window/types/marketplace/cart.d.mts +0 -29
- package/dist/window/types/marketplace/cart.d.ts +0 -29
- package/dist/window/types/marketplace/cart.js +0 -4
- package/dist/window/types/marketplace/cart.js.map +0 -1
- package/dist/window/types/marketplace/cart.mjs +0 -3
- package/dist/window/types/marketplace/cart.mjs.map +0 -1
- package/dist/window/types/marketplace/index.d.mts +0 -6
- package/dist/window/types/marketplace/index.d.ts +0 -6
- package/dist/window/types/marketplace/index.js +0 -49
- package/dist/window/types/marketplace/index.js.map +0 -1
- package/dist/window/types/marketplace/index.mjs +0 -8
- package/dist/window/types/marketplace/index.mjs.map +0 -1
- package/dist/window/types/marketplace/intent.d.mts +0 -23
- package/dist/window/types/marketplace/intent.d.ts +0 -23
- package/dist/window/types/marketplace/intent.js +0 -12
- package/dist/window/types/marketplace/intent.js.map +0 -1
- package/dist/window/types/marketplace/intent.mjs +0 -10
- package/dist/window/types/marketplace/intent.mjs.map +0 -1
- package/dist/window/types/notification-type.d.mts +0 -3
- package/dist/window/types/notification-type.d.ts +0 -3
- package/dist/window/types/notification-type.js +0 -4
- package/dist/window/types/notification-type.js.map +0 -1
- package/dist/window/types/notification-type.mjs +0 -3
- package/dist/window/types/notification-type.mjs.map +0 -1
- package/dist/window/types/permission.d.mts +0 -3
- package/dist/window/types/permission.d.ts +0 -3
- package/dist/window/types/permission.js +0 -4
- package/dist/window/types/permission.js.map +0 -1
- package/dist/window/types/permission.mjs +0 -3
- package/dist/window/types/permission.mjs.map +0 -1
- package/dist/window/types/team-type.d.mts +0 -24
- package/dist/window/types/team-type.d.ts +0 -24
- package/dist/window/types/team-type.js +0 -18
- package/dist/window/types/team-type.js.map +0 -1
- package/dist/window/types/team-type.mjs +0 -15
- package/dist/window/types/team-type.mjs.map +0 -1
- package/dist/window/types/theme.d.mts +0 -6
- package/dist/window/types/theme.d.ts +0 -6
- package/dist/window/types/theme.js +0 -4
- package/dist/window/types/theme.js.map +0 -1
- package/dist/window/types/theme.mjs +0 -3
- package/dist/window/types/theme.mjs.map +0 -1
- package/dist/window/types/thread-member.d.mts +0 -11
- package/dist/window/types/thread-member.d.ts +0 -11
- package/dist/window/types/thread-member.js +0 -4
- package/dist/window/types/thread-member.js.map +0 -1
- package/dist/window/types/thread-member.mjs +0 -3
- package/dist/window/types/thread-member.mjs.map +0 -1
- package/dist/window/types/user-meeting-role.d.mts +0 -31
- package/dist/window/types/user-meeting-role.d.ts +0 -31
- package/dist/window/types/user-meeting-role.js +0 -13
- package/dist/window/types/user-meeting-role.js.map +0 -1
- package/dist/window/types/user-meeting-role.mjs +0 -11
- package/dist/window/types/user-meeting-role.mjs.map +0 -1
- package/dist/window/types/user-profile.d.mts +0 -82
- package/dist/window/types/user-profile.d.ts +0 -82
- package/dist/window/types/user-profile.js +0 -4
- package/dist/window/types/user-profile.js.map +0 -1
- package/dist/window/types/user-profile.mjs +0 -3
- package/dist/window/types/user-profile.mjs.map +0 -1
- package/dist/window/types/user-team-role.d.mts +0 -18
- package/dist/window/types/user-team-role.d.ts +0 -18
- package/dist/window/types/user-team-role.js +0 -16
- package/dist/window/types/user-team-role.js.map +0 -1
- package/dist/window/types/user-team-role.mjs +0 -13
- package/dist/window/types/user-team-role.mjs.map +0 -1
- package/dist/window/window-client.d.mts +0 -28
- package/dist/window/window-client.d.ts +0 -28
- package/dist/window/window-client.js +0 -92
- package/dist/window/window-client.js.map +0 -1
- package/dist/window/window-client.mjs +0 -70
- package/dist/window/window-client.mjs.map +0 -1
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChannelType } from '../window/types/channel-type.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Represents Channel information.
|
|
5
|
-
*/
|
|
6
|
-
type ChannelContext = {
|
|
7
|
-
/**
|
|
8
|
-
* The Microsoft Teams ID for the channel with which the content is associated.
|
|
9
|
-
*/
|
|
10
|
-
id: string;
|
|
11
|
-
/**
|
|
12
|
-
* The name for the channel with which the content is associated.
|
|
13
|
-
*/
|
|
14
|
-
displayName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The relative path to the SharePoint folder associated with the channel.
|
|
17
|
-
*/
|
|
18
|
-
relativeUrl?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The type of the channel with which the content is associated.
|
|
21
|
-
*/
|
|
22
|
-
membershipType?: ChannelType;
|
|
23
|
-
/**
|
|
24
|
-
* The OneNote section ID that is linked to the channel.
|
|
25
|
-
*/
|
|
26
|
-
defaultOneNoteSectionId?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The tenant ID of the team which owns the channel.
|
|
29
|
-
*/
|
|
30
|
-
ownerTenantId?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The Microsoft Entra group ID of the team which owns the channel.
|
|
33
|
-
*/
|
|
34
|
-
ownerGroupId?: string;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export type { ChannelContext };
|
package/dist/context/channel.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"channel.js"}
|
package/dist/context/channel.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"channel.mjs"}
|
package/dist/context/chat.d.mts
DELETED
package/dist/context/chat.d.ts
DELETED
package/dist/context/chat.js
DELETED
package/dist/context/chat.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chat.js"}
|
package/dist/context/chat.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chat.mjs"}
|
package/dist/context/index.d.mts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { Context as Context$1 } from '../window/types/context.mjs';
|
|
2
|
-
import { AppContext } from './app.mjs';
|
|
3
|
-
import { ChannelContext } from './channel.mjs';
|
|
4
|
-
import { ChatContext } from './chat.mjs';
|
|
5
|
-
import { MeetingContext } from './meeting.mjs';
|
|
6
|
-
import { PageContext } from './page.mjs';
|
|
7
|
-
import { SharePointSiteContext } from './share-point-site.mjs';
|
|
8
|
-
import { TeamContext } from './team.mjs';
|
|
9
|
-
import { UserContext } from './user.mjs';
|
|
10
|
-
import '../window/types/channel-type.mjs';
|
|
11
|
-
import '../window/types/file-open-preference.mjs';
|
|
12
|
-
import '../window/types/frame-context.mjs';
|
|
13
|
-
import '../window/types/host.mjs';
|
|
14
|
-
import '../window/types/locale.mjs';
|
|
15
|
-
import '../window/types/team-type.mjs';
|
|
16
|
-
import '../window/types/theme.mjs';
|
|
17
|
-
import '../window/types/user-team-role.mjs';
|
|
18
|
-
import './app-host.mjs';
|
|
19
|
-
import './tenant.mjs';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Represents structure of the received context message.
|
|
23
|
-
*/
|
|
24
|
-
type Context = {
|
|
25
|
-
/**
|
|
26
|
-
* Properties about the current session for your app
|
|
27
|
-
*/
|
|
28
|
-
app: AppContext;
|
|
29
|
-
/**
|
|
30
|
-
* Info about the current page context hosting your app
|
|
31
|
-
*/
|
|
32
|
-
page: PageContext;
|
|
33
|
-
/**
|
|
34
|
-
* Info about the currently logged in user running the app.
|
|
35
|
-
* If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.
|
|
36
|
-
*/
|
|
37
|
-
user?: UserContext;
|
|
38
|
-
/**
|
|
39
|
-
* When running in the context of a Teams channel, provides information about the channel, else `undefined`
|
|
40
|
-
*/
|
|
41
|
-
channel?: ChannelContext;
|
|
42
|
-
/**
|
|
43
|
-
* When running in the context of a Teams chat, provides information about the chat, else `undefined`
|
|
44
|
-
*/
|
|
45
|
-
chat?: ChatContext;
|
|
46
|
-
/**
|
|
47
|
-
* When running in the context of a Teams meeting, provides information about the meeting, else `undefined`
|
|
48
|
-
*/
|
|
49
|
-
meeting?: MeetingContext;
|
|
50
|
-
/**
|
|
51
|
-
* When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`
|
|
52
|
-
*/
|
|
53
|
-
sharepoint?: any;
|
|
54
|
-
/**
|
|
55
|
-
* When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.
|
|
56
|
-
* Will be `undefined` when not running in Teams for an organization with a tenant.
|
|
57
|
-
*/
|
|
58
|
-
sharePointSite?: SharePointSiteContext;
|
|
59
|
-
/**
|
|
60
|
-
* When running in Teams, provides information about the Team context in which your app is running.
|
|
61
|
-
* Will be `undefined` when not running in Teams.
|
|
62
|
-
*/
|
|
63
|
-
team?: TeamContext;
|
|
64
|
-
/**
|
|
65
|
-
* When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.
|
|
66
|
-
* App developers need to use these `extractedParameters` in their dialog.
|
|
67
|
-
* They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.
|
|
68
|
-
* If there's no key/value pairs passed, the object will be empty in the case
|
|
69
|
-
*/
|
|
70
|
-
dialogParameters: Record<string, string>;
|
|
71
|
-
};
|
|
72
|
-
declare function mapContext(ctx: Context$1): Context;
|
|
73
|
-
|
|
74
|
-
export { type Context, mapContext };
|
package/dist/context/index.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { Context as Context$1 } from '../window/types/context.js';
|
|
2
|
-
import { AppContext } from './app.js';
|
|
3
|
-
import { ChannelContext } from './channel.js';
|
|
4
|
-
import { ChatContext } from './chat.js';
|
|
5
|
-
import { MeetingContext } from './meeting.js';
|
|
6
|
-
import { PageContext } from './page.js';
|
|
7
|
-
import { SharePointSiteContext } from './share-point-site.js';
|
|
8
|
-
import { TeamContext } from './team.js';
|
|
9
|
-
import { UserContext } from './user.js';
|
|
10
|
-
import '../window/types/channel-type.js';
|
|
11
|
-
import '../window/types/file-open-preference.js';
|
|
12
|
-
import '../window/types/frame-context.js';
|
|
13
|
-
import '../window/types/host.js';
|
|
14
|
-
import '../window/types/locale.js';
|
|
15
|
-
import '../window/types/team-type.js';
|
|
16
|
-
import '../window/types/theme.js';
|
|
17
|
-
import '../window/types/user-team-role.js';
|
|
18
|
-
import './app-host.js';
|
|
19
|
-
import './tenant.js';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Represents structure of the received context message.
|
|
23
|
-
*/
|
|
24
|
-
type Context = {
|
|
25
|
-
/**
|
|
26
|
-
* Properties about the current session for your app
|
|
27
|
-
*/
|
|
28
|
-
app: AppContext;
|
|
29
|
-
/**
|
|
30
|
-
* Info about the current page context hosting your app
|
|
31
|
-
*/
|
|
32
|
-
page: PageContext;
|
|
33
|
-
/**
|
|
34
|
-
* Info about the currently logged in user running the app.
|
|
35
|
-
* If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.
|
|
36
|
-
*/
|
|
37
|
-
user?: UserContext;
|
|
38
|
-
/**
|
|
39
|
-
* When running in the context of a Teams channel, provides information about the channel, else `undefined`
|
|
40
|
-
*/
|
|
41
|
-
channel?: ChannelContext;
|
|
42
|
-
/**
|
|
43
|
-
* When running in the context of a Teams chat, provides information about the chat, else `undefined`
|
|
44
|
-
*/
|
|
45
|
-
chat?: ChatContext;
|
|
46
|
-
/**
|
|
47
|
-
* When running in the context of a Teams meeting, provides information about the meeting, else `undefined`
|
|
48
|
-
*/
|
|
49
|
-
meeting?: MeetingContext;
|
|
50
|
-
/**
|
|
51
|
-
* When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`
|
|
52
|
-
*/
|
|
53
|
-
sharepoint?: any;
|
|
54
|
-
/**
|
|
55
|
-
* When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.
|
|
56
|
-
* Will be `undefined` when not running in Teams for an organization with a tenant.
|
|
57
|
-
*/
|
|
58
|
-
sharePointSite?: SharePointSiteContext;
|
|
59
|
-
/**
|
|
60
|
-
* When running in Teams, provides information about the Team context in which your app is running.
|
|
61
|
-
* Will be `undefined` when not running in Teams.
|
|
62
|
-
*/
|
|
63
|
-
team?: TeamContext;
|
|
64
|
-
/**
|
|
65
|
-
* When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.
|
|
66
|
-
* App developers need to use these `extractedParameters` in their dialog.
|
|
67
|
-
* They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.
|
|
68
|
-
* If there's no key/value pairs passed, the object will be empty in the case
|
|
69
|
-
*/
|
|
70
|
-
dialogParameters: Record<string, string>;
|
|
71
|
-
};
|
|
72
|
-
declare function mapContext(ctx: Context$1): Context;
|
|
73
|
-
|
|
74
|
-
export { type Context, mapContext };
|
package/dist/context/index.js
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var window = require('../window');
|
|
4
|
-
|
|
5
|
-
function _interopNamespace(e) {
|
|
6
|
-
if (e && e.__esModule) return e;
|
|
7
|
-
var n = Object.create(null);
|
|
8
|
-
if (e) {
|
|
9
|
-
Object.keys(e).forEach(function (k) {
|
|
10
|
-
if (k !== 'default') {
|
|
11
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return e[k]; }
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
n.default = e;
|
|
20
|
-
return Object.freeze(n);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
var window__namespace = /*#__PURE__*/_interopNamespace(window);
|
|
24
|
-
|
|
25
|
-
function mapContext(ctx) {
|
|
26
|
-
return {
|
|
27
|
-
app: {
|
|
28
|
-
id: ctx.appId,
|
|
29
|
-
locale: ctx.locale,
|
|
30
|
-
launchId: ctx.appLaunchId,
|
|
31
|
-
sessionId: ctx.appSessionId ? ctx.appSessionId : "",
|
|
32
|
-
theme: ctx.theme ? ctx.theme : "default",
|
|
33
|
-
iconPositionVertical: ctx.appIconPosition,
|
|
34
|
-
osLocaleInfo: ctx.osLocaleInfo,
|
|
35
|
-
parentMessageId: ctx.parentMessageId,
|
|
36
|
-
userClickTime: ctx.userClickTime,
|
|
37
|
-
userClickTimeV2: ctx.userClickTimeV2,
|
|
38
|
-
userFileOpenPreference: ctx.userFileOpenPreference,
|
|
39
|
-
host: {
|
|
40
|
-
name: ctx.hostName ? ctx.hostName : "Teams",
|
|
41
|
-
clientType: ctx.hostClientType ? ctx.hostClientType : "web",
|
|
42
|
-
sessionId: ctx.sessionId ? ctx.sessionId : "",
|
|
43
|
-
ringId: ctx.ringId
|
|
44
|
-
},
|
|
45
|
-
manifestVersion: ctx.manifestVersion
|
|
46
|
-
},
|
|
47
|
-
page: {
|
|
48
|
-
id: ctx.entityId,
|
|
49
|
-
frameContext: ctx.frameContext || "content",
|
|
50
|
-
subPageId: ctx.subEntityId,
|
|
51
|
-
isFullScreen: ctx.isFullScreen,
|
|
52
|
-
isMultiWindow: ctx.isMultiWindow,
|
|
53
|
-
isBackgroundLoad: ctx.isBackgroundLoad,
|
|
54
|
-
sourceOrigin: ctx.sourceOrigin
|
|
55
|
-
},
|
|
56
|
-
user: {
|
|
57
|
-
id: ctx.userObjectId ?? "",
|
|
58
|
-
displayName: ctx.userDisplayName,
|
|
59
|
-
isCallingAllowed: ctx.isCallingAllowed,
|
|
60
|
-
isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,
|
|
61
|
-
licenseType: ctx.userLicenseType,
|
|
62
|
-
loginHint: ctx.loginHint,
|
|
63
|
-
userPrincipalName: ctx.userPrincipalName,
|
|
64
|
-
tenant: ctx.tid ? {
|
|
65
|
-
id: ctx.tid,
|
|
66
|
-
teamsSku: ctx.tenantSKU
|
|
67
|
-
} : void 0
|
|
68
|
-
},
|
|
69
|
-
channel: ctx.channelId ? {
|
|
70
|
-
id: ctx.channelId,
|
|
71
|
-
displayName: ctx.channelName,
|
|
72
|
-
relativeUrl: ctx.channelRelativeUrl,
|
|
73
|
-
membershipType: ctx.channelType,
|
|
74
|
-
defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,
|
|
75
|
-
ownerGroupId: ctx.hostTeamGroupId,
|
|
76
|
-
ownerTenantId: ctx.hostTeamTenantId
|
|
77
|
-
} : void 0,
|
|
78
|
-
chat: ctx.chatId ? {
|
|
79
|
-
id: ctx.chatId
|
|
80
|
-
} : void 0,
|
|
81
|
-
meeting: ctx.meetingId ? {
|
|
82
|
-
id: ctx.meetingId
|
|
83
|
-
} : void 0,
|
|
84
|
-
sharepoint: ctx.sharepoint,
|
|
85
|
-
team: ctx.teamId ? {
|
|
86
|
-
internalId: ctx.teamId,
|
|
87
|
-
displayName: ctx.teamName,
|
|
88
|
-
type: ctx.teamType ? window__namespace.mapTeamType(ctx.teamType) : void 0,
|
|
89
|
-
groupId: ctx.groupId,
|
|
90
|
-
templateId: ctx.teamTemplateId,
|
|
91
|
-
isArchived: ctx.isTeamArchived,
|
|
92
|
-
userRole: ctx.userTeamRole ? window__namespace.mapUserTeamRole(ctx.userTeamRole) : void 0
|
|
93
|
-
} : void 0,
|
|
94
|
-
sharePointSite: ctx.teamSiteUrl || ctx.teamSiteDomain || ctx.teamSitePath || ctx.mySitePath || ctx.mySiteDomain ? {
|
|
95
|
-
teamSiteUrl: ctx.teamSiteUrl,
|
|
96
|
-
teamSiteDomain: ctx.teamSiteDomain,
|
|
97
|
-
teamSitePath: ctx.teamSitePath,
|
|
98
|
-
teamSiteId: ctx.teamSiteId,
|
|
99
|
-
mySitePath: ctx.mySitePath,
|
|
100
|
-
mySiteDomain: ctx.mySiteDomain
|
|
101
|
-
} : void 0,
|
|
102
|
-
dialogParameters: ctx.dialogParameters || {}
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
exports.mapContext = mapContext;
|
|
107
|
-
//# sourceMappingURL=index.js.map
|
|
108
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/context/index.ts"],"names":["window"],"mappings":"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","file":"index.js","sourcesContent":["import * as window from '../window';\n\nimport { AppContext } from './app';\nimport { ChannelContext } from './channel';\nimport { ChatContext } from './chat';\nimport { MeetingContext } from './meeting';\nimport { PageContext } from './page';\nimport { SharePointSiteContext } from './share-point-site';\nimport { TeamContext } from './team';\nimport { UserContext } from './user';\n\n/**\n * Represents structure of the received context message.\n */\nexport type Context = {\n /**\n * Properties about the current session for your app\n */\n app: AppContext;\n\n /**\n * Info about the current page context hosting your app\n */\n page: PageContext;\n\n /**\n * Info about the currently logged in user running the app.\n * If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.\n */\n user?: UserContext;\n\n /**\n * When running in the context of a Teams channel, provides information about the channel, else `undefined`\n */\n channel?: ChannelContext;\n\n /**\n * When running in the context of a Teams chat, provides information about the chat, else `undefined`\n */\n chat?: ChatContext;\n\n /**\n * When running in the context of a Teams meeting, provides information about the meeting, else `undefined`\n */\n meeting?: MeetingContext;\n\n /**\n * When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`\n */\n sharepoint?: any;\n\n /**\n * When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.\n * Will be `undefined` when not running in Teams for an organization with a tenant.\n */\n sharePointSite?: SharePointSiteContext;\n\n /**\n * When running in Teams, provides information about the Team context in which your app is running.\n * Will be `undefined` when not running in Teams.\n */\n team?: TeamContext;\n\n /**\n * When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.\n * App developers need to use these `extractedParameters` in their dialog.\n * They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.\n * If there's no key/value pairs passed, the object will be empty in the case\n */\n dialogParameters: Record<string, string>;\n};\n\nexport function mapContext(ctx: window.Context): Context {\n return {\n app: {\n id: ctx.appId,\n locale: ctx.locale,\n launchId: ctx.appLaunchId,\n sessionId: ctx.appSessionId ? ctx.appSessionId : '',\n theme: ctx.theme ? ctx.theme : 'default',\n iconPositionVertical: ctx.appIconPosition,\n osLocaleInfo: ctx.osLocaleInfo,\n parentMessageId: ctx.parentMessageId,\n userClickTime: ctx.userClickTime,\n userClickTimeV2: ctx.userClickTimeV2,\n userFileOpenPreference: ctx.userFileOpenPreference,\n host: {\n name: ctx.hostName ? ctx.hostName : 'Teams',\n clientType: ctx.hostClientType ? ctx.hostClientType : 'web',\n sessionId: ctx.sessionId ? ctx.sessionId : '',\n ringId: ctx.ringId,\n },\n manifestVersion: ctx.manifestVersion,\n },\n page: {\n id: ctx.entityId,\n frameContext: ctx.frameContext || 'content',\n subPageId: ctx.subEntityId,\n isFullScreen: ctx.isFullScreen,\n isMultiWindow: ctx.isMultiWindow,\n isBackgroundLoad: ctx.isBackgroundLoad,\n sourceOrigin: ctx.sourceOrigin,\n },\n user: {\n id: ctx.userObjectId ?? '',\n displayName: ctx.userDisplayName,\n isCallingAllowed: ctx.isCallingAllowed,\n isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,\n licenseType: ctx.userLicenseType,\n loginHint: ctx.loginHint,\n userPrincipalName: ctx.userPrincipalName,\n tenant: ctx.tid\n ? {\n id: ctx.tid,\n teamsSku: ctx.tenantSKU,\n }\n : undefined,\n },\n channel: ctx.channelId\n ? {\n id: ctx.channelId,\n displayName: ctx.channelName,\n relativeUrl: ctx.channelRelativeUrl,\n membershipType: ctx.channelType,\n defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,\n ownerGroupId: ctx.hostTeamGroupId,\n ownerTenantId: ctx.hostTeamTenantId,\n }\n : undefined,\n chat: ctx.chatId\n ? {\n id: ctx.chatId,\n }\n : undefined,\n meeting: ctx.meetingId\n ? {\n id: ctx.meetingId,\n }\n : undefined,\n sharepoint: ctx.sharepoint,\n team: ctx.teamId\n ? {\n internalId: ctx.teamId,\n displayName: ctx.teamName,\n type: ctx.teamType ? window.mapTeamType(ctx.teamType) : undefined,\n groupId: ctx.groupId,\n templateId: ctx.teamTemplateId,\n isArchived: ctx.isTeamArchived,\n userRole: ctx.userTeamRole ? window.mapUserTeamRole(ctx.userTeamRole) : undefined,\n }\n : undefined,\n sharePointSite:\n ctx.teamSiteUrl ||\n ctx.teamSiteDomain ||\n ctx.teamSitePath ||\n ctx.mySitePath ||\n ctx.mySiteDomain\n ? {\n teamSiteUrl: ctx.teamSiteUrl,\n teamSiteDomain: ctx.teamSiteDomain,\n teamSitePath: ctx.teamSitePath,\n teamSiteId: ctx.teamSiteId,\n mySitePath: ctx.mySitePath,\n mySiteDomain: ctx.mySiteDomain,\n }\n : undefined,\n dialogParameters: ctx.dialogParameters || {},\n };\n}\n"]}
|
package/dist/context/index.mjs
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import * as window from '../window';
|
|
2
|
-
|
|
3
|
-
function mapContext(ctx) {
|
|
4
|
-
return {
|
|
5
|
-
app: {
|
|
6
|
-
id: ctx.appId,
|
|
7
|
-
locale: ctx.locale,
|
|
8
|
-
launchId: ctx.appLaunchId,
|
|
9
|
-
sessionId: ctx.appSessionId ? ctx.appSessionId : "",
|
|
10
|
-
theme: ctx.theme ? ctx.theme : "default",
|
|
11
|
-
iconPositionVertical: ctx.appIconPosition,
|
|
12
|
-
osLocaleInfo: ctx.osLocaleInfo,
|
|
13
|
-
parentMessageId: ctx.parentMessageId,
|
|
14
|
-
userClickTime: ctx.userClickTime,
|
|
15
|
-
userClickTimeV2: ctx.userClickTimeV2,
|
|
16
|
-
userFileOpenPreference: ctx.userFileOpenPreference,
|
|
17
|
-
host: {
|
|
18
|
-
name: ctx.hostName ? ctx.hostName : "Teams",
|
|
19
|
-
clientType: ctx.hostClientType ? ctx.hostClientType : "web",
|
|
20
|
-
sessionId: ctx.sessionId ? ctx.sessionId : "",
|
|
21
|
-
ringId: ctx.ringId
|
|
22
|
-
},
|
|
23
|
-
manifestVersion: ctx.manifestVersion
|
|
24
|
-
},
|
|
25
|
-
page: {
|
|
26
|
-
id: ctx.entityId,
|
|
27
|
-
frameContext: ctx.frameContext || "content",
|
|
28
|
-
subPageId: ctx.subEntityId,
|
|
29
|
-
isFullScreen: ctx.isFullScreen,
|
|
30
|
-
isMultiWindow: ctx.isMultiWindow,
|
|
31
|
-
isBackgroundLoad: ctx.isBackgroundLoad,
|
|
32
|
-
sourceOrigin: ctx.sourceOrigin
|
|
33
|
-
},
|
|
34
|
-
user: {
|
|
35
|
-
id: ctx.userObjectId ?? "",
|
|
36
|
-
displayName: ctx.userDisplayName,
|
|
37
|
-
isCallingAllowed: ctx.isCallingAllowed,
|
|
38
|
-
isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,
|
|
39
|
-
licenseType: ctx.userLicenseType,
|
|
40
|
-
loginHint: ctx.loginHint,
|
|
41
|
-
userPrincipalName: ctx.userPrincipalName,
|
|
42
|
-
tenant: ctx.tid ? {
|
|
43
|
-
id: ctx.tid,
|
|
44
|
-
teamsSku: ctx.tenantSKU
|
|
45
|
-
} : void 0
|
|
46
|
-
},
|
|
47
|
-
channel: ctx.channelId ? {
|
|
48
|
-
id: ctx.channelId,
|
|
49
|
-
displayName: ctx.channelName,
|
|
50
|
-
relativeUrl: ctx.channelRelativeUrl,
|
|
51
|
-
membershipType: ctx.channelType,
|
|
52
|
-
defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,
|
|
53
|
-
ownerGroupId: ctx.hostTeamGroupId,
|
|
54
|
-
ownerTenantId: ctx.hostTeamTenantId
|
|
55
|
-
} : void 0,
|
|
56
|
-
chat: ctx.chatId ? {
|
|
57
|
-
id: ctx.chatId
|
|
58
|
-
} : void 0,
|
|
59
|
-
meeting: ctx.meetingId ? {
|
|
60
|
-
id: ctx.meetingId
|
|
61
|
-
} : void 0,
|
|
62
|
-
sharepoint: ctx.sharepoint,
|
|
63
|
-
team: ctx.teamId ? {
|
|
64
|
-
internalId: ctx.teamId,
|
|
65
|
-
displayName: ctx.teamName,
|
|
66
|
-
type: ctx.teamType ? window.mapTeamType(ctx.teamType) : void 0,
|
|
67
|
-
groupId: ctx.groupId,
|
|
68
|
-
templateId: ctx.teamTemplateId,
|
|
69
|
-
isArchived: ctx.isTeamArchived,
|
|
70
|
-
userRole: ctx.userTeamRole ? window.mapUserTeamRole(ctx.userTeamRole) : void 0
|
|
71
|
-
} : void 0,
|
|
72
|
-
sharePointSite: ctx.teamSiteUrl || ctx.teamSiteDomain || ctx.teamSitePath || ctx.mySitePath || ctx.mySiteDomain ? {
|
|
73
|
-
teamSiteUrl: ctx.teamSiteUrl,
|
|
74
|
-
teamSiteDomain: ctx.teamSiteDomain,
|
|
75
|
-
teamSitePath: ctx.teamSitePath,
|
|
76
|
-
teamSiteId: ctx.teamSiteId,
|
|
77
|
-
mySitePath: ctx.mySitePath,
|
|
78
|
-
mySiteDomain: ctx.mySiteDomain
|
|
79
|
-
} : void 0,
|
|
80
|
-
dialogParameters: ctx.dialogParameters || {}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export { mapContext };
|
|
85
|
-
//# sourceMappingURL=index.mjs.map
|
|
86
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/context/index.ts"],"names":[],"mappings":"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","file":"index.mjs","sourcesContent":["import * as window from '../window';\n\nimport { AppContext } from './app';\nimport { ChannelContext } from './channel';\nimport { ChatContext } from './chat';\nimport { MeetingContext } from './meeting';\nimport { PageContext } from './page';\nimport { SharePointSiteContext } from './share-point-site';\nimport { TeamContext } from './team';\nimport { UserContext } from './user';\n\n/**\n * Represents structure of the received context message.\n */\nexport type Context = {\n /**\n * Properties about the current session for your app\n */\n app: AppContext;\n\n /**\n * Info about the current page context hosting your app\n */\n page: PageContext;\n\n /**\n * Info about the currently logged in user running the app.\n * If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.\n */\n user?: UserContext;\n\n /**\n * When running in the context of a Teams channel, provides information about the channel, else `undefined`\n */\n channel?: ChannelContext;\n\n /**\n * When running in the context of a Teams chat, provides information about the chat, else `undefined`\n */\n chat?: ChatContext;\n\n /**\n * When running in the context of a Teams meeting, provides information about the meeting, else `undefined`\n */\n meeting?: MeetingContext;\n\n /**\n * When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`\n */\n sharepoint?: any;\n\n /**\n * When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.\n * Will be `undefined` when not running in Teams for an organization with a tenant.\n */\n sharePointSite?: SharePointSiteContext;\n\n /**\n * When running in Teams, provides information about the Team context in which your app is running.\n * Will be `undefined` when not running in Teams.\n */\n team?: TeamContext;\n\n /**\n * When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.\n * App developers need to use these `extractedParameters` in their dialog.\n * They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.\n * If there's no key/value pairs passed, the object will be empty in the case\n */\n dialogParameters: Record<string, string>;\n};\n\nexport function mapContext(ctx: window.Context): Context {\n return {\n app: {\n id: ctx.appId,\n locale: ctx.locale,\n launchId: ctx.appLaunchId,\n sessionId: ctx.appSessionId ? ctx.appSessionId : '',\n theme: ctx.theme ? ctx.theme : 'default',\n iconPositionVertical: ctx.appIconPosition,\n osLocaleInfo: ctx.osLocaleInfo,\n parentMessageId: ctx.parentMessageId,\n userClickTime: ctx.userClickTime,\n userClickTimeV2: ctx.userClickTimeV2,\n userFileOpenPreference: ctx.userFileOpenPreference,\n host: {\n name: ctx.hostName ? ctx.hostName : 'Teams',\n clientType: ctx.hostClientType ? ctx.hostClientType : 'web',\n sessionId: ctx.sessionId ? ctx.sessionId : '',\n ringId: ctx.ringId,\n },\n manifestVersion: ctx.manifestVersion,\n },\n page: {\n id: ctx.entityId,\n frameContext: ctx.frameContext || 'content',\n subPageId: ctx.subEntityId,\n isFullScreen: ctx.isFullScreen,\n isMultiWindow: ctx.isMultiWindow,\n isBackgroundLoad: ctx.isBackgroundLoad,\n sourceOrigin: ctx.sourceOrigin,\n },\n user: {\n id: ctx.userObjectId ?? '',\n displayName: ctx.userDisplayName,\n isCallingAllowed: ctx.isCallingAllowed,\n isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,\n licenseType: ctx.userLicenseType,\n loginHint: ctx.loginHint,\n userPrincipalName: ctx.userPrincipalName,\n tenant: ctx.tid\n ? {\n id: ctx.tid,\n teamsSku: ctx.tenantSKU,\n }\n : undefined,\n },\n channel: ctx.channelId\n ? {\n id: ctx.channelId,\n displayName: ctx.channelName,\n relativeUrl: ctx.channelRelativeUrl,\n membershipType: ctx.channelType,\n defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,\n ownerGroupId: ctx.hostTeamGroupId,\n ownerTenantId: ctx.hostTeamTenantId,\n }\n : undefined,\n chat: ctx.chatId\n ? {\n id: ctx.chatId,\n }\n : undefined,\n meeting: ctx.meetingId\n ? {\n id: ctx.meetingId,\n }\n : undefined,\n sharepoint: ctx.sharepoint,\n team: ctx.teamId\n ? {\n internalId: ctx.teamId,\n displayName: ctx.teamName,\n type: ctx.teamType ? window.mapTeamType(ctx.teamType) : undefined,\n groupId: ctx.groupId,\n templateId: ctx.teamTemplateId,\n isArchived: ctx.isTeamArchived,\n userRole: ctx.userTeamRole ? window.mapUserTeamRole(ctx.userTeamRole) : undefined,\n }\n : undefined,\n sharePointSite:\n ctx.teamSiteUrl ||\n ctx.teamSiteDomain ||\n ctx.teamSitePath ||\n ctx.mySitePath ||\n ctx.mySiteDomain\n ? {\n teamSiteUrl: ctx.teamSiteUrl,\n teamSiteDomain: ctx.teamSiteDomain,\n teamSitePath: ctx.teamSitePath,\n teamSiteId: ctx.teamSiteId,\n mySitePath: ctx.mySitePath,\n mySiteDomain: ctx.mySiteDomain,\n }\n : undefined,\n dialogParameters: ctx.dialogParameters || {},\n };\n}\n"]}
|
package/dist/context/meeting.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"meeting.js"}
|
package/dist/context/meeting.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"meeting.mjs"}
|
package/dist/context/page.d.mts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { FrameContext } from '../window/types/frame-context.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Represents Page information.
|
|
5
|
-
*/
|
|
6
|
-
type PageContext = {
|
|
7
|
-
/**
|
|
8
|
-
* The developer-defined unique ID for the page this content points to.
|
|
9
|
-
*/
|
|
10
|
-
id: string;
|
|
11
|
-
/**
|
|
12
|
-
* The context where page url is loaded (content, task, setting, remove, sidePanel)
|
|
13
|
-
*/
|
|
14
|
-
frameContext: FrameContext;
|
|
15
|
-
/**
|
|
16
|
-
* The developer-defined unique ID for the sub-page this content points to.
|
|
17
|
-
* This field should be used to restore to a specific state within a page,
|
|
18
|
-
* such as scrolling to or activating a specific piece of content.
|
|
19
|
-
*/
|
|
20
|
-
subPageId?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Indication whether the page is in full-screen mode.
|
|
23
|
-
*/
|
|
24
|
-
isFullScreen?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Indication whether the page is in a pop out window
|
|
27
|
-
*/
|
|
28
|
-
isMultiWindow?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Indicates whether the page is being loaded in the background as
|
|
31
|
-
* part of an opt-in performance enhancement.
|
|
32
|
-
*/
|
|
33
|
-
isBackgroundLoad?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Source origin from where the page is opened
|
|
36
|
-
*/
|
|
37
|
-
sourceOrigin?: string;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export type { PageContext };
|
package/dist/context/page.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { FrameContext } from '../window/types/frame-context.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Represents Page information.
|
|
5
|
-
*/
|
|
6
|
-
type PageContext = {
|
|
7
|
-
/**
|
|
8
|
-
* The developer-defined unique ID for the page this content points to.
|
|
9
|
-
*/
|
|
10
|
-
id: string;
|
|
11
|
-
/**
|
|
12
|
-
* The context where page url is loaded (content, task, setting, remove, sidePanel)
|
|
13
|
-
*/
|
|
14
|
-
frameContext: FrameContext;
|
|
15
|
-
/**
|
|
16
|
-
* The developer-defined unique ID for the sub-page this content points to.
|
|
17
|
-
* This field should be used to restore to a specific state within a page,
|
|
18
|
-
* such as scrolling to or activating a specific piece of content.
|
|
19
|
-
*/
|
|
20
|
-
subPageId?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Indication whether the page is in full-screen mode.
|
|
23
|
-
*/
|
|
24
|
-
isFullScreen?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Indication whether the page is in a pop out window
|
|
27
|
-
*/
|
|
28
|
-
isMultiWindow?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Indicates whether the page is being loaded in the background as
|
|
31
|
-
* part of an opt-in performance enhancement.
|
|
32
|
-
*/
|
|
33
|
-
isBackgroundLoad?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Source origin from where the page is opened
|
|
36
|
-
*/
|
|
37
|
-
sourceOrigin?: string;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export type { PageContext };
|
package/dist/context/page.js
DELETED
package/dist/context/page.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"page.js"}
|
package/dist/context/page.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"page.mjs"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents information about a SharePoint site
|
|
3
|
-
*/
|
|
4
|
-
type SharePointSiteContext = {
|
|
5
|
-
/**
|
|
6
|
-
* The root SharePoint site associated with the team.
|
|
7
|
-
*/
|
|
8
|
-
teamSiteUrl?: string;
|
|
9
|
-
/**
|
|
10
|
-
* The domain of the root SharePoint site associated with the team.
|
|
11
|
-
*/
|
|
12
|
-
teamSiteDomain?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The relative path to the SharePoint site associated with the team.
|
|
15
|
-
*/
|
|
16
|
-
teamSitePath?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Teamsite ID, aka sharepoint site id.
|
|
19
|
-
*/
|
|
20
|
-
teamSiteId?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The SharePoint my site domain associated with the user.
|
|
23
|
-
*/
|
|
24
|
-
mySiteDomain?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The SharePoint relative path to the current users mysite
|
|
27
|
-
*/
|
|
28
|
-
mySitePath?: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export type { SharePointSiteContext };
|