@cinerino/sdk 10.21.0-alpha.27 → 10.21.0-alpha.29
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.
|
@@ -9,13 +9,9 @@ export declare class TaskService extends Service<IOptions> {
|
|
|
9
9
|
* タスク作成
|
|
10
10
|
*/
|
|
11
11
|
create(params: factory.task.IAttributes<factory.taskName>): Promise<Pick<factory.task.ITask<factory.taskName>, 'id'>>;
|
|
12
|
-
|
|
13
|
-
* タスク取得
|
|
14
|
-
*/
|
|
15
|
-
findById<T extends factory.taskName>(params: {
|
|
16
|
-
name: T;
|
|
12
|
+
retryForciblyIfAborted(params: {
|
|
17
13
|
id: string;
|
|
18
|
-
}): Promise<
|
|
14
|
+
}): Promise<void>;
|
|
19
15
|
/**
|
|
20
16
|
* タスク検索
|
|
21
17
|
*/
|
|
@@ -81,21 +81,20 @@ var TaskService = /** @class */ (function (_super) {
|
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
|
-
|
|
85
|
-
* タスク取得
|
|
86
|
-
*/
|
|
87
|
-
TaskService.prototype.findById = function (params) {
|
|
84
|
+
TaskService.prototype.retryForciblyIfAborted = function (params) {
|
|
88
85
|
return __awaiter(this, void 0, void 0, function () {
|
|
89
|
-
var _this = this;
|
|
90
86
|
return __generator(this, function (_a) {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
87
|
+
switch (_a.label) {
|
|
88
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
89
|
+
uri: "/tasks/" + params.id + "/retryForciblyIfAborted",
|
|
90
|
+
method: 'PUT',
|
|
91
|
+
body: params,
|
|
92
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
93
|
+
})];
|
|
94
|
+
case 1:
|
|
95
|
+
_a.sent();
|
|
96
|
+
return [2 /*return*/];
|
|
97
|
+
}
|
|
99
98
|
});
|
|
100
99
|
});
|
|
101
100
|
};
|
package/lib/bundle.js
CHANGED
|
@@ -12793,21 +12793,20 @@ var TaskService = /** @class */ (function (_super) {
|
|
|
12793
12793
|
});
|
|
12794
12794
|
});
|
|
12795
12795
|
};
|
|
12796
|
-
|
|
12797
|
-
* タスク取得
|
|
12798
|
-
*/
|
|
12799
|
-
TaskService.prototype.findById = function (params) {
|
|
12796
|
+
TaskService.prototype.retryForciblyIfAborted = function (params) {
|
|
12800
12797
|
return __awaiter(this, void 0, void 0, function () {
|
|
12801
|
-
var _this = this;
|
|
12802
12798
|
return __generator(this, function (_a) {
|
|
12803
|
-
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
|
|
12799
|
+
switch (_a.label) {
|
|
12800
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
12801
|
+
uri: "/tasks/" + params.id + "/retryForciblyIfAborted",
|
|
12802
|
+
method: 'PUT',
|
|
12803
|
+
body: params,
|
|
12804
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
12805
|
+
})];
|
|
12806
|
+
case 1:
|
|
12807
|
+
_a.sent();
|
|
12808
|
+
return [2 /*return*/];
|
|
12809
|
+
}
|
|
12811
12810
|
});
|
|
12812
12811
|
});
|
|
12813
12812
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "10.21.0-alpha.
|
|
3
|
+
"version": "10.21.0-alpha.29",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"watchify": "^3.11.1"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@chevre/factory": "4.393.0-alpha.
|
|
95
|
+
"@chevre/factory": "4.393.0-alpha.45",
|
|
96
96
|
"debug": "3.2.7",
|
|
97
97
|
"http-status": "1.7.4",
|
|
98
98
|
"idtoken-verifier": "2.0.3",
|