diff --git a/build-tools/dts_parser/src/bin/config.ts b/build-tools/dts_parser/src/bin/config.ts index cc947d2db1ab7e0046d76af25935334b7d13aac2..f1525e1008727badbe02ff1c3ee2ba799cfaa103 100644 --- a/build-tools/dts_parser/src/bin/config.ts +++ b/build-tools/dts_parser/src/bin/config.ts @@ -210,7 +210,7 @@ function collectApi(options: optionObjType): toolNameValueType { return { data: options.format === 'excel' ? - ApiStatisticsHelper.getApiStatisticsInfos(allApis).apiStatisticsInfos : + ApiStatisticsHelper.getApiStatisticsInfos(allApis).apiStatisticsInfos : [fileContent], callback: collectApiCallback, }; @@ -238,11 +238,13 @@ function collectApiCallback(apiData: ApiStatisticsInfo[], sheet: ExcelJS.Workshe '起始版本', '废弃版本', 'syscap', + '错误码', '是否为系统API', '模型限制', '权限', '是否支持跨平台', '是否支持卡片应用', + '是否为高阶API', '装饰器', '文件路径', '子系统', @@ -263,11 +265,13 @@ function collectApiCallback(apiData: ApiStatisticsInfo[], sheet: ExcelJS.Workshe apiInfo.getSince() === '-1' ? '' : apiInfo.getSince(), apiInfo.getDeprecatedVersion() === '-1' ? '' : apiInfo.getDeprecatedVersion(), apiInfo.getSyscap(), + apiInfo.getErrorCodes().join() === '-1' ? '' : apiInfo.getErrorCodes().join(), apiInfo.getApiLevel(), apiInfo.getModelLimitation(), apiInfo.getPermission(), apiInfo.getIsCrossPlatForm(), apiInfo.getIsForm(), + apiInfo.getIsAutomicService(), apiInfo.getDecorators()?.join(), apiInfo.getFilePath(), subsystemMap.get(FunctionUtils.handleSyscap(apiInfo.getSyscap())), diff --git a/build-tools/dts_parser/src/coreImpl/parser/JsDocProcessor.ts b/build-tools/dts_parser/src/coreImpl/parser/JsDocProcessor.ts index 9572d021b4844c8cb9512b1877c97c88cc624181..1e394c4fe0ad219f3d237d807fc723f011958158 100644 --- a/build-tools/dts_parser/src/coreImpl/parser/JsDocProcessor.ts +++ b/build-tools/dts_parser/src/coreImpl/parser/JsDocProcessor.ts @@ -137,6 +137,10 @@ export class JsDocProcessorHelper { jsDocInfo.setIsSystemApi(true); } + static setIsAtomicService(jsDocInfo: Comment.JsDocInfo): void { + jsDocInfo.setIsAtomicService(true); + } + static setDeprecatedVersion(jsDocInfo: Comment.JsDocInfo, commentTag: Comment.CommentTag): void { jsDocInfo.setDeprecatedVersion(commentTag.description); } @@ -229,4 +233,5 @@ const jsDocProcessorMap: Map = new Map( [Comment.JsDocTag.PERMISSION, JsDocProcessorHelper.setPermission], [Comment.JsDocTag.THROWS, JsDocProcessorHelper.addErrorCode], [Comment.JsDocTag.CONSTANT, JsDocProcessorHelper.setIsConstant], + [Comment.JsDocTag.ATOMIC_SERVICE, JsDocProcessorHelper.setIsAtomicService], ]); diff --git a/build-tools/dts_parser/src/coreImpl/statistics/Statistics.ts b/build-tools/dts_parser/src/coreImpl/statistics/Statistics.ts index 441d0ebe28cabfc104bec68eaac7fc10a2a96e5a..f586929ca30431327cf7cfafa47f805a4c0f3c8e 100644 --- a/build-tools/dts_parser/src/coreImpl/statistics/Statistics.ts +++ b/build-tools/dts_parser/src/coreImpl/statistics/Statistics.ts @@ -225,7 +225,9 @@ export class ApiStatisticsHelper { ) .setUseInstead(jsDocInfo.getUseinstead()) .setApiLevel(jsDocInfo.getIsSystemApi()) - .setModelLimitation(jsDocInfo.getModelLimitation()); + .setModelLimitation(jsDocInfo.getModelLimitation()) + .setIsAutomicService(jsDocInfo.getIsAtomicService()) + .setErrorCodes(jsDocInfo.getErrorCode()); } else { apiStatisticsInfo.setSyscap(ApiStatisticsHelper.extendSyscap(apiInfo)); } diff --git a/build-tools/dts_parser/src/typedef/parser/Comment.ts b/build-tools/dts_parser/src/typedef/parser/Comment.ts index 9b6909167b47457a196e2b66de854299f5ad75a2..d133f592e62881e17a0289c1472b60f0d78bbf09 100644 --- a/build-tools/dts_parser/src/typedef/parser/Comment.ts +++ b/build-tools/dts_parser/src/typedef/parser/Comment.ts @@ -28,6 +28,7 @@ export namespace Comment { CONSTANT = 'constant', PERMISSION = 'permission', THROWS = 'throws', + ATOMIC_SERVICE = 'atomicservice', } export interface JsDocProcessorInterface { @@ -48,6 +49,7 @@ export namespace Comment { errorCodes: number[] = []; // @throws标签--api的错误码 typeInfo: string = ''; // @type标签--标注的类型信息 isConstant: boolean = false; // @constant标签--标注api为常量 + isAtomicService: boolean = false; //@atomicservice--标注是否为高阶API tags: CommentTag[] | undefined = undefined; constructor() {} @@ -108,6 +110,15 @@ export namespace Comment { return this.isSystemApi; } + setIsAtomicService(isAtomicService: boolean): JsDocInfo { + this.isAtomicService = isAtomicService; + return this; + } + + getIsAtomicService(): boolean { + return this.isAtomicService; + } + setModelLimitation(modelLimitation: string): JsDocInfo { this.modelLimitation = modelLimitation; return this; diff --git a/build-tools/dts_parser/src/typedef/statistics/ApiStatistics.ts b/build-tools/dts_parser/src/typedef/statistics/ApiStatistics.ts index aeb55f79e52c2f50f6b5e5c786f2034769ab649b..a2d78c91223557303619c3d5a568edcb2a569f75 100644 --- a/build-tools/dts_parser/src/typedef/statistics/ApiStatistics.ts +++ b/build-tools/dts_parser/src/typedef/statistics/ApiStatistics.ts @@ -36,6 +36,8 @@ export class ApiStatisticsInfo { isForm: boolean = false; // @crossplatform标签--api是否支持跨平台 isCrossPlatForm: boolean = false; + // @atomicservice标签--是否为高阶API + isAutomicService: boolean = false; hierarchicalRelations: string = ''; apiName: string = ''; deprecatedVersion: string = ''; @@ -46,6 +48,7 @@ export class ApiStatisticsInfo { isSystemapi: boolean = false; modelLimitation: string = ''; decorators: Array | undefined = []; + errorCodes: number[] = []; setFilePath(fileFilePath: string): ApiStatisticsInfo { this.filePath = fileFilePath; this.packageName = FunctionUtils.getPackageName(fileFilePath); @@ -121,6 +124,15 @@ export class ApiStatisticsInfo { return this.isCrossPlatForm; } + setIsAutomicService(isAutomicService: boolean): ApiStatisticsInfo { + this.isAutomicService = isAutomicService; + return this; + } + + getIsAutomicService(): boolean { + return this.isAutomicService; + } + getApiType(): string { return this.apiType; } @@ -207,6 +219,15 @@ export class ApiStatisticsInfo { getDecorators(): Array | undefined { return this.decorators; } + + setErrorCodes(errorCodes: number[]): ApiStatisticsInfo { + this.errorCodes = errorCodes; + return this; + } + + getErrorCodes(): number[] { + return this.errorCodes; + } } /** diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_class_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_class_001.json index cc0cd7b4cf5194915f14ac5c6edf6e8f87d9e4d9..609f86eef03e14302e284709406153a0e2a2d5f8 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_class_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_class_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_class_001.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_001.json index f14f0c40745e20df8310966025c37dc1767790b2..1bdb6f3a8e36b83fa1d10f8b53054518c24748e9 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_constant_in_namespace_001.d.ts/test/CONSTANT", "apiName": "CONSTANT", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_002.json index 69204b12e755b72ccccd59e04ceb9297a49a4e23..5f790bb9f6952a3bedbf1a403f9559e553cfda01 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_namespace_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_constant_in_namespace_002.d.ts/test/CONSTANT", "apiName": "CONSTANT", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_struct.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_struct.json index 90dde9be7014dd038f1e18ddb90bcd4b4070c8b4..45a90c6a64774ddac9d80cbd00fc6559c4dd86ae 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_struct.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_in_struct.json @@ -1,48 +1,52 @@ -[ - { - "filePath": "ut_constant_in_struct.d.ets", - "packageName": "ut_constant_in_struct.d.ets", - "parentModuleName": "global", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_constant_in_struct.d.ets/MyComponent", - "apiName": "MyComponent", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Struct", - "definedText": " struct MyComponent", - "pos": { - "line": 15, - "character": 1 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - }, - { - "filePath": "ut_constant_in_struct.d.ets", - "packageName": "ut_constant_in_struct.d.ets", - "parentModuleName": "MyComponent", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_constant_in_struct.d.ets/MyComponent/CONSTANT", - "apiName": "CONSTANT", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Property", - "definedText": "const CONSTANT: string;", - "pos": { - "line": 16, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_constant_in_struct.d.ets", + "packageName": "ut_constant_in_struct.d.ets", + "parentModuleName": "global", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_constant_in_struct.d.ets/MyComponent", + "apiName": "MyComponent", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Struct", + "definedText": " struct MyComponent", + "pos": { + "line": 15, + "character": 1 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + }, + { + "filePath": "ut_constant_in_struct.d.ets", + "packageName": "ut_constant_in_struct.d.ets", + "parentModuleName": "MyComponent", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_constant_in_struct.d.ets/MyComponent/CONSTANT", + "apiName": "CONSTANT", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Property", + "definedText": "const CONSTANT: string;", + "pos": { + "line": 16, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_003.json index cf049d21f5835d3646a9ad320da569aca64c6eda..567b30bbcccec707604964e39c4689bd2e86d72a 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_003.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_constant_root_003.d.ts/CONSTANT", "apiName": "CONSTANT", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_004.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_004.json index d5469d0b9d0f23e4737a0e5e2600e23da5f1a5c9..e7e40d0884b7c0c22162cbf825b6975e2cd61d67 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_004.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_004.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_constant_root_004.d.ts/CONSTANT", "apiName": "CONSTANT", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_005.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_005.json index 1befc4c8e31559e143ff20628cf50cac8b3b7c97..aa6f1489917eb1eb59ff27e99cb5f493b95a15b1 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_005.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_005.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_constant_root_005.d.ts/CONSTANT", "apiName": "CONSTANT", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_006.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_006.json index f834d043a22bdba7aa85e5639ed0977cc22ec2e2..cbee5f83fd822ee98eaa186ee3db6e42882e42ff 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_006.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_006.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_constant_root_006.d.ts/CONSTANT", "apiName": "CONSTANT", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_007.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_007.json index 397715d04b2983b850c225d0b364a47bc432aa5d..949ef5e8f10c374d95425980ba1f10b24ade4681 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_007.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constant_root_007.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_constant_root_007.d.ts/CONSTANT", "apiName": "CONSTANT", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_constructor_in_class.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_constructor_in_class.json index a9968ff5d3206a213e7a18a79e8c8bdfc621675b..34f60f081ba4f390ee524d20540d511bb933e4f8 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_constructor_in_class.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_constructor_in_class.json @@ -1,25 +1,27 @@ -[ - { - "filePath": "ut_constructor_in_class.d.ts", - "packageName": "ut_constructor_in_class", - "parentModuleName": "testNamespace", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_constructor_in_class.d.ts/testNamespace/TestInterface", - "apiName": "TestInterface", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Class", - "definedText": " class TestInterface", - "pos": { - "line": 2, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_constructor_in_class.d.ts", + "packageName": "ut_constructor_in_class", + "parentModuleName": "testNamespace", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_constructor_in_class.d.ts/testNamespace/TestInterface", + "apiName": "TestInterface", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Class", + "definedText": " class TestInterface", + "pos": { + "line": 2, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_argument.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_argument.json index 13e7c0cffa39fd227c4a34dde40db24d3a68b502..60af440bd673604f1c38e983a61c1fcec0f8db9e 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_argument.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_argument.json @@ -1,52 +1,56 @@ -[ - { - "filePath": "ut_decorator_argument.d.ets", - "packageName": "ut_decorator_argument.d.ets", - "parentModuleName": "global", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_decorator_argument.d.ets/MyComponent", - "apiName": "MyComponent", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Struct", - "definedText": " struct MyComponent", - "pos": { - "line": 15, - "character": 1 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [ - "Component" - ] - }, - { - "filePath": "ut_decorator_argument.d.ets", - "packageName": "ut_decorator_argument.d.ets", - "parentModuleName": "MyComponent", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_decorator_argument.d.ets/MyComponent/count", - "apiName": "count", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Property", - "definedText": "@Provide('a') count: number = 0;", - "pos": { - "line": 17, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [ - "Provide" - ] - } +[ + { + "filePath": "ut_decorator_argument.d.ets", + "packageName": "ut_decorator_argument.d.ets", + "parentModuleName": "global", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_decorator_argument.d.ets/MyComponent", + "apiName": "MyComponent", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Struct", + "definedText": " struct MyComponent", + "pos": { + "line": 15, + "character": 1 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [ + "Component" + ], + "errorCodes": [] + }, + { + "filePath": "ut_decorator_argument.d.ets", + "packageName": "ut_decorator_argument.d.ets", + "parentModuleName": "MyComponent", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_decorator_argument.d.ets/MyComponent/count", + "apiName": "count", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Property", + "definedText": "@Provide('a') count: number = 0;", + "pos": { + "line": 17, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [ + "Provide" + ], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_struct.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_struct.json index 428b30367248cc62b57263ee4ed14703126280a6..5874c871893a8dd13f5380a19359ccb1f474e2fd 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_struct.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_decorator_struct.json @@ -1,27 +1,29 @@ -[ - { - "filePath": "ut_decorator_struct.d.ets", - "packageName": "ut_decorator_struct.d.ets", - "parentModuleName": "global", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_decorator_struct.d.ets/MyComponent", - "apiName": "MyComponent", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Struct", - "definedText": " struct MyComponent", - "pos": { - "line": 15, - "character": 1 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [ - "Component" - ] - } +[ + { + "filePath": "ut_decorator_struct.d.ets", + "packageName": "ut_decorator_struct.d.ets", + "parentModuleName": "global", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_decorator_struct.d.ets/MyComponent", + "apiName": "MyComponent", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Struct", + "definedText": " struct MyComponent", + "pos": { + "line": 15, + "character": 1 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [ + "Component" + ], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_in_namespace.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_in_namespace.json index 3d6666c399ec3014dbae1208f622e7d9a2004510..066740d5ebc8b6e5a62ef327018c336fca71dc88 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_in_namespace.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_in_namespace.json @@ -1,71 +1,77 @@ -[ - { - "filePath": "ut_enum_in_namespace.d.ts", - "packageName": "ut_enum_in_namespace", - "parentModuleName": "Valuable", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_enum_in_namespace.d.ts/Test/Valuable/VALUE_ONE", - "apiName": "VALUE_ONE", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "EnumValue", - "definedText": "VALUE_ONE", - "pos": { - "line": 3, - "character": 5 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - }, - { - "filePath": "ut_enum_in_namespace.d.ts", - "packageName": "ut_enum_in_namespace", - "parentModuleName": "Valuable", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_enum_in_namespace.d.ts/Test/Valuable/VALUE_Two", - "apiName": "VALUE_Two", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "EnumValue", - "definedText": "VALUE_Two = 'testTwo'", - "pos": { - "line": 4, - "character": 5 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - }, - { - "filePath": "ut_enum_in_namespace.d.ts", - "packageName": "ut_enum_in_namespace", - "parentModuleName": "Valuable", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_enum_in_namespace.d.ts/Test/Valuable/VALUE_THREE", - "apiName": "VALUE_THREE", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "EnumValue", - "definedText": "VALUE_THREE = 'testThree'", - "pos": { - "line": 5, - "character": 5 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_enum_in_namespace.d.ts", + "packageName": "ut_enum_in_namespace", + "parentModuleName": "Valuable", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_enum_in_namespace.d.ts/Test/Valuable/VALUE_ONE", + "apiName": "VALUE_ONE", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "EnumValue", + "definedText": "VALUE_ONE", + "pos": { + "line": 3, + "character": 5 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + }, + { + "filePath": "ut_enum_in_namespace.d.ts", + "packageName": "ut_enum_in_namespace", + "parentModuleName": "Valuable", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_enum_in_namespace.d.ts/Test/Valuable/VALUE_Two", + "apiName": "VALUE_Two", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "EnumValue", + "definedText": "VALUE_Two = 'testTwo'", + "pos": { + "line": 4, + "character": 5 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + }, + { + "filePath": "ut_enum_in_namespace.d.ts", + "packageName": "ut_enum_in_namespace", + "parentModuleName": "Valuable", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_enum_in_namespace.d.ts/Test/Valuable/VALUE_THREE", + "apiName": "VALUE_THREE", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "EnumValue", + "definedText": "VALUE_THREE = 'testThree'", + "pos": { + "line": 5, + "character": 5 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_001.json index 4eb060203da5c4fc707d388b02416c78b53d0798..a3a4227eb86c8c315fa5e0b1b7a42d4dd0a416af 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_001.d.ts/NoValue/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_001.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_001.d.ts/NoValue/VALUE_TWO", "apiName": "VALUE_TWO", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_001.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_001.d.ts/NoValue/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_002.json index 9b2cfa2193b450586ca373e4b2d385f242793586..4f74a007bad50f5001ba62a681f6f514aad3395d 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_002.d.ts/NoValue/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_002.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_002.d.ts/NoValue/VALUE_TWO", "apiName": "VALUE_TWO", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_002.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_002.d.ts/NoValue/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_003.json index d8d4a9c5b421adcf257f88b3ace16d972b5ae431..6bef31b65c1eed9191a15a145e9ea4310d30b40b 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_003.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_003.d.ts/NoValue/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_003.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_003.d.ts/NoValue/VALUE_TWO", "apiName": "VALUE_TWO", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_003.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_003.d.ts/NoValue/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_004.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_004.json index 46e84680f103fa34fcc9fc2603799a059c04ae4c..d8e1b021766bb55dedd69da53ad301c002b16d6b 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_004.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_no_value_004.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_004.d.ts/NoValue/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_004.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_004.d.ts/NoValue/VALUE_TWO", "apiName": "VALUE_TWO", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_no_value_004.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_no_value_004.d.ts/NoValue/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_operation_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_operation_001.json index 14d3f21d8d7c9b3881c684c462eeffd81667ba7b..28a567e8f20f2f74e95c24f8bcb1ef0b9da283c0 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_operation_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_operation_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_operation_001.d.ts/Operation/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_operation_001.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_operation_001.d.ts/Operation/VALUE_Two", "apiName": "VALUE_Two", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_operation_001.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_operation_001.d.ts/Operation/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,7 +71,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_operation_001.d.ts", @@ -77,6 +83,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_operation_001.d.ts/Operation/VALUE_FOUR", "apiName": "VALUE_FOUR", "deprecatedVersion": "", @@ -89,7 +96,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_operation_001.d.ts", @@ -100,6 +108,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_operation_001.d.ts/Operation/VALUE_FIVE", "apiName": "VALUE_FIVE", "deprecatedVersion": "", @@ -112,7 +121,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_operation_001.d.ts", @@ -123,6 +133,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_operation_001.d.ts/Operation/VALUE_SIX", "apiName": "VALUE_SIX", "deprecatedVersion": "", @@ -135,7 +146,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_operation_001.d.ts", @@ -146,6 +158,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_operation_001.d.ts/Operation/VALUE_SEVEN", "apiName": "VALUE_SEVEN", "deprecatedVersion": "", @@ -158,6 +171,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_001.json index e3a433a1804ac727df857fec0f5c7a03fd97262b..b42bb16f737d135fe532703439a8da7cb679b079 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_001.d.ts/Valuable/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_valuable_001.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_001.d.ts/Valuable/VALUE_Two", "apiName": "VALUE_Two", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_valuable_001.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_001.d.ts/Valuable/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_002.json index 216dbc901bcf5a4deb982462b30437719a3eadda..ca0582e30c2b7bee2f877a6e4aef428bae15e994 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_002.d.ts/Valuable/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_valuable_002.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_002.d.ts/Valuable/VALUE_Two", "apiName": "VALUE_Two", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_valuable_002.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_002.d.ts/Valuable/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_003.json index 209ea6a3b78f22a4442b394ed295223fc6e8fcd9..3d48bda00332f7a4da2e5aed2cf303b75f530b85 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_enum_valuable_003.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_003.d.ts/Valuable/VALUE_ONE", "apiName": "VALUE_ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_valuable_003.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_003.d.ts/Valuable/VALUE_Two", "apiName": "VALUE_Two", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_enum_valuable_003.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_enum_valuable_003.d.ts/Valuable/VALUE_THREE", "apiName": "VALUE_THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_export_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_export_001.json index 7a6ebc3f36f2227b281202360f2b5b408ad41350..7b4b3188d5621afee11cca210aba75b84126ca40 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_export_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_export_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_export_001.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_export_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_export_002.json index d2a5b9c068fc517543393a0d849688597cbdd077..169036294d5c7cde5c4e0344e8e2f09111888a0f 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_export_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_export_002.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_export_002.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_export_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_export_003.json index 5082c7e8bb430bfcc61d6b2d9cda62aaff43f3fd..1cdced5a38f236ba79d68d188b72d97c45d7ab26 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_export_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_export_003.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_export_003.d.ts/getUserName", "apiName": "getUserName", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_export_003.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_export_003.d.ts/setName", "apiName": "setName", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class.json index ab9bebb9dd3b6470c7b8a8b18db960cf20ad5a2a..5f2a727affcf49f2ed4e148316bf5981114a0ff1 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_class.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_class.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_class.d.ts/testNamespace/TestInterface/id", "apiName": "id", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static.json index 84ea30521dea6347a341ed4ba5e199c03627563a..c3cbb5efa42c79226d8f57717ce7290323702d6e 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_class_static.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_class_static.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_class_static.d.ts/testNamespace/TestInterface/id", "apiName": "id", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static_return.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static_return.json index 47d94dae58971d220b04255ebae1b1a90779e989..af12b7b0b1ed0d8c8346f57d2c53b5c8dc213819 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static_return.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_class_static_return.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_class_static_return.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_class_static_return.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_class_static_return.d.ts/testNamespace/TestInterface/registerInputer", "apiName": "registerInputer", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_class_static_return.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_class_static_return.d.ts/testNamespace/isOpenAccessibility", "apiName": "isOpenAccessibility", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_in_struct.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_in_struct.json index e1d0bdad194400902c6a6546d6b60344b309b018..86059de01da45729249e5e64116515a8baa09109 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_in_struct.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_in_struct.json @@ -1,48 +1,52 @@ -[ - { - "filePath": "ut_field_in_struct.d.ets", - "packageName": "ut_field_in_struct.d.ets", - "parentModuleName": "global", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_field_in_struct.d.ets/MyComponent", - "apiName": "MyComponent", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Struct", - "definedText": " struct MyComponent", - "pos": { - "line": 15, - "character": 1 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - }, - { - "filePath": "ut_field_in_struct.d.ets", - "packageName": "ut_field_in_struct.d.ets", - "parentModuleName": "MyComponent", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_field_in_struct.d.ets/MyComponent/windowUpdateType", - "apiName": "windowUpdateType", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Property", - "definedText": "readonly windowUpdateType?: WindowUpdateType;", - "pos": { - "line": 16, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_field_in_struct.d.ets", + "packageName": "ut_field_in_struct.d.ets", + "parentModuleName": "global", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_field_in_struct.d.ets/MyComponent", + "apiName": "MyComponent", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Struct", + "definedText": " struct MyComponent", + "pos": { + "line": 15, + "character": 1 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + }, + { + "filePath": "ut_field_in_struct.d.ets", + "packageName": "ut_field_in_struct.d.ets", + "parentModuleName": "MyComponent", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_field_in_struct.d.ets/MyComponent/windowUpdateType", + "apiName": "windowUpdateType", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Property", + "definedText": "readonly windowUpdateType?: WindowUpdateType;", + "pos": { + "line": 16, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface.json index 1db52ed31e13eecf784c6e77b70923f04339196e..ee9c33c6a8828c3e86bc35a9eecbae3b99823061 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface.d.ts/testNamespace/TestInterface/id", "apiName": "id", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint.json index afa3133cf3ed475f7c8172c937d1f8830a09d45d..54837f1d3acf4291871c18eeb8650cccabdf34e0 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_joint.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_joint.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_joint.d.ts/testNamespace/TestInterface/type", "apiName": "type", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint_readonly.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint_readonly.json index be9a5b15c15acb1ad50ad72e9adff64295f64d06..08b111ce512c06c7c49817190686c720a1bbbd4b 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint_readonly.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_joint_readonly.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_joint_readonly.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_joint_readonly.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_joint_readonly.d.ts/testNamespace/TestInterface/type", "apiName": "type", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object.json index b18171bdfbdd88c4d55204cbd30649c409b20c3d..25facbfe1ab4193401d78d1575cd32d8be017590 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_object.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_object.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_object.d.ts/testNamespace/TestInterface/options", "apiName": "options", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_joint.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_joint.json index 7c27ff76c4053ff62cecb43402f03b78eca395bb..1f8e95daa808f0ffee33831806dfbd1f1e48e35e 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_joint.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_joint.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_object_joint.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_object_joint.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_object_joint.d.ts/testNamespace/TestInterface/options", "apiName": "options", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_readonly.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_readonly.json index f95bc23105f3e439d37e370775a7982b7dbe4ca4..5cbb59c842db54c88ef80eeaf8c72f9e7f9352c4 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_readonly.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_object_readonly.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_object_readonly.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_object_readonly.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_object_readonly.d.ts/testNamespace/TestInterface/options", "apiName": "options", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional.json index 97a6630f04897a0a66ac1d5acc43249f39a4d932..e633c29473b449db984b77c3ce77bb2e8862aee5 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_optional.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional.d.ts/testNamespace/TestInterface/windowUpdateType", "apiName": "windowUpdateType", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint.json index c4d8d624344016a2a40d3d6d1b5941a7115e150e..5525da62f68de64a3a2ef2be50579e6b0191fa5d 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional_joint.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_optional_joint.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional_joint.d.ts/testNamespace/TestInterface/windowUpdateType", "apiName": "windowUpdateType", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint_readonly.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint_readonly.json index 265f8ab75aa6b5476becdb66d7f05323d4b7fd1d..c74054eafc75bc3513b42da84ef433993a543ad0 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint_readonly.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_joint_readonly.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional_joint_readonly.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_optional_joint_readonly.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional_joint_readonly.d.ts/testNamespace/TestInterface/windowUpdateType", "apiName": "windowUpdateType", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_readonly.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_readonly.json index d9fa633fb5e570ad9f4dee6bc871889f542044a7..0092b114481fb546c94efc843365ae9b302cb59e 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_readonly.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_optional_readonly.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional_readonly.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_optional_readonly.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_optional_readonly.d.ts/testNamespace/TestInterface/windowUpdateType", "apiName": "windowUpdateType", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_readonly.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_readonly.json index a8791d3ea27b15de83e6a440975c10ba9fae6523..9f16aa0a73179792f7d002e81f78dca42634be64 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_readonly.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_interface_readonly.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_readonly.d.ts/testNamespace/TestInterface", "apiName": "TestInterface", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_field_interface_readonly.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_interface_readonly.d.ts/testNamespace/TestInterface/id", "apiName": "id", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_child_node.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_child_node.json index 9b9687934dbe97d9279b18c06f454319e8001701..da026d08b14190938a21384f6946964962624f7a 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_child_node.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_child_node.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_namespace_child_node.d.ts/testNamespace/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_no_const.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_no_const.json index 137f777bea1f680b5521982657f1d5ba825693b6..111cd4c0e9a408a068be38da0f994395ccb43557 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_no_const.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_no_const.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_namespace_no_const.d.ts/testNamespace/batterySOC", "apiName": "batterySOC", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_001.json index 5417ef9a3aa03e6f2db056e2f39152d8985b369a..54afb508ba303c5687dfddb27d7a7befe2af76e9 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_namespace_type_single_001.d.ts/testNamespace/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_002.json index 4d2bd6f384697c57729cf58e51f5aa0709aa7c39..44b8f07484f141bcf4fa69e8b333659df464bfb2 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_namespace_type_single_002.d.ts/testNamespace/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_003.json index 6ae1d85734c7d0791250fb5c93ff19ea7371558b..166dbda11e01a6b490b2c6d2115cee35c924d98b 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_003.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_namespace_type_single_003.d.ts/testNamespace/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_004.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_004.json index a65edf3270eb2a4b786cd59c8516294e73296cfd..357f2abe9a76a1b3f10c29e6a45c38a0814c4e6c 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_004.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_field_namespace_type_single_004.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_field_namespace_type_single_004.d.ts/testNamespace/SimState", "apiName": "SimState", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_crossplatform_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_crossplatform_002.json index 5e7d03472d303eda03bcd7118373140000500dff..5291181120b27982bca7f0961be7a8cc0e88b498 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_crossplatform_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_crossplatform_002.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": true, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_crossplatform_002.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_deprecated_005.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_deprecated_005.json index 365520c008bc2cbdc2dcd260d7227c90bd41fbac..1389846fc6fab7f32f9b81ed3152f5908c019905 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_deprecated_005.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_deprecated_005.json @@ -8,6 +8,7 @@ "since": "7", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_deprecated_005.d.ts/test", "apiName": "test", "deprecatedVersion": "9", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_enum_006.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_enum_006.json index f3e74f3902a11e8a6e946adbabb2d8b2e465303d..4ee6933169ba891c8e7c0cbbdf91bbf77eaa79fa 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_enum_006.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_enum_006.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_enum_006.d.ts/test/ONE", "apiName": "ONE", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_enum_006.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_enum_006.d.ts/test/TWO", "apiName": "TWO", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_enum_006.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_enum_006.d.ts/test/THREE", "apiName": "THREE", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_010.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_010.json index 9c3aebae0eb2bcf8fa864c624e33e8b4fe9f0a26..e7f71c612ae611e0f7b2f9b89889c182c91bbe6f 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_010.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_010.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_famodelonly_010.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "famodelonly", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_011.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_011.json index 2b500d6b374b9fdb2395529c6ee4e44bcb6c75a2..b9c856fac10dc7bc934612c988a4622c5a2f6484 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_011.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_famodelonly_011.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_famodelonly_011.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "FAModelOnly", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_form_013.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_form_013.json index 156ff3703008bec09a002a9e5ff108cf13553dbb..0a15283aa33b2ad667f85d9ce9affae3aea19025 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_form_013.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_form_013.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": true, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_form_013.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_interface_014.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_interface_014.json index 4023644032a5563512906e9ef28cf561cd6482c8..02b0ff816e28ba6ce41ae45335ab96fa49277a12 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_interface_014.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_interface_014.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_interface_014.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_param_016.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_param_016.json index 78a5caf202873cbd2ab956f9e2579120af10ea03..f14a0f1e9e51af9e8aa0a3d2d46c6c8f0f7608d0 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_param_016.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_param_016.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_param_016.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_017.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_017.json index 2d43a2fff51688327e2cd5d196f8f090b12347e4..bd2144ba4107e92c3de1e8d2b83a151d9f1c8237 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_017.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_017.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_permission_017.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_018.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_018.json index afa2008e39ae313eeadf26b5e403dd75de16d76a..173c5d78ada9c7ec27804e0c2be648b6d482cc29 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_018.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_018.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_permission_018.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_019.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_019.json index f6e78afb303f166859c5af5b163cf2d068a10ad7..d254854d3b2f251fd56984cfe895d7742ae03f33 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_019.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_permission_019.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_permission_019.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_readonly_020.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_readonly_020.json index c9c89b3e722d3ddb3ed25eef41e970b7dcfdf2a8..33bc73c62ca3306df78236db8588c448807f4c2f 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_readonly_020.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_readonly_020.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_readonly_020.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_readonly_020.d.ts", @@ -31,6 +33,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_readonly_020.d.ts/Test/str", "apiName": "str", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_returns_021.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_returns_021.json index 14e671b11c3496ecc8375397b085811777ba6911..6a7971a8401c2064db4ca935ae16bf073eb0f2e9 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_returns_021.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_returns_021.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_returns_021.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_since_022.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_since_022.json index 8ad202a7d541af4bb355d4ef49ec3b1dab0c4617..7397ec8caac3a172ac4225aea6cbeecd9022c81d 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_since_022.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_since_022.json @@ -8,6 +8,7 @@ "since": "7", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_since_022.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_023.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_023.json index fa7f06e7d95553e938a86e39586e342fb7a4fdc3..53514a80bdeccb7a8b9d1ef8e7044dfa9fefbb57 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_023.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_023.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_stagemodelonly_023.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "stagemodelonly", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_024.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_024.json index 47808e46df5412f7cd01bcab3859f77dee7068fc..0c3924250b18a1f0679da6ee167ea0221f5e3afc 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_024.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_stagemodelonly_024.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_stagemodelonly_024.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "StageModelOnly", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_static_025.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_static_025.json index 13df1e4821849a1edb337cd9a5c2e9e13ef1ff03..fd9c9239a5ea70411489eafe65b6877a97e67781 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_static_025.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_static_025.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_static_025.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_static_025.d.ts", @@ -31,6 +33,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_static_025.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_syscap_026.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_syscap_026.json index c15826285538dbd56c971b489de838a29c8ac0e6..39e804bacb4db65e71c66e593ef7babdc53db866 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_syscap_026.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_syscap_026.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_syscap_026.d.ts/test", "apiName": "test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_027.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_027.json index 117e9946bad48387e8c062aa33e5f742a753f0b1..b4a35bf8b07b0b311c5f0fac10c6f2f7fee714f6 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_027.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_027.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_systemapi_027.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_systemapi_027.d.ts", @@ -31,6 +33,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_systemapi_027.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": true, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_028.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_028.json index b3de731319a0751cad55f6eef30fa0cd7ec03683..08f7c8860c8d4922f1a4fb72fef360437b5cced1 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_028.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_systemapi_028.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_systemapi_028.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": true, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_systemapi_028.d.ts", @@ -31,6 +33,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_systemapi_028.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_test_029.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_test_029.json index e83baac9d18c7b5cab3a95704d82c988e37ca0d3..87c7540ec6e1c5e55723b3a50f89ec4717130a7e 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_test_029.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_test_029.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_test_029.d.ts/test/testStr", "apiName": "testStr", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_throws_030.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_throws_030.json index cc99ea973509565f2357fe303385f6372bfdc311..b58e8fa8ab448a5d43e1732516467687f9cb62ee 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_throws_030.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_throws_030.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_throws_030.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_throws_030.d.ts", @@ -31,6 +33,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_throws_030.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,11 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [ + 201, + 202, + 401 + ] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_031.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_031.json index c2f7e2acb487136b1d73f64b5f69c21c52ec15fb..576d907e685476317c5456ed0e013ce08f8d8338 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_031.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_031.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_type_031.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_type_031.d.ts", @@ -31,6 +33,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_type_031.d.ts/Test/str", "apiName": "str", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_032.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_032.json index 7c016c376e45c03d002fd255b0917ce4419807c5..08abeb544fc1b8342685d6d788aad8bc579df938 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_032.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_type_032.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_type_032.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_type_032.d.ts", @@ -31,6 +33,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_type_032.d.ts/Test/str", "apiName": "str", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_typedef_033.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_typedef_033.json index 12a69e8da09959c3eb154894d6e44c055af274ca..800e76ebb35647872c2c228f29cfef3b269fe2d8 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_typedef_033.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_typedef_033.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_typedef_033.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_typedef_033.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_typedef_033.d.ts/Test/key", "apiName": "key", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_jsdoc_typedef_033.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_typedef_033.d.ts/Test/value", "apiName": "value", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_useinstead_034.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_useinstead_034.json index 398280c95d4fb5db88964dd4164f50375022e775..293505ff040bf4e821a82730961eb6be8e90bf95 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_useinstead_034.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_jsdoc_useinstead_034.json @@ -8,6 +8,7 @@ "since": "7", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_jsdoc_useinstead_034.d.ts/test", "apiName": "test", "deprecatedVersion": "9", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_001.json index cb897996063374a2b7792c7a6acc7f948f2b7775..fcc5efcaf5091550b8f34a0ce5ce3bd91a753f26 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_001.d.ts/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_callback_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_callback_001.json index 13352c198d3376c31c81891750b9697a643319b2..4723f598952edc2e703a490b910b94c665b7b469 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_callback_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_callback_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_callback_001.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_callback_001.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_callback_001.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_001.json index c5891c8e4dac662941de7edee1b9a4073293158d..da2e3c612b51e5feaddbf3addb61f458ee18150c 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_class_001.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_002.json index 61c4e7c320a06a93b9a798e539f3dd70e294c9ff..88c0cae8e088c0b359c94159c73d4548db6f09aa 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_002.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_class_002.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_class_002.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_class_002.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_003.json index 9af40e6a7f2c5a74e0b582864dffc3c8f94f1813..7a566ef435aee636b10aa59f309c296950cee9c8 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_class_003.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_class_003.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_class_003.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_class_003.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_constructor_in_interface.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_constructor_in_interface.json index bb3b243d85f348d9e8cba145d207cd0d83756600..74144442c2331aac932bfb26aa9d75ab44b4ca09 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_constructor_in_interface.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_constructor_in_interface.json @@ -1,25 +1,27 @@ -[ - { - "filePath": "ut_method_constructor_in_interface.d.ts", - "packageName": "ut_method_constructor_in_interface", - "parentModuleName": "global", - "syscap": "", - "permissions": "", - "since": "-1", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_method_constructor_in_interface.d.ts/Test", - "apiName": "Test", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Interface", - "definedText": " export interface Test", - "pos": { - "line": 5, - "character": 1 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_method_constructor_in_interface.d.ts", + "packageName": "ut_method_constructor_in_interface", + "parentModuleName": "global", + "syscap": "", + "permissions": "", + "since": "-1", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_method_constructor_in_interface.d.ts/Test", + "apiName": "Test", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Interface", + "definedText": " export interface Test", + "pos": { + "line": 5, + "character": 1 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_001.json index 632970a11f6fa7d880b4220e113494edd51b7cf4..16f0bfba45aee2601a261fcc51886b2f07ff670f 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_in_namespace_001.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_002.json index 340bb9bfda40f97a52bd014293ceee48ebbe706e..0e482bbb74370bd23a022f400768ac3685b86689 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_namespace_002.json @@ -1,25 +1,27 @@ -[ - { - "filePath": "ut_method_in_namespace_002.d.ts", - "packageName": "ut_method_in_namespace_002", - "parentModuleName": "test", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_method_in_namespace_002.d.ts/test/func", - "apiName": "func", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Method", - "definedText": "function func(): void {}", - "pos": { - "line": 3, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_method_in_namespace_002.d.ts", + "packageName": "ut_method_in_namespace_002", + "parentModuleName": "test", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_method_in_namespace_002.d.ts/test/func", + "apiName": "func", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Method", + "definedText": "function func(): void {}", + "pos": { + "line": 3, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_struct.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_struct.json index 494a5c1760dc769052b347c242288485660d850b..b1d0d2fca166248e9248fb96fac49282aef607fc 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_struct.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_in_struct.json @@ -1,50 +1,54 @@ -[ - { - "filePath": "ut_method_in_struct.d.ets", - "packageName": "ut_method_in_struct.d.ets", - "parentModuleName": "global", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_method_in_struct.d.ets/MyComponent", - "apiName": "MyComponent", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Struct", - "definedText": " struct MyComponent", - "pos": { - "line": 15, - "character": 1 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - }, - { - "filePath": "ut_method_in_struct.d.ets", - "packageName": "ut_method_in_struct.d.ets", - "parentModuleName": "MyComponent", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_method_in_struct.d.ets/MyComponent/aBuilder1", - "apiName": "aBuilder1", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Property", - "definedText": "@BuilderParam aBuilder1: () => void = GlobalBuilder0;", - "pos": { - "line": 16, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [ - "BuilderParam" - ] - } +[ + { + "filePath": "ut_method_in_struct.d.ets", + "packageName": "ut_method_in_struct.d.ets", + "parentModuleName": "global", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_method_in_struct.d.ets/MyComponent", + "apiName": "MyComponent", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Struct", + "definedText": " struct MyComponent", + "pos": { + "line": 15, + "character": 1 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + }, + { + "filePath": "ut_method_in_struct.d.ets", + "packageName": "ut_method_in_struct.d.ets", + "parentModuleName": "MyComponent", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_method_in_struct.d.ets/MyComponent/aBuilder1", + "apiName": "aBuilder1", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Property", + "definedText": "@BuilderParam aBuilder1: () => void = GlobalBuilder0;", + "pos": { + "line": 16, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [ + "BuilderParam" + ], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_001.json index c5b82818780c2bdfcdd3d4dcac9aa55baa04a7b4..a1dc3e55ecd61c19a355b6030b317933338781d3 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_interface_001.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_002.json index 71943ec281008f5428182fa3d82917e9b093e245..06d6495bd2ef947177b10800be90f9e070dffe0c 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_002.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_interface_002.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_003.json index acbd9e5a06f4f75c5d987c1dbbdb5bf4377ee15e..11f15458da03e74bff3304724d7ed2c012558a4b 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_003.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_interface_003.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_interface_003.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_interface_003.d.ts/Test/onRequestRedirected", "apiName": "onRequestRedirected", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_004.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_004.json index 13de63e19c25def0c61b97c01ce6a9023f07de95..2d36ef743d29ab273bc42bd7d096494bcf038605 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_004.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_interface_004.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_interface_004.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_interface_004.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_interface_004.d.ts/Test/onRequestRedirected", "apiName": "onRequestRedirected", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_001.json index 7e4926bd9eaf61b49e087111a10b017ee5eb22d3..1d586e6ba902e2b1615692ab17b3240910451179 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_001.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_001.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_001.d.ts/Test/on_add", "apiName": "on_add", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_001.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_001.d.ts/Test/on_reduce", "apiName": "on_reduce", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_002.json index 042ff20bc5ffbca661c20113171efb5f2049e678..211d4a0a88665c8520853f8f4db48d061999d49f 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_002.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_002.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_002.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_002.d.ts/Test/on_add", "apiName": "on_add", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_002.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_002.d.ts/Test/on_remove", "apiName": "on_remove", "deprecatedVersion": "", @@ -66,7 +71,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_002.d.ts", @@ -77,6 +83,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_002.d.ts/Test/on_change", "apiName": "on_change", "deprecatedVersion": "", @@ -89,6 +96,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_003.json index 2ae45f7855d3341af7891d75bff8528c1f6b225d..0aafeb6b36f3512243e9233e7fc2ccc356299ec8 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_003.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_003.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_003.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_003.d.ts/Test/on", "apiName": "on", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_004.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_004.json index a89206d905000b835dac052ac47154d596ac37d8..5c8d1bf2fb1d77c369ac3a2f4ace880b4c518352 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_004.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_004.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_004.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_004.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_004.d.ts/Test/on", "apiName": "on", "deprecatedVersion": "", @@ -43,7 +46,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_004.d.ts", @@ -54,6 +58,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_004.d.ts/ChangeEvent", "apiName": "ChangeEvent", "deprecatedVersion": "", @@ -66,6 +71,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_005.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_005.json index 812abe75bce90d31c2118a0e2ddcc15bf3d43f1e..9ef6c62189c19a6f64d14c3a0eb012357d88eb0c 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_005.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_005.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_005.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_005.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_005.d.ts/Test/on", "apiName": "on", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_006.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_006.json index 07e5bfba1129e7f1239433c88ecfe5c2b75dd0d2..bc725646dd213745a1b67461eb6f6eac1aab1ab1 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_006.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_on_off_006.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_006.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_on_off_006.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_on_off_006.d.ts/Test/on", "apiName": "on", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_001.json index e306a8602767d4f171cdfd6c2b71209319597213..941fcd40f0f5291de0fccce1f3bbc7bacc61211e 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_param_001.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_002.json index cae9d99eab58cc0e96e2aff960aa752afc935823..cb361f3bbb78d834c2ca817f3fa04bee049b9d7d 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_param_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_param_002.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_promise_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_promise_001.json index f0a14d663fcf13e4eee0a338eb07bd8447fa019a..ff4fb8d6b8c95b203da30cf3a4d0e8812f6a0155 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_promise_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_promise_001.json @@ -8,6 +8,7 @@ "since": "-1", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_promise_001.d.ts/Test", "apiName": "Test", "deprecatedVersion": "", @@ -20,7 +21,8 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] }, { "filePath": "ut_method_promise_001.d.ts", @@ -31,6 +33,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_promise_001.d.ts/Test/func", "apiName": "func", "deprecatedVersion": "", @@ -43,6 +46,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_001.json index 705a3b48be66ab7ca7fa8f4acc4403a2486e61ae..e46fc794bf2aa5bea9f65d9e90fd40869e7920b2 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_return_001.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_002.json index 1f57758551815460bbc3e6aeee9e7033e4e3f46c..f6a19a49b0df38177290dcc93a15ee477687a404 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_return_002.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_003.json index b83929865654bc41b2c1311eebf9059e431a7dae..26b01c2562018e35173da4f6f67a59d24af4b3d2 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_return_003.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_method_return_003.d.ts/test/func", "apiName": "func", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_interface.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_interface.json index ec982a8483c21c264a9fbcd1f864d1399e37fe4c..59e36cfdef8284dae0c0f4cfc1a3bcc93f95e0f5 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_interface.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_interface.json @@ -1,48 +1,52 @@ -[ - { - "filePath": "ut_method_same_name_in_interface.d.ts", - "packageName": "ut_method_same_name_in_interface", - "parentModuleName": "global", - "syscap": "", - "permissions": "", - "since": "-1", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_method_same_name_in_interface.d.ts/Test", - "apiName": "Test", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Interface", - "definedText": " export interface Test", - "pos": { - "line": 5, - "character": 1 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - }, - { - "filePath": "ut_method_same_name_in_interface.d.ts", - "packageName": "ut_method_same_name_in_interface", - "parentModuleName": "Test", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_method_same_name_in_interface.d.ts/Test/func", - "apiName": "func", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Method", - "definedText": "func(str: string, str2: string): void;\nfunc(str: string): void;", - "pos": { - "line": 6, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_method_same_name_in_interface.d.ts", + "packageName": "ut_method_same_name_in_interface", + "parentModuleName": "global", + "syscap": "", + "permissions": "", + "since": "-1", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_method_same_name_in_interface.d.ts/Test", + "apiName": "Test", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Interface", + "definedText": " export interface Test", + "pos": { + "line": 5, + "character": 1 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + }, + { + "filePath": "ut_method_same_name_in_interface.d.ts", + "packageName": "ut_method_same_name_in_interface", + "parentModuleName": "Test", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_method_same_name_in_interface.d.ts/Test/func", + "apiName": "func", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Method", + "definedText": "func(str: string, str2: string): void;\nfunc(str: string): void;", + "pos": { + "line": 6, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_namespace.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_namespace.json index 14b4ec26aa419ddb7ab039b105847cac9be0408c..0271412f43076619cadca8f58fd63435aa87e269 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_namespace.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_method_same_name_in_namespace.json @@ -1,25 +1,27 @@ -[ - { - "filePath": "ut_method_same_name_in_namespace.d.ts", - "packageName": "ut_method_same_name_in_namespace", - "parentModuleName": "test", - "syscap": "", - "permissions": "", - "since": "", - "isForm": false, - "isCrossPlatForm": false, - "hierarchicalRelations": "ut_method_same_name_in_namespace.d.ts/test/func", - "apiName": "func", - "deprecatedVersion": "", - "useInstead": "", - "apiType": "Method", - "definedText": "function func(str: string, str2: string);\nfunction func(str: string);", - "pos": { - "line": 6, - "character": 3 - }, - "isSystemapi": false, - "modelLimitation": "", - "decorators": [] - } +[ + { + "filePath": "ut_method_same_name_in_namespace.d.ts", + "packageName": "ut_method_same_name_in_namespace", + "parentModuleName": "test", + "syscap": "", + "permissions": "", + "since": "", + "isForm": false, + "isCrossPlatForm": false, + "isAutomicService": false, + "hierarchicalRelations": "ut_method_same_name_in_namespace.d.ts/test/func", + "apiName": "func", + "deprecatedVersion": "", + "useInstead": "", + "apiType": "Method", + "definedText": "function func(str: string, str2: string);\nfunction func(str: string);", + "pos": { + "line": 6, + "character": 3 + }, + "isSystemapi": false, + "modelLimitation": "", + "decorators": [], + "errorCodes": [] + } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_001.json index 143bc70f626fc7f7292af2554465b92417f40ced..e09fe3e1f74a4735d3443f415340865094314747 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_child_node_001.d.ts/test/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_002.json index 208a04618fc2214ec9fe84362ece75ca40fb464f..1b4195819768bc2884384242ece85d18bd160824 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_child_node_002.d.ts/test/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_003.json index 62740d2f19658702a59526ce0d9efaf06ddf3133..69c50ab41ac8df9ccf2343fb0d57eb9865b6eb71 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_003.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_child_node_003.d.ts/test/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_004.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_004.json index 63c1ba1ede3ed12e4d8239872d134e63521e3b38..34cf9cf8c01c55d1e32faf3379852b8b6552e7f6 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_004.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_004.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_child_node_004.d.ts/test/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_005.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_005.json index 819e10018e40286b796c6f5535d8910073a57fe7..69f6778412670c1d0ca7743d287fc8a3a57a6455 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_005.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_005.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_child_node_005.d.ts/test/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_006.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_006.json index 7d23ca466d9db5ec1f957f1fc4d71ca9bc69c4b2..8ad5bd576997845746c341c684723ac892245e61 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_006.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_006.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_child_node_006.d.ts/test/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_007.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_007.json index aa6a1bf5fa78615886748af846f91d8daab80f4c..788947c25d59ccb11a64fd74e104345897b732e3 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_007.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_child_node_007.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_child_node_007.d.ts/test/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_001.json index e513703e08f9b40f77033f316092f18b6b38aba2..278d8011e99038e4249f40e2b8b91c8bd50a610c 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_complex_type_001.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_002.json index ab6f8ef74e6476066bc409c4c10857b45e5c42d6..782c8ea4c1e3d09d2a71ef55ba5b401181ed36cf 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_complex_type_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_complex_type_002.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_001.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_001.json index 5ed46382134b6bf8ac483c7b32e5681307d8931d..8e8ae8f2b02154be03e012cbfa10911fe2a90269 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_001.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_001.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_first_level_node_001.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_002.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_002.json index b6d12bcd1b535309188db0d47402f839a76a5e7f..c8fdeeff1a4b0f4876b15f71d007a6d0b2491ab5 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_002.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_002.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_first_level_node_002.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_003.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_003.json index 00896ea3fc5244519e9beb2e775e0994a247a855..46dd8ba8d169fbc1c18618fcb9f0125d6293306c 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_003.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_003.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_first_level_node_003.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_004.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_004.json index f7d8817683a4215be4c2899b8340262003ee3a84..5f29efe3c0feafdce2fe1aa17480000a64617c47 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_004.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_004.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_first_level_node_004.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_005.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_005.json index 9bc148f5b0bb863f12e3f836577a9e463fdb7111..59486395b6fe407f0d85532c0b34ebe6fd4f4e2a 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_005.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_005.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_first_level_node_005.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_006.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_006.json index 61c7cf1c20cda72909e33ba715016b040930a0f7..cc9a67edf43a246c5b0abb3c38c1b2888f4c82e1 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_006.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_006.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_first_level_node_006.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file diff --git a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_007.json b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_007.json index 98550747ac9a2f075cc64caec35b9c08863faa8b..518ebaffb3ff7f3926662b05a74ff23185a13c95 100644 --- a/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_007.json +++ b/build-tools/dts_parser/test/expect/apiStatistics/ut_type_first_level_node_007.json @@ -8,6 +8,7 @@ "since": "", "isForm": false, "isCrossPlatForm": false, + "isAutomicService": false, "hierarchicalRelations": "ut_type_first_level_node_007.d.ts/TextOneType", "apiName": "TextOneType", "deprecatedVersion": "", @@ -20,6 +21,7 @@ }, "isSystemapi": false, "modelLimitation": "", - "decorators": [] + "decorators": [], + "errorCodes": [] } ] \ No newline at end of file