Skip to content

Commit 0f9070e

Browse files
committed
feat: add collection of enum values to abstraction.serializationWriter interface
1 parent 58cf6c5 commit 0f9070e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/abstractions/src/serialization/serializationWriter.ts

+7
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ export interface SerializationWriter {
9393
* @param values the value to write to the stream.
9494
*/
9595
writeEnumValue<T>(key?: string, ...values: (T | null | undefined)[]): void;
96+
97+
/**
98+
* Writes the specified collection of enum values to the stream with an optional given key.
99+
* @param key the key to write the value with.
100+
* @param values the value to write to the stream.
101+
*/
102+
writeCollectionOfEnumValue<T>(key?: string, values?: (T | null | undefined)[]): void;
96103
/**
97104
* Writes a null value for the specified key.
98105
* @param key the key to write the value with.

0 commit comments

Comments
 (0)