ts-redis-orm
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -39,3 +39,3 @@ /// <reference types="ioredis" /> | ||
set createdAt(value: Date); | ||
setTable(table: string): void; | ||
setTable(table: string): this; | ||
getTable(): string; | ||
@@ -42,0 +42,0 @@ getEntityId(): string; |
@@ -207,2 +207,3 @@ "use strict"; | ||
this._tableName = redisOrm_1.redisOrm.getTablePrefix(this.constructor) + table; | ||
return this; | ||
} | ||
@@ -209,0 +210,0 @@ getTable() { |
{ | ||
"name": "ts-redis-orm", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A full functional Redis Orm library written in Typescript.", | ||
@@ -8,20 +8,20 @@ "main": "build/index.js", | ||
"scripts": { | ||
"test": "mocha --exit --timeout 10000 -r ts-node/register tests/*.ts", | ||
"test:coverage": "nyc --reporter=json --reporter=text mocha --exit -r ts-node/register tests/*.ts", | ||
"test:general": "mocha --exit --timeout 10000 -r ts-node/register tests/general.test.ts", | ||
"test:speed": "mocha --exit --timeout 10000 -r ts-node/register tests/speed.test.ts", | ||
"test:query": "mocha --exit --timeout 10000 -r ts-node/register tests/query.test.ts", | ||
"test:unique": "mocha --exit --timeout 10000 -r ts-node/register tests/unique.test.ts", | ||
"test:connectError": "mocha --exit --timeout 10000 -r ts-node/register tests/connectError.test.ts", | ||
"test:schema": "mocha --exit --timeout 10000 -r ts-node/register tests/schema.test.ts", | ||
"test:export": "mocha --exit --timeout 10000 -r ts-node/register tests/export.test.ts", | ||
"test:decorator": "mocha --exit --timeout 10000 -r ts-node/register tests/decorator.test.ts", | ||
"test:rank": "mocha --exit --timeout 10000 -r ts-node/register tests/rank.test.ts", | ||
"test:tables": "mocha --exit --timeout 10000 -r ts-node/register tests/tables.test.ts", | ||
"test": "mocha tests/*.ts", | ||
"test:coverage": "nyc --reporter=json --reporter=text mocha tests/*.ts", | ||
"test:general": "mocha tests/general.test.ts", | ||
"test:speed": "mocha tests/speed.test.ts", | ||
"test:query": "mocha tests/query.test.ts", | ||
"test:unique": "mocha tests/unique.test.ts", | ||
"test:connectError": "mocha tests/connectError.test.ts", | ||
"test:schema": "mocha tests/schema.test.ts", | ||
"test:export": "mocha tests/export.test.ts", | ||
"test:decorator": "mocha tests/decorator.test.ts", | ||
"test:rank": "mocha tests/rank.test.ts", | ||
"test:tables": "mocha tests/tables.test.ts", | ||
"patch": "npm version patch", | ||
"build": "tsc" | ||
"build": "tsc --build --clean && tsc" | ||
}, | ||
"dependencies": { | ||
"@types/ioredis": "^4.17.2", | ||
"ioredis": "^4.17.3", | ||
"@types/ioredis": "^4.17.8", | ||
"ioredis": "^4.19.2", | ||
"reflect-metadata": "^0.1.13" | ||
@@ -28,0 +28,0 @@ }, |
@@ -6,3 +6,2 @@ # Redis ORM (Typescript) | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![David deps][david-image]][david-url] | ||
@@ -15,4 +14,2 @@ [npm-image]: https://img.shields.io/npm/v/ts-redis-orm.svg | ||
[codecov-url]: https://codecov.io/gh/terence410/ts-redis-orm | ||
[david-image]: https://img.shields.io/david/terence410/ts-redis-orm.svg?style=flat-square | ||
[david-url]: https://david-dm.org/terence410/ts-redis-orm | ||
@@ -19,0 +16,0 @@ [ts-redis-orm](https://www.npmjs.com/package/ts-redis-orm) targets to provide relational DB features to Redis Lover. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47
2470
149230
299
Updated@types/ioredis@^4.17.8
Updatedioredis@^4.19.2