@plolink/sdk 0.0.12 → 2.0.0
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.
|
@@ -39,8 +39,10 @@ type QuestionType = 'single_choice' | 'multiple_choice' | 'text' | 'scale' | 'ma
|
|
|
39
39
|
interface QuestionDependency {
|
|
40
40
|
/** 依赖的题目代码 */
|
|
41
41
|
questionCode: string;
|
|
42
|
-
/**
|
|
43
|
-
|
|
42
|
+
/** 操作符类型 */
|
|
43
|
+
operator: 'equals' | 'not_equals' | 'in' | 'not_in';
|
|
44
|
+
/** 比较值(equals/not_equals: 原始值, in/not_in: 数组) */
|
|
45
|
+
value: string | number | boolean | (string | number | boolean)[];
|
|
44
46
|
}
|
|
45
47
|
/**
|
|
46
48
|
* 题目选项
|
|
@@ -39,8 +39,10 @@ type QuestionType = 'single_choice' | 'multiple_choice' | 'text' | 'scale' | 'ma
|
|
|
39
39
|
interface QuestionDependency {
|
|
40
40
|
/** 依赖的题目代码 */
|
|
41
41
|
questionCode: string;
|
|
42
|
-
/**
|
|
43
|
-
|
|
42
|
+
/** 操作符类型 */
|
|
43
|
+
operator: 'equals' | 'not_equals' | 'in' | 'not_in';
|
|
44
|
+
/** 比较值(equals/not_equals: 原始值, in/not_in: 数组) */
|
|
45
|
+
value: string | number | boolean | (string | number | boolean)[];
|
|
44
46
|
}
|
|
45
47
|
/**
|
|
46
48
|
* 题目选项
|