deno.land / x / lume@v2.1.4 / tests / __snapshots__ / relations.test.ts.snap
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447export const snapshot = {};
snapshot[`relations plugin 1`] = `{ formats: [ { engines: 0, ext: ".page.toml", loader: [AsyncFunction: toml], pageType: "page", }, { engines: 1, ext: ".page.ts", loader: [AsyncFunction: module], pageType: "page", }, { engines: 1, ext: ".page.js", loader: [AsyncFunction: module], pageType: "page", }, { engines: 0, ext: ".page.jsonc", loader: [AsyncFunction: json], pageType: "page", }, { engines: 0, ext: ".page.json", loader: [AsyncFunction: json], pageType: "page", }, { dataLoader: [AsyncFunction: json], engines: 0, ext: ".json", loader: [AsyncFunction: json], }, { dataLoader: [AsyncFunction: json], engines: 0, ext: ".jsonc", loader: [AsyncFunction: json], }, { engines: 1, ext: ".md", loader: [AsyncFunction: text], pageType: "page", }, { engines: 1, ext: ".markdown", loader: [AsyncFunction: text], pageType: "page", }, { dataLoader: [AsyncFunction: module], engines: 1, ext: ".js", loader: [AsyncFunction: module], }, { dataLoader: [AsyncFunction: module], engines: 1, ext: ".ts", loader: [AsyncFunction: module], }, { engines: 1, ext: ".vento", loader: [AsyncFunction: text], pageType: "page", }, { engines: 1, ext: ".vto", loader: [AsyncFunction: text], pageType: "page", }, { dataLoader: [AsyncFunction: toml], engines: 0, ext: ".toml", loader: [AsyncFunction: toml], }, { dataLoader: [AsyncFunction: yaml], engines: 0, ext: ".yaml", loader: [AsyncFunction: yaml], pageType: "page", }, { dataLoader: [AsyncFunction: yaml], engines: 0, ext: ".yml", loader: [AsyncFunction: yaml], pageType: "page", }, ], src: [ "/", "/_includes", "/_includes/categories.vto", "/_includes/comment.vto", "/_includes/posts.vto", "/categories", "/categories/_data.yml", "/categories/category-1.md", "/categories/category-2.md", "/comments", "/comments/_data.yml", "/comments/comment-1.md", "/comments/comment-2.md", "/comments/comment-3.md", "/posts", "/posts/_data.yml", "/posts/post-1.md", "/posts/post-2.md", ],}`;
snapshot[`relations plugin 2`] = `[]`;
snapshot[`relations plugin 3`] = `[ { content: "<!DOCTYPE html><h1>Category 1</h1><div><p>This is the first category</p></div><h2>Posts</h2><ul></ul>", data: { basename: "category-1", children: "<p>This is the first category</p>", content: "This is the first category", date: [], layout: "categories.vto", mergedKeys: [ "tags", ], page: [ "src", "data", ], paginate: "paginate", post: "Array(1)", renderOrder: -2, search: [], tags: "Array(0)", title: "Category 1", type: "category", url: "/categories/category-1/", }, src: { asset: false, ext: ".md", path: "/categories/category-1", remote: undefined, }, }, { content: "<!DOCTYPE html><h1>Category 2</h1><div><p>This is the second category</p></div><h2>Posts</h2><ul></ul>", data: { basename: "category-2", children: "<p>This is the second category</p>", content: "This is the second category", date: [], layout: "categories.vto", mergedKeys: [ "tags", ], page: [ "src", "data", ], paginate: "paginate", post: "Array(1)", search: [], tags: "Array(0)", title: "Category 2", type: "category", url: "/categories/category-2/", }, src: { asset: false, ext: ".md", path: "/categories/category-2", remote: undefined, }, }, { content: "<!DOCTYPE html><p>This is the first comment</p>", data: { basename: "comment-1", children: "<p>This is the first comment</p>", content: "This is the first comment", date: [], id: 1, mergedKeys: [ "tags", ], page: [ "src", "data", ], paginate: "paginate", post: "Array(1)", search: [], tags: "Array(0)", type: "comment", url: "/comments/comment-1/", }, src: { asset: false, ext: ".md", path: "/comments/comment-1", remote: undefined, }, }, { content: "<!DOCTYPE html><p>This is the second comment</p>", data: { basename: "comment-2", children: "<p>This is the second comment</p>", content: "This is the second comment", date: [], id: 2, mergedKeys: [ "tags", ], page: [ "src", "data", ], paginate: "paginate", post: "Array(1)", renderOrder: -1, search: [], tags: "Array(0)", type: "comment", url: "/comments/comment-2/", }, src: { asset: false, ext: ".md", path: "/comments/comment-2", remote: undefined, }, }, { content: "<!DOCTYPE html><p>This is the third comment</p>", data: { basename: "comment-3", children: "<p>This is the third comment</p>", content: "This is the third comment", date: [], id: 3, mergedKeys: [ "tags", ], page: [ "src", "data", ], paginate: "paginate", post: "Array(1)", search: [], tags: "Array(0)", type: "comment", url: "/comments/comment-3/", }, src: { asset: false, ext: ".md", path: "/comments/comment-3", remote: undefined, }, }, { content: '<!DOCTYPE html><div><p>First post with category 2 and comments 1 and 3</p></div>
<h2>Category:</h2><a href="/categories/category-2/">Category 2</a><p>This is the second category</p>
<ul></ul>', data: { basename: "post-1", category: [ "basename", "mergedKeys", "paginate", "search", "tags", "type", "layout", "title", "content", "url", "date", "page", "children", "post", ], category_id: "category-2", children: "<p>First post with category 2 and comments 1 and 3</p>", comment_id: "Array(2)", comments: "Array(2)", content: "First post with category 2 and comments 1 and 3", date: [], id: "first-post", layout: "posts.vto", mergedKeys: [ "tags", ], page: [ "src", "data", ], paginate: "paginate", renderOrder: 1, search: [], tags: "Array(0)", type: "post", url: "/posts/post-1/", }, src: { asset: false, ext: ".md", path: "/posts/post-1", remote: undefined, }, }, { content: '<!DOCTYPE html><div><p>Second post with category 1 and comment 2</p></div>
<h2>Category:</h2><a href="/categories/category-1/">Category 1</a><p>This is the first category</p>
<ul></ul>', data: { basename: "post-2", category: [ "basename", "mergedKeys", "paginate", "search", "tags", "type", "layout", "title", "renderOrder", "content", "url", "date", "page", "children", "post", ], category_id: "category-1", children: "<p>Second post with category 1 and comment 2</p>", comment_id: "Array(1)", comments: "Array(1)", content: "Second post with category 1 and comment 2", date: [], id: "second-post", layout: "posts.vto", mergedKeys: [ "tags", ], page: [ "src", "data", ], paginate: "paginate", search: [], tags: "Array(0)", type: "post", url: "/posts/post-2/", }, src: { asset: false, ext: ".md", path: "/posts/post-2", remote: undefined, }, },]`;
Version Info