merged private server and console to private-cloud
This commit is contained in:
12
console/response/brand_response.js
Normal file
12
console/response/brand_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function BrandResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = BrandResponse;
|
||||
12
console/response/category_response.js
Normal file
12
console/response/category_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function CategoryResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = CategoryResponse;
|
||||
12
console/response/city_response.js
Normal file
12
console/response/city_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function CityResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = CityResponse;
|
||||
12
console/response/integer_response.js
Normal file
12
console/response/integer_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function IntegerResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = IntegerResponse;
|
||||
13
console/response/key_match_response.js
Normal file
13
console/response/key_match_response.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function KeyMatchResponse(status, matchCount, remoteFile) {
|
||||
this.matchCount = matchCount;
|
||||
this.remoteFile = remoteFile;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = KeyMatchResponse;
|
||||
12
console/response/login_response.js
Normal file
12
console/response/login_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function LoginResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = LoginResponse;
|
||||
12
console/response/operator_response.js
Normal file
12
console/response/operator_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function OperatorResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = OperatorResponse;
|
||||
12
console/response/protocol_response.js
Normal file
12
console/response/protocol_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function ProtocolResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = ProtocolResponse;
|
||||
12
console/response/province_response.js
Normal file
12
console/response/province_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function ProvinceResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = ProvinceResponse;
|
||||
12
console/response/remote_index_response.js
Normal file
12
console/response/remote_index_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function RemoteIndexResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = RemoteIndexResponse;
|
||||
11
console/response/service_response.js
Normal file
11
console/response/service_response.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Created by Strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
function ServiceResponse(status, cause) {
|
||||
this.status = status;
|
||||
this.cause = cause;
|
||||
}
|
||||
|
||||
module.exports = ServiceResponse;
|
||||
12
console/response/single_brand_response.js
Normal file
12
console/response/single_brand_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function SingleBrandResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = SingleBrandResponse;
|
||||
12
console/response/single_category_response.js
Normal file
12
console/response/single_category_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function SingleCategoryResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = SingleCategoryResponse;
|
||||
12
console/response/stat_response.js
Normal file
12
console/response/stat_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function StatResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = StatResponse;
|
||||
12
console/response/string_response.js
Normal file
12
console/response/string_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-11-27
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function StringResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = StringResponse;
|
||||
12
console/response/ticket_response.js
Normal file
12
console/response/ticket_response.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by strawmanbobi
|
||||
* 2016-12-24 (Xmas eve)
|
||||
*/
|
||||
|
||||
ServiceResponse = require("./service_response");
|
||||
function TicketResponse(status, entity) {
|
||||
this.entity = entity;
|
||||
ServiceResponse.call(this, status);
|
||||
}
|
||||
|
||||
module.exports = TicketResponse;
|
||||
Reference in New Issue
Block a user