@lls/typings 24.39.0-d77b7f2f → 24.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/overrides/window.d.ts +0 -13
- package/package.json +1 -1
package/overrides/window.d.ts
CHANGED
|
@@ -11,23 +11,10 @@ interface Window {
|
|
|
11
11
|
cocoreOpenWindow?: typeof window.open
|
|
12
12
|
coreHref?: string
|
|
13
13
|
outerHTML: unknown
|
|
14
|
-
/** Registered by webview only. Use window.WebviewPdfViewer in LearningResourceContent to render PDFs on Android. */
|
|
15
|
-
WebviewPdfViewer?: ((props: { pdfUrl: string; isFullscreen: boolean }) => JSX.Element) | null
|
|
16
14
|
pa?: {
|
|
17
15
|
user?: {
|
|
18
16
|
setUser?: (user_id: TPianoOpts['user_id'], user_category: TPianoOpts['user_category']) => void
|
|
19
17
|
}
|
|
20
|
-
setUser?: (user_id: TPianoOpts['user_id'], user_category: TPianoOpts['user_category']) => void
|
|
21
|
-
setVisitorId?: (string) => void
|
|
22
|
-
setConfigurations: (config: {
|
|
23
|
-
site: string
|
|
24
|
-
collectDomain: string
|
|
25
|
-
}) => void
|
|
26
|
-
setProperties?: (
|
|
27
|
-
// Prohibited properties excluded. List of prohibited properties: https://analytics-docs.piano.io/en/analytics/v1/enrichments#Enrichments-Structure
|
|
28
|
-
properties: Record<string, unknown>,
|
|
29
|
-
{ persistent, events }: { persistent?: boolean; events?: string[] }
|
|
30
|
-
) => void
|
|
31
18
|
sendEvent?: (name: string, opts: TPianoOpts) => void
|
|
32
19
|
getVisitorId: () => string
|
|
33
20
|
}
|