@heyframe-ag/meteor-admin-sdk
Version:
The Meteor SDK for the HeyFrame Administration.
13 lines (12 loc) • 314 B
TypeScript
export type privilegeString = `${keyof privileges}:${string}`;
export type privileges = {
additional?: Array<string>;
create?: Array<string>;
read?: Array<string>;
update?: Array<string>;
delete?: Array<string>;
};
export type extension = {
baseUrl: string;
permissions: privileges;
};