WIP
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export interface AddressDto {
|
||||
street: string;
|
||||
city: string;
|
||||
zip: string;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=address.dto.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"address.dto.js","sourceRoot":"","sources":["../../src/common/address.dto.ts"],"names":[],"mappings":""}
|
||||
@@ -0,0 +1,3 @@
|
||||
export * from './address.dto';
|
||||
export * from './paginated-result.dto';
|
||||
export * from './validation-error';
|
||||
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__exportStar(require("./address.dto"), exports);
|
||||
__exportStar(require("./paginated-result.dto"), exports);
|
||||
__exportStar(require("./validation-error"), exports);
|
||||
//# sourceMappingURL=index.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,yDAAuC;AACvC,qDAAmC"}
|
||||
@@ -0,0 +1,9 @@
|
||||
export interface PaginatedResult<T> {
|
||||
data: T[];
|
||||
meta: {
|
||||
total: number;
|
||||
page: number;
|
||||
limit: number;
|
||||
totalPages: number;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=paginated-result.dto.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"paginated-result.dto.js","sourceRoot":"","sources":["../../src/common/paginated-result.dto.ts"],"names":[],"mappings":""}
|
||||
@@ -0,0 +1,8 @@
|
||||
export interface ValidationError {
|
||||
field: string;
|
||||
message: string;
|
||||
source: {
|
||||
type: 'TOUR' | 'PATIENT';
|
||||
id: string;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=validation-error.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"validation-error.js","sourceRoot":"","sources":["../../src/common/validation-error.ts"],"names":[],"mappings":""}
|
||||
Reference in New Issue
Block a user