abb-core
Version:
Application Build Butler Core
50 lines (49 loc) • 1.11 kB
TypeScript
import EABBRESTMethods from "../abb-basic/EABB-rest-methods";
export interface IABBUser {
/**
* @type strin
* @description username of current user
*/
username: string;
/**
* @type string
* @description firstname of current user
*/
firstname: string;
/**
* @type string
* @description lastname of current user
*/
lastname: string;
/**
* @type string
* @description img URL for users avatar
*/
avatarPath: string;
}
export interface IABBUserProps extends IABBUser {
/**
* @type IABBSettings.createDataMethod
*/
backendURL: string;
/**
* @type IABBSettings.getDataMethod
*/
getDataMethod: EABBRESTMethods;
/**
* @type IABBSettings.setDataMethod
*/
setDataMethod: EABBRESTMethods;
/**
* @type IABBSettings.requestMethod
*/
requestMethod: EABBRESTMethods;
/**
* @type IABBSettings.createDataMethod
*/
createDataMethod: EABBRESTMethods;
/**
* @type IABBSettings.deleteDataMethod
*/
deleteDataMethod: EABBRESTMethods;
}