@share-crm/sharedev-cli 0.0.4-rc.52 → 0.0.4-rc.53
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/dist/sharedev.js +8 -7
- package/package.json +1 -1
package/dist/sharedev.js
CHANGED
|
@@ -9045,7 +9045,7 @@ Examples:
|
|
|
9045
9045
|
};
|
|
9046
9046
|
await (0, apl_command_ts_1.aplCreateCommand)(context, resolvedOptions);
|
|
9047
9047
|
}));
|
|
9048
|
-
// ===== 操作中心动作:code-dev
|
|
9048
|
+
// ===== 操作中心动作:code-dev apl(启用或停用函数 set-active / 查询函数执行日志 list-execution-logs / 查询函数执行日志详情 get-execution-log) =====
|
|
9049
9049
|
apl.command('set-active <apiName>')
|
|
9050
9050
|
.description('[operation-center] 启用或停用函数 / Enable or disable a remote APL function by api name')
|
|
9051
9051
|
.requiredOption('--is_active <boolean>', 'Target active state: true or false')
|
|
@@ -16491,10 +16491,11 @@ const SHARE_CLI_COMMAND_PATH_MAP = {
|
|
|
16491
16491
|
aplFind: ['code-dev', 'apl', 'get-by-apiname-and-binding-object-apiname'],
|
|
16492
16492
|
aplBatchQuery: ['code-dev', 'apl', 'query-by-apinames'],
|
|
16493
16493
|
aplList: ['code-dev', 'apl', 'list'],
|
|
16494
|
-
// ===== function
|
|
16495
|
-
|
|
16496
|
-
|
|
16497
|
-
|
|
16494
|
+
// ===== function 类 action(函数启用/停用 + 执行日志)=====
|
|
16495
|
+
// 2026-10-23 双环境(112 / fxiaoke)实测:函数类 action 统一挂在 `code-dev apl` 下,`code-dev function` 命名空间均未注册
|
|
16496
|
+
functionSetActive: ['code-dev', 'apl', 'set-active'],
|
|
16497
|
+
functionListExecutionLogs: ['code-dev', 'apl', 'list-execution-logs'],
|
|
16498
|
+
functionGetExecutionLog: ['code-dev', 'apl', 'get-execution-log'],
|
|
16498
16499
|
},
|
|
16499
16500
|
};
|
|
16500
16501
|
function getShareCliCommandPath(namespace, key) {
|
|
@@ -50636,8 +50637,8 @@ async function readCliPackageMeta() {
|
|
|
50636
50637
|
? "@share-crm/sharedev-cli".trim()
|
|
50637
50638
|
: '@share-crm/sharedev-cli';
|
|
50638
50639
|
const debugEnabled = true && Boolean(false);
|
|
50639
|
-
const rawVersion = ( true && "0.0.4-rc.
|
|
50640
|
-
? "0.0.4-rc.
|
|
50640
|
+
const rawVersion = ( true && "0.0.4-rc.53".trim())
|
|
50641
|
+
? "0.0.4-rc.53".trim()
|
|
50641
50642
|
: '0.0.0';
|
|
50642
50643
|
const version = rawVersion + (debugEnabled ? '-debug' : '');
|
|
50643
50644
|
return { name, version };
|