Fix email notification (#6425)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-08-28 22:44:14 +07:00
committed by GitHub
parent daac4666db
commit ee4bbb055d
8 changed files with 125 additions and 69 deletions
+3 -2
View File
@@ -14,7 +14,7 @@
// limitations under the License.
//
import { type Doc, type Ref } from '@hcengineering/core'
import { type Client, type Doc, type Ref } from '@hcengineering/core'
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
import { gmailId } from '@hcengineering/gmail'
import gmail from '@hcengineering/gmail-resources/src/plugin'
@@ -52,6 +52,7 @@ export default mergeIds(gmailId, gmail, {
GmailWriteMessage: '' as AnyComponent
},
function: {
HasEmail: '' as Resource<(doc?: Doc | Doc[] | undefined) => Promise<boolean>>
HasEmail: '' as Resource<(doc?: Doc | Doc[] | undefined) => Promise<boolean>>,
MessageTitleProvider: '' as Resource<(client: Client, ref: Ref<Doc>, doc?: Doc) => Promise<string>>
}
})