mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
feat: add required cdn events (#10040)
## About the changes Exposes configuration revision service UPDATE_EVENT constant so it can be used, and we also add a new event for cdn token created
This commit is contained in:
parent
e65865d410
commit
a302055bea
@ -213,6 +213,8 @@ export const USER_PREFERENCE_UPDATED = 'user-preference-updated' as const;
|
||||
export const SCIM_USERS_DELETED = 'scim-users-deleted' as const;
|
||||
export const SCIM_GROUPS_DELETED = 'scim-groups-deleted' as const;
|
||||
|
||||
export const CDN_TOKEN_CREATED = 'cdn-token-created' as const;
|
||||
|
||||
export const IEventTypes = [
|
||||
APPLICATION_CREATED,
|
||||
FEATURE_CREATED,
|
||||
@ -373,6 +375,7 @@ export const IEventTypes = [
|
||||
USER_PREFERENCE_UPDATED,
|
||||
SCIM_USERS_DELETED,
|
||||
SCIM_GROUPS_DELETED,
|
||||
CDN_TOKEN_CREATED,
|
||||
] as const;
|
||||
export type IEventType = (typeof IEventTypes)[number];
|
||||
|
||||
|
@ -181,6 +181,7 @@ import {
|
||||
import { getDbConfig } from '../test/e2e/helpers/database-config.js';
|
||||
import { testDbPrefix } from '../test/e2e/helpers/database-init.js';
|
||||
import type { RequestHandler } from 'express';
|
||||
import { UPDATE_REVISION } from './features/feature-toggle/configuration-revision-service.js';
|
||||
|
||||
export async function initialServiceSetup(
|
||||
{ authentication }: Pick<IUnleashConfig, 'authentication'>,
|
||||
@ -420,6 +421,7 @@ export {
|
||||
CUSTOM_ROOT_ROLE_TYPE,
|
||||
getVariantValue,
|
||||
UPDATE_DELTA,
|
||||
UPDATE_REVISION,
|
||||
applyGenericQueryParams,
|
||||
normalizeQueryParams,
|
||||
parseSearchOperatorValue,
|
||||
|
Loading…
Reference in New Issue
Block a user