Added files to the repo
This commit is contained in:
		
							parent
							
								
									5a4eb4c9f3
								
							
						
					
					
						commit
						3f3f1f16a6
					
				
							
								
								
									
										16
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
root = true
 | 
			
		||||
 | 
			
		||||
[*]
 | 
			
		||||
indent_style = space
 | 
			
		||||
indent_size = 2
 | 
			
		||||
end_of_line = lf
 | 
			
		||||
charset = utf-8
 | 
			
		||||
trim_trailing_whitespace = true
 | 
			
		||||
insert_final_newline = true
 | 
			
		||||
 | 
			
		||||
[{package.json,*.yml}]
 | 
			
		||||
indent_style = space
 | 
			
		||||
indent_size = 2
 | 
			
		||||
 | 
			
		||||
[*.md]
 | 
			
		||||
trim_trailing_whitespace = false
 | 
			
		||||
							
								
								
									
										2
									
								
								.env.example
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.env.example
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
HOST=0.0.0.0
 | 
			
		||||
PORT=1337
 | 
			
		||||
							
								
								
									
										3
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
.cache
 | 
			
		||||
build
 | 
			
		||||
**/node_modules/**
 | 
			
		||||
							
								
								
									
										27
									
								
								.eslintrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.eslintrc
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,27 @@
 | 
			
		||||
{
 | 
			
		||||
  "parser": "babel-eslint",
 | 
			
		||||
  "extends": "eslint:recommended",
 | 
			
		||||
  "env": {
 | 
			
		||||
    "commonjs": true,
 | 
			
		||||
    "es6": true,
 | 
			
		||||
    "node": true,
 | 
			
		||||
    "browser": false
 | 
			
		||||
  },
 | 
			
		||||
  "parserOptions": {
 | 
			
		||||
    "ecmaFeatures": {
 | 
			
		||||
      "experimentalObjectRestSpread": true,
 | 
			
		||||
      "jsx": false
 | 
			
		||||
    },
 | 
			
		||||
    "sourceType": "module"
 | 
			
		||||
  },
 | 
			
		||||
  "globals": {
 | 
			
		||||
    "strapi": true
 | 
			
		||||
  },
 | 
			
		||||
  "rules": {
 | 
			
		||||
    "indent": ["error", 2, { "SwitchCase": 1 }],
 | 
			
		||||
    "linebreak-style": ["error", "unix"],
 | 
			
		||||
    "no-console": 0,
 | 
			
		||||
    "quotes": ["error", "single"],
 | 
			
		||||
    "semi": ["error", "always"]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										114
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										114
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,114 @@
 | 
			
		||||
############################
 | 
			
		||||
# OS X
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
.DS_Store
 | 
			
		||||
.AppleDouble
 | 
			
		||||
.LSOverride
 | 
			
		||||
Icon
 | 
			
		||||
.Spotlight-V100
 | 
			
		||||
.Trashes
 | 
			
		||||
._*
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Linux
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
*~
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Windows
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
Thumbs.db
 | 
			
		||||
ehthumbs.db
 | 
			
		||||
Desktop.ini
 | 
			
		||||
$RECYCLE.BIN/
 | 
			
		||||
*.cab
 | 
			
		||||
*.msi
 | 
			
		||||
*.msm
 | 
			
		||||
*.msp
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Packages
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
*.7z
 | 
			
		||||
*.csv
 | 
			
		||||
*.dat
 | 
			
		||||
*.dmg
 | 
			
		||||
*.gz
 | 
			
		||||
*.iso
 | 
			
		||||
*.jar
 | 
			
		||||
*.rar
 | 
			
		||||
*.tar
 | 
			
		||||
*.zip
 | 
			
		||||
*.com
 | 
			
		||||
*.class
 | 
			
		||||
*.dll
 | 
			
		||||
*.exe
 | 
			
		||||
*.o
 | 
			
		||||
*.seed
 | 
			
		||||
*.so
 | 
			
		||||
*.swo
 | 
			
		||||
*.swp
 | 
			
		||||
*.swn
 | 
			
		||||
*.swm
 | 
			
		||||
*.out
 | 
			
		||||
*.pid
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Logs and databases
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
.tmp
 | 
			
		||||
*.log
 | 
			
		||||
*.sql
 | 
			
		||||
*.sqlite
 | 
			
		||||
*.sqlite3
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Misc.
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
*#
 | 
			
		||||
ssl
 | 
			
		||||
.idea
 | 
			
		||||
nbproject
 | 
			
		||||
public/uploads/*
 | 
			
		||||
!public/uploads/.gitkeep
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Node.js
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
lib-cov
 | 
			
		||||
lcov.info
 | 
			
		||||
pids
 | 
			
		||||
logs
 | 
			
		||||
results
 | 
			
		||||
node_modules
 | 
			
		||||
.node_history
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Tests
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
testApp
 | 
			
		||||
coverage
 | 
			
		||||
 | 
			
		||||
############################
 | 
			
		||||
# Strapi
 | 
			
		||||
############################
 | 
			
		||||
 | 
			
		||||
.env
 | 
			
		||||
license.txt
 | 
			
		||||
exports
 | 
			
		||||
*.cache
 | 
			
		||||
build
 | 
			
		||||
.strapi-updater.json
 | 
			
		||||
							
								
								
									
										5
									
								
								config/admin.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								config/admin.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
module.exports = ({ env }) => ({
 | 
			
		||||
  auth: {
 | 
			
		||||
    secret: env('ADMIN_JWT_SECRET', '5b7570ef6a700c64483c58ca224d87f7'),
 | 
			
		||||
  },
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										7
									
								
								config/api.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								config/api.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
  rest: {
 | 
			
		||||
    defaultLimit: 25,
 | 
			
		||||
    maxLimit: 100,
 | 
			
		||||
    withCount: true,
 | 
			
		||||
  },
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										11
									
								
								config/database.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								config/database.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
const path = require('path');
 | 
			
		||||
 | 
			
		||||
module.exports = ({ env }) => ({
 | 
			
		||||
  connection: {
 | 
			
		||||
    client: 'sqlite',
 | 
			
		||||
    connection: {
 | 
			
		||||
      filename: path.join(__dirname, '..', env('DATABASE_FILENAME', '.tmp/data.db')),
 | 
			
		||||
    },
 | 
			
		||||
    useNullAsDefault: true,
 | 
			
		||||
  },
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										11
									
								
								config/middlewares.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								config/middlewares.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
module.exports = [
 | 
			
		||||
  'strapi::errors',
 | 
			
		||||
  'strapi::security',
 | 
			
		||||
  'strapi::cors',
 | 
			
		||||
  'strapi::poweredBy',
 | 
			
		||||
  'strapi::logger',
 | 
			
		||||
  'strapi::query',
 | 
			
		||||
  'strapi::body',
 | 
			
		||||
  'strapi::favicon',
 | 
			
		||||
  'strapi::public',
 | 
			
		||||
];
 | 
			
		||||
							
								
								
									
										4
									
								
								config/server.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								config/server.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
module.exports = ({ env }) => ({
 | 
			
		||||
  host: env('HOST', '0.0.0.0'),
 | 
			
		||||
  port: env.int('PORT', 1337),
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								favicon.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								favicon.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.6 KiB  | 
							
								
								
									
										30986
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										30986
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										3
									
								
								public/robots.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								public/robots.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
# To prevent search engines from seeing the site altogether, uncomment the next two lines:
 | 
			
		||||
# User-Agent: *
 | 
			
		||||
# Disallow: /
 | 
			
		||||
							
								
								
									
										0
									
								
								public/uploads/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								public/uploads/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										1
									
								
								run_strapi.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										1
									
								
								run_strapi.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
npm run develop
 | 
			
		||||
							
								
								
									
										33
									
								
								src/admin/app.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/admin/app.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,33 @@
 | 
			
		||||
export default {
 | 
			
		||||
  config: {
 | 
			
		||||
    locales: [
 | 
			
		||||
      // 'ar',
 | 
			
		||||
      'fr',
 | 
			
		||||
      // 'cs',
 | 
			
		||||
      // 'de',
 | 
			
		||||
      // 'dk',
 | 
			
		||||
      // 'es',
 | 
			
		||||
      // 'he',
 | 
			
		||||
      // 'id',
 | 
			
		||||
      // 'it',
 | 
			
		||||
      // 'ja',
 | 
			
		||||
      // 'ko',
 | 
			
		||||
      // 'ms',
 | 
			
		||||
      // 'nl',
 | 
			
		||||
      // 'no',
 | 
			
		||||
      // 'pl',
 | 
			
		||||
      // 'pt-BR',
 | 
			
		||||
      // 'pt',
 | 
			
		||||
      // 'ru',
 | 
			
		||||
      // 'sk',
 | 
			
		||||
      // 'sv',
 | 
			
		||||
      // 'th',
 | 
			
		||||
      // 'tr',
 | 
			
		||||
      // 'uk',
 | 
			
		||||
      // 'vi',
 | 
			
		||||
      // 'zh-Hans',
 | 
			
		||||
      // 'zh',
 | 
			
		||||
    ],
 | 
			
		||||
  },
 | 
			
		||||
  bootstrap() {},
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										9
									
								
								src/admin/webpack.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/admin/webpack.config.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/* eslint-disable no-unused-vars */
 | 
			
		||||
