This commit is contained in:
parent
65139bf8d0
commit
44431c4e66
71 changed files with 2262 additions and 1173 deletions
|
|
@ -59,7 +59,9 @@ export const STREAM_CATALOG: readonly KnownStreamDefinition[] = [
|
|||
{ name: STREAM_NEWS, subject: SUBJECT_NEWS, retentionClass: "derived" }
|
||||
];
|
||||
|
||||
const STREAM_CATALOG_BY_NAME = new Map(STREAM_CATALOG.map((definition) => [definition.name, definition]));
|
||||
const STREAM_CATALOG_BY_NAME = new Map(
|
||||
STREAM_CATALOG.map((definition) => [definition.name, definition])
|
||||
);
|
||||
|
||||
export const getKnownStreamDefinitions = (): readonly KnownStreamDefinition[] => {
|
||||
return STREAM_CATALOG;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue