guesstimate/client/src/util/storage.ts

7 lines
206 B
TypeScript
Raw Normal View History

2020-04-20 14:07:26 +02:00
import { ProjectID } from "../models/project";
export const ProjectStorageKeyPrefix = "project-";
export function getProjectStorageKey(id: ProjectID): string {
return `${ProjectStorageKeyPrefix}${id}`
}