@manycore/custom-sdk 1.10.1 → 1.11.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/index.d.ts +32 -0
- package/index.js +21 -21
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1497,6 +1497,25 @@ export declare class FittingDesignService extends BaseService {
|
|
|
1497
1497
|
*/
|
|
1498
1498
|
export declare type IModelHintOption = Record<string, IHintPlank>;
|
|
1499
1499
|
|
|
1500
|
+
export declare interface IModelValidateResult {
|
|
1501
|
+
/**
|
|
1502
|
+
* 元件总数量
|
|
1503
|
+
*/
|
|
1504
|
+
total: number;
|
|
1505
|
+
/**
|
|
1506
|
+
* 验证不通过的总数量
|
|
1507
|
+
*/
|
|
1508
|
+
invalidateTotal: number;
|
|
1509
|
+
/**
|
|
1510
|
+
* 是否验证通过
|
|
1511
|
+
*/
|
|
1512
|
+
validate: boolean;
|
|
1513
|
+
/**
|
|
1514
|
+
* 验证不通过的元件ID列表
|
|
1515
|
+
*/
|
|
1516
|
+
invalidateList: string[];
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1500
1519
|
/**
|
|
1501
1520
|
* 获取交接信息
|
|
1502
1521
|
*
|
|
@@ -2694,6 +2713,19 @@ export declare class FittingDesignService extends BaseService {
|
|
|
2694
2713
|
getParamModelPhotoById(modelId: string | string[]): Promise<IParamModelPhotoResponse[]>;
|
|
2695
2714
|
}
|
|
2696
2715
|
|
|
2716
|
+
/**
|
|
2717
|
+
* 模型检测服务
|
|
2718
|
+
*/
|
|
2719
|
+
export declare class ModelValidateService extends BaseService {
|
|
2720
|
+
/**
|
|
2721
|
+
* 检测当前展示模型的元件ID是否稳定
|
|
2722
|
+
* @param option
|
|
2723
|
+
*/
|
|
2724
|
+
stable(option: {
|
|
2725
|
+
modelId: string;
|
|
2726
|
+
}): Promise<IModelValidateResult | undefined>;
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2697
2729
|
/**
|
|
2698
2730
|
* 主要是用来与场景交互的,监听当前选中的对象, 获取选中的内容
|
|
2699
2731
|
*
|