at-shared-types 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.
@@ -0,0 +1,4 @@
1
+ export declare const ATErrorCodeDTO: {
2
+ readonly AI_SESSION_EXPIRED: 4501;
3
+ readonly AI_SESSION_NOT_FOUND: 4502;
4
+ };
@@ -0,0 +1 @@
1
+ export * from "./errorCodeDTO";
@@ -1 +1,2 @@
1
1
  export * from "./routes/index";
2
+ export * from "./errors/index";
@@ -2,3 +2,9 @@ export interface ResponseSuccessDTO<T> {
2
2
  code: number;
3
3
  data: T;
4
4
  }
5
+ export interface ResponseErrorDTO {
6
+ code: number;
7
+ message: string;
8
+ errors?: any[];
9
+ timestamp: string;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "at-shared-types",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "types": "dist/index.d.ts",
5
5
  "files": [
6
6
  "dist"