fix(core): update

This commit is contained in:
2019-08-23 14:35:50 +02:00
parent 6768022374
commit 5afae8c158
6 changed files with 19 additions and 89 deletions

View File

@ -8,7 +8,7 @@ export class TypedRequest<T extends plugins.typedRequestInterfaces.ITypedRequest
constructor(urlEndPointArg: string, methodArg: T['method']) {
this.urlEndPoint = urlEndPointArg;
this.method = methodArg;
};
}
/**
* firest the request
@ -20,8 +20,8 @@ export class TypedRequest<T extends plugins.typedRequestInterfaces.ITypedRequest
method: this.method,
request: fireArg,
response: null
}
}
});
return response.body.response;
}
}
}

View File

@ -1,13 +1,9 @@
// apiglobal scope
import * as typedRequestInterfaces from '@apiglobal/typedrequest-interfaces';
export {
typedRequestInterfaces
};
export { typedRequestInterfaces };
// pushrocks scope
import * as smartrequest from '@pushrocks/smartrequest';
export {
smartrequest
};
export { smartrequest };