import Resource from "../resource"; import User from "./user"; import Password from "../attribute-types/password"; export default class Session extends Resource { static readonly type: string; static schema: { attributes: { token: StringConstructor; username: StringConstructor; password: typeof Password; }; relationships: { user: { type: () => typeof User; belongsTo: boolean; }; }; }; }