fix: model consistency

This commit is contained in:
jdegand
2024-01-02 19:43:54 -05:00
parent 6cc084fb78
commit 13ab013990

View File

@@ -7,10 +7,10 @@ export interface School extends Push {
version: number; version: number;
} }
const schoolTeacher = incrementalNumber(); const factorySchool = incrementalNumber();
export const randSchool = (): School => ({ export const randSchool = (): School => ({
id: schoolTeacher(), id: factorySchool(),
name: randCompanyName(), name: randCompanyName(),
version: 0, version: 0,
type: 'school', type: 'school',