pg-mvc-service 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +14 -0
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import { Base64Client } from './src/clients/Base64Client';
|
|
|
8
8
|
import { StringClient } from './src/clients/StringClient';
|
|
9
9
|
import { EncryptClient } from './src/clients/EncryptClient';
|
|
10
10
|
|
|
11
|
+
export { AwsS3Client } from './src/clients/AwsS3Client';
|
|
12
|
+
|
|
11
13
|
// models class
|
|
12
14
|
import ValidateClient from './src/models/ValidateClient';
|
|
13
15
|
|
|
@@ -138,6 +140,18 @@ declare module 'pg-mvc-service' {
|
|
|
138
140
|
constructor(message?: string);
|
|
139
141
|
}
|
|
140
142
|
|
|
143
|
+
export class DbConflictException extends Error {
|
|
144
|
+
private errorId: string;
|
|
145
|
+
get ErrorId(): string;
|
|
146
|
+
constructor(errorId: string, message?: string);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export class UnprocessableException extends Error {
|
|
150
|
+
private errorId: string;
|
|
151
|
+
get ErrorId(): string;
|
|
152
|
+
constructor(errorId: string, message?: string);
|
|
153
|
+
}
|
|
154
|
+
|
|
141
155
|
export type TSqlValue = string | number | boolean | Date | null | Array<string | null> | Array<number | null> | Array<Date | null> | Array<Boolean | null>;
|
|
142
156
|
|
|
143
157
|
// column type
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Service } from './Service';
|
|
2
|
-
export { MaintenanceException, AuthException, InputErrorException, ForbiddenException, DbConflictException, UnprocessableException
|
|
2
|
+
export { MaintenanceException, AuthException, InputErrorException, ForbiddenException, DbConflictException, UnprocessableException } from './exceptions/Exception';
|
|
3
3
|
export { createSwagger } from './documents/Swagger';
|
|
4
4
|
export { AwsS3Client } from './clients/AwsS3Client';
|
|
5
5
|
export { Base64Client } from './clients/Base64Client';
|