mirror of
https://github.com/strapi/strapi.git
synced 2025-08-02 22:07:11 +00:00
29 lines
682 B
JavaScript
29 lines
682 B
JavaScript
'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 }) {},
|
|
|
|
/**
|
|
* An asynchronous destroy function that runs before
|
|
* your application gets shut down.
|
|
*
|
|
* This gives you an opportunity to gracefully stop services you run.
|
|
*/
|
|
destroy({ strapi }) {},
|
|
};
|