@choiceform/os-client-core 3.6.70 → 3.6.71
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/changelog.md +7 -0
- package/dist/core.js +1 -1
- package/dist/web-core.js +1 -1
- package/index.d.ts +46 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -1911,6 +1911,11 @@ interface CCIResult {
|
|
1911
1911
|
* 后台发请求的时候所需要的参数
|
1912
1912
|
*/
|
1913
1913
|
backend_request_params: SignStrStr;
|
1914
|
+
|
1915
|
+
/**
|
1916
|
+
* 唯一性验证相关参数
|
1917
|
+
*/
|
1918
|
+
verification_params?: Record<string, string>;
|
1914
1919
|
}
|
1915
1920
|
|
1916
1921
|
|
@@ -2133,6 +2138,10 @@ interface CCISurveyPayload {
|
|
2133
2138
|
* 预设样式
|
2134
2139
|
*/
|
2135
2140
|
presetRichStyles?: CFPDPresetRichStyle[];
|
2141
|
+
/**
|
2142
|
+
* 唯一性验证配置
|
2143
|
+
*/
|
2144
|
+
uniquenessVerification: CFPDUniquenessVerificationConfig;
|
2136
2145
|
}
|
2137
2146
|
|
2138
2147
|
|
@@ -2176,6 +2185,20 @@ interface CCIValidateResult extends CCIRequestResult {
|
|
2176
2185
|
dueToOption?: CCOption;
|
2177
2186
|
}
|
2178
2187
|
|
2188
|
+
interface RequestArbitraryParams {
|
2189
|
+
state: CCSurveyState;
|
2190
|
+
request: CFPDRequest;
|
2191
|
+
customParam: SignStrStr;
|
2192
|
+
/**
|
2193
|
+
* silent 如果为true,则发生错误后不会报告出来
|
2194
|
+
*/
|
2195
|
+
silent: boolean;
|
2196
|
+
/**
|
2197
|
+
* 是否调用 combineSystemData 附加系统请求参数
|
2198
|
+
*/
|
2199
|
+
shouldCombineSystem?: boolean;
|
2200
|
+
}
|
2201
|
+
|
2179
2202
|
|
2180
2203
|
// -------------- types/outer/global.d.ts ---------------
|
2181
2204
|
|
@@ -3709,6 +3732,14 @@ interface CCLogicNode extends CCBNode {
|
|
3709
3732
|
logicResult: boolean;
|
3710
3733
|
}
|
3711
3734
|
|
3735
|
+
/**
|
3736
|
+
* 虚拟唯一性验证题
|
3737
|
+
*/
|
3738
|
+
interface CCUniquenessVerificationNode extends CCBNode {
|
3739
|
+
origin: CFPDUniquenessVerificationNode;
|
3740
|
+
verificationResult: boolean;
|
3741
|
+
}
|
3742
|
+
|
3712
3743
|
|
3713
3744
|
// -------------- types/outer/node/upload.d.ts ---------------
|
3714
3745
|
|
@@ -4455,6 +4486,7 @@ interface CCISurveyMeta {
|
|
4455
4486
|
langs: CCIemoteLang[];
|
4456
4487
|
published_at: string;
|
4457
4488
|
start_auto?: boolean | null;
|
4489
|
+
verify_uniqueness_uri?: CCUniquenessUri | null;
|
4458
4490
|
}
|
4459
4491
|
|
4460
4492
|
/**
|
@@ -4480,6 +4512,7 @@ interface CCIParsedStartMeta extends CCIVarRelatedDependency {
|
|
4480
4512
|
disabledLangs: string[];
|
4481
4513
|
publishedAt: string;
|
4482
4514
|
presetRichStyles: CFPDPresetRichStyle[];
|
4515
|
+
uniquenessVerification?: CFPDUniquenessVerificationConfig;
|
4483
4516
|
}
|
4484
4517
|
|
4485
4518
|
/**
|
@@ -4538,6 +4571,11 @@ interface CCICollector {
|
|
4538
4571
|
sampler_config: { [key in DATA_TRANSFER_NAME]: string };
|
4539
4572
|
}
|
4540
4573
|
|
4574
|
+
interface CCUniquenessUri {
|
4575
|
+
method: REQ_TYPE.GET | REQ_TYPE.POST;
|
4576
|
+
url: string;
|
4577
|
+
}
|
4578
|
+
|
4541
4579
|
/**
|
4542
4580
|
* @ignore
|
4543
4581
|
*/
|
@@ -5583,6 +5621,14 @@ interface CCSurveyState extends CCCTranMiniState, CCIStartMiniState, CCMiniState
|
|
5583
5621
|
* 这个的优先级比 nodes 的要高
|
5584
5622
|
*/
|
5585
5623
|
groupTable?: CCSinglePageGroupTable;
|
5624
|
+
/**
|
5625
|
+
* 唯一性验证服务真正的请求地址和方法
|
5626
|
+
*/
|
5627
|
+
verifyUniquenessUri?: CCUniquenessUri | null;
|
5628
|
+
/**
|
5629
|
+
* 唯一性验证配置
|
5630
|
+
*/
|
5631
|
+
uniquenessVerification?: CFPDUniquenessVerificationConfig;
|
5586
5632
|
}
|
5587
5633
|
|
5588
5634
|
|