20 lines
433 B
TypeScript
20 lines
433 B
TypeScript
declare namespace _exports {
|
|
export { FunctionReturn };
|
|
}
|
|
declare const _exports: import("../../../types").HandleSocialDbFunction;
|
|
export = _exports;
|
|
type FunctionReturn = {
|
|
/**
|
|
* - Did the operation complete successfully or not?
|
|
*/
|
|
success: boolean;
|
|
/**
|
|
* - User payload object: or "null"
|
|
*/
|
|
user: {
|
|
id: number;
|
|
first_name: string;
|
|
last_name: string;
|
|
} | null;
|
|
};
|