semanticdb-core 1.1.16 → 1.1.17
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.
|
@@ -84,6 +84,8 @@ export interface PropertyTypeDraft {
|
|
|
84
84
|
recommend_kpis?: any[];
|
|
85
85
|
quantifier?: string;
|
|
86
86
|
quantifiers?: Record<string, number>;
|
|
87
|
+
prompt?: string;
|
|
88
|
+
is_analyzable?: boolean;
|
|
87
89
|
}
|
|
88
90
|
export interface PropertyType extends Omit<PropertyTypeDraft, '_sid' | '_id' | 'constraints' | 'primal_type' | 'ui'>, Required<Pick<PropertyTypeDraft, '_sid' | '_id' | 'constraints' | 'primal_type' | 'ui'>> {
|
|
89
91
|
schemaID?: string;
|
|
@@ -38,6 +38,8 @@ const getDrilldownDimensions = (schema, schemasDict, logicform) => __awaiter(voi
|
|
|
38
38
|
let drilldownProps = [];
|
|
39
39
|
// 一个递归函数
|
|
40
40
|
const addToArrayWithProperty = (property, prefix, schema) => {
|
|
41
|
+
if (property.is_analyzable === false)
|
|
42
|
+
return;
|
|
41
43
|
const pushToPropNames = (propertyName, level, prefix, schema) => {
|
|
42
44
|
const groupbyItem = {
|
|
43
45
|
_id: prefix ? `${prefix}_${propertyName}` : propertyName,
|