chyz 1.1.0-rc.1 → 1.1.0-rc.2

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.
@@ -16,23 +16,41 @@ const JsonWebToken = require("jsonwebtoken");
16
16
  export class User extends Model implements IdentityInterface {
17
17
  [x: string]: any;
18
18
 
19
+ /**
20
+ *
21
+ */
19
22
  public tableName() {
20
23
  return 'users';
21
24
  }
22
25
 
26
+ /**
27
+ *
28
+ * @param id
29
+ */
23
30
  findIdentity(id: number) {
24
31
  throw new Error("Method not implemented.");
25
32
  }
26
33
 
34
+ /**
35
+ *
36
+ */
27
37
  getId(): number {
28
38
  throw new Error("Method not implemented.");
29
39
  }
30
40
 
41
+ /**
42
+ *
43
+ * @param permissionName
44
+ * @param params
45
+ * @param allowCaching
46
+ */
31
47
  can(permissionName: string, params: any[], allowCaching: boolean): boolean | null {
32
48
  throw new Error("Method not implemented.");
33
49
  }
34
50
 
35
-
51
+ /**
52
+ *
53
+ */
36
54
  getAuthKey(): string {
37
55
  throw new Error("Method not implemented.");
38
56
  }
@@ -41,6 +59,9 @@ export class User extends Model implements IdentityInterface {
41
59
  throw new Error("Method not implemented.");
42
60
  }
43
61
 
62
+ /**
63
+ *
64
+ */
44
65
  public attributes() {
45
66
  return {
46
67
  // Model attributes are defined here
@@ -104,4 +125,4 @@ export class User extends Model implements IdentityInterface {
104
125
 
105
126
 
106
127
 
107
- }
128
+ }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chyz",
3
- "version": " 1.1.0-rc.1",
3
+ "version": "1.1.0-rc.2",
4
4
  "description": "Nodejs Micro service Framework",
5
5
  "scripts": {
6
6
  "dev": "nodemon -t --trace-warnings index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chyz",
3
- "version": " 1.1.0-rc.1",
3
+ "version": "1.1.0-rc.2",
4
4
  "description": "Nodejs Micro service Framework",
5
5
  "scripts": {
6
6
  "dev": "nodemon -t --trace-warnings index.ts",
@@ -65,4 +65,4 @@ export interface IdentityInterface {
65
65
  */
66
66
  can(permissionName:string, params: any[] , allowCaching: boolean ): (boolean | null);
67
67
 
68
- }
68
+ }