@edge-zuq/core 2.1.5 → 2.1.6

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,2 +1,8 @@
1
1
  "use strict";
2
+
3
+ export let UserType = /*#__PURE__*/function (UserType) {
4
+ UserType["DRIVER"] = "driver";
5
+ UserType["OTHER"] = "other";
6
+ return UserType;
7
+ }({});
2
8
  //# sourceMappingURL=user-model.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["domain/models/user-model.ts"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":["UserType"],"sourceRoot":"../../../../src","sources":["domain/models/user-model.ts"],"mappings":";;AAAA,WAAYA,QAAQ,0BAARA,QAAQ;EAARA,QAAQ;EAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA","ignoreList":[]}
@@ -1,3 +1,7 @@
1
+ export declare enum UserType {
2
+ DRIVER = "driver",
3
+ OTHER = "other"
4
+ }
1
5
  export type UserModel = {
2
6
  id: number;
3
7
  username: string;
@@ -7,6 +11,7 @@ export type UserModel = {
7
11
  roleId: number;
8
12
  photoId?: number;
9
13
  isDriver?: boolean;
14
+ type?: UserType;
10
15
  driver?: {
11
16
  id: number;
12
17
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"user-model.d.ts","sourceRoot":"","sources":["../../../../../src/domain/models/user-model.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"user-model.d.ts","sourceRoot":"","sources":["../../../../../src/domain/models/user-model.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edge-zuq/core",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "ZUQ App core components",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  "android": "yarn workspace storybook android",
37
37
  "ios": "yarn workspace storybook ios",
38
38
  "clean": "yarn workspace storybook clean",
39
- "bundle": "yarn prepare && yarn pack --filename zuq-core-2.1.3-local.tgz",
39
+ "bundle": "yarn prepare && yarn pack --filename zuq-core-2.1.6-local.tgz",
40
40
  "prepare": "bob build",
41
41
  "typecheck": "tsc",
42
42
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
@@ -1,3 +1,8 @@
1
+ export enum UserType {
2
+ DRIVER = 'driver',
3
+ OTHER = 'other',
4
+ }
5
+
1
6
  export type UserModel = {
2
7
  id: number;
3
8
  username: string;
@@ -7,6 +12,7 @@ export type UserModel = {
7
12
  roleId: number;
8
13
  photoId?: number;
9
14
  isDriver?: boolean;
15
+ type?: UserType;
10
16
  driver?: {
11
17
  id: number;
12
18
  name: string;