@appvise/domain
Advanced tools
Comparing version 1.0.14 to 1.1.0
@@ -22,2 +22,3 @@ "use strict"; | ||
ExceptionCodes["tokenExpired"] = "TOKEN.EXPIRED"; | ||
ExceptionCodes["invalidStatus"] = "INVALID.STATUS"; | ||
})(ExceptionCodes = exports.ExceptionCodes || (exports.ExceptionCodes = {})); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TokenExpiredException = exports.ReferenceNotFoundException = exports.NotUniqueException = exports.NotFoundException = exports.ExceptionCodes = exports.ExceptionBase = exports.ConflictException = exports.ArgumentOutOfRangeException = exports.ArgumentNotProvidedException = exports.ArgumentInvalidException = void 0; | ||
exports.InvalidStatusException = exports.TokenExpiredException = exports.ReferenceNotFoundException = exports.NotUniqueException = exports.NotFoundException = exports.ExceptionCodes = exports.ExceptionBase = exports.ConflictException = exports.ArgumentOutOfRangeException = exports.ArgumentNotProvidedException = exports.ArgumentInvalidException = void 0; | ||
var argument_invalid_exception_1 = require("./argument-invalid.exception"); | ||
@@ -24,1 +24,3 @@ Object.defineProperty(exports, "ArgumentInvalidException", { enumerable: true, get: function () { return argument_invalid_exception_1.ArgumentInvalidException; } }); | ||
Object.defineProperty(exports, "TokenExpiredException", { enumerable: true, get: function () { return token_expired_exception_1.TokenExpiredException; } }); | ||
var invalid_status_exception_1 = require("./invalid-status-exception"); | ||
Object.defineProperty(exports, "InvalidStatusException", { enumerable: true, get: function () { return invalid_status_exception_1.InvalidStatusException; } }); |
@@ -19,2 +19,3 @@ /** | ||
ExceptionCodes["tokenExpired"] = "TOKEN.EXPIRED"; | ||
ExceptionCodes["invalidStatus"] = "INVALID.STATUS"; | ||
})(ExceptionCodes || (ExceptionCodes = {})); |
@@ -11,1 +11,2 @@ export { ArgumentInvalidException } from './argument-invalid.exception'; | ||
export { TokenExpiredException } from './token-expired.exception'; | ||
export { InvalidStatusException } from './invalid-status-exception'; |
@@ -17,3 +17,4 @@ /** | ||
conflict = "GENERIC.CONFLICT", | ||
tokenExpired = "TOKEN.EXPIRED" | ||
tokenExpired = "TOKEN.EXPIRED", | ||
invalidStatus = "INVALID.STATUS" | ||
} |
@@ -11,1 +11,2 @@ export { ArgumentInvalidException } from './argument-invalid.exception'; | ||
export { TokenExpiredException } from './token-expired.exception'; | ||
export { InvalidStatusException } from './invalid-status-exception'; |
import { PageInfo } from './page-info'; | ||
import { SearchResult } from './search-result'; | ||
export declare type SearchResponse<T> = { | ||
results: SearchResult<T>[]; | ||
export interface SearchResponse<T, S extends SearchResult<T> = SearchResult<T>> { | ||
results: S[]; | ||
pageInfo: PageInfo; | ||
totalCount?: number; | ||
}; | ||
} |
{ | ||
"name": "@appvise/domain", | ||
"version": "1.0.14", | ||
"version": "1.1.0", | ||
"description": "Base package for building Domain-Driven Hexagon applications in TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126833
207
3292