-
Notifications
You must be signed in to change notification settings - Fork 0
/
events.ts
39 lines (35 loc) · 1008 Bytes
/
events.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* Configuration for events.
*/
export type EventsConfiguration = {
/**
* Configuration for events and how they are exchanged between services.
*/
readonly events?: {
/**
* The format to which events are serialized when exchanged through the message broker.
*/
readonly format?: 'json';
/**
* The message broker used to exchange events between services.
*/
readonly broker?: string;
/**
* Defines how topic definitions are found in the workspace.
*/
readonly topics?: {
/**
* The format string using groups from the regular expression used to make the topic full names.
*/
readonly format?: string;
/**
* A list of glob patterns to find topic schema definition files in the workspace.
*/
readonly globs?: string[];
/**
* The regular expression used to extract groups from the topic schemas file paths.
*/
readonly regularExpression?: string;
};
};
};