@saihu/common 1.1.0 → 1.1.1

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.
@@ -26,3 +26,4 @@ export declare class BaseError extends Error {
26
26
  static badRequest(message?: string): BaseError;
27
27
  static serverError(message?: string): BaseError;
28
28
  }
29
+ //# sourceMappingURL=base-res.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-res.dto.d.ts","sourceRoot":"","sources":["../../src/dto/base-res.dto.ts"],"names":[],"mappings":"AACA,qBAAa,eAAe,CAAC,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;gBAEH,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,CAAC,GAAG,IAAW;IAM5D,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC;IAI9C,MAAM,CAAC,kBAAkB,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC;IAItE,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC,CAAC,CAAC;IAK9D,MAAM,CAAC,QAAQ,CAAC,cAAc,OAAO;IACrC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,OAAO;IACxC,MAAM,CAAC,QAAQ,CAAC,cAAc,OAAO;IACrC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,OAAO;IACvC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,OAAO;CACzC;AAED;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC;gBAEL,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,GAAU;IAO3D,UAAU,CAAC,CAAC,KAAK,eAAe,CAAC,CAAC,CAAC;IAKnC,MAAM,CAAC,QAAQ,CAAC,OAAO,SAAuB,GAAG,SAAS;IAI1D,MAAM,CAAC,YAAY,CAAC,OAAO,SAAiB,GAAG,SAAS;IAIxD,MAAM,CAAC,SAAS,CAAC,OAAO,SAAc,GAAG,SAAS;IAIlD,MAAM,CAAC,UAAU,CAAC,OAAO,SAAgB,GAAG,SAAS;IAIrD,MAAM,CAAC,WAAW,CAAC,OAAO,SAA0B,GAAG,SAAS;CAGjE"}
@@ -5,3 +5,4 @@ export interface ActiveMenuResDto {
5
5
  unit_name: string;
6
6
  big_pic_url: string;
7
7
  }
8
+ //# sourceMappingURL=active-menu-res.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"active-menu-res.dto.d.ts","sourceRoot":"","sources":["../../../src/dto/basic-data-service/active-menu-res.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -1 +1,2 @@
1
1
  export * from './active-menu-res.dto';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dto/basic-data-service/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './base-res.dto';
2
2
  export * from './order-service';
3
3
  export * from './basic-data-service';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC"}
@@ -11,3 +11,4 @@ export interface CartDataDto {
11
11
  total_price: number;
12
12
  items: CartItemDto[];
13
13
  }
14
+ //# sourceMappingURL=cart-dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-dto.d.ts","sourceRoot":"","sources":["../../../src/dto/order-service/cart-dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB"}
@@ -3,3 +3,4 @@ export interface DailySaleAveragesResponseDto {
3
3
  avg_qty_per_day: number;
4
4
  day_count: number;
5
5
  }
6
+ //# sourceMappingURL=daily-sale-averages-res.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daily-sale-averages-res.dto.d.ts","sourceRoot":"","sources":["../../../src/dto/order-service/daily-sale-averages-res.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -1,2 +1,3 @@
1
1
  export * from './daily-sale-averages-res.dto';
2
2
  export * from './cart-dto';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dto/order-service/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,YAAY,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './dto';
2
2
  export * from './interceptors';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './transform.interceptor';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interceptors/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -4,3 +4,4 @@ import { BaseResponseDto } from '../dto/base-res.dto';
4
4
  export declare class TransformInterceptor<T> implements NestInterceptor<T, BaseResponseDto<T>> {
5
5
  intercept(context: ExecutionContext, next: CallHandler): Observable<BaseResponseDto<T>>;
6
6
  }
7
+ //# sourceMappingURL=transform.interceptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transform.interceptor.d.ts","sourceRoot":"","sources":["../../src/interceptors/transform.interceptor.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,EACf,gBAAgB,EAChB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,qBACa,oBAAoB,CAAC,CAAC,CACjC,YAAW,eAAe,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IAEjD,SAAS,CACP,OAAO,EAAE,gBAAgB,EACzB,IAAI,EAAE,WAAW,GAChB,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;CAalC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saihu/common",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Common utilities for NestJS applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",