-
Notifications
You must be signed in to change notification settings - Fork 2
/
SEO.svelte.d.ts
70 lines (70 loc) · 2.39 KB
/
SEO.svelte.d.ts
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/** @typedef {typeof __propDef.props} SeoProps */
/** @typedef {typeof __propDef.events} SeoEvents */
/** @typedef {typeof __propDef.slots} SeoSlots */
export default class Seo extends SvelteComponent<{
/** The title of the page.*/
title?: string;
/** The description of the website.*/
description?: string;
/** (optional) The SEO keywords to be used for search engine optimization. */
keywords?: string;
/** Current URL of the page. For resolving duplicate pages with SEO */
canonical?: string;
/** The name of the site.*/
siteName?: string;
/** Indicates whether the component should be indexed by search engines.
@default true */
index?: boolean;
/** Indicates whether Twitter meta tags should be generated.@default true */
twitter?: boolean;
/** Indicates whether og / OpenGraph meta tags should be generated @default true*/
openGraph?: boolean;
/** Indicates whether schema.org meta tags should be generated @default false */
schemaOrg?: boolean;
/** The type of jsonld schema (Person, Organisation, Create) @default Person,Organisation */
schemaType?: string;
/** JSON-LD schema.org data to be appended to existing jsonLd data */
jsonld?: {};
/** The URL of the image to be used for preview (twitter, discord image preview when your url is shared) */
imageURL?: string;
/** The logo image URL for SchemaOrg */
logo?: string;
/** Represents the author of the page */
author?: string;
/** An array of social media links for SchemaOrg */
socials?: string[];
/** The name to be used for SchemaOrg */
name?: string;
}, {
[evt: string]: CustomEvent<any>;
}, {}> {
}
export type SeoProps = typeof __propDef.props;
export type SeoEvents = typeof __propDef.events;
export type SeoSlots = typeof __propDef.slots;
import { SvelteComponent } from "svelte";
declare const __propDef: {
props: {
title?: string;
description?: string;
keywords?: string;
canonical?: string;
siteName?: string;
index?: boolean;
twitter?: boolean;
openGraph?: boolean;
schemaOrg?: boolean;
schemaType?: string;
jsonld?: {};
imageURL?: string;
logo?: string;
author?: string;
socials?: string[];
name?: string;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export {};