data modelling fixes
Showing
19 changed files
with
35 additions
and
217 deletions
-
Please register or sign in to post a comment
... | ... | @@ -30,6 +30,12 @@ |
], | ||
"type": "media", | ||
"multiple": false | ||
}, | ||
"experience": { | ||
"type": "relation", | ||
"relation": "oneToOne", | ||
"target": "api::experience.experience", | ||
"mappedBy": "category" | ||
} | ||
} | ||
} |
'use strict'; | ||
/** | ||
* master-country controller | ||
*/ | ||
const { createCoreController } = require('@strapi/strapi').factories; | ||
module.exports = createCoreController('api::master-country.master-country'); |
'use strict'; | ||
/** | ||
* master-country router | ||
*/ | ||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
module.exports = createCoreRouter('api::master-country.master-country'); |
'use strict'; | ||
/** | ||
* master-country service | ||
*/ | ||
const { createCoreService } = require('@strapi/strapi').factories; | ||
module.exports = createCoreService('api::master-country.master-country'); |
'use strict'; | ||
/** | ||
* master-day controller | ||
*/ | ||
const { createCoreController } = require('@strapi/strapi').factories; | ||
module.exports = createCoreController('api::master-day.master-day'); |
'use strict'; | ||
/** | ||
* master-day router | ||
*/ | ||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
module.exports = createCoreRouter('api::master-day.master-day'); |
'use strict'; | ||
/** | ||
* master-day service | ||
*/ | ||
const { createCoreService } = require('@strapi/strapi').factories; | ||
module.exports = createCoreService('api::master-day.master-day'); |
'use strict'; | ||
/** | ||
* master-month controller | ||
*/ | ||
const { createCoreController } = require('@strapi/strapi').factories; | ||
module.exports = createCoreController('api::master-month.master-month'); |
'use strict'; | ||
/** | ||
* master-month router | ||
*/ | ||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
module.exports = createCoreRouter('api::master-month.master-month'); |
'use strict'; | ||
/** | ||
* master-month service | ||
*/ | ||
const { createCoreService } = require('@strapi/strapi').factories; | ||
module.exports = createCoreService('api::master-month.master-month'); |
... | ... | @@ -14,11 +14,6 @@ |
"attributes": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"masterCountry": { | ||
"type": "relation", | ||
"relation": "oneToOne", | ||
"target": "api::master-country.master-country" | ||
} | ||
} | ||
} |
'use strict'; | ||
/** | ||
* time-slot controller | ||
*/ | ||
const { createCoreController } = require('@strapi/strapi').factories; | ||
module.exports = createCoreController('api::time-slot.time-slot'); |
'use strict'; | ||
/** | ||
* time-slot router | ||
*/ | ||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
module.exports = createCoreRouter('api::time-slot.time-slot'); |
'use strict'; | ||
/** | ||
* time-slot service | ||
*/ | ||
const { createCoreService } = require('@strapi/strapi').factories; | ||
module.exports = createCoreService('api::time-slot.time-slot'); |