diff --git a/package-lock.json b/package-lock.json index d0b2d05..3293254 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5303,7 +5303,6 @@ "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", - "fsevents": "~2.3.2", "glob-parent": "~5.1.2", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -5502,7 +5501,6 @@ "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.1.tgz", "integrity": "sha512-w0q/enDHhPLq44ovMGdQeeDLvwxwavsJX7oQGYt/LrBlYsyaxyDnp6z3QzFut/6kLLKnlcUVJLrpB7KBfgG/RA==", "dependencies": { - "colors": "1.4.0", "string-width": "^4.2.0" }, "engines": { @@ -8207,7 +8205,6 @@ "minimist": "^1.2.5", "neo-async": "^2.6.0", "source-map": "^0.6.1", - "uglify-js": "^3.1.4", "wordwrap": "^1.0.0" }, "bin": { @@ -9604,7 +9601,6 @@ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dependencies": { - "graceful-fs": "^4.1.6", "universalify": "^2.0.0" }, "optionalDependencies": { @@ -14436,7 +14432,6 @@ "hasInstallScript": true, "dependencies": { "node-addon-api": "^3.0.0", - "node-gyp": "3.x", "node-pre-gyp": "^0.11.0" }, "optionalDependencies": { diff --git a/src/api/ranged-content/content-types/ranged-content/schema.json b/src/api/ranged-content/content-types/ranged-content/schema.json index dceb20d..009effa 100644 --- a/src/api/ranged-content/content-types/ranged-content/schema.json +++ b/src/api/ranged-content/content-types/ranged-content/schema.json @@ -26,7 +26,8 @@ "range.other" ], "max": 1, - "min": 1 + "min": 1, + "required": true }, "scan_set": { "displayName": "scan_set", diff --git a/src/api/website-interface/content-types/website-interface/schema.json b/src/api/website-interface/content-types/website-interface/schema.json index 2a6a1ed..5e3cd90 100644 --- a/src/api/website-interface/content-types/website-interface/schema.json +++ b/src/api/website-interface/content-types/website-interface/schema.json @@ -11,192 +11,201 @@ "draftAndPublish": false }, "attributes": { - "language": { + "library": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "wiki": { + "type": "string" + }, + "chronicles": { + "type": "string" + }, + "library_short_description": { + "type": "string" + }, + "contents_short_description": { + "type": "string" + }, + "wiki_short_description": { + "type": "string" + }, + "chronicles_short_description": { + "type": "string" + }, + "news": { + "type": "string" + }, + "merch": { + "type": "string" + }, + "gallery": { + "type": "string" + }, + "archives": { + "type": "string" + }, + "about_us": { + "type": "string" + }, + "licensing_notice": { + "type": "text" + }, + "copyright_notice": { + "type": "text" + }, + "contents_description": { + "type": "text" + }, + "type": { + "type": "string" + }, + "category": { + "type": "string" + }, + "categories": { + "type": "string" + }, + "size": { + "type": "string" + }, + "release_date": { + "type": "string" + }, + "release_year": { + "type": "string" + }, + "details": { + "type": "string" + }, + "price": { + "type": "string" + }, + "width": { + "type": "string" + }, + "height": { + "type": "string" + }, + "thickness": { + "type": "string" + }, + "subitem": { + "type": "string" + }, + "subitems": { + "type": "string" + }, + "subitem_of": { + "type": "string" + }, + "variant": { + "type": "string" + }, + "variants": { + "type": "string" + }, + "variant_of": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "audio": { + "type": "string" + }, + "video": { + "type": "string" + }, + "textual": { + "type": "string" + }, + "game": { + "type": "string" + }, + "other": { + "type": "string" + }, + "return_to": { + "type": "string" + }, + "left_to_right": { + "type": "string" + }, + "right_to_left": { + "type": "string" + }, + "page": { + "type": "string" + }, + "pages": { + "type": "string" + }, + "page_order": { + "type": "string" + }, + "binding": { + "type": "string" + }, + "type_information": { + "type": "string" + }, + "front_matter": { + "type": "string" + }, + "back_matter": { + "type": "string" + }, + "open_content": { + "type": "string" + }, + "read_content": { + "type": "string" + }, + "watch_content": { + "type": "string" + }, + "listen_content": { + "type": "string" + }, + "view_scans": { + "type": "string" + }, + "paperback": { + "type": "string" + }, + "hardcover": { + "type": "string" + }, + "ui_language": { "type": "relation", "relation": "oneToOne", "target": "api::language.language" }, - "main_library": { + "languages": { "type": "string" }, - "main_library_description": { + "select_language": { "type": "string" }, - "main_news": { + "language": { "type": "string" }, - "main_merch": { - "type": "string" - }, - "main_gallery": { - "type": "string" - }, - "main_archives": { - "type": "string" - }, - "main_about_us": { - "type": "string" - }, - "main_licensing": { - "type": "text" - }, - "main_copyright": { - "type": "text" - }, "library_description": { "type": "text" }, - "library_item_summary": { - "type": "string" - }, - "library_item_gallery": { - "type": "string" - }, - "library_item_details": { - "type": "string" - }, - "library_item_subitems": { - "type": "string" - }, - "library_item_variants": { - "type": "string" - }, - "library_item_content": { - "type": "string" - }, - "global_return_label": { - "type": "string" - }, - "global_subitem_of": { - "type": "string" - }, - "global_type": { - "type": "string" - }, - "global_width": { - "type": "string" - }, - "global_height": { - "type": "string" - }, - "global_thickness": { - "type": "string" - }, - "global_binding": { - "type": "string" - }, - "global_language": { - "type": "string" - }, - "global_languages": { - "type": "string" - }, - "global_page": { - "type": "string" - }, - "global_pages": { - "type": "string" - }, - "global_page_order": { - "type": "string" - }, - "global_release_date": { - "type": "string" - }, - "global_price": { - "type": "string" - }, - "library_item_physical_size": { - "type": "string" - }, - "library_item_type_information": { - "type": "string" - }, - "library_item_front_matter": { - "type": "string" - }, - "library_item_back_matter": { - "type": "string" - }, - "library_item_type_textual": { - "type": "string" - }, - "library_item_type_audio": { - "type": "string" - }, - "library_item_type_game": { - "type": "string" - }, - "library_item_type_video": { - "type": "string" - }, - "library_item_type_other": { - "type": "string" - }, - "library_item_open_content": { - "type": "string" - }, - "library_item_view_scans": { - "type": "string" - }, - "content_read_content": { - "type": "string" - }, - "content_watch_content": { - "type": "string" - }, - "content_listen_content": { - "type": "string" - }, - "global_category": { - "type": "string" - }, - "global_categories": { - "type": "string" - }, - "global_paperback": { - "type": "string" - }, - "global_hardcover": { - "type": "string" - }, - "global_left_to_right": { - "type": "string" - }, - "global_right_to_left": { - "type": "string" - }, - "main_wiki": { - "type": "string" - }, - "main_wiki_description": { - "type": "string" - }, - "main_chronicles": { - "type": "string" - }, - "main_chronicles_description": { - "type": "string" - }, - "library_items": { - "type": "string" - }, - "library_items_description": { - "type": "string" - }, - "library_content": { - "type": "string" - }, - "library_content_description": { - "type": "string" - }, "wiki_description": { "type": "text" }, + "chronicles_description": { + "type": "text" + }, "news_description": { "type": "text" }, - "chronicles_description": { + "merch_description": { "type": "text" }, "gallery_description": { @@ -208,8 +217,35 @@ "about_us_description": { "type": "text" }, - "merch_description": { + "page_not_found": { + "type": "string" + }, + "default_description": { "type": "text" + }, + "name": { + "type": "string" + }, + "show_subitems": { + "type": "string" + }, + "show_primary_items": { + "type": "string" + }, + "show_secondary_items": { + "type": "string" + }, + "no_type": { + "type": "string" + }, + "no_year": { + "type": "string" + }, + "order_by": { + "type": "string" + }, + "group_by": { + "type": "string" } } } diff --git a/src/components/metadata/books.json b/src/components/metadata/books.json index 6f9de50..909d6f0 100644 --- a/src/components/metadata/books.json +++ b/src/components/metadata/books.json @@ -18,7 +18,8 @@ }, "page_count": { "type": "integer", - "min": 0 + "min": 0, + "required": false }, "languages": { "type": "relation", diff --git a/src/components/metadata/game.json b/src/components/metadata/game.json index 048600a..aaef884 100644 --- a/src/components/metadata/game.json +++ b/src/components/metadata/game.json @@ -7,9 +7,9 @@ }, "options": {}, "attributes": { - "platform": { + "platforms": { "type": "relation", - "relation": "oneToOne", + "relation": "oneToMany", "target": "api::game-platform.game-platform" }, "demo": { diff --git a/src/components/range/page-range.json b/src/components/range/page-range.json index b85d83a..8275c7f 100644 --- a/src/components/range/page-range.json +++ b/src/components/range/page-range.json @@ -2,17 +2,20 @@ "collectionName": "components_range_page_ranges", "info": { "displayName": "Page Range", - "icon": "book-medical" + "icon": "book-medical", + "description": "" }, "options": {}, "attributes": { "starting_page": { "type": "integer", - "min": 1 + "min": 1, + "required": true }, "ending_page": { "type": "integer", - "min": 1 + "min": 1, + "required": true } } } diff --git a/src/components/translations/title.json b/src/components/translations/title.json index 5508d01..68ac494 100644 --- a/src/components/translations/title.json +++ b/src/components/translations/title.json @@ -1,7 +1,7 @@ { "collectionName": "components_translations_titles", "info": { - "displayName": "tri title", + "displayName": "Contents", "icon": "feather", "description": "" }, @@ -21,6 +21,9 @@ }, "pre_title": { "type": "string" + }, + "description": { + "type": "text" } } }