module.exports = (config, webpack) => {
 | 
			
		||||
  // Note: we provide webpack above so you should not `require` it
 | 
			
		||||
  // Perform customizations to webpack config
 | 
			
		||||
  // Important: return the modified config
 | 
			
		||||
  return config;
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										0
									
								
								src/api/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								src/api/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										34
									
								
								src/api/category/content-types/category/schema.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								src/api/category/content-types/category/schema.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,34 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "categories",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "category",
 | 
			
		||||
    "pluralName": "categories",
 | 
			
		||||
    "displayName": "Category",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "name": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "unique": true
 | 
			
		||||
    },
 | 
			
		||||
    "short": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "unique": true
 | 
			
		||||
    },
 | 
			
		||||
    "series": {
 | 
			
		||||
      "type": "enumeration",
 | 
			
		||||
      "enum": [
 | 
			
		||||
        "Drakengard",
 | 
			
		||||
        "NieR",
 | 
			
		||||
        "YoRHa"
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/category/controllers/category.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/category/controllers/category.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  category controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::category.category');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/category/routes/category.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/category/routes/category.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * category router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::category.category');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/category/services/category.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/category/services/category.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * category service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::category.category');
 | 
			
		||||
@ -0,0 +1,43 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "chronology_eras",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "chronology-era",
 | 
			
		||||
    "pluralName": "chronology-eras",
 | 
			
		||||
    "displayName": "Chronology Era",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "starting_year": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "max": 13000,
 | 
			
		||||
      "min": 0,
 | 
			
		||||
      "required": true
 | 
			
		||||
    },
 | 
			
		||||
    "ending_year": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "max": 13000,
 | 
			
		||||
      "min": 0
 | 
			
		||||
    },
 | 
			
		||||
    "slug": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "regex": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "unique": true
 | 
			
		||||
    },
 | 
			
		||||
    "title": {
 | 
			
		||||
      "displayName": "Chronology Era",
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "translations.chronology-era"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/chronology-era/controllers/chronology-era.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/chronology-era/controllers/chronology-era.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  chronology-era controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::chronology-era.chronology-era');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/chronology-era/routes/chronology-era.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/chronology-era/routes/chronology-era.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * chronology-era router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::chronology-era.chronology-era');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/chronology-era/services/chronology-era.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/chronology-era/services/chronology-era.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * chronology-era service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::chronology-era.chronology-era');
 | 
			
		||||
