lendb-server
Version:
`LenDB Server` is a wrapper around another database called Acebase that acts like a client. Think of it as parse-server and firebase had baby then voilah!!! `Hello World!!` LenDB is born.
21 lines (16 loc) • 375 B
text/typescript
import {AceBase} from "acebase"
export interface ACL {
key?: string;
ref: string;
role: string;
read?: ACLPermision;
add?: ACLPermision;
update?: ACLPermision;
destroy?: ACLPermision;
}
export interface ACLPermision {
allow?: boolean;
fields?: "*" | string[];
level?: "own" | "all";
ownIdenfier?: string;
}