1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/src
Gastón Fournier ca01a79f71
chore: drop event hook (#3565)
## About the changes
Ref:
https://docs.getunleash.io/reference/deploy/configuring-unleash#further-customization
> **eventHook** (`function(event, data)`) - (_deprecated in Unleash 4.3_
in favor of the [Webhook addon](../addons/webhook.md)) If provided, this
function will be invoked whenever a feature is mutated. The possible
values for `event` are `'feature-created'`, `'feature-archived'` and
`'feature-revived'`. The `data` argument contains information about the
mutation. Its fields are `type` (string) - the event type (same as
`event`); `createdBy` (string) - the user who performed the mutation;
`data` - the contents of the change. The contents in `data` differs
based on the event type; For `'feature-archived'` and
`'feature-revived'`, the only field will be `name` - the name of the
feature. For `'feature-created'` the data follows a schema defined in
the code
[here](7b7f0b84e8/src/lib/schema/feature-schema.ts (L77)).
See an [api here](/reference/api/legacy/unleash/admin/events).


Related to: https://github.com/Unleash/unleash/issues/1265
2023-04-21 09:44:18 +02:00
..
lib chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
mailtemplates refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
migrations feat: root roles from groups (#3559) 2023-04-20 12:29:30 +02:00
test feat: root roles from groups (#3559) 2023-04-20 12:29:30 +02:00
migrator.ts feat: disable verbosity from db-migrate (#3301) 2023-03-13 10:12:43 +01:00
server-dev.ts docs: update documentation and dev server use of passord (#3564) 2023-04-19 13:29:18 +02:00
server.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00