@ -0,0 +1,44 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "chronology_items",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "chronology-item",
 | 
			
		||||
    "pluralName": "chronology-items",
 | 
			
		||||
    "displayName": "Chronology Item",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "year": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "max": 13000,
 | 
			
		||||
      "min": 0
 | 
			
		||||
    },
 | 
			
		||||
    "month": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "max": 12,
 | 
			
		||||
      "min": 1
 | 
			
		||||
    },
 | 
			
		||||
    "day": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "max": 31,
 | 
			
		||||
      "min": 1
 | 
			
		||||
    },
 | 
			
		||||
    "displayed_date": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "translations": {
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "translations.chronology-item"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/chronology-item/controllers/chronology-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/chronology-item/controllers/chronology-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  chronology-item controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::chronology-item.chronology-item');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/chronology-item/routes/chronology-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/chronology-item/routes/chronology-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * chronology-item router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::chronology-item.chronology-item');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/chronology-item/services/chronology-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/chronology-item/services/chronology-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * chronology-item service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::chronology-item.chronology-item');
 | 
			
		||||
							
								
								
									
										30
									
								
								src/api/currency/content-types/currency/schema.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								src/api/currency/content-types/currency/schema.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "currencies",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "currency",
 | 
			
		||||
    "pluralName": "currencies",
 | 
			
		||||
    "displayName": "Currency",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "symbol": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "maxLength": 1,
 | 
			
		||||
      "minLength": 1,
 | 
			
		||||
      "unique": false
 | 
			
		||||
    },
 | 
			
		||||
    "code": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "unique": true,
 | 
			
		||||
      "minLength": 3,
 | 
			
		||||
      "maxLength": 3,
 | 
			
		||||
      "required": true
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/currency/controllers/currency.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/currency/controllers/currency.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  currency controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::currency.currency');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/currency/routes/currency.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/currency/routes/currency.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * currency router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::currency.currency');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/currency/services/currency.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/currency/services/currency.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * currency service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::currency.currency');
 | 
			
		||||
