|
|
|
@ -457,6 +457,692 @@ Object {
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tag filter, checking filter aliases 1: [body] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"collections": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "BACON!",
|
|
|
|
|
"feature_image": null,
|
|
|
|
|
"filter": "tag:['bacon']",
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"posts": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"sort_order": 0,
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"sort_order": 1,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"slug": "bacon-tag-expansion",
|
|
|
|
|
"title": "Test Collection with tag filter alias",
|
|
|
|
|
"type": "automatic",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tag filter, checking filter aliases 2: [headers] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"access-control-allow-origin": "http://127.0.0.1:2369",
|
|
|
|
|
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
|
|
|
|
"content-length": "404",
|
|
|
|
|
"content-type": "application/json; charset=utf-8",
|
|
|
|
|
"content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/,
|
|
|
|
|
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
|
|
|
|
"location": StringMatching /https\\?:\\\\/\\\\/\\.\\*\\?\\\\/collections\\\\/\\[a-f0-9\\]\\{24\\}\\\\//,
|
|
|
|
|
"vary": "Accept-Version, Origin, Accept-Encoding",
|
|
|
|
|
"x-cache-invalidate": "/*",
|
|
|
|
|
"x-powered-by": "Express",
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tag filter, checking filter aliases 3: [body] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"meta": Object {
|
|
|
|
|
"pagination": Object {
|
|
|
|
|
"limit": 15,
|
|
|
|
|
"next": null,
|
|
|
|
|
"page": 1,
|
|
|
|
|
"pages": 1,
|
|
|
|
|
"prev": null,
|
|
|
|
|
"total": 2,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
"posts": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"authors": Any<Array>,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"comment_id": Any<String>,
|
|
|
|
|
"count": Object {
|
|
|
|
|
"clicks": 0,
|
|
|
|
|
"negative_feedback": 0,
|
|
|
|
|
"positive_feedback": 0,
|
|
|
|
|
},
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"custom_excerpt": null,
|
|
|
|
|
"custom_template": null,
|
|
|
|
|
"email": null,
|
|
|
|
|
"email_only": false,
|
|
|
|
|
"email_segment": "all",
|
|
|
|
|
"email_subject": null,
|
|
|
|
|
"excerpt": "HTML Ipsum Presents
|
|
|
|
|
|
|
|
|
|
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum o",
|
|
|
|
|
"feature_image": "http://127.0.0.1:2369/content/images/2018/hey.jpg",
|
|
|
|
|
"feature_image_alt": null,
|
|
|
|
|
"feature_image_caption": null,
|
|
|
|
|
"featured": false,
|
|
|
|
|
"frontmatter": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"mobiledoc": "{\\"version\\":\\"0.3.1\\",\\"markups\\":[],\\"atoms\\":[],\\"cards\\":[[\\"markdown\\",{\\"markdown\\":\\"<h1>HTML Ipsum Presents</h1><img src=\\\\\\"http://127.0.0.1:2369/content/images/lol.jpg\\\\\\"><p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href=\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p><h2>Header Level 2</h2><ol><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ol><blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote><h3>Header Level 3</h3><ul><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ul><pre><code>#header h1 a{display: block;width: 300px;height: 80px;}</code></pre>\\"}]],\\"sections\\":[[10,0]]}",
|
|
|
|
|
"newsletter": null,
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"post_revisions": Any<Array>,
|
|
|
|
|
"primary_author": Any<Object>,
|
|
|
|
|
"primary_tag": Any<Object>,
|
|
|
|
|
"published_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"reading_time": 1,
|
|
|
|
|
"slug": "ghostly-kitchen-sink",
|
|
|
|
|
"status": "published",
|
|
|
|
|
"tags": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": "https://example.com/super_photo.jpg",
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "kitchen sink",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "kitchen-sink",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/kitchen-sink/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "bacon",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "bacon",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/bacon/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"tiers": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": null,
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": null,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Free",
|
|
|
|
|
"slug": "free",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "free",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": null,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": "usd",
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": 500,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Default Product",
|
|
|
|
|
"slug": "default-product",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "paid",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": 5000,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"title": "Ghostly Kitchen Sink",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": Any<String>,
|
|
|
|
|
"uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"authors": Any<Array>,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"comment_id": Any<String>,
|
|
|
|
|
"count": Object {
|
|
|
|
|
"clicks": 0,
|
|
|
|
|
"negative_feedback": 0,
|
|
|
|
|
"positive_feedback": 0,
|
|
|
|
|
},
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"custom_excerpt": "This is my custom excerpt!",
|
|
|
|
|
"custom_template": null,
|
|
|
|
|
"email": null,
|
|
|
|
|
"email_only": false,
|
|
|
|
|
"email_segment": "all",
|
|
|
|
|
"email_subject": null,
|
|
|
|
|
"excerpt": "This is my custom excerpt!",
|
|
|
|
|
"feature_image": "https://example.com/super_photo.jpg",
|
|
|
|
|
"feature_image_alt": null,
|
|
|
|
|
"feature_image_caption": null,
|
|
|
|
|
"featured": false,
|
|
|
|
|
"frontmatter": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"mobiledoc": "{\\"version\\":\\"0.3.1\\",\\"markups\\":[],\\"atoms\\":[],\\"cards\\":[[\\"markdown\\",{\\"markdown\\":\\"<h1>HTML Ipsum Presents</h1><p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href=\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p><h2>Header Level 2</h2><ol><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ol><blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote><h3>Header Level 3</h3><ul><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ul><pre><code>#header h1 a{display: block;width: 300px;height: 80px;}</code></pre>\\"}]],\\"sections\\":[[10,0]]}",
|
|
|
|
|
"newsletter": null,
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"post_revisions": Any<Array>,
|
|
|
|
|
"primary_author": Any<Object>,
|
|
|
|
|
"primary_tag": Any<Object>,
|
|
|
|
|
"published_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"reading_time": 1,
|
|
|
|
|
"slug": "html-ipsum",
|
|
|
|
|
"status": "published",
|
|
|
|
|
"tags": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": "https://example.com/super_photo.jpg",
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "kitchen sink",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "kitchen-sink",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/kitchen-sink/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "bacon",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "bacon",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/bacon/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"tiers": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": null,
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": null,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Free",
|
|
|
|
|
"slug": "free",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "free",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": null,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": "usd",
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": 500,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Default Product",
|
|
|
|
|
"slug": "default-product",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "paid",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": 5000,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"title": "HTML Ipsum",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": Any<String>,
|
|
|
|
|
"uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tag filter, checking filter aliases 4: [headers] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"access-control-allow-origin": "http://127.0.0.1:2369",
|
|
|
|
|
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
|
|
|
|
"content-length": "14189",
|
|
|
|
|
"content-type": "application/json; charset=utf-8",
|
|
|
|
|
"content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/,
|
|
|
|
|
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
|
|
|
|
"vary": "Accept-Version, Origin, Accept-Encoding",
|
|
|
|
|
"x-powered-by": "Express",
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tags filter 1: [body] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"collections": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "BACON!",
|
|
|
|
|
"feature_image": null,
|
|
|
|
|
"filter": "tags:['bacon']",
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"posts": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"sort_order": 0,
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"sort_order": 1,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"slug": "bacon",
|
|
|
|
|
"title": "Test Collection with tags filter",
|
|
|
|
|
"type": "automatic",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tags filter 2: [headers] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"access-control-allow-origin": "http://127.0.0.1:2369",
|
|
|
|
|
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
|
|
|
|
"content-length": "386",
|
|
|
|
|
"content-type": "application/json; charset=utf-8",
|
|
|
|
|
"content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/,
|
|
|
|
|
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
|
|
|
|
"location": StringMatching /https\\?:\\\\/\\\\/\\.\\*\\?\\\\/collections\\\\/\\[a-f0-9\\]\\{24\\}\\\\//,
|
|
|
|
|
"vary": "Accept-Version, Origin, Accept-Encoding",
|
|
|
|
|
"x-cache-invalidate": "/*",
|
|
|
|
|
"x-powered-by": "Express",
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tags filter 3: [body] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"meta": Object {
|
|
|
|
|
"pagination": Object {
|
|
|
|
|
"limit": 15,
|
|
|
|
|
"next": null,
|
|
|
|
|
"page": 1,
|
|
|
|
|
"pages": 1,
|
|
|
|
|
"prev": null,
|
|
|
|
|
"total": 2,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
"posts": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"authors": Any<Array>,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"comment_id": Any<String>,
|
|
|
|
|
"count": Object {
|
|
|
|
|
"clicks": 0,
|
|
|
|
|
"negative_feedback": 0,
|
|
|
|
|
"positive_feedback": 0,
|
|
|
|
|
},
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"custom_excerpt": null,
|
|
|
|
|
"custom_template": null,
|
|
|
|
|
"email": null,
|
|
|
|
|
"email_only": false,
|
|
|
|
|
"email_segment": "all",
|
|
|
|
|
"email_subject": null,
|
|
|
|
|
"excerpt": "HTML Ipsum Presents
|
|
|
|
|
|
|
|
|
|
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum o",
|
|
|
|
|
"feature_image": "http://127.0.0.1:2369/content/images/2018/hey.jpg",
|
|
|
|
|
"feature_image_alt": null,
|
|
|
|
|
"feature_image_caption": null,
|
|
|
|
|
"featured": false,
|
|
|
|
|
"frontmatter": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"mobiledoc": "{\\"version\\":\\"0.3.1\\",\\"markups\\":[],\\"atoms\\":[],\\"cards\\":[[\\"markdown\\",{\\"markdown\\":\\"<h1>HTML Ipsum Presents</h1><img src=\\\\\\"http://127.0.0.1:2369/content/images/lol.jpg\\\\\\"><p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href=\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p><h2>Header Level 2</h2><ol><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ol><blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote><h3>Header Level 3</h3><ul><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ul><pre><code>#header h1 a{display: block;width: 300px;height: 80px;}</code></pre>\\"}]],\\"sections\\":[[10,0]]}",
|
|
|
|
|
"newsletter": null,
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"post_revisions": Any<Array>,
|
|
|
|
|
"primary_author": Any<Object>,
|
|
|
|
|
"primary_tag": Any<Object>,
|
|
|
|
|
"published_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"reading_time": 1,
|
|
|
|
|
"slug": "ghostly-kitchen-sink",
|
|
|
|
|
"status": "published",
|
|
|
|
|
"tags": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": "https://example.com/super_photo.jpg",
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "kitchen sink",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "kitchen-sink",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/kitchen-sink/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "bacon",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "bacon",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/bacon/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"tiers": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": null,
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": null,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Free",
|
|
|
|
|
"slug": "free",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "free",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": null,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": "usd",
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": 500,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Default Product",
|
|
|
|
|
"slug": "default-product",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "paid",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": 5000,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"title": "Ghostly Kitchen Sink",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": Any<String>,
|
|
|
|
|
"uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"authors": Any<Array>,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"comment_id": Any<String>,
|
|
|
|
|
"count": Object {
|
|
|
|
|
"clicks": 0,
|
|
|
|
|
"negative_feedback": 0,
|
|
|
|
|
"positive_feedback": 0,
|
|
|
|
|
},
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"custom_excerpt": "This is my custom excerpt!",
|
|
|
|
|
"custom_template": null,
|
|
|
|
|
"email": null,
|
|
|
|
|
"email_only": false,
|
|
|
|
|
"email_segment": "all",
|
|
|
|
|
"email_subject": null,
|
|
|
|
|
"excerpt": "This is my custom excerpt!",
|
|
|
|
|
"feature_image": "https://example.com/super_photo.jpg",
|
|
|
|
|
"feature_image_alt": null,
|
|
|
|
|
"feature_image_caption": null,
|
|
|
|
|
"featured": false,
|
|
|
|
|
"frontmatter": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"mobiledoc": "{\\"version\\":\\"0.3.1\\",\\"markups\\":[],\\"atoms\\":[],\\"cards\\":[[\\"markdown\\",{\\"markdown\\":\\"<h1>HTML Ipsum Presents</h1><p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href=\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p><h2>Header Level 2</h2><ol><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ol><blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote><h3>Header Level 3</h3><ul><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ul><pre><code>#header h1 a{display: block;width: 300px;height: 80px;}</code></pre>\\"}]],\\"sections\\":[[10,0]]}",
|
|
|
|
|
"newsletter": null,
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"post_revisions": Any<Array>,
|
|
|
|
|
"primary_author": Any<Object>,
|
|
|
|
|
"primary_tag": Any<Object>,
|
|
|
|
|
"published_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"reading_time": 1,
|
|
|
|
|
"slug": "html-ipsum",
|
|
|
|
|
"status": "published",
|
|
|
|
|
"tags": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": "https://example.com/super_photo.jpg",
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "kitchen sink",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "kitchen-sink",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/kitchen-sink/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"accent_color": null,
|
|
|
|
|
"canonical_url": null,
|
|
|
|
|
"codeinjection_foot": null,
|
|
|
|
|
"codeinjection_head": null,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"description": "description",
|
|
|
|
|
"feature_image": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"meta_description": null,
|
|
|
|
|
"meta_title": null,
|
|
|
|
|
"name": "bacon",
|
|
|
|
|
"og_description": null,
|
|
|
|
|
"og_image": null,
|
|
|
|
|
"og_title": null,
|
|
|
|
|
"slug": "bacon",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": "http://127.0.0.1:2369/tag/bacon/",
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"tiers": Array [
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": null,
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": null,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Free",
|
|
|
|
|
"slug": "free",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "free",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": null,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
Object {
|
|
|
|
|
"active": true,
|
|
|
|
|
"created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"currency": "usd",
|
|
|
|
|
"description": null,
|
|
|
|
|
"id": StringMatching /\\[a-f0-9\\]\\{24\\}/,
|
|
|
|
|
"monthly_price": 500,
|
|
|
|
|
"monthly_price_id": null,
|
|
|
|
|
"name": "Default Product",
|
|
|
|
|
"slug": "default-product",
|
|
|
|
|
"trial_days": 0,
|
|
|
|
|
"type": "paid",
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
"welcome_page_url": null,
|
|
|
|
|
"yearly_price": 5000,
|
|
|
|
|
"yearly_price_id": null,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"title": "HTML Ipsum",
|
|
|
|
|
"twitter_description": null,
|
|
|
|
|
"twitter_image": null,
|
|
|
|
|
"twitter_title": null,
|
|
|
|
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
|
|
|
|
"url": Any<String>,
|
|
|
|
|
"uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/,
|
|
|
|
|
"visibility": "public",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Automatic Collection Filtering Creates an automatic Collection with a tags filter 4: [headers] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"access-control-allow-origin": "http://127.0.0.1:2369",
|
|
|
|
|
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
|
|
|
|
"content-length": "14189",
|
|
|
|
|
"content-type": "application/json; charset=utf-8",
|
|
|
|
|
"content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/,
|
|
|
|
|
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
|
|
|
|
"vary": "Accept-Version, Origin, Accept-Encoding",
|
|
|
|
|
"x-powered-by": "Express",
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`Collections API Browse Can browse Collections 1: [body] 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"collections": Array [
|
|
|
|
|