mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01: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-received-suggestions': { numberOfSuggestions: number }
|
||||||
'writefull-register-as-auto-account': { email: string }
|
'writefull-register-as-auto-account': { email: string }
|
||||||
'writefull-shared-analytics': { eventName: string; segmentation: object }
|
'writefull-shared-analytics': { eventName: string; segmentation: object }
|
||||||
|
'writefull-ai-assist-show-paywall': { origin?: string }
|
||||||
}
|
}
|
||||||
|
|
||||||
type InsertPosition = {
|
type InsertPosition = {
|
||||||
@@ -28,6 +29,10 @@ export interface WritefullAPI {
|
|||||||
name: eventName,
|
name: eventName,
|
||||||
callback: (detail: WritefullEvents[eventName]) => void
|
callback: (detail: WritefullEvents[eventName]) => void
|
||||||
): void
|
): void
|
||||||
|
removeEventListener<eventName extends keyof WritefullEvents>(
|
||||||
|
name: eventName,
|
||||||
|
callback: (detail: WritefullEvents[eventName]) => void
|
||||||
|
): void
|
||||||
openTableGenerator(): void
|
openTableGenerator(): void
|
||||||
openEquationGenerator(): void
|
openEquationGenerator(): void
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user