test-entity-library-asm 1.8.4 → 1.8.5

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,3 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { City } from './City';
3
2
  import { Company } from './Company';
4
3
  import { DiscountCodeUser } from './DiscountCodeUser';
@@ -6,7 +5,7 @@ import { Local } from './Local';
6
5
  import { PartnerRole } from './PartnerRole';
7
6
  import { Terminal } from './Terminal';
8
7
  import { TerminalSession } from './TerminalSession';
9
- export declare class Partner extends BaseEntity {
8
+ export declare class Partner {
10
9
  id: number;
11
10
  company: Company;
12
11
  code: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -35,10 +20,8 @@ var PartnerRole_1 = require("./PartnerRole");
35
20
  var Terminal_1 = require("./Terminal");
36
21
  var TerminalSession_1 = require("./TerminalSession");
37
22
  var dateTransformer_1 = require("../transformers/dateTransformer");
38
- var Partner = /** @class */ (function (_super) {
39
- __extends(Partner, _super);
23
+ var Partner = /** @class */ (function () {
40
24
  function Partner() {
41
- return _super !== null && _super.apply(this, arguments) || this;
42
25
  }
43
26
  __decorate([
44
27
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -216,5 +199,5 @@ var Partner = /** @class */ (function (_super) {
216
199
  })
217
200
  ], Partner);
218
201
  return Partner;
219
- }(typeorm_1.BaseEntity));
202
+ }());
220
203
  exports.Partner = Partner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,7 +23,7 @@ import { DateTransformer } from '../transformers/dateTransformer'
23
23
  comment:
24
24
  'Tabla agregada para los usuarios qué quieran registrar su local o empresa de comida rápida en la plataforma.\r\n\r\nEste usuario es independiente a los usuarios de la tabla `user` ya que tiene diferentes plataformas.\r\n\r\nTambién van a estar los usuarios qué el administrador/dueño desee agregar como empleados/colaboradores.',
25
25
  })
26
- export class Partner extends BaseEntity {
26
+ export class Partner {
27
27
  @PrimaryGeneratedColumn({
28
28
  comment: 'Número de identificación (ID) único de cada registro.',
29
29
  })