Skip to content

Commit

Permalink
Regenerate api fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 6, 2024
1 parent 2eb4cc3 commit 72b119f
Showing 1 changed file with 160 additions and 26 deletions.
186 changes: 160 additions & 26 deletions tests/qunit/fixtures/wp-api-generated.js
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,13 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"sticky": {
Expand Down Expand Up @@ -1089,7 +1095,13 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"sticky": {
Expand Down Expand Up @@ -1528,7 +1540,13 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"sticky": {
Expand Down Expand Up @@ -1996,7 +2014,13 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
Expand Down Expand Up @@ -2247,7 +2271,13 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
Expand Down Expand Up @@ -2653,7 +2683,13 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"footnotes": {
"type": "string",
"description": "",
"default": ""
}
},
"required": false
},
"template": {
Expand Down Expand Up @@ -4622,7 +4658,17 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"wp_pattern_sync_status": {
"type": "string",
"description": "",
"default": "",
"enum": [
"partial",
"unsynced"
]
}
},
"required": false
},
"template": {
Expand Down Expand Up @@ -4792,7 +4838,17 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"wp_pattern_sync_status": {
"type": "string",
"description": "",
"default": "",
"enum": [
"partial",
"unsynced"
]
}
},
"required": false
},
"template": {
Expand Down Expand Up @@ -5122,7 +5178,17 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"wp_pattern_sync_status": {
"type": "string",
"description": "",
"default": "",
"enum": [
"partial",
"unsynced"
]
}
},
"required": false
},
"template": {
Expand Down Expand Up @@ -9244,7 +9310,25 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"persisted_preferences": {
"type": "object",
"description": "",
"default": [],
"context": [
"edit"
],
"properties": {
"_modified": {
"description": "The date and time the preferences were updated.",
"type": "string",
"format": "date-time",
"readonly": false
}
},
"additionalProperties": true
}
},
"required": false
}
}
Expand Down Expand Up @@ -9375,7 +9459,25 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"persisted_preferences": {
"type": "object",
"description": "",
"default": [],
"context": [
"edit"
],
"properties": {
"_modified": {
"description": "The date and time the preferences were updated.",
"type": "string",
"format": "date-time",
"readonly": false
}
},
"additionalProperties": true
}
},
"required": false
}
}
Expand Down Expand Up @@ -9516,7 +9618,25 @@ mockedApiResponse.Schema = {
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": [],
"properties": {
"persisted_preferences": {
"type": "object",
"description": "",
"default": [],
"context": [
"edit"
],
"properties": {
"_modified": {
"description": "The date and time the preferences were updated.",
"type": "string",
"format": "date-time",
"readonly": false
}
},
"additionalProperties": true
}
},
"required": false
}
}
Expand Down Expand Up @@ -12132,7 +12252,8 @@ mockedApiResponse.PostsCollection = [
"template": "",
"format": "standard",
"meta": {
"meta_key": "meta_value"
"meta_key": "meta_value",
"footnotes": ""
},
"categories": [
1
Expand Down Expand Up @@ -12232,7 +12353,8 @@ mockedApiResponse.PostModel = {
"template": "",
"format": "standard",
"meta": {
"meta_key": "meta_value"
"meta_key": "meta_value",
"footnotes": ""
},
"categories": [
1
Expand Down Expand Up @@ -12263,7 +12385,8 @@ mockedApiResponse.postRevisions = [
"rendered": ""
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
},
"_links": {
"parent": [
Expand Down Expand Up @@ -12295,7 +12418,8 @@ mockedApiResponse.postRevisions = [
"rendered": "<p>REST API Client Fixture: Post</p>\n"
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
},
"_links": {
"parent": [
Expand Down Expand Up @@ -12329,7 +12453,8 @@ mockedApiResponse.revision = {
"rendered": "<p>REST API Client Fixture: Post</p>\n"
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
}
};

Expand All @@ -12356,7 +12481,8 @@ mockedApiResponse.postAutosaves = [
"rendered": ""
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
},
"_links": {
"parent": [
Expand Down Expand Up @@ -12390,7 +12516,8 @@ mockedApiResponse.autosave = {
"rendered": ""
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
}
};

Expand Down Expand Up @@ -12427,7 +12554,8 @@ mockedApiResponse.PagesCollection = [
"ping_status": "closed",
"template": "",
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
},
"_links": {
"self": [
Expand Down Expand Up @@ -12511,7 +12639,8 @@ mockedApiResponse.PageModel = {
"ping_status": "closed",
"template": "",
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
}
};

Expand All @@ -12538,7 +12667,8 @@ mockedApiResponse.pageRevisions = [
"rendered": ""
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
},
"_links": {
"parent": [
Expand Down Expand Up @@ -12570,7 +12700,8 @@ mockedApiResponse.pageRevisions = [
"rendered": "<p>REST API Client Fixture: Page</p>\n"
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
},
"_links": {
"parent": [
Expand Down Expand Up @@ -12604,7 +12735,8 @@ mockedApiResponse.pageRevision = {
"rendered": "<p>REST API Client Fixture: Page</p>\n"
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
}
};

Expand All @@ -12631,7 +12763,8 @@ mockedApiResponse.pageAutosaves = [
"rendered": ""
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
},
"_links": {
"parent": [
Expand Down Expand Up @@ -12665,7 +12798,8 @@ mockedApiResponse.pageAutosave = {
"rendered": ""
},
"meta": {
"meta_key": ""
"meta_key": "",
"footnotes": ""
}
};

Expand Down

0 comments on commit 72b119f

Please sign in to comment.