This commit is contained in:
15
packages/funbox/src/index.ts
Normal file
15
packages/funbox/src/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { FunboxName } from "@monkeytype/schemas/configs";
|
||||
import { getList, getFunbox, getObject, getFunboxNames } from "./list";
|
||||
import { FunboxMetadata, FunboxProperty } from "./types";
|
||||
import { checkCompatibility, checkForcedConfig } from "./validation";
|
||||
|
||||
export type { FunboxMetadata, FunboxProperty };
|
||||
export { checkCompatibility, checkForcedConfig, getFunbox, getFunboxNames };
|
||||
|
||||
export function getAllFunboxes(): FunboxMetadata[] {
|
||||
return getList();
|
||||
}
|
||||
|
||||
export function getFunboxObject(): Record<FunboxName, FunboxMetadata> {
|
||||
return getObject();
|
||||
}
|
||||
Reference in New Issue
Block a user