Repository navigation
Expand file tree
/
Copy pathvirtual-modules.d.ts
More file actions
56 lines (52 loc) · 1.72 KB
/
Copy pathvirtual-modules.d.ts
File metadata and controls
56 lines (52 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import type { PlatformContext } from './lib/types.ts';
declare global {
/**
* The synced marketing chrome, defined at build time by the igChrome()
* integration (src/chrome/integration.ts). Undeclared when it isn't
* registered: read it as `typeof __IG_CHROME__ !== 'undefined'`.
*/
const __IG_CHROME__: import('./chrome/integration').IgChromeData;
namespace App {
interface Locals {
platformContext?: PlatformContext;
envVars?: Record<string, string>;
}
}
}
declare module 'virtual:docs-template/site-meta' {
export const sidebar: { label: string; slug?: string; items?: unknown[] }[];
export const title: string;
export const navLang: import('./platform.ts').NavLang;
/** Cross-product navigation links for the DocsSubHeader. */
export const productLinks: Array<{
label: string;
href: string;
platform?: string;
}>;
/** Extra <head> entries injected by siteMetaIntegration (platform CDN, site-specific entries, etc.). */
export const headEntries: Array<{
tag: string;
attrs?: Record<string, string | boolean | undefined>;
content?: string;
}>;
/** Astro trailingSlash config value: 'always' | 'never' | 'ignore'. */
export const trailingSlash: 'always' | 'never' | 'ignore';
/** Optional package switcher entries. */
export const packages:
Array<string | { label: string; value?: string; href?: string; base?: string }> | undefined;
/** Currently selected package. */
export const selectedPackage: string | undefined;
}
declare module 'virtual:docs-template/nav-html' {
export const platform:
| 'igniteui'
| 'angular'
| 'react'
| 'blazor'
| 'web-components'
| 'winui'
| 'uno'
| 'slingshot'
| 'appbuilder'
| null;
}