@ -0,0 +1,22 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "game_platforms",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "game-platform",
 | 
			
		||||
    "pluralName": "game-platforms",
 | 
			
		||||
    "displayName": "Game Platform",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "name": {
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "short": {
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/game-platform/controllers/game-platform.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/game-platform/controllers/game-platform.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  game-platform controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::game-platform.game-platform');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/game-platform/routes/game-platform.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/game-platform/routes/game-platform.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * game-platform router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::game-platform.game-platform');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/game-platform/services/game-platform.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/game-platform/services/game-platform.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * game-platform service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::game-platform.game-platform');
 | 
			
		||||
@ -0,0 +1,43 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "glossary_items",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "glossary-item",
 | 
			
		||||
    "pluralName": "glossary-items",
 | 
			
		||||
    "displayName": "Glossary Item",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "type": {
 | 
			
		||||
      "type": "enumeration",
 | 
			
		||||
      "enum": [
 | 
			
		||||
        "Character",
 | 
			
		||||
        "Place",
 | 
			
		||||
        "Term",
 | 
			
		||||
        "Common_noun"
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "title": {
 | 
			
		||||
      "displayName": "Glossary Item",
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "translations.glossary-item"
 | 
			
		||||
    },
 | 
			
		||||
    "definitions": {
 | 
			
		||||
      "displayName": "Glossary Definition",
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "collections-component.glossary-definition"
 | 
			
		||||
    },
 | 
			
		||||
    "slug": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "regex": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
 | 
			
		||||
      "unique": true,
 | 
			
		||||
      "required": true
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/glossary-item/controllers/glossary-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/glossary-item/controllers/glossary-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  glossary-item controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::glossary-item.glossary-item');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/glossary-item/routes/glossary-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/glossary-item/routes/glossary-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * glossary-item router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::glossary-item.glossary-item');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/glossary-item/services/glossary-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/glossary-item/services/glossary-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * glossary-item service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::glossary-item.glossary-item');
 | 
			
		||||
							
								
								
									
										29
									
								
								src/api/language/content-types/language/schema.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								src/api/language/content-types/language/schema.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,29 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "languages",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "language",
 | 
			
		||||
    "pluralName": "languages",
 | 
			
		||||
    "displayName": "Language",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "name": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "required": true
 | 
			
		||||
    },
 | 
			
		||||
    "code": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "unique": true,
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "regex": "^[a-z]+-[a-z]+$|^[a-z]+$"
 | 
			
		||||
    },
 | 
			
		||||
    "localized_name": {
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/language/controllers/language.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/language/controllers/language.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  language controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::language.language');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/language/routes/language.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/language/routes/language.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * language router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::language.language');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/language/services/language.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/language/services/language.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * language service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::language.language');
 | 
			
		||||
							
								
								
									
										86
									
								
								src/api/library-item/content-types/library-item/schema.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								src/api/library-item/content-types/library-item/schema.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,86 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "library_items",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "library-item",
 | 
			
		||||
    "pluralName": "library-items",
 | 
			
		||||
    "displayName": "Library Item",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "title": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "required": true
 | 
			
		||||
    },
 | 
			
		||||
    "subtitle": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "slug": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "regex": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "unique": true
 | 
			
		||||
    },
 | 
			
		||||
    "thumbnail": {
 | 
			
		||||
      "type": "media",
 | 
			
		||||
      "multiple": false,
 | 
			
		||||
      "required": false,
 | 
			
		||||
      "allowedTypes": [
 | 
			
		||||
        "images"
 | 
			
		||||
      ],
 | 
			
		||||
      "pluginOptions": {}
 | 
			
		||||
    },
 | 
			
		||||
    "subitems": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "manyToMany",
 | 
			
		||||
      "target": "api::library-item.library-item",
 | 
			
		||||
      "inversedBy": "subitem_of"
 | 
			
		||||
    },
 | 
			
		||||
    "subitem_of": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "manyToMany",
 | 
			
		||||
      "target": "api::library-item.library-item",
 | 
			
		||||
      "inversedBy": "subitems"
 | 
			
		||||
    },
 | 
			
		||||
    "root_item": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "boolean",
 | 
			
		||||
      "default": true,
 | 
			
		||||
      "required": true
 | 
			
		||||
    },
 | 
			
		||||
    "price": {
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": false,
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "component": "basics.price"
 | 
			
		||||
    },
 | 
			
		||||
    "variants": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "manyToOne",
 | 
			
		||||
      "target": "api::library-variant.library-variant",
 | 
			
		||||
      "inversedBy": "items"
 | 
			
		||||
    },
 | 
			
		||||
    "metadata": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "dynamiczone",
 | 
			
		||||
      "components": [
 | 
			
		||||
        "metadata.books",
 | 
			
		||||
        "metadata.video"
 | 
			
		||||
      ],
 | 
			
		||||
      "max": 1
 | 
			
		||||
    },
 | 
			
		||||
    "size": {
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": false,
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "component": "basics.size"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/library-item/controllers/library-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/library-item/controllers/library-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  library-item controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::library-item.library-item');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/library-item/routes/library-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/library-item/routes/library-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * library-item router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::library-item.library-item');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/library-item/services/library-item.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/library-item/services/library-item.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * library-item service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::library-item.library-item');
 | 
			
		||||
