This commit relocates the 'general.interface.ts' file from the 'services' directory to the 'interfaces' directory. This structural change is meant to streamline the organization of the code base.
14 lines
209 B
TypeScript
14 lines
209 B
TypeScript
export interface IStandardisedReturn<T> {
|
|
state: EReturnState;
|
|
message?: string;
|
|
resolved?: T;
|
|
}
|
|
|
|
export enum EReturnState {
|
|
unauthorized = 0,
|
|
clientError = 1,
|
|
serverError = 2,
|
|
done = 3,
|
|
queued = 4,
|
|
}
|