From 53714228abbc1c58ae65d120e7e17bed72cde83d Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 25 May 2020 23:00:58 +0300 Subject: [PATCH] updates events config --- app/config/events.php | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 app/config/events.php diff --git a/app/config/events.php b/app/config/events.php new file mode 100644 index 0000000000..a5d6a899dc --- /dev/null +++ b/app/config/events.php @@ -0,0 +1,58 @@ + [ + 'description' => 'Triggers any time a new user register an account.', + ], + 'account.update.email' => [ + 'description' => 'Triggers any time a a user updates his or her acoount email address.', + ], + 'account.update.name' => [ + 'description' => 'Triggers any time a a user updates his or her acoount name.', + ], + 'account.update.password' => [ + 'description' => 'Triggers any time a a user updates his or her acoount password.', + ], + 'account.update.prefs' => [ + 'description' => 'Triggers any time a a user updates his or her acoount preferences.', + ], + 'account.delete' => [ + 'description' => 'Triggers any time a new user is deleting its account.', + ], + 'account.sessions.create' => [ + 'description' => 'Triggers any time a user session is being created.', + ], + 'account.sessions.delete' => [ + 'description' => 'Triggers any time a user session is being deleted.', + ], + 'database.collections.create' => [ + 'description' => 'Triggers any time a new database collection is being created.', + ], + 'database.collections.update' => [ + 'description' => 'Triggers any time a new database collection is being updated.', + ], + 'database.collections.delete' => [ + 'description' => 'Triggers any time a database collection is being deleted.', + ], + 'database.documents.create' => [ + 'description' => 'Triggers any time a new database document is being created.', + ], + 'database.documents.patch' => [ + 'description' => 'Triggers any time a new database document is being updated.', + ], + 'database.documents.delete' => [ + 'description' => 'Triggers any time a database document is being deleted.', + ], + 'storage.files.create' => [ + 'description' => 'Triggers any time a storage file has been created.', + ], + 'storage.files.update' => [ + 'description' => 'Triggers any time a storage file has been updated.', + ], + 'storage.files.delete' => [ + 'description' => 'Triggers any time a file has been deleted.', + ], +]; \ No newline at end of file