mirror of
https://github.com/oekazuma/svelte-meta-tags.git
synced 2025-12-11 20:15:14 +01:00
chore: name back to AdditionalRobotsProps
This commit is contained in:
parent
7651f74fc6
commit
e9f7238f93
@ -800,7 +800,7 @@ interface MetaTagsProps {
|
||||
titleTemplate?: string;
|
||||
noindex?: boolean;
|
||||
nofollow?: boolean;
|
||||
robotsProps?: AdditionalRobots;
|
||||
robotsProps?: AdditionalRobotsProps;
|
||||
description?: string;
|
||||
canonical?: string;
|
||||
mobileAlternate?: MobileAlternate;
|
||||
@ -822,10 +822,10 @@ interface JsonLdProps {
|
||||
}
|
||||
```
|
||||
|
||||
### AdditionalRobots
|
||||
### AdditionalRobotsProps
|
||||
|
||||
```ts
|
||||
interface AdditionalRobots {
|
||||
interface AdditionalRobotsProps {
|
||||
nosnippet?: boolean;
|
||||
maxSnippet?: number;
|
||||
maxImagePreview?: 'none' | 'standard' | 'large';
|
||||
|
||||
@ -3,7 +3,7 @@ export { default as JsonLd } from './JsonLd.svelte';
|
||||
export type {
|
||||
MetaTagsProps,
|
||||
JsonLdProps,
|
||||
AdditionalRobots,
|
||||
AdditionalRobotsProps,
|
||||
MobileAlternate,
|
||||
LanguageAlternate,
|
||||
Twitter,
|
||||
|
||||
4
src/lib/types.d.ts
vendored
4
src/lib/types.d.ts
vendored
@ -10,7 +10,7 @@ export interface LanguageAlternate {
|
||||
href: string;
|
||||
}
|
||||
|
||||
export interface AdditionalRobots {
|
||||
export interface AdditionalRobotsProps {
|
||||
nosnippet?: boolean;
|
||||
maxSnippet?: number;
|
||||
maxImagePreview?: 'none' | 'standard' | 'large';
|
||||
@ -141,7 +141,7 @@ export interface MetaTagsProps {
|
||||
titleTemplate?: string;
|
||||
noindex?: boolean;
|
||||
nofollow?: boolean;
|
||||
robotsProps?: AdditionalRobots;
|
||||
robotsProps?: AdditionalRobotsProps;
|
||||
description?: string;
|
||||
canonical?: string;
|
||||
mobileAlternate?: MobileAlternate;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user