import { makeToolEntity } from "../Entities";
import { makeToolPM } from "../PM";
export function makeToolFactory(appObjects) {
    return function toolFactory(id) {
        const ao = appObjects.getOrCreate(id);
        const toolEntity = makeToolEntity(ao);
        makeToolPM(ao);
        return toolEntity;
    };
}
//# sourceMappingURL=toolFactory.js.map