Skip to content

Commit 7791618

Browse files
committed
feat: add CostMode type
1 parent 908d662 commit 7791618

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ export interface TokenData {
5656
cacheCreationTokens: number;
5757
cacheReadTokens: number;
5858
}
59+
60+
export const CostModes = ["auto", "calculate", "display"] as const;
61+
export type CostMode = (typeof CostModes)[number];

0 commit comments

Comments
 (0)