import type OpenFin from '@openfin/core'; /** * @hidden */ /** * Need a comment block here so that the comment block above is interpreted as a file comment, and not a comment on the * import below. * * @hidden */ /** * For notifications that have originated from an application running on the same machine as the provider. */ export interface NotificationSourceDesktop { type: 'desktop'; /** * The identity of the window that raised this notification. * * This will always be a window of the current application - but * could have been raised by an instance of this application * running on a different machine. */ identity: OpenFin.Identity; /** * The origin of the notification, which is the url of the window that raised the notification. * This property is optional to support backward compatibility with sources that do not have the origin starting with version 2.7.1. */ origin?: string; } /** * Union of all possible notification sources. */ export type NotificationSource = NotificationSourceDesktop;