@mysetup/types 1.1.0 → 1.2.0

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,39 +1,39 @@
1
1
  import type { ValueOf } from "./helpers";
2
2
  export declare const UserType: {
3
- readonly Admin: "1";
4
- readonly User: "2";
3
+ Admin: string;
4
+ User: string;
5
5
  };
6
6
  export type UserType = ValueOf<typeof UserType>;
7
7
  declare const UserStatus: {
8
- readonly New: "1";
9
- readonly Active: "2";
10
- readonly InActive: "3";
11
- readonly Deleted: "4";
8
+ New: string;
9
+ Active: string;
10
+ InActive: string;
11
+ Deleted: string;
12
12
  };
13
13
  export type UserStatus = ValueOf<typeof UserStatus>;
14
14
  declare const GeneralStatus: {
15
- readonly Active: "1";
16
- readonly InActive: "2";
15
+ Active: string;
16
+ InActive: string;
17
17
  };
18
18
  export type GeneralStatus = ValueOf<typeof GeneralStatus>;
19
19
  export declare const constants: {
20
20
  UserType: {
21
- readonly Admin: "1";
22
- readonly User: "2";
21
+ Admin: string;
22
+ User: string;
23
23
  };
24
24
  UserStatus: {
25
- readonly New: "1";
26
- readonly Active: "2";
27
- readonly InActive: "3";
28
- readonly Deleted: "4";
25
+ New: string;
26
+ Active: string;
27
+ InActive: string;
28
+ Deleted: string;
29
29
  };
30
30
  TokenType: {
31
- readonly JWT: "1";
32
- readonly OAUTH: "2";
31
+ JWT: string;
32
+ OAUTH: string;
33
33
  };
34
34
  GeneralStatus: {
35
- readonly Active: "1";
36
- readonly InActive: "2";
35
+ Active: string;
36
+ InActive: string;
37
37
  };
38
38
  };
39
39
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/database.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,eAAO,MAAM,QAAQ;;;CAGX,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,QAAA,MAAM,UAAU;;;;;CAKN,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,UAAU,CAAC,CAAC;AAOpD,QAAA,MAAM,aAAa;;;CAGT,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAKrB,CAAC"}
1
+ {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/database.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,QAAA,MAAM,UAAU;;;;;CAKf,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,UAAU,CAAC,CAAC;AAOpD,QAAA,MAAM,aAAa;;;CAGlB,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAKrB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysetup/types",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [