1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00
unleash.unleash/src/lib
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
..
__snapshots__ chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
addons Detailed slack notifications on feature toggle update (#3155) 2023-02-27 09:56:56 +00:00
db feat: root roles from groups (#3559) 2023-04-20 12:29:30 +02:00
domain/project-health
error feat: Add ability to push variants to multiple environments (#2914) 2023-01-20 10:30:20 +01:00
features refactor: switching to new stats calculations (#3477) 2023-04-10 09:50:39 +02:00
middleware
openapi
proxy refactor: fix compilation issues in features service (#3323) 2023-03-24 10:43:38 +01:00
routes feat: root roles from groups (#3559) 2023-04-20 12:29:30 +02:00
schema fix: enforce weight precision to 1 decimal (#2749) 2023-01-05 12:39:18 +01:00
segments
services chore: remove uses of type errors from user-facing code (#3553) 2023-04-18 13:42:07 +02:00
types chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
util chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
app.test.ts
app.ts
create-config.test.ts
create-config.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
default-custom-auth-deny-all.ts
internals.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
logger.test.ts
logger.ts
metric-events.ts
metrics.test.ts
metrics.ts
server-impl.test.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00
server-impl.ts chore: drop event hook (#3565) 2023-04-21 09:44:18 +02:00