Skip to content

Commit 529a256

Browse files
SupportedMapping
1 parent e29cfca commit 529a256

File tree

1 file changed

+6
-1
lines changed
  • packages/connectors/datalayer/src/types

1 file changed

+6
-1
lines changed

packages/connectors/datalayer/src/types/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ export interface Config {
1616
processedEvents: Set<string>;
1717
}
1818

19+
export type SupportedMapping<CustomEvent = unknown> = Omit<
20+
WalkerOSMapping.Event<CustomEvent>,
21+
'batch' | 'batchFn' | 'batched' | 'consent'
22+
>;
23+
1924
export interface Mapping {
20-
[event: string]: WalkerOSMapping.Event<Custom>;
25+
[event: string]: SupportedMapping<Custom>;
2126
}
2227

2328
export type Custom = EventMappingValues & EventMappingObjectValues;

0 commit comments

Comments
 (0)