Skip to content
This repository was archived by the owner on Jul 12, 2025. It is now read-only.

Commit 7568bd2

Browse files
committed
fix: export CheckUidResult and GetAudioResult
1 parent 82a8a47 commit 7568bd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Processor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ export class ValidUidResult {
1414
}
1515
}
1616

17-
type CheckUidResult = UnknownUidResult | ThrottledUidResult | ValidUidResult;
17+
export type CheckUidResult = UnknownUidResult | ThrottledUidResult | ValidUidResult;
1818

1919
export class AudioNotFoundResult {}
2020
export class AudioFoundResult {
2121
public constructor(public readonly data : Buffer) {
2222
}
2323
}
2424

25-
type GetAudioResult = AudioNotFoundResult | AudioFoundResult;
25+
export type GetAudioResult = AudioNotFoundResult | AudioFoundResult;
2626

2727
type Processor = {
2828
authenticate : (clientId : string, secret : string) => Promise<boolean> | boolean;

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export type {StartServerResult, ServerOptions} from './server';
22
export {startServer} from './server';
33

4-
export type {default as Processor} from './Processor';
4+
export type {default as Processor, CheckUidResult, GetAudioResult} from './Processor';
55
export {AudioFoundResult, AudioNotFoundResult, ThrottledUidResult, ValidUidResult, UnknownUidResult} from './Processor';

0 commit comments

Comments
 (0)