@midwayjs/tablestore 2.13.2 → 2.14.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.
- package/CHANGELOG.md +30 -0
- package/README.md +1 -1
- package/dist/interface.d.ts +6 -6
- package/dist/interface.js +7 -6
- package/package.json +4 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [2.14.0](https://github.com/midwayjs/midway/compare/v2.13.5...v2.14.0) (2021-12-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* express routing middleware takes effect at the controller level ([#1364](https://github.com/midwayjs/midway/issues/1364)) ([5d5f299](https://github.com/midwayjs/midway/commit/5d5f2992be116ca71b21f01fd782e3a2ac072496))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.13.4](https://github.com/midwayjs/midway/compare/v2.13.3...v2.13.4) (2021-10-21)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @midwayjs/tablestore
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [2.13.3](https://github.com/midwayjs/midway/compare/v2.13.2...v2.13.3) (2021-09-28)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* add tablestore component and typescript definition ([#1302](https://github.com/midwayjs/midway/issues/1302)) ([094b027](https://github.com/midwayjs/midway/commit/094b0277ff0fed969d438e85b62cf99e06b024c3))
|
package/README.md
CHANGED
package/dist/interface.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ export declare type PrimaryKey = {
|
|
|
13
13
|
* metadata
|
|
14
14
|
*/
|
|
15
15
|
export declare enum RowExistenceExpectation {
|
|
16
|
-
IGNORE =
|
|
17
|
-
EXPECT_EXIST =
|
|
18
|
-
EXPECT_NOT_EXIST =
|
|
16
|
+
IGNORE = 0,
|
|
17
|
+
EXPECT_EXIST = 1,
|
|
18
|
+
EXPECT_NOT_EXIST = 2
|
|
19
19
|
}
|
|
20
20
|
export declare enum Direction {
|
|
21
21
|
FORWARD = "FORWARD",
|
|
@@ -54,9 +54,9 @@ export declare enum IndexType {
|
|
|
54
54
|
IT_GLOBAL_INDEX = 0,
|
|
55
55
|
IT_LOCAL_INDEX = 1
|
|
56
56
|
}
|
|
57
|
-
export declare const INF_MIN:
|
|
58
|
-
export declare const INF_MAX:
|
|
59
|
-
export declare const PK_AUTO_INCR:
|
|
57
|
+
export declare const INF_MIN: any;
|
|
58
|
+
export declare const INF_MAX: any;
|
|
59
|
+
export declare const PK_AUTO_INCR: any;
|
|
60
60
|
/**
|
|
61
61
|
* search
|
|
62
62
|
*
|
package/dist/interface.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ComparatorType = exports.ColumnConditionType = exports.LogicalOperator = exports.FilterType = exports.QueryOperator = exports.IndexOptions = exports.GeoDistanceType = exports.ColumnReturnType = exports.FieldType = exports.SortMode = exports.SortOrder = exports.ScoreMode = exports.QueryType = exports.PK_AUTO_INCR = exports.INF_MAX = exports.INF_MIN = exports.IndexType = exports.IndexUpdateMode = exports.PrimaryKeyOption = exports.PrimaryKeyType = exports.DefinedColumnType = exports.ReturnType = exports.UpdateType = exports.Direction = exports.RowExistenceExpectation = void 0;
|
|
4
|
+
const TableStore = require("tablestore");
|
|
4
5
|
/**
|
|
5
6
|
* metadata
|
|
6
7
|
*/
|
|
7
8
|
var RowExistenceExpectation;
|
|
8
9
|
(function (RowExistenceExpectation) {
|
|
9
|
-
RowExistenceExpectation["IGNORE"] = "IGNORE";
|
|
10
|
-
RowExistenceExpectation["EXPECT_EXIST"] = "EXPECT_EXIST";
|
|
11
|
-
RowExistenceExpectation["EXPECT_NOT_EXIST"] = "EXPECT_NOT_EXIST";
|
|
10
|
+
RowExistenceExpectation[RowExistenceExpectation["IGNORE"] = 0] = "IGNORE";
|
|
11
|
+
RowExistenceExpectation[RowExistenceExpectation["EXPECT_EXIST"] = 1] = "EXPECT_EXIST";
|
|
12
|
+
RowExistenceExpectation[RowExistenceExpectation["EXPECT_NOT_EXIST"] = 2] = "EXPECT_NOT_EXIST";
|
|
12
13
|
})(RowExistenceExpectation = exports.RowExistenceExpectation || (exports.RowExistenceExpectation = {}));
|
|
13
14
|
var Direction;
|
|
14
15
|
(function (Direction) {
|
|
@@ -55,9 +56,9 @@ var IndexType;
|
|
|
55
56
|
IndexType[IndexType["IT_GLOBAL_INDEX"] = 0] = "IT_GLOBAL_INDEX";
|
|
56
57
|
IndexType[IndexType["IT_LOCAL_INDEX"] = 1] = "IT_LOCAL_INDEX";
|
|
57
58
|
})(IndexType = exports.IndexType || (exports.IndexType = {}));
|
|
58
|
-
exports.INF_MIN =
|
|
59
|
-
exports.INF_MAX =
|
|
60
|
-
exports.PK_AUTO_INCR =
|
|
59
|
+
exports.INF_MIN = TableStore.INF_MIN;
|
|
60
|
+
exports.INF_MAX = TableStore.INF_MAX;
|
|
61
|
+
exports.PK_AUTO_INCR = TableStore.PK_AUTO_INCR;
|
|
61
62
|
/**
|
|
62
63
|
* search
|
|
63
64
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/tablestore",
|
|
3
3
|
"description": "midway tablestore component",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.14.1",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"dist/**/*.d.ts"
|
|
10
10
|
],
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@midwayjs/core": "^2.
|
|
13
|
-
"@midwayjs/decorator": "^2.
|
|
14
|
-
"@midwayjs/mock": "^2.
|
|
12
|
+
"@midwayjs/core": "^2.14.0",
|
|
13
|
+
"@midwayjs/decorator": "^2.14.0",
|
|
14
|
+
"@midwayjs/mock": "^2.14.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"tablestore": "^5.0.6"
|