@ -0,0 +1,22 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "library_variants",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "library-variant",
 | 
			
		||||
    "pluralName": "library-variants",
 | 
			
		||||
    "displayName": "Library Variant",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "items": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToMany",
 | 
			
		||||
      "target": "api::library-item.library-item",
 | 
			
		||||
      "mappedBy": "variants"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/library-variant/controllers/library-variant.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/library-variant/controllers/library-variant.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  library-variant controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::library-variant.library-variant');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/library-variant/routes/library-variant.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/library-variant/routes/library-variant.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * library-variant router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::library-variant.library-variant');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/library-variant/services/library-variant.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/library-variant/services/library-variant.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * library-variant service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::library-variant.library-variant');
 | 
			
		||||
							
								
								
									
										35
									
								
								src/api/post/content-types/post/schema.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								src/api/post/content-types/post/schema.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,35 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "posts",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "post",
 | 
			
		||||
    "pluralName": "posts",
 | 
			
		||||
    "displayName": "Post",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": true
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "content": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "dynamiczone",
 | 
			
		||||
      "components": [
 | 
			
		||||
        "page-builder.text",
 | 
			
		||||
        "page-builder.tabs",
 | 
			
		||||
        "page-builder.gallery",
 | 
			
		||||
        "page-builder.grid"
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "title": {
 | 
			
		||||
      "pluginOptions": {},
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "authors": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToMany",
 | 
			
		||||
      "target": "api::recorder.recorder"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/post/controllers/post.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/post/controllers/post.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  post controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::post.post');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/post/routes/post.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/post/routes/post.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * post router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::post.post');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/post/services/post.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/post/services/post.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * post service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::post.post');
 | 
			
		||||
							
								
								
									
										47
									
								
								src/api/recorder/content-types/recorder/schema.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								src/api/recorder/content-types/recorder/schema.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,47 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "recorders",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "recorder",
 | 
			
		||||
    "pluralName": "recorders",
 | 
			
		||||
    "displayName": "Recorder",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "username": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "unique": true,
 | 
			
		||||
      "required": true
 | 
			
		||||
    },
 | 
			
		||||
    "anonymize": {
 | 
			
		||||
      "type": "boolean",
 | 
			
		||||
      "default": false,
 | 
			
		||||
      "required": true
 | 
			
		||||
    },
 | 
			
		||||
    "anonymous_code": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "regex": "^[0-9]{4}$",
 | 
			
		||||
      "unique": true,
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "maxLength": 4,
 | 
			
		||||
      "minLength": 4
 | 
			
		||||
    },
 | 
			
		||||
    "avatar": {
 | 
			
		||||
      "type": "media",
 | 
			
		||||
      "multiple": false,
 | 
			
		||||
      "required": false,
 | 
			
		||||
      "allowedTypes": [
 | 
			
		||||
        "images"
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "languages": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToMany",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/recorder/controllers/recorder.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/recorder/controllers/recorder.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  recorder controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::recorder.recorder');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/recorder/routes/recorder.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/recorder/routes/recorder.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * recorder router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::recorder.recorder');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/recorder/services/recorder.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/recorder/services/recorder.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * recorder service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::recorder.recorder');
 | 
			
		||||
							
								
								
									
										51
									
								
								src/api/weapon-story/content-types/weapon-story/schema.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								src/api/weapon-story/content-types/weapon-story/schema.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,51 @@
 | 
			
		||||
{
 | 
			
		||||
  "kind": "collectionType",
 | 
			
		||||
  "collectionName": "weapon_stories",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "singularName": "weapon-story",
 | 
			
		||||
    "pluralName": "weapon-stories",
 | 
			
		||||
    "displayName": "Weapon Story",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {
 | 
			
		||||
    "draftAndPublish": false
 | 
			
		||||
  },
 | 
			
		||||
  "pluginOptions": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "type": {
 | 
			
		||||
      "type": "enumeration",
 | 
			
		||||
      "enum": [
 | 
			
		||||
        "Axe",
 | 
			
		||||
        "Chakram",
 | 
			
		||||
        "Combat_Bracers",
 | 
			
		||||
        "Hammer",
 | 
			
		||||
        "Longsword",
 | 
			
		||||
        "Mace",
 | 
			
		||||
        "One_handed_Sword",
 | 
			
		||||
        "Pole_Axe",
 | 
			
		||||
        "Rod",
 | 
			
		||||
        "Spear",
 | 
			
		||||
        "Staff",
 | 
			
		||||
        "Sword",
 | 
			
		||||
        "Two_handed_Sword"
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "name": {
 | 
			
		||||
      "displayName": "Weapon Story",
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": false,
 | 
			
		||||
      "component": "translations.weapon-story"
 | 
			
		||||
    },
 | 
			
		||||
    "slug": {
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "required": false,
 | 
			
		||||
      "unique": true,
 | 
			
		||||
      "regex": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
 | 
			
		||||
    },
 | 
			
		||||
    "stories": {
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "collections-component.weapon-story"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/weapon-story/controllers/weapon-story.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/weapon-story/controllers/weapon-story.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 *  weapon-story controller
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreController } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreController('api::weapon-story.weapon-story');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/weapon-story/routes/weapon-story.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/weapon-story/routes/weapon-story.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * weapon-story router.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreRouter } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreRouter('api::weapon-story.weapon-story');
 | 
			
		||||
							
								
								
									
										9
									
								
								src/api/weapon-story/services/weapon-story.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/api/weapon-story/services/weapon-story.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * weapon-story service.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
const { createCoreService } = require('@strapi/strapi').factories;
 | 
			
		||||
 | 
			
		||||
module.exports = createCoreService('api::weapon-story.weapon-story');
 | 
			
		||||
							
								
								
									
										19
									
								
								src/components/basics/price.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								src/components/basics/price.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_basics_prices",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Price",
 | 
			
		||||
    "icon": "dollar-sign",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "amount": {
 | 
			
		||||
      "type": "decimal"
 | 
			
		||||
    },
 | 
			
		||||
    "currency": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::currency.currency"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										23
									
								
								src/components/basics/size.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								src/components/basics/size.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_basics_sizes",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Size",
 | 
			
		||||
    "icon": "arrows-alt-h",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "width": {
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "min": 0
 | 
			
		||||
    },
 | 
			
		||||
    "height": {
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "min": 0
 | 
			
		||||
    },
 | 
			
		||||
    "thickness": {
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "min": 0
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
@ -0,0 +1,22 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_collections_component_glossary_definitions",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Glossary Definition",
 | 
			
		||||
    "icon": "asterisk",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "category": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::category.category"
 | 
			
		||||
    },
 | 
			
		||||
    "translations": {
 | 
			
		||||
      "displayName": "Glossary Definition",
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "translations.glossary-definition"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										31
									
								
								src/components/collections-component/weapon-story.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								src/components/collections-component/weapon-story.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,31 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_collections_component_weapon_stories",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Weapon Story",
 | 
			
		||||
    "icon": "file",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "translations": {
 | 
			
		||||
      "displayName": "Weapon Story Story",
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "translations.weapon-story-story"
 | 
			
		||||
    },
 | 
			
		||||
    "category": {
 | 
			
		||||
      "type": "enumeration",
 | 
			
		||||
      "enum": [
 | 
			
		||||
        "DOD1",
 | 
			
		||||
        "DOD2",
 | 
			
		||||
        "DOD3",
 | 
			
		||||
        "NieR",
 | 
			
		||||
        "NieR_Automata",
 | 
			
		||||
        "NieR_1_22",
 | 
			
		||||
        "SINoALICE",
 | 
			
		||||
        "Reincarnation"
 | 
			
		||||
      ],
 | 
			
		||||
      "required": true
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										29
									
								
								src/components/metadata/books.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								src/components/metadata/books.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,29 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_metadata_books",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Book",
 | 
			
		||||
    "icon": "book",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "binding_type": {
 | 
			
		||||
      "type": "enumeration",
 | 
			
		||||
      "enum": [
 | 
			
		||||
        "Paperback",
 | 
			
		||||
        "Hardcover"
 | 
			
		||||
      ],
 | 
			
		||||
      "default": "Paperback",
 | 
			
		||||
      "required": true
 | 
			
		||||
    },
 | 
			
		||||
    "page_count": {
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "min": 0
 | 
			
		||||
    },
 | 
			
		||||
    "languages": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToMany",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										30
									
								
								src/components/metadata/video.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								src/components/metadata/video.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_metadata_videos",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Video",
 | 
			
		||||
    "icon": "video",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "resolution": {
 | 
			
		||||
      "type": "enumeration",
 | 
			
		||||
      "enum": [
 | 
			
		||||
        "SD_480p",
 | 
			
		||||
        "HD_720p",
 | 
			
		||||
        "FullHD_1080p",
 | 
			
		||||
        "QuadHD_2160p"
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "audio_languages": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToMany",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    },
 | 
			
		||||
    "sub_languages": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								src/components/page-builder-component/pane.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src/components/page-builder-component/pane.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_page_builder_component_panes",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Pane",
 | 
			
		||||
    "icon": "poll-h"
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "text": {
 | 
			
		||||
      "type": "richtext"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								src/components/page-builder-component/tab.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								src/components/page-builder-component/tab.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_page_builder_component_tabs",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Tab",
 | 
			
		||||
    "icon": "folder-plus",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "text": {
 | 
			
		||||
      "type": "richtext"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								src/components/page-builder/gallery.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/components/page-builder/gallery.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_page_builder_galleries",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Gallery",
 | 
			
		||||
    "icon": "images"
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "gallery": {
 | 
			
		||||
      "allowedTypes": [
 | 
			
		||||
        "videos",
 | 
			
		||||
        "images"
 | 
			
		||||
      ],
 | 
			
		||||
      "type": "media",
 | 
			
		||||
      "multiple": true
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										23
									
								
								src/components/page-builder/grid.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								src/components/page-builder/grid.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_page_builder_grids",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Grid",
 | 
			
		||||
    "icon": "grip-horizontal",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "column_count": {
 | 
			
		||||
      "type": "integer",
 | 
			
		||||
      "min": 1,
 | 
			
		||||
      "max": 10,
 | 
			
		||||
      "required": true,
 | 
			
		||||
      "default": 1
 | 
			
		||||
    },
 | 
			
		||||
    "panes": {
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "page-builder-component.pane"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								src/components/page-builder/tabs.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/components/page-builder/tabs.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_page_builder_tabs",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Tabs",
 | 
			
		||||
    "icon": "folder",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "tabs": {
 | 
			
		||||
      "displayName": "tab",
 | 
			
		||||
      "type": "component",
 | 
			
		||||
      "repeatable": true,
 | 
			
		||||
      "component": "page-builder-component.tab"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								src/components/page-builder/text.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								src/components/page-builder/text.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_page_builder_texts",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Text",
 | 
			
		||||
    "icon": "align-left",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "text": {
 | 
			
		||||
      "type": "richtext"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								src/components/translations/chronology-era.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/components/translations/chronology-era.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_translations_chronology_eras",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Chronology Era",
 | 
			
		||||
    "icon": "volume-mute"
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "title": {
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "language": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										22
									
								
								src/components/translations/chronology-item.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/components/translations/chronology-item.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_translations_chronology_items",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Chronology Item",
 | 
			
		||||
    "icon": "clock",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "language": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    },
 | 
			
		||||
    "title": {
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "description": {
 | 
			
		||||
      "type": "text"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								src/components/translations/glossary-definition.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								src/components/translations/glossary-definition.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_translations_glossary_definitions",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Glossary Definition",
 | 
			
		||||
    "icon": "atlas",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "definition": {
 | 
			
		||||
      "type": "text"
 | 
			
		||||
    },
 | 
			
		||||
    "language": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								src/components/translations/glossary-item.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								src/components/translations/glossary-item.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_translations_glossary_items",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Glossary Item",
 | 
			
		||||
    "icon": "kiwi-bird",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "title": {
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "language": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										31
									
								
								src/components/translations/weapon-story-story.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								src/components/translations/weapon-story-story.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,31 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_translations_weapon_story_stories",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Weapon Story Story",
 | 
			
		||||
    "icon": "passport",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "description": {
 | 
			
		||||
      "type": "text"
 | 
			
		||||
    },
 | 
			
		||||
    "level_1": {
 | 
			
		||||
      "type": "text"
 | 
			
		||||
    },
 | 
			
		||||
    "level_2": {
 | 
			
		||||
      "type": "text"
 | 
			
		||||
    },
 | 
			
		||||
    "level_3": {
 | 
			
		||||
      "type": "text"
 | 
			
		||||
    },
 | 
			
		||||
    "level_4": {
 | 
			
		||||
      "type": "text"
 | 
			
		||||
    },
 | 
			
		||||
    "language": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								src/components/translations/weapon-story.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								src/components/translations/weapon-story.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
{
 | 
			
		||||
  "collectionName": "components_translations_weapon_stories",
 | 
			
		||||
  "info": {
 | 
			
		||||
    "displayName": "Weapon Story",
 | 
			
		||||
    "icon": "file-alt",
 | 
			
		||||
    "description": ""
 | 
			
		||||
  },
 | 
			
		||||
  "options": {},
 | 
			
		||||
  "attributes": {
 | 
			
		||||
    "name": {
 | 
			
		||||
      "type": "string"
 | 
			
		||||
    },
 | 
			
		||||
    "language": {
 | 
			
		||||
      "type": "relation",
 | 
			
		||||
      "relation": "oneToOne",
 | 
			
		||||
      "target": "api::language.language"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										0
									
								
								src/extensions/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								src/extensions/.gitkeep
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										20
									
								
								src/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								src/index.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
			
		||||
'use strict';
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
  /**
 | 
			
		||||
   * An asynchronous register function that runs before
 | 
			
		||||
   * your application is initialized.
 | 
			
		||||
   *
 | 
			
		||||
   * This gives you an opportunity to extend code.
 | 
			
		||||
   */
 | 
			
		||||
  register(/*{ strapi }*/) {},
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * An asynchronous bootstrap function that runs before
 | 
			
		||||
   * your application gets started.
 | 
			
		||||
   *
 | 
			
		||||
   * This gives you an opportunity to set up your data model,
 | 
			
		||||
   * run jobs, or perform some special logic.
 | 
			
		||||
   */
 | 
			
		||||
  bootstrap(/*{ strapi }*/) {},
 | 
			
		||||
};
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user