PluginProbe
Parse.ly / 3.20.0
Parse.ly v3.20.0
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
wp-parsely / src / @types / assets / window.d.ts

window.d.ts in Parse.ly 3.20.0, at src/@types/assets/window.d.ts

61 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * WordPress dependencies
3 */
4 import type { _Hooks } from '@wordpress/hooks/build-types/createHooks';
5
6 export { };
7
8 declare global {
9 interface Window {
10 // eslint-disable-next-line @typescript-eslint/no-explicit-any
11 wp: any;
12
13 /**
14 * Parsely Options
15 */
16 PARSELY?: {
17 config?: {
18 uuid: string,
19 parsely_site_uuid: string,
20 },
21 autotrack?: boolean,
22 onload?: () => unknown,
23 onReady?: () => unknown,
24 },
25
26 wpParselyContentHelperPermissions: string;
27 wpParselyContentHelperSettings: string;
28 wpParselyDependencies: { [key: string]: string };
29 wpParselyDisableAutotrack?: boolean;
30 wpParselyEmptyCredentialsMessage: string;
31 wpParselyHooks?: _Hooks;
32 wpParselyPostsStatsResponse: string;
33 wpParselyPostUrl: string;
34 wpParselySiteId: string,
35 wpParselySmartLinkingAllowedBlocks: string[];
36 wpParselyTrackableStatuses: string[];
37 wpParselyUseCategorySlugsInSearches: boolean;
38
39 /**
40 * Jetpack Editor Initial State.
41 * This is required for the Excerpt Suggestions feature to know if
42 * Jetpack AI Content Lens is available and enabled.
43 *
44 * @since 3.13.0
45 *
46 * @see https://github.com/Automattic/jetpack/blob/4eb6a42833879b30aa2a7f4c82e44fc094307de3/projects/plugins/jetpack/extensions/plugins/ai-content-lens/editor.js#L16
47 */
48 Jetpack_Editor_Initial_State?: {
49 available_blocks: {
50 [key: string]: {
51 available: boolean,
52 unavailable_reason?: string,
53 details: [],
54 };
55 };
56 };
57
58 _parsely_traffic_boost_preview_nonce?: string;
59 }
60 }
61