@deallony/shared 1.1.1 → 1.1.3

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.
@@ -1,4 +1,4 @@
1
1
  import { TYPES } from "../..";
2
2
  export declare const AdDto: (params: {
3
- ad: TYPES.Ad.IAd;
3
+ ad: unknown;
4
4
  }) => TYPES.Ad.IAd;
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AdDto = void 0;
4
- const AdDto = (params) => { return params.ad; };
4
+ const AdDto = (params) => {
5
+ return params.ad;
6
+ };
5
7
  exports.AdDto = AdDto;
@@ -26,8 +26,8 @@ export type IUser = {
26
26
  phone: string;
27
27
  }>;
28
28
  wallet?: IWallet;
29
- created_at?: string;
30
- updated_at?: string;
31
- blocked_at?: string | null;
29
+ created_at?: string | Date;
30
+ updated_at?: string | Date;
31
+ blocked_at?: string | Date | null;
32
32
  };
33
33
  export type UserOrNull = IUser | null;
@@ -1 +1,3 @@
1
- export const AdDto = (params) => { return params.ad; };
1
+ export const AdDto = (params) => {
2
+ return params.ad;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deallony/shared",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",