serverpreconfigured 2.1.0 → 2.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.
@@ -1,4 +1,8 @@
1
1
  import { Model } from "sequelize";
2
2
  export declare class User extends Model {
3
+ email: string;
4
+ first_name?: string;
5
+ is_active: boolean;
6
+ password_hash: string;
3
7
  static init(sequelize: any): void;
4
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverpreconfigured",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "\"Pre-configured server with authentication system and database integration\"",
5
5
  "main": "dist/server.js",
6
6
  "keywords": [
@@ -2,6 +2,10 @@ import { Model } from "sequelize";
2
2
  import { DataTypes } from "sequelize";
3
3
 
4
4
  export class User extends Model{
5
+ declare email:string;
6
+ declare first_name?:string;
7
+ declare is_active:boolean;
8
+ declare password_hash:string;
5
9
  static init(sequelize:any){
6
10
  super.init({
7
11
  first_name:DataTypes.STRING,