diff --git a/.flotiq/ContentType1/contentObject01.json b/.flotiq/ContentType1/contentObject01.json deleted file mode 100644 index 0b601d9..0000000 --- a/.flotiq/ContentType1/contentObject01.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "id": "blogpost-1", - "slug": "hello-my-blog", - "title": "Hello There!", - "content": { - "time": 1643368254832, - "blocks": [ - { - "id": "CzLBZad8_Z", - "data": { - "text": "Flotiq strongly encourages separation of concerns and isolates the data from the presentation layer (unlike traditional CMS like WordPress). Thanks to that - you can easily use your data anywhere you need them" - }, - "type": "paragraph", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "611qBrxLXR", - "data": { - "text": "# Header 2", - "level": 2, - "anchor": "" - }, - "type": "header", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "JhlGMXHeiN", - "data": { - "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse pharetra eget augue at vulputate. Sed lacus lacus, facilisis quis rutrum sed, tincidunt vehicula orci. Morbi nibh ante, iaculis eget consectetur vitae, placerat eget mauris. Pellentesque in justo faucibus, tempor ex at, sollicitudin enim. Donec auctor massa eget nisl fringilla, sit amet suscipit ipsum aliquet. Phasellus pellentesque lacus ut diam molestie tincidunt. Vivamus ac pellentesque lectus. Nullam nec magna non justo efficitur molestie scelerisque nec urna. Integer nibh ante, euismod non laoreet quis, blandit at lectus. Etiam id tortor eget justo sollicitudin ultrices eu vel mi." - }, - "type": "paragraph", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "9RI4AFFGUX", - "data": { - "text": "# Header 3", - "level": 3, - "anchor": "" - }, - "type": "header", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "6FPNOG_n69", - "data": { - "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse pharetra eget augue at vulputate. Sed lacus lacus, facilisis quis rutrum sed, tincidunt vehicula orci. Morbi nibh ante, iaculis eget consectetur vitae, placerat eget mauris. Pellentesque in justo faucibus, tempor ex at, sollicitudin enim. Donec auctor massa eget nisl fringilla, sit amet suscipit ipsum aliquet. Phasellus pellentesque lacus ut diam molestie tincidunt. Vivamus ac pellentesque lectus. Nullam nec magna non justo efficitur molestie scelerisque nec urna. Integer nibh ante, euismod non laoreet quis, blandit at lectus. Etiam id tortor eget justo sollicitudin ultrices eu vel mi." - }, - "type": "paragraph", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "RQddK_jT0f", - "data": { - "url": "https://api.flotiq.com/image/0x0/_media-4e30edc8-d1b5-45a1-842a-80f5e8467121.mp3", - "width": 0, - "height": 0, - "caption": "Example audio file", - "fileName": "file_example_MP3_700KB.mp3", - "extension": "mp3", - "withBorder": false, - "withBackground": false - }, - "type": "image" - }, - { - "id": "rCmkjFRy5s", - "data": { - "text": "# Header 4", - "level": 4, - "anchor": "" - }, - "type": "header", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "qfU92mppy-", - "data": { - "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse pharetra eget augue at vulputate. Sed lacus lacus, facilisis quis rutrum sed, tincidunt vehicula orci. Morbi nibh ante, iaculis eget consectetur vitae, placerat eget mauris. Pellentesque in justo faucibus, tempor ex at, sollicitudin enim. Donec auctor massa eget nisl fringilla, sit amet suscipit ipsum aliquet. Phasellus pellentesque lacus ut diam molestie tincidunt. Vivamus ac pellentesque lectus. Nullam nec magna non justo efficitur molestie scelerisque nec urna. Integer nibh ante, euismod non laoreet quis, blandit at lectus. Etiam id tortor eget justo sollicitudin ultrices eu vel mi." - }, - "type": "paragraph", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "08aVnYiuCM", - "data": { - "url": "https://api.flotiq.com/image/0x0/_media-51bf075b-08ed-48b4-a41c-586db3e95bf9.jpg", - "width": 1124, - "height": 423, - "caption": "Example image", - "fileName": "blog-image-1.jpg", - "extension": "jpg", - "withBorder": false, - "withBackground": false - }, - "type": "image" - }, - { - "id": "40BeHKLydT", - "data": { - "text": "If you\u2019re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on." - }, - "type": "paragraph", - "tunes": { - "alignmentTuneTool": { - "alignment": "left" - } - } - }, - { - "id": "1mSuuq5B_s", - "data": { - "items": [ - { - "items": [], - "content": "Websites" - }, - { - "items": [], - "content": "Mobile apps" - }, - { - "items": [], - "content": "Billboard advertising" - }, - { - "items": [], - "content": "Desktop applications" - }, - { - "items": [], - "content": "Amazon Lambda functions" - }, - { - "items": [], - "content": "Mailing systems" - } - ], - "style": "unordered" - }, - "type": "list" - }, - { - "id": "EcfJHKzMwA", - "data": { - "text": "If you\u2019re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on.", - "caption": "Flotiq", - "alignment": "left" - }, - "type": "quote" - } - ], - "version": "2.22.0" - }, - "excerpt": "If you\u2019re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on.", - "headerImage": [ - { - "type": "internal", - "dataUrl": "/api/v1/content/_media/_media-efbbdb2f-4df3-47c2-9f71-52c6d347fdc9" - } - ] -} diff --git a/.flotiq/ContentType1/contentObject02.json b/.flotiq/ContentType1/contentObject02.json deleted file mode 100644 index 4234f0e..0000000 --- a/.flotiq/ContentType1/contentObject02.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "id": "blogpost-2", - "slug": "post-with-picture", - "title": "Post with picture", - "content": { - "time": 1643366117, - "blocks": [ - { - "id": "AOAWmvP1rd", - "data": { - "text": "Example header", - "level": 2 - }, - "type": "header" - }, - { - "id": "CzLBZad8_Z", - "data": { - "text": "Example paragraph." - }, - "type": "paragraph" - } - ], - "version": "2.22.0" - }, - "excerpt": "If you\u2019re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on.", - "headerImage": [ - { - "type": "internal", - "dataUrl": "/api/v1/content/_media/_media-7a279806-381a-4043-b9f8-b257df70e303" - } - ] -} diff --git a/.flotiq/ContentType1/ContentTypeDefinition.json b/.flotiq/ContentTypeBlogpost/ContentTypeDefinition.json similarity index 97% rename from .flotiq/ContentType1/ContentTypeDefinition.json rename to .flotiq/ContentTypeBlogpost/ContentTypeDefinition.json index 09057e8..995e209 100644 --- a/.flotiq/ContentType1/ContentTypeDefinition.json +++ b/.flotiq/ContentTypeBlogpost/ContentTypeDefinition.json @@ -1,6 +1,8 @@ { "name": "blogpost", "label": "Blog Post", + "workflowId": "generic", + "internal": false, "schemaDefinition": { "type": "object", "allOf": [ @@ -121,5 +123,6 @@ } } } - } -} + }, + "featuredImage": [] +} \ No newline at end of file diff --git a/.flotiq/ContentTypeBlogpost/contentObjectBlogpost.json b/.flotiq/ContentTypeBlogpost/contentObjectBlogpost.json new file mode 100644 index 0000000..3901e75 --- /dev/null +++ b/.flotiq/ContentTypeBlogpost/contentObjectBlogpost.json @@ -0,0 +1,2 @@ +{"id":"blogpost-1","slug":"hello-my-blog","title":"Hello There!","content":{"time":1643368254832,"blocks":[{"id":"CzLBZad8_Z","data":{"text":"Flotiq strongly encourages separation of concerns and isolates the data from the presentation layer (unlike traditional CMS like WordPress). Thanks to that - you can easily use your data anywhere you need them"},"type":"paragraph","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"611qBrxLXR","data":{"text":"# Header 2","level":2,"anchor":""},"type":"header","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"JhlGMXHeiN","data":{"text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse pharetra eget augue at vulputate. Sed lacus lacus, facilisis quis rutrum sed, tincidunt vehicula orci. Morbi nibh ante, iaculis eget consectetur vitae, placerat eget mauris. Pellentesque in justo faucibus, tempor ex at, sollicitudin enim. Donec auctor massa eget nisl fringilla, sit amet suscipit ipsum aliquet. Phasellus pellentesque lacus ut diam molestie tincidunt. Vivamus ac pellentesque lectus. Nullam nec magna non justo efficitur molestie scelerisque nec urna. Integer nibh ante, euismod non laoreet quis, blandit at lectus. Etiam id tortor eget justo sollicitudin ultrices eu vel mi."},"type":"paragraph","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"9RI4AFFGUX","data":{"text":"# Header 3","level":3,"anchor":""},"type":"header","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"6FPNOG_n69","data":{"text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse pharetra eget augue at vulputate. Sed lacus lacus, facilisis quis rutrum sed, tincidunt vehicula orci. Morbi nibh ante, iaculis eget consectetur vitae, placerat eget mauris. Pellentesque in justo faucibus, tempor ex at, sollicitudin enim. Donec auctor massa eget nisl fringilla, sit amet suscipit ipsum aliquet. Phasellus pellentesque lacus ut diam molestie tincidunt. Vivamus ac pellentesque lectus. Nullam nec magna non justo efficitur molestie scelerisque nec urna. Integer nibh ante, euismod non laoreet quis, blandit at lectus. Etiam id tortor eget justo sollicitudin ultrices eu vel mi."},"type":"paragraph","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"RQddK_jT0f","data":{"url":"https://api.flotiq.com/image/0x0/_media-4e30edc8-d1b5-45a1-842a-80f5e8467121.mp3","width":0,"height":0,"caption":"Example audio file","fileName":"file_example_MP3_700KB.mp3","extension":"mp3","withBorder":false,"withBackground":false},"type":"image"},{"id":"rCmkjFRy5s","data":{"text":"# Header 4","level":4,"anchor":""},"type":"header","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"qfU92mppy-","data":{"text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse pharetra eget augue at vulputate. Sed lacus lacus, facilisis quis rutrum sed, tincidunt vehicula orci. Morbi nibh ante, iaculis eget consectetur vitae, placerat eget mauris. Pellentesque in justo faucibus, tempor ex at, sollicitudin enim. Donec auctor massa eget nisl fringilla, sit amet suscipit ipsum aliquet. Phasellus pellentesque lacus ut diam molestie tincidunt. Vivamus ac pellentesque lectus. Nullam nec magna non justo efficitur molestie scelerisque nec urna. Integer nibh ante, euismod non laoreet quis, blandit at lectus. Etiam id tortor eget justo sollicitudin ultrices eu vel mi."},"type":"paragraph","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"08aVnYiuCM","data":{"url":"https://api.flotiq.com/image/0x0/_media-51bf075b-08ed-48b4-a41c-586db3e95bf9.jpg","width":1124,"height":423,"caption":"Example image","fileName":"blog-image-1.jpg","extension":"jpg","withBorder":false,"withBackground":false},"type":"image"},{"id":"40BeHKLydT","data":{"text":"If you’re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on."},"type":"paragraph","tunes":{"alignmentTuneTool":{"alignment":"left"}}},{"id":"1mSuuq5B_s","data":{"items":[{"items":[],"content":"Websites"},{"items":[],"content":"Mobile apps"},{"items":[],"content":"Billboard advertising"},{"items":[],"content":"Desktop applications"},{"items":[],"content":"Amazon Lambda functions"},{"items":[],"content":"Mailing systems"}],"style":"unordered"},"type":"list"},{"id":"EcfJHKzMwA","data":{"text":"If you’re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on.","caption":"Flotiq","alignment":"left"},"type":"quote"}],"version":"2.22.0"},"excerpt":"If you’re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on.","headerImage":[{"type":"internal","dataUrl":"/api/v1/content/_media/_media-759527ba-b22f-4046-a129-13555d5574d3"}]} +{"id":"blogpost-2","slug":"post-with-picture","title":"Post with picture","content":{"time":1643366117,"blocks":[{"id":"AOAWmvP1rd","data":{"text":"Example header","level":2},"type":"header"},{"id":"CzLBZad8_Z","data":{"text":"Example paragraph."},"type":"paragraph"}],"version":"2.22.0"},"excerpt":"If you’re a beginning website owner you might be wondering what a CMS is and if you need one. This article will look at some valid reasons to invest in a CMS, but also will try to shed some light on the caveats, so read on.","headerImage":[{"type":"internal","dataUrl":"/api/v1/content/_media/_media-448eab50-efc1-46ef-83f2-b910b8cc58e0"}]} \ No newline at end of file diff --git a/.flotiq/InternalContentTypeMedia/ContentTypeDefinition.json b/.flotiq/InternalContentTypeMedia/ContentTypeDefinition.json new file mode 100644 index 0000000..6be78ac --- /dev/null +++ b/.flotiq/InternalContentTypeMedia/ContentTypeDefinition.json @@ -0,0 +1,290 @@ +{ + "name": "_media", + "label": "Media (internal)", + "workflowId": "generic", + "internal": true, + "schemaDefinition": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/AbstractContentTypeSchemaDefinition" + }, + { + "type": "object", + "properties": { + "alt": { + "type": "string" + }, + "url": { + "type": "string", + "minLength": 1 + }, + "size": { + "type": "number", + "minLength": 1 + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DataSource" + }, + "minItems": 0 + }, + "type": { + "type": "string", + "minLength": 1 + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "source": { + "type": "string", + "minLength": 1 + }, + "fileName": { + "type": "string", + "minLength": 1 + }, + "mimeType": { + "type": "string", + "minLength": 1 + }, + "variants": { + "type": "array", + "items": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "pattern": "^[_a-zA-Z0-9]+$", + "minLength": 1 + }, + "trim": { + "type": "object", + "required": [ + "top", + "left" + ], + "properties": { + "top": { + "type": "number", + "maximum": 9999999, + "minimum": 0 + }, + "left": { + "type": "number", + "maximum": 9999999, + "minimum": 0 + }, + "right": { + "type": "number", + "maximum": 9999999, + "minimum": 0 + }, + "width": { + "type": "number", + "maximum": 9999999, + "minimum": 1 + }, + "bottom": { + "type": "number", + "maximum": 9999999, + "minimum": 0 + }, + "height": { + "type": "number", + "maximum": 9999999, + "minimum": 1 + } + } + } + } + }, + "minItems": 0 + }, + "extension": { + "type": "string", + "minLength": 1 + }, + "externalId": { + "type": "string" + } + } + } + ], + "required": [ + "fileName", + "mimeType", + "size", + "url", + "source", + "extension", + "type" + ], + "additionalProperties": false + }, + "metaDefinition": { + "order": [ + "fileName", + "mimeType", + "size", + "width", + "height", + "url", + "externalId", + "source", + "extension", + "type", + "tags", + "alt", + "variants" + ], + "propertiesConfig": { + "alt": { + "label": "ALT", + "unique": false, + "inputType": "text" + }, + "url": { + "label": "Url", + "unique": false, + "inputType": "text" + }, + "size": { + "label": "Size", + "unique": false, + "inputType": "number" + }, + "tags": { + "label": "Tags", + "unique": false, + "helpText": "", + "inputType": "datasource", + "validation": { + "relationMultiple": true, + "relationContenttype": "_tag" + } + }, + "type": { + "label": "Type", + "unique": false, + "options": [ + "image", + "file" + ], + "inputType": "select" + }, + "width": { + "label": "Width", + "unique": false, + "inputType": "number" + }, + "height": { + "label": "Height", + "unique": false, + "inputType": "number" + }, + "source": { + "label": "Source", + "unique": false, + "options": [ + "disk", + "unsplash" + ], + "inputType": "select" + }, + "fileName": { + "label": "File name", + "unique": false, + "inputType": "text", + "isTitlePart": true + }, + "mimeType": { + "label": "MIME type", + "unique": false, + "inputType": "text" + }, + "variants": { + "items": { + "order": [ + "name", + "trim" + ], + "propertiesConfig": { + "name": { + "label": "name", + "unique": true, + "inputType": "text" + }, + "trim": { + "label": "Trim", + "order": [ + "top", + "right", + "bottom", + "left", + "width", + "height" + ], + "unique": false, + "inputType": "custom", + "propertiesConfig": { + "top": { + "label": "Top", + "unique": false, + "inputType": "number" + }, + "left": { + "label": "Left", + "unique": false, + "inputType": "number" + }, + "right": { + "label": "Right", + "unique": false, + "inputType": "number" + }, + "width": { + "label": "Width", + "unique": false, + "inputType": "number" + }, + "bottom": { + "label": "Bottom", + "unique": false, + "inputType": "number" + }, + "height": { + "label": "Height", + "unique": false, + "inputType": "number" + } + } + } + } + }, + "label": "Variants", + "unique": false, + "helpText": "", + "inputType": "object" + }, + "extension": { + "label": "Extension", + "unique": false, + "inputType": "text" + }, + "externalId": { + "label": "External id", + "unique": false, + "inputType": "text" + } + } + }, + "featuredImage": [] +} \ No newline at end of file diff --git a/.flotiq/InternalContentTypeMedia/_media-448eab50-efc1-46ef-83f2-b910b8cc58e0.jpg b/.flotiq/InternalContentTypeMedia/_media-448eab50-efc1-46ef-83f2-b910b8cc58e0.jpg new file mode 100644 index 0000000..a589970 Binary files /dev/null and b/.flotiq/InternalContentTypeMedia/_media-448eab50-efc1-46ef-83f2-b910b8cc58e0.jpg differ diff --git a/.flotiq/InternalContentTypeMedia/_media-759527ba-b22f-4046-a129-13555d5574d3.jpg b/.flotiq/InternalContentTypeMedia/_media-759527ba-b22f-4046-a129-13555d5574d3.jpg new file mode 100644 index 0000000..c475e3f Binary files /dev/null and b/.flotiq/InternalContentTypeMedia/_media-759527ba-b22f-4046-a129-13555d5574d3.jpg differ diff --git a/.flotiq/InternalContentTypeMedia/contentObjectMedia.json b/.flotiq/InternalContentTypeMedia/contentObjectMedia.json new file mode 100644 index 0000000..24b97ef --- /dev/null +++ b/.flotiq/InternalContentTypeMedia/contentObjectMedia.json @@ -0,0 +1,2 @@ +{"id":"_media-448eab50-efc1-46ef-83f2-b910b8cc58e0","url":"/image/0x0/_media-448eab50-efc1-46ef-83f2-b910b8cc58e0.jpg","size":490013,"type":"image","width":1280,"height":718,"source":"disk","fileName":"_media-7a279806-381a-4043-b9f8-b257df70e303.jpg","mimeType":"image/jpeg","extension":"jpg","externalId":""} +{"id":"_media-759527ba-b22f-4046-a129-13555d5574d3","url":"/image/0x0/_media-759527ba-b22f-4046-a129-13555d5574d3.jpg","size":129335,"type":"image","width":1280,"height":718,"source":"disk","fileName":"_media-efbbdb2f-4df3-47c2-9f71-52c6d347fdc9.jpg","mimeType":"image/jpeg","extension":"jpg","externalId":""} \ No newline at end of file diff --git a/.flotiq/images/_media-7a279806-381a-4043-b9f8-b257df70e303.jpg b/.flotiq/images/_media-7a279806-381a-4043-b9f8-b257df70e303.jpg deleted file mode 100644 index fa44a83..0000000 Binary files a/.flotiq/images/_media-7a279806-381a-4043-b9f8-b257df70e303.jpg and /dev/null differ diff --git a/.flotiq/images/_media-efbbdb2f-4df3-47c2-9f71-52c6d347fdc9.jpg b/.flotiq/images/_media-efbbdb2f-4df3-47c2-9f71-52c6d347fdc9.jpg deleted file mode 100644 index 0041860..0000000 Binary files a/.flotiq/images/_media-efbbdb2f-4df3-47c2-9f71-52c6d347fdc9.jpg and /dev/null differ