@flusys/nestjs-event-manager 5.0.0 → 5.0.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.
@@ -8,8 +8,9 @@ Object.defineProperty(exports, "Event", {
8
8
  return Event;
9
9
  }
10
10
  });
11
- const _enums = require("@flusys/nestjs-shared/enums");
11
+ const _nestjsshared = require("@flusys/nestjs-shared");
12
12
  const _entities = require("@flusys/nestjs-shared/entities");
13
+ const _enums = require("@flusys/nestjs-shared/enums");
13
14
  const _typeorm = require("typeorm");
14
15
  function _define_property(obj, key, value) {
15
16
  if (key in obj) {
@@ -110,7 +111,7 @@ _ts_decorate([
110
111
  ], Event.prototype, "recurrenceEndDate", void 0);
111
112
  _ts_decorate([
112
113
  (0, _typeorm.Column)({
113
- type: 'json',
114
+ type: (0, _nestjsshared.getJsonColumnType)(),
114
115
  nullable: true
115
116
  }),
116
117
  _ts_metadata("design:type", Object)
@@ -20,8 +20,9 @@ function _ts_decorate(decorators, target, key, desc) {
20
20
  function _ts_metadata(k, v) {
21
21
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
22
  }
23
- import { RecurrenceType } from '@flusys/nestjs-shared/enums';
23
+ import { getJsonColumnType } from '@flusys/nestjs-shared';
24
24
  import { Identity } from '@flusys/nestjs-shared/entities';
25
+ import { RecurrenceType } from '@flusys/nestjs-shared/enums';
25
26
  import { Column, Entity, Index } from 'typeorm';
26
27
  export class Event extends Identity {
27
28
  constructor(...args){
@@ -100,7 +101,7 @@ _ts_decorate([
100
101
  ], Event.prototype, "recurrenceEndDate", void 0);
101
102
  _ts_decorate([
102
103
  Column({
103
- type: 'json',
104
+ type: getJsonColumnType(),
104
105
  nullable: true
105
106
  }),
106
107
  _ts_metadata("design:type", Object)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flusys/nestjs-event-manager",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Event manager module with calendar support and recurrence",
5
5
  "main": "cjs/index.js",
6
6
  "module": "fesm/index.js",
@@ -84,7 +84,7 @@
84
84
  "express": "^4.18.0"
85
85
  },
86
86
  "dependencies": {
87
- "@flusys/nestjs-core": "5.0.0",
88
- "@flusys/nestjs-shared": "5.0.0"
87
+ "@flusys/nestjs-core": "5.0.1",
88
+ "@flusys/nestjs-shared": "5.0.1"
89
89
  }
90
90
  }