|
@@ -19,11 +19,17 @@ export interface WritefullAPI {
|
|
|
iconPosition,
|
|
iconPosition,
|
|
|
hasAgreedToTOS,
|
|
hasAgreedToTOS,
|
|
|
overleafUserId,
|
|
overleafUserId,
|
|
|
|
|
+ overleafLabels,
|
|
|
}: {
|
|
}: {
|
|
|
toolbarPosition: InsertPosition
|
|
toolbarPosition: InsertPosition
|
|
|
iconPosition: InsertPosition
|
|
iconPosition: InsertPosition
|
|
|
hasAgreedToTOS: boolean
|
|
hasAgreedToTOS: boolean
|
|
|
overleafUserId: string
|
|
overleafUserId: string
|
|
|
|
|
+ overleafLabels: {
|
|
|
|
|
+ autoImport: boolean
|
|
|
|
|
+ autoCreatedAccount: boolean
|
|
|
|
|
+ splitTests: Record<string, boolean>
|
|
|
|
|
+ }
|
|
|
}): Promise<void>
|
|
}): Promise<void>
|
|
|
addEventListener<eventName extends keyof WritefullEvents>(
|
|
addEventListener<eventName extends keyof WritefullEvents>(
|
|
|
name: eventName,
|
|
name: eventName,
|