@nuxtseo/protocol 0.2.1 → 0.4.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/account.d.ts +8 -104
- package/dist/v1/account.js +4 -2
- package/dist/v1/actions.d.ts +706 -0
- package/dist/v1/actions.js +20 -0
- package/dist/v1/audit.d.ts +412 -10
- package/dist/v1/audit.js +24 -1
- package/dist/v1/backlinks.d.ts +448 -4
- package/dist/v1/backlinks.js +53 -1
- package/dist/v1/core.d.ts +50 -1
- package/dist/v1/core.js +39 -2
- package/dist/v1/gsc.d.ts +424 -12
- package/dist/v1/gsc.js +36 -5
- package/dist/v1/index.d.ts +0 -3
- package/dist/v1/index.js +0 -3
- package/dist/v1/pages.d.ts +72 -2
- package/dist/v1/pages.js +17 -1
- package/dist/v1/performance.d.ts +22 -16
- package/dist/v1/performance.js +54 -29
- package/dist/v1/research.d.ts +170 -2
- package/dist/v1/research.js +43 -0
- package/dist/v1/sitemaps.d.ts +6 -6
- package/dist/v1/sitemaps.js +2 -1
- package/dist/v1/sites.d.ts +298 -0
- package/dist/v1/sites.js +21 -2
- package/dist/v1/timeline.d.ts +4 -4
- package/dist/v1/timeline.js +4 -0
- package/generated/openapi.v1.json +1 -1
- package/package.json +3 -8
- package/dist/v1/content.d.ts +0 -2745
- package/dist/v1/content.js +0 -326
package/dist/v1/actions.js
CHANGED
|
@@ -118,7 +118,11 @@ export const actionListItemSchema = defineResponseObject({
|
|
|
118
118
|
}).nullable(),
|
|
119
119
|
});
|
|
120
120
|
export const actionListDataSchema = defineResponseObject({
|
|
121
|
+
/**
|
|
122
|
+
* Deprecated alias of `rows`. Kept for one minor version, then removed.
|
|
123
|
+
*/
|
|
121
124
|
actions: schema.array(actionListItemSchema.producer),
|
|
125
|
+
rows: schema.array(actionListItemSchema.producer),
|
|
122
126
|
page: schema.strictObject({
|
|
123
127
|
total: schema.number().int().nonnegative(),
|
|
124
128
|
limit: schema.number().int().nonnegative(),
|
|
@@ -128,6 +132,7 @@ export const actionListDataSchema = defineResponseObject({
|
|
|
128
132
|
listedAsOf: schema.string().datetime(),
|
|
129
133
|
}, {
|
|
130
134
|
actions: schema.array(actionListItemSchema.client),
|
|
135
|
+
rows: schema.array(actionListItemSchema.client).optional(),
|
|
131
136
|
page: schema.looseObject({
|
|
132
137
|
total: schema.number().int().nonnegative(),
|
|
133
138
|
limit: schema.number().int().nonnegative(),
|
|
@@ -204,6 +209,13 @@ export const actionEvidenceItemSchema = schema.discriminatedUnion('_tag', [
|
|
|
204
209
|
url: schema.string().url(),
|
|
205
210
|
detail: schema.string().nullable(),
|
|
206
211
|
}),
|
|
212
|
+
schema.strictObject({
|
|
213
|
+
_tag: schema.literal('element'),
|
|
214
|
+
id: schema.string().min(1),
|
|
215
|
+
selector: schema.string().min(1),
|
|
216
|
+
snippet: schema.string().min(1).nullable(),
|
|
217
|
+
page: schema.string().url().nullable(),
|
|
218
|
+
}),
|
|
207
219
|
]);
|
|
208
220
|
export const actionEvidenceItemClientSchema = schema.discriminatedUnion('_tag', [
|
|
209
221
|
schema.looseObject({
|
|
@@ -232,6 +244,13 @@ export const actionEvidenceItemClientSchema = schema.discriminatedUnion('_tag',
|
|
|
232
244
|
url: schema.string().url(),
|
|
233
245
|
detail: schema.string().nullable(),
|
|
234
246
|
}),
|
|
247
|
+
schema.looseObject({
|
|
248
|
+
_tag: schema.literal('element'),
|
|
249
|
+
id: schema.string().min(1),
|
|
250
|
+
selector: schema.string().min(1),
|
|
251
|
+
snippet: schema.string().min(1).nullable(),
|
|
252
|
+
page: schema.string().url().nullable(),
|
|
253
|
+
}),
|
|
235
254
|
]);
|
|
236
255
|
export const actionVerifierSchema = schema.discriminatedUnion('_tag', [
|
|
237
256
|
schema.strictObject({ _tag: schema.literal('target-healthy'), url: schema.string().url() }),
|
|
@@ -375,6 +394,7 @@ export const actionListOperation = defineOperation({
|
|
|
375
394
|
body: {
|
|
376
395
|
data: {
|
|
377
396
|
actions: [],
|
|
397
|
+
rows: [],
|
|
378
398
|
page: { total: 0, limit: 0, offset: 0, hasMore: false },
|
|
379
399
|
listedAsOf: '2026-08-10T01:30:00.000Z',
|
|
380
400
|
},
|