UNPKG

@userfrosting/sprinkle-account

Version:
25 lines (24 loc) 640 B
/** * Role Model * * By default, the frontend role object will have the same interface as the PHP user. * Note that any Sprinkle can (and should!) extend this interface. * * Example: * - id: 1 * - slug: "hippo" * - name: "Hippopotamus Role" * - description: "The role applied to all hippopotamus." * - created_at: "2023-09-16T19:23:59.000000Z" * - updated_at: "2023-09-16T19:23:59.000000Z" * - deleted_at: null */ export interface RoleInterface { id: number; slug: string; name: string; description: string; created_at: Date | string; updated_at: Date | string; deleted_at: Date | string | null; }