mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Add origin for ai assist interstitial modal (#24904)
GitOrigin-RevId: 035edf8791b0afdc8c320598d09d99f5e84acc47
This commit is contained in:
committed by
Copybot
parent
adb9723d62
commit
26032d6b77
@@ -5,6 +5,7 @@ export interface WritefullEvents {
|
||||
'writefull-received-suggestions': { numberOfSuggestions: number }
|
||||
'writefull-register-as-auto-account': { email: string }
|
||||
'writefull-shared-analytics': { eventName: string; segmentation: object }
|
||||
'writefull-ai-assist-show-paywall': { origin?: string }
|
||||
}
|
||||
|
||||
type InsertPosition = {
|
||||
@@ -28,6 +29,10 @@ export interface WritefullAPI {
|
||||
name: eventName,
|
||||
callback: (detail: WritefullEvents[eventName]) => void
|
||||
): void
|
||||
removeEventListener<eventName extends keyof WritefullEvents>(
|
||||
name: eventName,
|
||||
callback: (detail: WritefullEvents[eventName]) => void
|
||||
): void
|
||||
openTableGenerator(): void
|
||||
openEquationGenerator(): void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user