@nuxtseo/protocol 0.2.1 → 0.3.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 -96
- package/dist/v1/account.js +4 -2
- package/dist/v1/actions.d.ts +634 -0
- package/dist/v1/actions.js +6 -0
- package/dist/v1/audit.d.ts +402 -0
- package/dist/v1/audit.js +23 -1
- package/dist/v1/backlinks.d.ts +444 -0
- package/dist/v1/backlinks.js +51 -1
- package/dist/v1/content.d.ts +184 -0
- package/dist/v1/content.js +15 -0
- package/dist/v1/core.d.ts +49 -0
- package/dist/v1/core.js +39 -0
- package/dist/v1/gsc.d.ts +424 -12
- package/dist/v1/gsc.js +36 -5
- package/dist/v1/pages.d.ts +70 -0
- package/dist/v1/pages.js +16 -1
- package/dist/v1/performance.d.ts +10 -4
- package/dist/v1/performance.js +48 -29
- package/dist/v1/research.d.ts +168 -0
- package/dist/v1/research.js +42 -0
- package/dist/v1/sites.d.ts +298 -0
- package/dist/v1/sites.js +21 -2
- package/generated/openapi.v1.json +1 -1
- package/package.json +1 -1
package/dist/v1/account.d.ts
CHANGED
|
@@ -494,30 +494,8 @@ export declare const accountTokenDataSchema: import("./core.js").CompatibleRespo
|
|
|
494
494
|
api_token: "api_token";
|
|
495
495
|
session: "session";
|
|
496
496
|
}>;
|
|
497
|
-
readonly role: z.
|
|
498
|
-
|
|
499
|
-
member: "member";
|
|
500
|
-
owner: "owner";
|
|
501
|
-
viewer: "viewer";
|
|
502
|
-
}>;
|
|
503
|
-
readonly scopes: z.ZodArray<z.ZodEnum<{
|
|
504
|
-
"account:read": "account:read";
|
|
505
|
-
"actions:read": "actions:read";
|
|
506
|
-
"actions:write": "actions:write";
|
|
507
|
-
"analytics:read": "analytics:read";
|
|
508
|
-
"audit:read": "audit:read";
|
|
509
|
-
"content:read": "content:read";
|
|
510
|
-
"content:write": "content:write";
|
|
511
|
-
"feedback:write": "feedback:write";
|
|
512
|
-
"page:read": "page:read";
|
|
513
|
-
"page:write": "page:write";
|
|
514
|
-
"research:read": "research:read";
|
|
515
|
-
"research:write": "research:write";
|
|
516
|
-
"sites:read": "sites:read";
|
|
517
|
-
"sites:write": "sites:write";
|
|
518
|
-
"timeline:read": "timeline:read";
|
|
519
|
-
"timeline:write": "timeline:write";
|
|
520
|
-
}>>;
|
|
497
|
+
readonly role: z.ZodString;
|
|
498
|
+
readonly scopes: z.ZodArray<z.ZodString>;
|
|
521
499
|
readonly team: z.ZodObject<{
|
|
522
500
|
id: z.ZodString;
|
|
523
501
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -602,30 +580,8 @@ export declare const accountTokenResponseSchema: import("./core.js").CompatibleR
|
|
|
602
580
|
api_token: "api_token";
|
|
603
581
|
session: "session";
|
|
604
582
|
}>;
|
|
605
|
-
readonly role: z.
|
|
606
|
-
|
|
607
|
-
member: "member";
|
|
608
|
-
owner: "owner";
|
|
609
|
-
viewer: "viewer";
|
|
610
|
-
}>;
|
|
611
|
-
readonly scopes: z.ZodArray<z.ZodEnum<{
|
|
612
|
-
"account:read": "account:read";
|
|
613
|
-
"actions:read": "actions:read";
|
|
614
|
-
"actions:write": "actions:write";
|
|
615
|
-
"analytics:read": "analytics:read";
|
|
616
|
-
"audit:read": "audit:read";
|
|
617
|
-
"content:read": "content:read";
|
|
618
|
-
"content:write": "content:write";
|
|
619
|
-
"feedback:write": "feedback:write";
|
|
620
|
-
"page:read": "page:read";
|
|
621
|
-
"page:write": "page:write";
|
|
622
|
-
"research:read": "research:read";
|
|
623
|
-
"research:write": "research:write";
|
|
624
|
-
"sites:read": "sites:read";
|
|
625
|
-
"sites:write": "sites:write";
|
|
626
|
-
"timeline:read": "timeline:read";
|
|
627
|
-
"timeline:write": "timeline:write";
|
|
628
|
-
}>>;
|
|
583
|
+
readonly role: z.ZodString;
|
|
584
|
+
readonly scopes: z.ZodArray<z.ZodString>;
|
|
629
585
|
readonly team: z.ZodObject<{
|
|
630
586
|
id: z.ZodString;
|
|
631
587
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -741,30 +697,8 @@ export declare const accountTokenOperation: {
|
|
|
741
697
|
api_token: "api_token";
|
|
742
698
|
session: "session";
|
|
743
699
|
}>;
|
|
744
|
-
readonly role: z.
|
|
745
|
-
|
|
746
|
-
member: "member";
|
|
747
|
-
owner: "owner";
|
|
748
|
-
viewer: "viewer";
|
|
749
|
-
}>;
|
|
750
|
-
readonly scopes: z.ZodArray<z.ZodEnum<{
|
|
751
|
-
"account:read": "account:read";
|
|
752
|
-
"actions:read": "actions:read";
|
|
753
|
-
"actions:write": "actions:write";
|
|
754
|
-
"analytics:read": "analytics:read";
|
|
755
|
-
"audit:read": "audit:read";
|
|
756
|
-
"content:read": "content:read";
|
|
757
|
-
"content:write": "content:write";
|
|
758
|
-
"feedback:write": "feedback:write";
|
|
759
|
-
"page:read": "page:read";
|
|
760
|
-
"page:write": "page:write";
|
|
761
|
-
"research:read": "research:read";
|
|
762
|
-
"research:write": "research:write";
|
|
763
|
-
"sites:read": "sites:read";
|
|
764
|
-
"sites:write": "sites:write";
|
|
765
|
-
"timeline:read": "timeline:read";
|
|
766
|
-
"timeline:write": "timeline:write";
|
|
767
|
-
}>>;
|
|
700
|
+
readonly role: z.ZodString;
|
|
701
|
+
readonly scopes: z.ZodArray<z.ZodString>;
|
|
768
702
|
readonly team: z.ZodObject<{
|
|
769
703
|
id: z.ZodString;
|
|
770
704
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -1390,30 +1324,8 @@ export declare const accountV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
1390
1324
|
api_token: "api_token";
|
|
1391
1325
|
session: "session";
|
|
1392
1326
|
}>;
|
|
1393
|
-
readonly role: z.
|
|
1394
|
-
|
|
1395
|
-
member: "member";
|
|
1396
|
-
owner: "owner";
|
|
1397
|
-
viewer: "viewer";
|
|
1398
|
-
}>;
|
|
1399
|
-
readonly scopes: z.ZodArray<z.ZodEnum<{
|
|
1400
|
-
"account:read": "account:read";
|
|
1401
|
-
"actions:read": "actions:read";
|
|
1402
|
-
"actions:write": "actions:write";
|
|
1403
|
-
"analytics:read": "analytics:read";
|
|
1404
|
-
"audit:read": "audit:read";
|
|
1405
|
-
"content:read": "content:read";
|
|
1406
|
-
"content:write": "content:write";
|
|
1407
|
-
"feedback:write": "feedback:write";
|
|
1408
|
-
"page:read": "page:read";
|
|
1409
|
-
"page:write": "page:write";
|
|
1410
|
-
"research:read": "research:read";
|
|
1411
|
-
"research:write": "research:write";
|
|
1412
|
-
"sites:read": "sites:read";
|
|
1413
|
-
"sites:write": "sites:write";
|
|
1414
|
-
"timeline:read": "timeline:read";
|
|
1415
|
-
"timeline:write": "timeline:write";
|
|
1416
|
-
}>>;
|
|
1327
|
+
readonly role: z.ZodString;
|
|
1328
|
+
readonly scopes: z.ZodArray<z.ZodString>;
|
|
1417
1329
|
readonly team: z.ZodObject<{
|
|
1418
1330
|
id: z.ZodString;
|
|
1419
1331
|
name: z.ZodNullable<z.ZodString>;
|
package/dist/v1/account.js
CHANGED
|
@@ -159,8 +159,10 @@ export const accountTokenDataSchema = defineResponseObject({
|
|
|
159
159
|
user: accountTokenUserProducerSchema,
|
|
160
160
|
}, {
|
|
161
161
|
credential: accountTokenCredentialSchema,
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
// The server grants new roles and scopes over time. A client shipped
|
|
163
|
+
// earlier only displays them, so an unknown value must not fail the read.
|
|
164
|
+
role: schema.string().min(1),
|
|
165
|
+
scopes: schema.array(schema.string().min(1)),
|
|
164
166
|
team: accountTokenTeamClientSchema,
|
|
165
167
|
token: accountTokenDetailClientSchema.nullable(),
|
|
166
168
|
user: accountTokenUserClientSchema,
|