about summary refs log tree commit diff stats
path: root/crates/rocie-server/src/api/set/mod.rs
blob: a7ddab58a44190b307be1a3efdd60323bd295b7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use actix_web::web;

pub(crate) mod barcode;
pub(crate) mod product;
pub(crate) mod unit;

pub(crate) fn register_paths(cfg: &mut web::ServiceConfig) {
    cfg.service(product::register_product)
        .service(product::associate_barcode)
        .service(unit::register_unit)
        .service(barcode::consume_barcode)
        .service(barcode::buy_barcode);
}