@manycore/custom-sdk 3.0.6 → 3.0.7
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/index.d.ts +2 -0
- package/index.js +3 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ export declare class CustomModelService extends BaseService {
|
|
|
229
229
|
getAllCustomModels(): Promise<IParamModelLite[]>;
|
|
230
230
|
/**
|
|
231
231
|
* 根据id获取指定模型
|
|
232
|
+
* @warning 数据来源于当前拆单环境的模型数据,和设计工具模型数据不一定同步,请谨慎使用
|
|
232
233
|
* @param id 模型id
|
|
233
234
|
* @returns Promise<IParamModelLite | undefined>
|
|
234
235
|
*/
|
|
@@ -242,6 +243,7 @@ export declare class CustomModelService extends BaseService {
|
|
|
242
243
|
* // 保存模型改动
|
|
243
244
|
* ModelService.save({ models: [model] }});
|
|
244
245
|
* ```
|
|
246
|
+
* @warning 保存的模型改动仅生效于拆单环境的模型,请谨慎使用
|
|
245
247
|
* @param option
|
|
246
248
|
* @returns Promise<void>
|
|
247
249
|
*/
|