import { Order } from '@cupcake/domain' ; export interface OrderRepository { connect ( ) : Promise < void > ; save ( order ) : Promise < void > ; load ( id ) : Promise < Order | undefined > ; all ( ) : Promise < Order [ ] > ; }