Compare commits
No commits in common. "a69dcea8000e38e212f783e2ae5d5349bdb845b9" and "1f0e3fa351e4555514734cb4de9c495094352dae" have entirely different histories.
a69dcea800
...
1f0e3fa351
|
|
@ -1,15 +0,0 @@
|
||||||
export default {
|
|
||||||
/**
|
|
||||||
* Simple example.
|
|
||||||
* Every monday at 1am.
|
|
||||||
*/
|
|
||||||
|
|
||||||
myJob: {
|
|
||||||
task: ({ strapi }) => {
|
|
||||||
// Add your own logic here (e.g. send a queue of email, create a database backup, etc.).
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
rule: "0 0 1 * * 1",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
@ -1,5 +1 @@
|
||||||
export default () => ({
|
export default () => ({});
|
||||||
seo: {
|
|
||||||
enabled: true,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,9 @@
|
||||||
import cronTasks from "./cron-tasks";
|
|
||||||
|
|
||||||
export default ({ env }) => ({
|
export default ({ env }) => ({
|
||||||
host: env('HOST', '0.0.0.0'),
|
host: env('HOST', '0.0.0.0'),
|
||||||
port: env.int('PORT', 1337),
|
port: env.int('PORT', 1337),
|
||||||
app: {
|
app: {
|
||||||
keys: env.array('APP_KEYS'),
|
keys: env.array('APP_KEYS'),
|
||||||
},
|
},
|
||||||
cron: {
|
|
||||||
enabled: true,
|
|
||||||
tasks: cronTasks,
|
|
||||||
},
|
|
||||||
webhooks: {
|
webhooks: {
|
||||||
populateRelations: env.bool('WEBHOOKS_POPULATE_RELATIONS', false),
|
populateRelations: env.bool('WEBHOOKS_POPULATE_RELATIONS', false),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "dashersupply-strapi-docker",
|
"name": "dashersupply-strapi-docker",
|
||||||
"version": "0.2.0",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "dashersupply-strapi-docker",
|
"name": "dashersupply-strapi-docker",
|
||||||
"version": "0.2.0",
|
"version": "0.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/plugin-cloud": "4.25.4",
|
"@strapi/plugin-cloud": "4.25.4",
|
||||||
|
|
|
||||||
11
package.json
11
package.json
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "dashersupply-strapi-docker",
|
"name": "dashersupply-strapi-docker",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.2.0",
|
"version": "0.1.0",
|
||||||
"description": "A Strapi application",
|
"description": "A Strapi application",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"develop": "strapi develop",
|
"develop": "strapi develop",
|
||||||
|
|
@ -12,11 +12,10 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strapi/strapi": "4.25.5",
|
"@strapi/strapi": "4.25.4",
|
||||||
"@strapi/plugin-users-permissions": "4.25.5",
|
"@strapi/plugin-users-permissions": "4.25.4",
|
||||||
"@strapi/plugin-i18n": "4.25.5",
|
"@strapi/plugin-i18n": "4.25.4",
|
||||||
"@strapi/plugin-cloud": "4.25.5",
|
"@strapi/plugin-cloud": "4.25.4",
|
||||||
"@strapi/plugin-seo": "1.9.9",
|
|
||||||
"pg": "8.8.0",
|
"pg": "8.8.0",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "^18.0.0",
|
||||||
|
|
|
||||||
|
|
@ -1,98 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "singleType",
|
|
||||||
"collectionName": "amazon_pa_api_configs",
|
|
||||||
"info": {
|
|
||||||
"singularName": "amazon-pa-api-config",
|
|
||||||
"pluralName": "amazon-pa-api-configs",
|
|
||||||
"displayName": "Amazon PA API Config",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": false
|
|
||||||
},
|
|
||||||
"pluginOptions": {},
|
|
||||||
"attributes": {
|
|
||||||
"accessKey": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"secretKey": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"partnerType": {
|
|
||||||
"type": "enumeration",
|
|
||||||
"enum": [
|
|
||||||
"Associates"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"partnerTag": {
|
|
||||||
"type": "string",
|
|
||||||
"regex": "^[A-Za-z0-9\\-]+-\\d{2}$"
|
|
||||||
},
|
|
||||||
"marketplace": {
|
|
||||||
"type": "enumeration",
|
|
||||||
"enum": [
|
|
||||||
"https://www.amazon.com",
|
|
||||||
"https://www.amazon.co.uk",
|
|
||||||
"https://www.amazon.com.au",
|
|
||||||
"https://www.amazon.com.be",
|
|
||||||
"https://www.amazon.com.br",
|
|
||||||
"https://www.amazon.ca",
|
|
||||||
"https://www.amazon.eg",
|
|
||||||
"https://www.amazon.fr",
|
|
||||||
"https://www.amazon.de",
|
|
||||||
"https://www.amazon.in",
|
|
||||||
"https://www.amazon.it",
|
|
||||||
"https://www.amazon.co.jp",
|
|
||||||
"https://www.amazon.com.mx",
|
|
||||||
"https://www.amazon.nl",
|
|
||||||
"https://www.amazon.pl",
|
|
||||||
"https://www.amazon.sg",
|
|
||||||
"https://www.amazon.sa",
|
|
||||||
"https://www.amazon.es",
|
|
||||||
"https://www.amazon.se",
|
|
||||||
"https://www.amazon.com.tr",
|
|
||||||
"https://www.amazon.ae"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"service": {
|
|
||||||
"type": "enumeration",
|
|
||||||
"enum": [
|
|
||||||
"ProductAdvertisingAPIv1"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"host": {
|
|
||||||
"type": "enumeration",
|
|
||||||
"enum": [
|
|
||||||
"webservices.amazon.com.au",
|
|
||||||
"webservices.amazon.com.be",
|
|
||||||
"webservices.amazon.com.br",
|
|
||||||
"webservices.amazon.ca",
|
|
||||||
"webservices.amazon.eg",
|
|
||||||
"webservices.amazon.fr",
|
|
||||||
"webservices.amazon.de",
|
|
||||||
"webservices.amazon.in",
|
|
||||||
"webservices.amazon.it",
|
|
||||||
"webservices.amazon.co.jp",
|
|
||||||
"webservices.amazon.com.mx",
|
|
||||||
"webservices.amazon.nl",
|
|
||||||
"webservices.amazon.pl",
|
|
||||||
"webservices.amazon.sg",
|
|
||||||
"webservices.amazon.sa",
|
|
||||||
"webservices.amazon.es",
|
|
||||||
"webservices.amazon.se",
|
|
||||||
"webservices.amazon.com.tr",
|
|
||||||
"webservices.amazon.ae",
|
|
||||||
"webservices.amazon.co.uk",
|
|
||||||
"webservices.amazon.com"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"region": {
|
|
||||||
"type": "enumeration",
|
|
||||||
"enum": [
|
|
||||||
"us-east-1",
|
|
||||||
"us-west-2",
|
|
||||||
"eu-west-1"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* amazon-pa-api-config controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::amazon-pa-api-config.amazon-pa-api-config');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* amazon-pa-api-config router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::amazon-pa-api-config.amazon-pa-api-config');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* amazon-pa-api-config service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::amazon-pa-api-config.amazon-pa-api-config');
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "collectionType",
|
|
||||||
"collectionName": "amazon_pa_api_updates",
|
|
||||||
"info": {
|
|
||||||
"singularName": "amazon-pa-api-update",
|
|
||||||
"pluralName": "amazon-pa-api-updates",
|
|
||||||
"displayName": "Amazon PA-API Updates",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": false
|
|
||||||
},
|
|
||||||
"pluginOptions": {},
|
|
||||||
"attributes": {
|
|
||||||
"scheduledStartTime": {
|
|
||||||
"type": "datetime"
|
|
||||||
},
|
|
||||||
"taskStartedTime": {
|
|
||||||
"type": "datetime"
|
|
||||||
},
|
|
||||||
"taskEndedTime": {
|
|
||||||
"type": "datetime"
|
|
||||||
},
|
|
||||||
"taskStatus": {
|
|
||||||
"type": "enumeration",
|
|
||||||
"enum": [
|
|
||||||
"Scheduled",
|
|
||||||
"Started",
|
|
||||||
"Finished",
|
|
||||||
"Error"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"signedRequest": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"jsonRequestPayload": {
|
|
||||||
"type": "json"
|
|
||||||
},
|
|
||||||
"jsonResponse": {
|
|
||||||
"type": "json"
|
|
||||||
},
|
|
||||||
"productsAffected": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::product.product",
|
|
||||||
"inversedBy": "amazonPAAPIUpdates"
|
|
||||||
},
|
|
||||||
"jobSummary": {
|
|
||||||
"type": "text"
|
|
||||||
},
|
|
||||||
"log": {
|
|
||||||
"type": "text"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* amazon-pa-api-update controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::amazon-pa-api-update.amazon-pa-api-update');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* amazon-pa-api-update router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::amazon-pa-api-update.amazon-pa-api-update');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* amazon-pa-api-update service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::amazon-pa-api-update.amazon-pa-api-update');
|
|
||||||
|
|
@ -4,8 +4,7 @@
|
||||||
"info": {
|
"info": {
|
||||||
"singularName": "brand",
|
"singularName": "brand",
|
||||||
"pluralName": "brands",
|
"pluralName": "brands",
|
||||||
"displayName": "Brand",
|
"displayName": "Brand"
|
||||||
"description": ""
|
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"draftAndPublish": true
|
"draftAndPublish": true
|
||||||
|
|
@ -49,33 +48,16 @@
|
||||||
"type": "blocks"
|
"type": "blocks"
|
||||||
},
|
},
|
||||||
"logoImage": {
|
"logoImage": {
|
||||||
"type": "media",
|
|
||||||
"multiple": false,
|
|
||||||
"required": false,
|
|
||||||
"allowedTypes": [
|
"allowedTypes": [
|
||||||
"images"
|
"images"
|
||||||
],
|
],
|
||||||
|
"type": "media",
|
||||||
|
"multiple": false,
|
||||||
"pluginOptions": {
|
"pluginOptions": {
|
||||||
"i18n": {
|
"i18n": {
|
||||||
"localized": true
|
"localized": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"products": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "oneToMany",
|
|
||||||
"target": "api::product.product",
|
|
||||||
"mappedBy": "brand"
|
|
||||||
},
|
|
||||||
"seo": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": false,
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"component": "shared.seo"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -64,22 +64,6 @@
|
||||||
"relation": "manyToMany",
|
"relation": "manyToMany",
|
||||||
"target": "api::category.category",
|
"target": "api::category.category",
|
||||||
"inversedBy": "parentCategories"
|
"inversedBy": "parentCategories"
|
||||||
},
|
|
||||||
"products": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::product.product",
|
|
||||||
"mappedBy": "categories"
|
|
||||||
},
|
|
||||||
"seo": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": false,
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"component": "shared.seo"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "singleType",
|
|
||||||
"collectionName": "google_ad_senses",
|
|
||||||
"info": {
|
|
||||||
"singularName": "google-ad-sense",
|
|
||||||
"pluralName": "google-ad-senses",
|
|
||||||
"displayName": "Google AdSense",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": false
|
|
||||||
},
|
|
||||||
"pluginOptions": {},
|
|
||||||
"attributes": {
|
|
||||||
"adsTxt": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* google-ad-sense controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::google-ad-sense.google-ad-sense');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* google-ad-sense router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::google-ad-sense.google-ad-sense');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* google-ad-sense service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::google-ad-sense.google-ad-sense');
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "singleType",
|
|
||||||
"collectionName": "google_analyticss",
|
|
||||||
"info": {
|
|
||||||
"singularName": "google-analytics",
|
|
||||||
"pluralName": "google-analyticss",
|
|
||||||
"displayName": "Google Analytics",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": false
|
|
||||||
},
|
|
||||||
"pluginOptions": {},
|
|
||||||
"attributes": {
|
|
||||||
"gTag": {
|
|
||||||
"type": "string",
|
|
||||||
"regex": "^[G][-][A-Z0-9]+$"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* google-analytics controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::google-analytics.google-analytics');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* google-analytics router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::google-analytics.google-analytics');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* google-analytics service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::google-analytics.google-analytics');
|
|
||||||
|
|
@ -1,83 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "collectionType",
|
|
||||||
"collectionName": "marketplaces",
|
|
||||||
"info": {
|
|
||||||
"singularName": "marketplace",
|
|
||||||
"pluralName": "marketplaces",
|
|
||||||
"displayName": "Marketplace",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": true
|
|
||||||
},
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"attributes": {
|
|
||||||
"name": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"slug": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"shortDescription": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
},
|
|
||||||
"logoImage": {
|
|
||||||
"type": "media",
|
|
||||||
"multiple": false,
|
|
||||||
"required": false,
|
|
||||||
"allowedTypes": [
|
|
||||||
"images"
|
|
||||||
],
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"disclaimer": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
},
|
|
||||||
"seo": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": false,
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"component": "shared.seo"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* marketplace controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::marketplace.marketplace');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* marketplace router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::marketplace.marketplace');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* marketplace service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::marketplace.marketplace');
|
|
||||||
|
|
@ -1,105 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "collectionType",
|
|
||||||
"collectionName": "products",
|
|
||||||
"info": {
|
|
||||||
"singularName": "product",
|
|
||||||
"pluralName": "products",
|
|
||||||
"displayName": "Product",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": true
|
|
||||||
},
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"attributes": {
|
|
||||||
"name": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"title": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"slug": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"brand": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToOne",
|
|
||||||
"target": "api::brand.brand",
|
|
||||||
"inversedBy": "products"
|
|
||||||
},
|
|
||||||
"callout": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
},
|
|
||||||
"categories": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::category.category",
|
|
||||||
"inversedBy": "products"
|
|
||||||
},
|
|
||||||
"tags": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::tag.tag",
|
|
||||||
"inversedBy": "products"
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "dynamiczone",
|
|
||||||
"components": [
|
|
||||||
"product.amazon-site-stripe-details"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"amazonPAAPIUpdates": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::amazon-pa-api-update.amazon-pa-api-update",
|
|
||||||
"mappedBy": "productsAffected"
|
|
||||||
},
|
|
||||||
"seo": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": false,
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"component": "shared.seo"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* product controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::product.product');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* product router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::product.product');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* product service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::product.product');
|
|
||||||
|
|
@ -1,69 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "singleType",
|
|
||||||
"collectionName": "sites",
|
|
||||||
"info": {
|
|
||||||
"singularName": "site",
|
|
||||||
"pluralName": "sites",
|
|
||||||
"displayName": "Site",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": true
|
|
||||||
},
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"attributes": {
|
|
||||||
"siteName": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"categoriesCallout": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
},
|
|
||||||
"siteUrl": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string",
|
|
||||||
"regex": "^https{0,1}:\\/\\/[A-Za-z0-9\\.\\-_]+$"
|
|
||||||
},
|
|
||||||
"metaDescription": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "text"
|
|
||||||
},
|
|
||||||
"brandsCallout": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
},
|
|
||||||
"marketplacesCallout": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "blocks"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* site controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::site.site');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* site router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::site.site');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* site service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::site.site');
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
{
|
|
||||||
"kind": "collectionType",
|
|
||||||
"collectionName": "tags",
|
|
||||||
"info": {
|
|
||||||
"singularName": "tag",
|
|
||||||
"pluralName": "tags",
|
|
||||||
"displayName": "Tag",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"draftAndPublish": true
|
|
||||||
},
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"attributes": {
|
|
||||||
"slug": {
|
|
||||||
"pluginOptions": {
|
|
||||||
"i18n": {
|
|
||||||
"localized": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"products": {
|
|
||||||
"type": "relation",
|
|
||||||
"relation": "manyToMany",
|
|
||||||
"target": "api::product.product",
|
|
||||||
"mappedBy": "tags"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* tag controller
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi'
|
|
||||||
|
|
||||||
export default factories.createCoreController('api::tag.tag');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* tag router
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreRouter('api::tag.tag');
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
/**
|
|
||||||
* tag service
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { factories } from '@strapi/strapi';
|
|
||||||
|
|
||||||
export default factories.createCoreService('api::tag.tag');
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_product_amazon_site_stripe_details",
|
|
||||||
"info": {
|
|
||||||
"displayName": "Amazon Attributes",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"asin": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"siteStripeUrl": {
|
|
||||||
"type": "text"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_product_merchant_offers",
|
|
||||||
"info": {
|
|
||||||
"displayName": "Merchant Offer"
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"merchantName": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"offerPrice": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": true,
|
|
||||||
"component": "product.offer-price"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_product_offer_prices",
|
|
||||||
"info": {
|
|
||||||
"displayName": "Offer Price",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"newPrice": {
|
|
||||||
"type": "decimal",
|
|
||||||
"min": 0
|
|
||||||
},
|
|
||||||
"usedPrice": {
|
|
||||||
"type": "decimal",
|
|
||||||
"min": 0
|
|
||||||
},
|
|
||||||
"quoteDate": {
|
|
||||||
"type": "datetime"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_product_reviews_data",
|
|
||||||
"info": {
|
|
||||||
"displayName": "Reviews Data"
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"reviewCount": {
|
|
||||||
"type": "integer",
|
|
||||||
"min": 0
|
|
||||||
},
|
|
||||||
"reviewRating": {
|
|
||||||
"type": "decimal",
|
|
||||||
"max": 5,
|
|
||||||
"min": 0
|
|
||||||
},
|
|
||||||
"updatedDate": {
|
|
||||||
"type": "datetime"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_shared_meta_socials",
|
|
||||||
"info": {
|
|
||||||
"displayName": "metaSocial",
|
|
||||||
"icon": "project-diagram"
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"socialNetwork": {
|
|
||||||
"type": "enumeration",
|
|
||||||
"enum": [
|
|
||||||
"Facebook",
|
|
||||||
"Twitter"
|
|
||||||
],
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"title": {
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"maxLength": 60
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 65,
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"image": {
|
|
||||||
"allowedTypes": [
|
|
||||||
"images",
|
|
||||||
"files",
|
|
||||||
"videos"
|
|
||||||
],
|
|
||||||
"type": "media",
|
|
||||||
"multiple": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,53 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_shared_seos",
|
|
||||||
"info": {
|
|
||||||
"displayName": "seo",
|
|
||||||
"icon": "search"
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"metaTitle": {
|
|
||||||
"required": true,
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 60
|
|
||||||
},
|
|
||||||
"metaDescription": {
|
|
||||||
"type": "string",
|
|
||||||
"required": true,
|
|
||||||
"maxLength": 160,
|
|
||||||
"minLength": 50
|
|
||||||
},
|
|
||||||
"metaImage": {
|
|
||||||
"type": "media",
|
|
||||||
"multiple": false,
|
|
||||||
"required": false,
|
|
||||||
"allowedTypes": [
|
|
||||||
"images",
|
|
||||||
"files",
|
|
||||||
"videos"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"metaSocial": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": true,
|
|
||||||
"component": "shared.meta-social"
|
|
||||||
},
|
|
||||||
"keywords": {
|
|
||||||
"type": "text",
|
|
||||||
"regex": "[^,]+"
|
|
||||||
},
|
|
||||||
"metaRobots": {
|
|
||||||
"type": "string",
|
|
||||||
"regex": "[^,]+"
|
|
||||||
},
|
|
||||||
"structuredData": {
|
|
||||||
"type": "json"
|
|
||||||
},
|
|
||||||
"metaViewport": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"canonicalURL": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user