summaryrefslogtreecommitdiff
path: root/playground/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'playground/src/index.ts')
-rw-r--r--playground/src/index.ts20
1 files changed, 20 insertions, 0 deletions
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 } */) {},
+};