-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b382bf
commit fa15c6b
Showing
4 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
import {type BufferAccess} from '../../common/BufferAccess.js'; | ||
import {type OptionContainer, type PublicOptionDefinition} from '../../encoding/Options.js'; | ||
|
||
export type ConverterDefinition = { | ||
export type PublicConverterDefinition = { | ||
readonly name: string; | ||
readonly identifier: string; | ||
readonly options: PublicOptionDefinition[]; | ||
}; | ||
|
||
export type ConverterDefinition = PublicConverterDefinition & { | ||
readonly convert: (ba: BufferAccess, options: OptionContainer) => BufferAccess; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters