@clairejs/server 3.16.16 → 3.16.17

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.
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  ## Change Log
2
2
 
3
- #### 3.16.16:
3
+ #### 3.16.17:
4
4
 
5
+ - fix job param type from any[] to any
5
6
  - fix CRUD order
6
7
  - fix Job repo
7
8
  - fix AbstractJob
@@ -37,12 +37,12 @@ export interface CustomJobInfo {
37
37
  id?: string;
38
38
  jobName: string;
39
39
  at: number;
40
- params?: any[];
40
+ params?: any;
41
41
  }
42
42
  export interface JobInfo {
43
43
  id?: string;
44
44
  jobName: string;
45
- params?: any[];
45
+ params?: any;
46
46
  at?: number;
47
47
  interval?: JobInterval;
48
48
  cron?: string;
package/dist/job/job.d.ts CHANGED
@@ -3,5 +3,5 @@ import { CustomJobInfo } from "./interfaces";
3
3
  export declare abstract class AbstractJob extends AbstractModel implements CustomJobInfo {
4
4
  jobName: string;
5
5
  at: number;
6
- params?: any[];
6
+ params?: any;
7
7
  }
package/dist/job/job.js CHANGED
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { AbstractModel, Column, DataType } from "@clairejs/core";
10
+ import { AbstractModel, Column } from "@clairejs/core";
11
11
  export class AbstractJob extends AbstractModel {
12
12
  jobName;
13
13
  at;
@@ -31,7 +31,6 @@ __decorate([
31
31
  __decorate([
32
32
  Column({
33
33
  description: "The associated params with this job",
34
- vectorProps: { elementDataType: DataType.OBJECT },
35
34
  }),
36
- __metadata("design:type", Array)
35
+ __metadata("design:type", Object)
37
36
  ], AbstractJob.prototype, "params", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clairejs/server",
3
- "version": "3.16.16",
3
+ "version": "3.16.17",
4
4
  "description": "Claire server NodeJs framework written in Typescript.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",