@nuxtseo/protocol 0.1.4 → 0.2.0

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/v1/audit.js CHANGED
@@ -199,11 +199,19 @@ export const auditDuplicateClustersDataSchema = defineResponseObject({
199
199
  clusters: schema.array(duplicateClusterSchema.producer),
200
200
  total: schema.number(),
201
201
  pagesAffected: schema.number(),
202
+ /**
203
+ * The crawl the clusters came from, null when the site has never completed
204
+ * one. The reader always knew this and the route dropped it, so a consumer
205
+ * could not tell "no duplicates" from "never looked" — both arrive as
206
+ * `total: 0`. Optional so a payload cached before this field still parses.
207
+ */
208
+ crawlSettingsId: schema.number().nullable().optional(),
202
209
  }, {
203
210
  connected: schema.boolean(),
204
211
  clusters: schema.array(duplicateClusterSchema.client),
205
212
  total: schema.number(),
206
213
  pagesAffected: schema.number(),
214
+ crawlSettingsId: schema.number().nullable().optional(),
207
215
  });
208
216
  export const auditDuplicateClustersResponseSchema = defineSuccessEnvelope(auditDuplicateClustersDataSchema);
209
217
  export const linkOpportunityRowSchema = defineResponseObject({