seo 0.17.9 → 0.18.1

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/dist/index.d.ts CHANGED
@@ -1304,7 +1304,7 @@ type BrandQueryEvidence = {
1304
1304
  };
1305
1305
  type BrandTermEvidence = {
1306
1306
  term: string;
1307
- source: 'host-compound' | 'navigational-stem' | 'provided';
1307
+ source: 'host-compound' | 'navigational-stem' | 'navigational-spelling' | 'provided';
1308
1308
  reason: string;
1309
1309
  query?: BrandQueryEvidence;
1310
1310
  };
@@ -2150,6 +2150,7 @@ export declare function auditPage(input: {
2150
2150
  export type PageFetcher = (url: string, options?: FetchPageOptions) => Promise<PageFetchResult>;
2151
2151
  /** Extracts page fields from a fetched page. */
2152
2152
  export type PageExtractor = (fetched: PageFetchResult, extractor?: ContentExtractor) => Promise<ExtractedPage>;
2153
+ export declare const STOPWORDS: Set<string>;
2153
2154
  export declare function normalizeForCoverage(value: string): string;
2154
2155
  export declare function measureCoverage(query: string, text?: string): CoverageField;
2155
2156
  export declare function contentCoverageType(fields: QueryContentCoverage['fields']): 'content-gap' | 'serp-framing' | 'covered';
@@ -3515,8 +3516,8 @@ export declare const crawlPageSnapshotSchema: z.ZodObject<{
3515
3516
  }, z.core.$strip>>>;
3516
3517
  rendering: z.ZodOptional<z.ZodObject<{
3517
3518
  mode: z.ZodEnum<{
3518
- auto: "auto";
3519
3519
  on: "on";
3520
+ auto: "auto";
3520
3521
  off: "off";
3521
3522
  }>;
3522
3523
  status: z.ZodEnum<{
@@ -4358,8 +4359,8 @@ export declare const crawlConfigSchema: z.ZodObject<{
4358
4359
  useSitemap: z.ZodBoolean;
4359
4360
  checkExternal: z.ZodBoolean;
4360
4361
  js: z.ZodUnion<readonly [z.ZodEnum<{
4361
- auto: "auto";
4362
4362
  on: "on";
4363
+ auto: "auto";
4363
4364
  off: "off";
4364
4365
  }>, z.ZodBoolean]>;
4365
4366
  refresh: z.ZodBoolean;
@@ -4479,8 +4480,8 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4479
4480
  useSitemap: z.ZodBoolean;
4480
4481
  checkExternal: z.ZodBoolean;
4481
4482
  js: z.ZodUnion<readonly [z.ZodEnum<{
4482
- auto: "auto";
4483
4483
  on: "on";
4484
+ auto: "auto";
4484
4485
  off: "off";
4485
4486
  }>, z.ZodBoolean]>;
4486
4487
  refresh: z.ZodBoolean;
@@ -4726,8 +4727,8 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4726
4727
  }, z.core.$strip>>>;
4727
4728
  rendering: z.ZodOptional<z.ZodObject<{
4728
4729
  mode: z.ZodEnum<{
4729
- auto: "auto";
4730
4730
  on: "on";
4731
+ auto: "auto";
4731
4732
  off: "off";
4732
4733
  }>;
4733
4734
  status: z.ZodEnum<{
@@ -5843,8 +5844,8 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5843
5844
  useSitemap: z.ZodBoolean;
5844
5845
  checkExternal: z.ZodBoolean;
5845
5846
  js: z.ZodUnion<readonly [z.ZodEnum<{
5846
- auto: "auto";
5847
5847
  on: "on";
5848
+ auto: "auto";
5848
5849
  off: "off";
5849
5850
  }>, z.ZodBoolean]>;
5850
5851
  refresh: z.ZodBoolean;
@@ -6090,8 +6091,8 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6090
6091
  }, z.core.$strip>>>;
6091
6092
  rendering: z.ZodOptional<z.ZodObject<{
6092
6093
  mode: z.ZodEnum<{
6093
- auto: "auto";
6094
6094
  on: "on";
6095
+ auto: "auto";
6095
6096
  off: "off";
6096
6097
  }>;
6097
6098
  status: z.ZodEnum<{
@@ -7207,8 +7208,8 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7207
7208
  useSitemap: z.ZodBoolean;
7208
7209
  checkExternal: z.ZodBoolean;
7209
7210
  js: z.ZodUnion<readonly [z.ZodEnum<{
7210
- auto: "auto";
7211
7211
  on: "on";
7212
+ auto: "auto";
7212
7213
  off: "off";
7213
7214
  }>, z.ZodBoolean]>;
7214
7215
  refresh: z.ZodBoolean;
@@ -7454,8 +7455,8 @@ export declare const crawlReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7454
7455
  }, z.core.$strip>>>;
7455
7456
  rendering: z.ZodOptional<z.ZodObject<{
7456
7457
  mode: z.ZodEnum<{
7457
- auto: "auto";
7458
7458
  on: "on";
7459
+ auto: "auto";
7459
7460
  off: "off";
7460
7461
  }>;
7461
7462
  status: z.ZodEnum<{
@@ -8573,8 +8574,8 @@ export declare const crawlerSchemas: {
8573
8574
  useSitemap: z.ZodBoolean;
8574
8575
  checkExternal: z.ZodBoolean;
8575
8576
  js: z.ZodUnion<readonly [z.ZodEnum<{
8576
- auto: "auto";
8577
8577
  on: "on";
8578
+ auto: "auto";
8578
8579
  off: "off";
8579
8580
  }>, z.ZodBoolean]>;
8580
8581
  refresh: z.ZodBoolean;
@@ -8820,8 +8821,8 @@ export declare const crawlerSchemas: {
8820
8821
  }, z.core.$strip>>>;
8821
8822
  rendering: z.ZodOptional<z.ZodObject<{
8822
8823
  mode: z.ZodEnum<{
8823
- auto: "auto";
8824
8824
  on: "on";
8825
+ auto: "auto";
8825
8826
  off: "off";
8826
8827
  }>;
8827
8828
  status: z.ZodEnum<{
@@ -9937,8 +9938,8 @@ export declare const crawlerSchemas: {
9937
9938
  useSitemap: z.ZodBoolean;
9938
9939
  checkExternal: z.ZodBoolean;
9939
9940
  js: z.ZodUnion<readonly [z.ZodEnum<{
9940
- auto: "auto";
9941
9941
  on: "on";
9942
+ auto: "auto";
9942
9943
  off: "off";
9943
9944
  }>, z.ZodBoolean]>;
9944
9945
  refresh: z.ZodBoolean;
@@ -10184,8 +10185,8 @@ export declare const crawlerSchemas: {
10184
10185
  }, z.core.$strip>>>;
10185
10186
  rendering: z.ZodOptional<z.ZodObject<{
10186
10187
  mode: z.ZodEnum<{
10187
- auto: "auto";
10188
10188
  on: "on";
10189
+ auto: "auto";
10189
10190
  off: "off";
10190
10191
  }>;
10191
10192
  status: z.ZodEnum<{
@@ -11301,8 +11302,8 @@ export declare const crawlerSchemas: {
11301
11302
  useSitemap: z.ZodBoolean;
11302
11303
  checkExternal: z.ZodBoolean;
11303
11304
  js: z.ZodUnion<readonly [z.ZodEnum<{
11304
- auto: "auto";
11305
11305
  on: "on";
11306
+ auto: "auto";
11306
11307
  off: "off";
11307
11308
  }>, z.ZodBoolean]>;
11308
11309
  refresh: z.ZodBoolean;
@@ -11548,8 +11549,8 @@ export declare const crawlerSchemas: {
11548
11549
  }, z.core.$strip>>>;
11549
11550
  rendering: z.ZodOptional<z.ZodObject<{
11550
11551
  mode: z.ZodEnum<{
11551
- auto: "auto";
11552
11552
  on: "on";
11553
+ auto: "auto";
11553
11554
  off: "off";
11554
11555
  }>;
11555
11556
  status: z.ZodEnum<{
@@ -13038,8 +13039,8 @@ export declare const crawlerSchemas: {
13038
13039
  }, z.core.$strip>>>;
13039
13040
  rendering: z.ZodOptional<z.ZodObject<{
13040
13041
  mode: z.ZodEnum<{
13041
- auto: "auto";
13042
13042
  on: "on";
13043
+ auto: "auto";
13043
13044
  off: "off";
13044
13045
  }>;
13045
13046
  status: z.ZodEnum<{
@@ -13617,8 +13618,8 @@ export declare const crawlerJsonSchemas: {
13617
13618
  useSitemap: z.ZodBoolean;
13618
13619
  checkExternal: z.ZodBoolean;
13619
13620
  js: z.ZodUnion<readonly [z.ZodEnum<{
13620
- auto: "auto";
13621
13621
  on: "on";
13622
+ auto: "auto";
13622
13623
  off: "off";
13623
13624
  }>, z.ZodBoolean]>;
13624
13625
  refresh: z.ZodBoolean;
@@ -13864,8 +13865,8 @@ export declare const crawlerJsonSchemas: {
13864
13865
  }, z.core.$strip>>>;
13865
13866
  rendering: z.ZodOptional<z.ZodObject<{
13866
13867
  mode: z.ZodEnum<{
13867
- auto: "auto";
13868
13868
  on: "on";
13869
+ auto: "auto";
13869
13870
  off: "off";
13870
13871
  }>;
13871
13872
  status: z.ZodEnum<{
@@ -14981,8 +14982,8 @@ export declare const crawlerJsonSchemas: {
14981
14982
  useSitemap: z.ZodBoolean;
14982
14983
  checkExternal: z.ZodBoolean;
14983
14984
  js: z.ZodUnion<readonly [z.ZodEnum<{
14984
- auto: "auto";
14985
14985
  on: "on";
14986
+ auto: "auto";
14986
14987
  off: "off";
14987
14988
  }>, z.ZodBoolean]>;
14988
14989
  refresh: z.ZodBoolean;
@@ -15228,8 +15229,8 @@ export declare const crawlerJsonSchemas: {
15228
15229
  }, z.core.$strip>>>;
15229
15230
  rendering: z.ZodOptional<z.ZodObject<{
15230
15231
  mode: z.ZodEnum<{
15231
- auto: "auto";
15232
15232
  on: "on";
15233
+ auto: "auto";
15233
15234
  off: "off";
15234
15235
  }>;
15235
15236
  status: z.ZodEnum<{
@@ -16345,8 +16346,8 @@ export declare const crawlerJsonSchemas: {
16345
16346
  useSitemap: z.ZodBoolean;
16346
16347
  checkExternal: z.ZodBoolean;
16347
16348
  js: z.ZodUnion<readonly [z.ZodEnum<{
16348
- auto: "auto";
16349
16349
  on: "on";
16350
+ auto: "auto";
16350
16351
  off: "off";
16351
16352
  }>, z.ZodBoolean]>;
16352
16353
  refresh: z.ZodBoolean;
@@ -16592,8 +16593,8 @@ export declare const crawlerJsonSchemas: {
16592
16593
  }, z.core.$strip>>>;
16593
16594
  rendering: z.ZodOptional<z.ZodObject<{
16594
16595
  mode: z.ZodEnum<{
16595
- auto: "auto";
16596
16596
  on: "on";
16597
+ auto: "auto";
16597
16598
  off: "off";
16598
16599
  }>;
16599
16600
  status: z.ZodEnum<{
@@ -18082,8 +18083,8 @@ export declare const crawlerJsonSchemas: {
18082
18083
  }, z.core.$strip>>>;
18083
18084
  rendering: z.ZodOptional<z.ZodObject<{
18084
18085
  mode: z.ZodEnum<{
18085
- auto: "auto";
18086
18086
  on: "on";
18087
+ auto: "auto";
18087
18088
  off: "off";
18088
18089
  }>;
18089
18090
  status: z.ZodEnum<{
@@ -22451,6 +22452,16 @@ type AiOverview = {
22451
22452
  title: string | null;
22452
22453
  }[];
22453
22454
  };
22455
+ type PeopleAlsoAsk = {
22456
+ keyword: string;
22457
+ questions: {
22458
+ question: string;
22459
+ aiAnswer: boolean;
22460
+ url: string | null;
22461
+ domain: string | null;
22462
+ title: string | null;
22463
+ }[];
22464
+ };
22454
22465
  declare const RESEARCH_DEVICES: readonly ["desktop", "mobile"];
22455
22466
  type ResearchDevice = (typeof RESEARCH_DEVICES)[number];
22456
22467
  type Row$1 = Record<string, string | number | boolean | null>;
@@ -22474,6 +22485,7 @@ type ResearchRows = {
22474
22485
  withSite: number;
22475
22486
  };
22476
22487
  aiOverviews?: AiOverview[];
22488
+ peopleAlsoAsk?: PeopleAlsoAsk[];
22477
22489
  warnings?: string[];
22478
22490
  };
22479
22491
  type SiteTotal = {