hedgedoc/old_src/lib/config/enum.ts
David Mehren 7b9f9a487b
Move old backend code to old_src folder
Signed-off-by: David Mehren <git@herrmehren.de>
2020-08-20 19:43:05 +02:00

29 lines
536 B
TypeScript

export interface Environment {
development: string;
production: string;
test: string;
}
export const Environment: Environment = {
development: 'development',
production: 'production',
test: 'test'
}
export interface Permission {
freely: string;
editable: string;
limited: string;
locked: string;
protected: string;
private: string;
}
export const Permission: Permission = {
freely: 'freely',
editable: 'editable',
limited: 'limited',
locked: 'locked',
protected: 'protected',
private: 'private'
}