@cyklang/cli 0.15.3 → 0.15.5
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/build/index.js +1 -1
- package/package.json +2 -2
- package/src/AssetCommand.ts +1 -1
- package/src/DBClient.ts +1 -1
- package/src/index.ts +1 -1
package/build/index.js
CHANGED
|
@@ -182,7 +182,7 @@ class StopCommand extends commander_1.Command {
|
|
|
182
182
|
*/
|
|
183
183
|
const program = new commander_1.Command();
|
|
184
184
|
program.name('cyk').description('cyklang CLI')
|
|
185
|
-
.version('0.15.
|
|
185
|
+
.version('0.15.5');
|
|
186
186
|
program.addCommand(new StartCommand('start'));
|
|
187
187
|
program.addCommand(new StopCommand('stop'));
|
|
188
188
|
program.addCommand(new InstallCommand_1.InstallCommand('install'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyklang/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.5",
|
|
4
4
|
"description": "cyklang CLI",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"author": "",
|
|
20
20
|
"license": "ISC",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@cyklang/core": "^0.
|
|
22
|
+
"@cyklang/core": "^0.24.0",
|
|
23
23
|
"commander": "^9.4.0",
|
|
24
24
|
"dotenv": "^16.0.1",
|
|
25
25
|
"form-data": "^4.0.0",
|
package/src/AssetCommand.ts
CHANGED
|
@@ -26,7 +26,7 @@ const scanAssets = async (dbManager: DBManager | undefined, dest?: string): Prom
|
|
|
26
26
|
dbReq.selectFromTable = 'cyk_asset'
|
|
27
27
|
const pFields = dbReq.parameters.addVariable('fields', dbManager.scope.structure.stringDataType)
|
|
28
28
|
pFields.data = new PrimitiveData(dbManager.scope.structure.stringDataType, "asset_id,asset_route,asset_last_update,asset_mimetype")
|
|
29
|
-
const objResult = await dbManager.dbExecute(dbReq)
|
|
29
|
+
const objResult = await dbManager.dbExecute(dbReq) as ObjectData
|
|
30
30
|
if (!objResult) throw 'objResult undefined'
|
|
31
31
|
const rows = (objResult.variables.getData('resultset') as ObjectData).variables
|
|
32
32
|
for (let ind = 0; ind < rows.length(); ind++) {
|
package/src/DBClient.ts
CHANGED
|
@@ -79,7 +79,7 @@ export class DBClient {
|
|
|
79
79
|
// })
|
|
80
80
|
// }
|
|
81
81
|
|
|
82
|
-
const objResult = await this.dbManager.dbExecute(request)
|
|
82
|
+
const objResult = await this.dbManager.dbExecute(request) as ObjectData
|
|
83
83
|
if (!objResult) throw 'objResult undefined'
|
|
84
84
|
const metaObject = (objResult.variables.getData('meta')) as ObjectData
|
|
85
85
|
if (metaObject === undefined) throw 'objectMeta not found'
|
package/src/index.ts
CHANGED
|
@@ -176,7 +176,7 @@ class StopCommand extends Command {
|
|
|
176
176
|
*/
|
|
177
177
|
const program = new Command()
|
|
178
178
|
program.name('cyk').description('cyklang CLI')
|
|
179
|
-
.version('0.15.
|
|
179
|
+
.version('0.15.5')
|
|
180
180
|
program.addCommand(new StartCommand('start'))
|
|
181
181
|
program.addCommand(new StopCommand('stop'))
|
|
182
182
|
program.addCommand(new InstallCommand('install'))
|