From efa89313fa4152252b477aafd88f7cf4a66747d8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 5 Feb 2026 10:19:56 +0000 Subject: Initial Strapi plugin project --- playground/src/index.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 playground/src/index.ts (limited to 'playground/src/index.ts') diff --git a/playground/src/index.ts b/playground/src/index.ts new file mode 100644 index 0000000..58be268 --- /dev/null +++ b/playground/src/index.ts @@ -0,0 +1,20 @@ +// 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 } */) {}, +}; -- cgit v1.2.3