Skip to content

Commit

Permalink
chore: re-export drupal content
Browse files Browse the repository at this point in the history
  • Loading branch information
Leksat committed Jan 8, 2024
1 parent 7a6f5ee commit d6d57ba
Show file tree
Hide file tree
Showing 25 changed files with 372 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
_meta:
version: '1.0'
entity_type: consumer
uuid: ecfaf32e-48d5-461e-be02-5be95c24d5e1
default_langcode: en
default:
owner_id:
-
target_id: 0
client_id:
-
value: default_consumer
label:
-
value: 'Default Consumer'
description:
-
value: 'This is the default consumer. This was created programmatically when the Consumers module was first installed. Feel free to edit, or delete this.'
third_party:
-
value: true
is_default:
-
value: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
_meta:
version: '1.0'
entity_type: file
uuid: d4c8ad3e-a288-4551-a528-3798606a6a03
default_langcode: en
default:
uid:
-
target_id: 1
filename:
-
value: file_upload.xml
uri:
-
value: 'private://webform/styling/_sid_/file_upload.xml'
filemime:
-
value: application/xml
filesize:
-
value: 4411
status:
-
value: false
created:
-
value: 1704722701
120 changes: 120 additions & 0 deletions packages/drupal/test_content/content/file/file_upload.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<?xml version="1.0"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications
with XML.</description>
</book>
<book id="bk102">
<author>Ralls, Kim</author>
<title>Midnight Rain</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2000-12-16</publish_date>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.</description>
</book>
<book id="bk103">
<author>Corets, Eva</author>
<title>Maeve Ascendant</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2000-11-17</publish_date>
<description>After the collapse of a nanotechnology
society in England, the young survivors lay the
foundation for a new society.</description>
</book>
<book id="bk104">
<author>Corets, Eva</author>
<title>Oberon's Legacy</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2001-03-10</publish_date>
<description>In post-apocalypse England, the mysterious
agent known only as Oberon helps to create a new life
for the inhabitants of London. Sequel to Maeve
Ascendant.</description>
</book>
<book id="bk105">
<author>Corets, Eva</author>
<title>The Sundered Grail</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2001-09-10</publish_date>
<description>The two daughters of Maeve, half-sisters,
battle one another for control of England. Sequel to
Oberon's Legacy.</description>
</book>
<book id="bk106">
<author>Randall, Cynthia</author>
<title>Lover Birds</title>
<genre>Romance</genre>
<price>4.95</price>
<publish_date>2000-09-02</publish_date>
<description>When Carla meets Paul at an ornithology
conference, tempers fly as feathers get ruffled.</description>
</book>
<book id="bk107">
<author>Thurman, Paula</author>
<title>Splish Splash</title>
<genre>Romance</genre>
<price>4.95</price>
<publish_date>2000-11-02</publish_date>
<description>A deep sea diver finds true love twenty
thousand leagues beneath the sea.</description>
</book>
<book id="bk108">
<author>Knorr, Stefan</author>
<title>Creepy Crawlies</title>
<genre>Horror</genre>
<price>4.95</price>
<publish_date>2000-12-06</publish_date>
<description>An anthology of horror stories about roaches,
centipedes, scorpions and other insects.</description>
</book>
<book id="bk109">
<author>Kress, Peter</author>
<title>Paradox Lost</title>
<genre>Science Fiction</genre>
<price>6.95</price>
<publish_date>2000-11-02</publish_date>
<description>After an inadvertent trip through a Heisenberg
Uncertainty Device, James Salway discovers the problems
of being quantum.</description>
</book>
<book id="bk110">
<author>O'Brien, Tim</author>
<title>Microsoft .NET: The Programming Bible</title>
<genre>Computer</genre>
<price>36.95</price>
<publish_date>2000-12-09</publish_date>
<description>Microsoft's .NET initiative is explored in
detail in this deep programmer's reference.</description>
</book>
<book id="bk111">
<author>O'Brien, Tim</author>
<title>MSXML3: A Comprehensive Guide</title>
<genre>Computer</genre>
<price>36.95</price>
<publish_date>2000-12-01</publish_date>
<description>The Microsoft MSXML3 parser is covered in
detail, with attention to XML DOM interfaces, XSLT processing,
SAX and more.</description>
</book>
<book id="bk112">
<author>Galos, Mike</author>
<title>Visual Studio 7: A Comprehensive Guide</title>
<genre>Computer</genre>
<price>49.95</price>
<publish_date>2001-04-16</publish_date>
<description>Microsoft Visual Studio 7 is explored in depth,
looking at how Visual Basic, Visual C++, C#, and ASP+ are
integrated into a comprehensive development
environment.</description>
</book>
</catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"mediaEntityIds\":[\"3a0fe860-a6d6-428a-9474-365bd57509aa\"],\"headline\":\"Architecture\",\"lead\":\"Our decoupled website architecture.\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:drupalmedia/drupal-media-entity {\"mediaEntityIds\":[\"72187a1f-3e48-4b45-a9b7-189c6fd7ee26\"],\"caption\":\"Decoupled architecture sketch\"} /-->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"mediaEntityIds":["3a0fe860-a6d6-428a-9474-365bd57509aa"],"headline":"Architecture","lead":"Our decoupled website architecture."} /-->
<!-- wp:custom/content -->
<!-- wp:drupalmedia/drupal-media-entity {"mediaEntityIds":["72187a1f-3e48-4b45-a9b7-189c6fd7ee26"],"caption":"Decoupled architecture sketch"} /-->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
translations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p><a href=\"/sites/default/files/2023-04/document_docx.docx\" data-type=\"Media: Document\" data-id=\"b998ae5e-8b56-40ca-8f80-fd4404e7e716\">link to file</a></p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:paragraph -->\r\n<p><a href=\"/node/50a28359-32f7-48ee-9577-330d79a2b62c\" data-type=\"Content: Basic page\" data-id=\"50a28359-32f7-48ee-9577-330d79a2b62c\">link to page</a></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p><a href="/sites/default/files/2023-04/document_docx.docx" data-type="Media: Document" data-id="b998ae5e-8b56-40ca-8f80-fd4404e7e716">link to file</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="/node/50a28359-32f7-48ee-9577-330d79a2b62c" data-type="Content: Basic page" data-id="50a28359-32f7-48ee-9577-330d79a2b62c">link to page</a></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"Frameworks\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"Frameworks"} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"Technologies\",\"lead\":\"Our toolbelt.\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"Technologies","lead":"Our toolbelt."} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"Gatsby\",\"lead\":\"Static websites, now owned by Netlify.\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"Gatsby","lead":"Static websites, now owned by Netlify."} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"Maple tree\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"Maple tree"} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"Privacy\",\"lead\":\"... or lack thereof.\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"Privacy","lead":"... or lack thereof."} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
translations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"404 - Page not found\",\"lead\":\"The requested page is currently in the bathroom.\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"404 - Page not found","lead":"The requested page is currently in the bathroom."} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
translations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"React\",\"lead\":\"So much javascript.\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"React","lead":"So much javascript."} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"Cherry tree\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"Cherry tree"} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"headline\":\"GraphQL\",\"lead\":\"Over-engineering API's since 2013.\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"headline":"GraphQL","lead":"Over-engineering API's since 2013."} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,36 @@ default:
value: false
body:
-
value: "<!-- wp:custom/hero {\"mediaEntityIds\":[\"3a0fe860-a6d6-428a-9474-365bd57509aa\"],\"headline\":\"All kinds of blocks with maximum data\",\"lead\":\"Lead text\"} /-->\r\n\r\n<!-- wp:custom/content -->\r\n<!-- wp:paragraph -->\r\n<p>A standalone paragraph with <strong><em>markup</em></strong> and <a href=\"/node/0b45a665-286a-414e-a091-c13fa4e20eb2\" data-type=\"Content: Basic page\" data-id=\"0b45a665-286a-414e-a091-c13fa4e20eb2\">link</a></p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:drupalmedia/drupal-media-entity {\"mediaEntityIds\":[\"3a0fe860-a6d6-428a-9474-365bd57509aa\"],\"caption\":\"Media image\"} /-->\r\n\r\n<!-- wp:drupalmedia/drupal-media-entity {\"mediaEntityIds\":[\"478c4289-961d-4ce8-85d6-578ae05f3019\"],\"caption\":\"Media video\"} /-->\r\n\r\n<!-- wp:custom/form {\"formId\":\"contact\"} /-->\r\n\r\n<!-- wp:paragraph -->\r\n<p>Starting from this paragraph, all the following blocks should be aggregated, as they are just HTML</p>\r\n<!-- /wp:paragraph -->\r\n\r\n<!-- wp:table -->\r\n<figure class=\"wp-block-table\"><table><tbody><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4 with <strong>markup</strong></td></tr></tbody></table><figcaption>Table caption</figcaption></figure><!-- /wp:table --><!-- wp:list --><ul><li>list 1</li><li>list 2<ol><li>list 2.2</li></ol></li></ul><!-- /wp:list --><!-- wp:custom/heading {\"level\":3,\"text\":\"Heading 3\"} --><h3 class=\"wp-block-custom-heading\">Heading 3</h3>\r\n<!-- /wp:custom/heading -->\r\n\r\n<!-- wp:quote -->\r\n<blockquote class=\"wp-block-quote\"><p>Quote</p><cite>Citation</cite></blockquote>\r\n<!-- /wp:quote -->\r\n\r\n<!-- wp:paragraph -->\r\n<p></p>\r\n<!-- /wp:paragraph -->\r\n<!-- /wp:custom/content -->"
value: |-
<!-- wp:custom/hero {"mediaEntityIds":["3a0fe860-a6d6-428a-9474-365bd57509aa"],"headline":"All kinds of blocks with maximum data","lead":"Lead text"} /-->
<!-- wp:custom/content -->
<!-- wp:paragraph -->
<p>A standalone paragraph with <strong><em>markup</em></strong> and <a href="/node/0b45a665-286a-414e-a091-c13fa4e20eb2" data-type="Content: Basic page" data-id="0b45a665-286a-414e-a091-c13fa4e20eb2">link</a></p>
<!-- /wp:paragraph -->
<!-- wp:drupalmedia/drupal-media-entity {"mediaEntityIds":["3a0fe860-a6d6-428a-9474-365bd57509aa"],"caption":"Media image"} /-->
<!-- wp:drupalmedia/drupal-media-entity {"mediaEntityIds":["478c4289-961d-4ce8-85d6-578ae05f3019"],"caption":"Media video"} /-->
<!-- wp:custom/form {"formId":"contact"} /-->
<!-- wp:paragraph -->
<p>Starting from this paragraph, all the following blocks should be aggregated, as they are just HTML</p>
<!-- /wp:paragraph -->
<!-- wp:table -->
<figure class="wp-block-table"><table><tbody><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4 with <strong>markup</strong></td></tr></tbody></table><figcaption>Table caption</figcaption></figure><!-- /wp:table --><!-- wp:list --><ul><li>list 1</li><li>list 2<ol><li>list 2.2</li></ol></li></ul><!-- /wp:list --><!-- wp:custom/heading {"level":3,"text":"Heading 3"} --><h3 class="wp-block-custom-heading">Heading 3</h3>
<!-- /wp:custom/heading -->
<!-- wp:quote -->
<blockquote class="wp-block-quote"><p>Quote</p><cite>Citation</cite></blockquote>
<!-- /wp:quote -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:custom/content -->
format: gutenberg
summary: ''
translations:
Expand Down
Loading

0 comments on commit d6d57ba

Please sign in to comment.