fix(module): also accept appId as type number