/home/bdqbpbxa/dev-subdomains/admin.pixory.goodface.com.ua/src/index.ts
// Setup path aliases first, before any other imports
import { Core } from '@strapi/strapi';
import './config/path-aliases';
import { StripeService } from './stripe/stripe.service';

// import type { Core } from '@strapi/strapi';

export default {
  /**
   * An asynchronous register function that runs before
   * your application is initialized.
   *
   * This gives you an opportunity to extend code.
   */
  register(/* { strapi }: { strapi: Core.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 }: { strapi: Core.Strapi }) {

    (strapi as any).stripe = new StripeService();
  },
};