Skip to content

Commit 779e3fb

Browse files
revert generated change
1 parent 4887e1b commit 779e3fb

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

tests/qunit/fixtures/wp-api-generated.js

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@ mockedApiResponse.Schema = {
2222
"wp-block-editor/v1",
2323
"wp-abilities/v1"
2424
],
25-
"authentication": {
26-
"application-passwords": {
27-
"endpoints": {
28-
"authorization": "http://example.org/wp-admin/authorize-application.php"
29-
}
30-
}
31-
},
25+
"authentication": [],
3226
"routes": {
3327
"/": {
3428
"namespace": "",
@@ -11544,7 +11538,10 @@ mockedApiResponse.Schema = {
1154411538
"status": {
1154511539
"default": "approve",
1154611540
"description": "Limit result set to comments assigned a specific status. Requires authorization.",
11547-
"type": "string",
11541+
"type": [
11542+
"string",
11543+
"array"
11544+
],
1154811545
"required": false
1154911546
},
1155011547
"type": {
@@ -11654,7 +11651,18 @@ mockedApiResponse.Schema = {
1165411651
"meta": {
1165511652
"description": "Meta fields.",
1165611653
"type": "object",
11657-
"properties": [],
11654+
"properties": {
11655+
"_wp_note_status": {
11656+
"type": "string",
11657+
"title": "",
11658+
"description": "Note resolution status",
11659+
"default": "",
11660+
"enum": [
11661+
"resolved",
11662+
"reopen"
11663+
]
11664+
}
11665+
},
1165811666
"required": false
1165911667
}
1166011668
}
@@ -11801,7 +11809,18 @@ mockedApiResponse.Schema = {
1180111809
"meta": {
1180211810
"description": "Meta fields.",
1180311811
"type": "object",
11804-
"properties": [],
11812+
"properties": {
11813+
"_wp_note_status": {
11814+
"type": "string",
11815+
"title": "",
11816+
"description": "Note resolution status",
11817+
"default": "",
11818+
"enum": [
11819+
"resolved",
11820+
"reopen"
11821+
]
11822+
}
11823+
},
1180511824
"required": false
1180611825
}
1180711826
}
@@ -15480,6 +15499,7 @@ mockedApiResponse.CommentsCollection = [
1548015499
"96": "https://secure.gravatar.com/avatar/9ca51ced0b389ffbeba3d269c6d824be664c84fa1b35503282abdd302e1f417c?s=96&d=mm&r=g"
1548115500
},
1548215501
"meta": {
15502+
"_wp_note_status": null,
1548315503
"meta_key": "meta_value"
1548415504
},
1548515505
"_links": {
@@ -15534,6 +15554,7 @@ mockedApiResponse.CommentModel = {
1553415554
"96": "https://secure.gravatar.com/avatar/9ca51ced0b389ffbeba3d269c6d824be664c84fa1b35503282abdd302e1f417c?s=96&d=mm&r=g"
1553515555
},
1553615556
"meta": {
15557+
"_wp_note_status": null,
1553715558
"meta_key": "meta_value"
1553815559
}
1553915560
};

0 commit comments

Comments
 (0)