From fdda11aaf3d7e4318ed6b8b353f9d4f045fb4048 Mon Sep 17 00:00:00 2001 From: Gloria Date: Thu, 15 Dec 2022 17:07:54 +0800 Subject: [PATCH] Update docs against 11654+11699+11728 Signed-off-by: wusongqing --- ...js-apis-EnterpriseAdminExtensionAbility.md | 2 +- .../reference/apis/js-apis-screenshot.md | 3 +- en/contribute/template/js-template.md | 112 ++++++++++++------ 3 files changed, 81 insertions(+), 36 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md b/en/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md index ee930acfff..c9cc2b79ba 100644 --- a/en/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md +++ b/en/application-dev/reference/apis/js-apis-EnterpriseAdminExtensionAbility.md @@ -1,4 +1,4 @@ -# EnterpriseAdminExtensionAbility +# @ohos.enterprise.EnterpriseAdminExtensionAbility The **EnterpriseAdminExtensionAbility** module provides Extension abilities for enterprise administrators. diff --git a/en/application-dev/reference/apis/js-apis-screenshot.md b/en/application-dev/reference/apis/js-apis-screenshot.md index 0e8b042955..4fa5e15b59 100644 --- a/en/application-dev/reference/apis/js-apis-screenshot.md +++ b/en/application-dev/reference/apis/js-apis-screenshot.md @@ -1,4 +1,5 @@ -# Screenshot +# @ohos.screenshot + The **Screenshot** module provides APIs for you to set information such as the region to capture and the size of the screen region when capturing a screen. > **NOTE** diff --git a/en/contribute/template/js-template.md b/en/contribute/template/js-template.md index 52c784838f..e92b7434fd 100644 --- a/en/contribute/template/js-template.md +++ b/en/contribute/template/js-template.md @@ -1,6 +1,7 @@ # API Reference Template ## General Writing Instructions + > **NOTE** > > Delete all writing instructions after you finish the writing. @@ -8,19 +9,19 @@ | | Item | Writing Instruction | | ---- | --------------------------------- | ------------------------------------------------------------ | | 1 | Customer-oriented mindset | **Stand in the shoes of developers and provide the use cases, parameter selection principles, recommendations/tips, sample code, and anything else that a developer will need to develop the API.**| -| 2 | Upload path | Upload markdown files to `docs/en/application-dev/reference/apis`.
Upload images to `docs/en/application-dev/reference/apis/figures`. In addition, reference the image path in the markdown file as follows: `![](figures/exampleImage.jpg)`, `![](figures/exampleImage.png)`, or `![](figures/exampleImage.gif)`.| -| 3 | File name | Provide one JS API reference document for each d.ts file. Name the file in the format of `js-apis-exampleModule.md`, where `exampleModule` is a variable and must be the same as the actual module name.
Examples:
For @ohos.multimedia.audio in the Multimedia subsystem, the JS API file name is `js-apis-audio.md`.
For @ohos.telephony.sms in the Telephony subsystem, the JS API file name is `js-apis-sms.md`.| -| 4 | Directory update | After uploading an API reference document, update the `Readme-EN.md` file in `docs/en/application-dev/reference/apis`.| -| 5 | Document structure | - Module description
- Initial version description
- Modules to Import/Usage description
- API description (attributes, methods, enums, and custom types)
The order in which APIs are described in the document must be consistent with that in which they appear in the code. If some APIs have a logical sequence, pay attention to their sequence in the API reference document.| -| 6 | Initial version description | 1. Use the greater-than sign (`>`) followed by a space to indent the description about the initial version of the module. Unless otherwise marked, all APIs in the module have the same initial version.
2. When introducing an API to an existing module, use the `` tag to mark its earliest version. The format is `versionNumber+`, for example, `7+`.
If an attribute is added to an existing module, suffix the `` tag to the new attribute name, for example, `newAttribute7+`.
If a method is added to an existing module, suffix the `` tag to the method name, for example, `sim.getSimIccId7+`. The same rule applies to new interfaces, classes, and enums. | -| 7 | Deprecated API description | Do not delete the deprecated content from the document. Instead, suffix `deprecated` as a superscript to the content, and use the greater-than sign (`>`) to introduce the substitute API plus a link to the API description.
Example: abandonmentMethod(deprecated)
> This API is no longer maintained since API version 7. You are advised to use [newMethod]\(#newmethod) instead.| -| 8 | Permission description | Provide the same permission description as that defined in the code for each method, enum, and attribute.
1. If a specific permission required for using the API can be requested only by system applications, provide the description in the following format:
**Required permissions**: ohos.permission.examplePermission (available only to system applications)
2. If a specific permission required for using the API can be requested by all applications, provide the description in the following format:
**Required permissions**: ohos.permission.examplePermission
3. If multiple permissions are required for using the API, provide the permissions with `and` or `or` in the following format:
**Required permissions**: ohos.permission.examplePermissionA and ohos.permission.examplePermissionB
**Required permissions**: ohos.permission.examplePermissionA or ohos.permission.examplePermissionB| +| 2 | Upload path | Upload markdown files to **docs/en/application-dev/reference/apis**.
Upload images to **docs/en/application-dev/reference/apis/figures**. In addition, reference the image path in the markdown file as follows: **![](figures/exampleImage.jpg)**, **![](figures/exampleImage.png)**, or **![](figures/exampleImage.gif)**.| +| 3 | File name | Provide one JS API reference document for each d.ts file. Name the file in the format of **js-apis-exampleModule.md**, where **exampleModule** is a variable and must be the same as the actual module name.
Examples:
For @ohos.multimedia.audio in the Multimedia subsystem, the JS API file name is **js-apis-audio.md**.
For @ohos.telephony.sms in the Telephony subsystem, the JS API file name is **js-apis-sms.md**.| +| 4 | Directory update | After uploading an API reference document, update the **Readme-EN.md** file in **docs/en/application-dev/reference/apis**.
The directories are automatically arranged in alphabetical order.| +| 5 | Document structure | - Module description
- Initial version description
- Modules to Import/Usage description
- API description (attributes, constants, methods, enums, and custom types)
The order in which APIs are described in the document must be consistent with that in which they appear in the code. If some APIs have a logical sequence, pay attention to their sequence in the API reference document. | +| 6 | Initial version description | 1. Use the greater-than sign (**>**) followed by a space to indent the description about the initial version of the module. Unless otherwise marked, all APIs in the module have the same initial version.
2. When introducing an API to an existing module, use the **** tag to mark its earliest version. The format is **versionNumber+**, for example, **7+**.
If an attribute is added to an existing module, suffix the **** tag to the new attribute name, for example, **newAttribute7+**.
If a method is added to an existing module, suffix the **** tag to the method name, for example, **sim.getSimIccId7+**. The same rule applies to new interfaces, classes, and enums. | +| 7 | Deprecated API description | Do not delete the deprecated content from the document. Instead, suffix **deprecated** as a superscript to the content, and use the greater-than sign (**>**) to introduce the initial version and deprecated version.
Example: abandonmentMethod(deprecated)
> This API is supported since API version 4 and deprecated since API version 7. You are advised to use [newMethod]\(#newmethod) instead.| +| 8 | Permission description | Provide the same permission description as that defined in the code for each method, enum, and attribute.
1. If a specific permission required for using the API can be requested only by system applications, provide the description in the following format:
**Required permissions**: ohos.permission.examplePermission (available only to system applications)
2. If a specific permission required for using the API can be requested by all applications, provide the description in the following format:
**Required permissions**: ohos.permission.examplePermission
3. If multiple permissions are required for using the API, provide the permissions with **and** or **or** in the following format:
**Required permissions**: ohos.permission.examplePermissionA and ohos.permission.examplePermissionB
**Required permissions**: ohos.permission.examplePermissionA or ohos.permission.examplePermissionB | | 9 | @syscap | 1. Provide a description for every API in the following format, wherein *A.B* indicates a specific system capability.
**System capability**: SystemCapability.*A.B*
2. There are two cases for adding system capability information to a table (of attributes, enums, constants, or variables).
1) If all the items in a table require the same system capability, add the following information to the front of the table:
**System capability**: SystemCapability.*A.B*
2) If the items in a table require different system capabilities, list the system capability for each item in the table. | | 10 | @system api | 1. If all APIs of the module are system APIs, add the following sentence to the next line of the initial version description:
The APIs provided by this module are system APIs.
2. If an API is a system API that can be used only by original equipment manufacturers (OEMs), add the following sentence to the API description:
**System API**: This is a system API.| | 11 | @FAModelOnly
@StageModelOnly | 1. If a module is implemented only for a specific ability model, add the following sentence to the next line of the initial version description:
The APIs of this module can be used only in the FA model.
Or
The APIs of this module can be used only in the stage model.
2. If an API is implemented only for a specific ability model, add the following sentence to the API description:
**Model restriction**: This API can be used only in the FA model.
Or
**Model restriction**: This API can be used only in the stage model.| -| 12 | Asynchronous methods (callback and promise)| Use the following sentences for callback methods.
Method introduction: *Describe the method.* This API uses an asynchronous callback to return the result.
Parameter description:
**callback\**: Callback used to return the result. The value `true` indicates *something*, and `false` indicates the opposite.
**callback\**: Callback used to return *something*. Example: Callback used to return the `AudioCapturer` object.
**AsyncCallback\**: Callback used to return the result. If the operation (or a specific operation description) is successful, `err` is `undefined`; otherwise, `err` is an `Error` object.
**AsyncCallback\**: Callback used to return the result. If the operation (or a specific operation description) is successful, `err` is `undefined`, and `data` is the *x* object obtained; otherwise, `err` is an `Error` object.
Use the following sentences for promise methods.
Method introduction: *Describe the method.* This API uses a promise to return the result.
Parameter description:
**Promise\**: Promise used to return the result. The value `true` indicates *something*, and `false` indicates the opposite.
**Promise\**: Promise used to return *something*. Example: Promise used to return the `AudioCapturer` object.
**Promise\**: Promise that returns no value.| -| 13 | Sample code programming language | Use code blocks to provide sample code and mark the programming language.
Use `js` as the mark if both JS and eTS can be used, and use `ts` if only eTS can be used.| -| 14 | Link | Link format: [Link text]\(Link content)
Cross-folder link format: [markdown file name]\(\.\./../xxx/xxx.md). One `./` indicates one upper-level folder.
Intra-topic link format: [Interface A7+]\(#xxxa7). The text in the intra-topic link must be the same as the title to be linked. In the link, all letters must be in lowercase, and no special character (except the hyphen) or tag is included.| +| 12 | Asynchronous methods (callback and promise)| Use the following sentences for callback methods.
Method introduction: *Describe the method.* This API uses an asynchronous callback to return the result.
Parameter description:
**callback\**: Callback used to return the result. The value **true** indicates *something*, and **false** indicates the opposite.
**callback\**: Callback used to return *something*. Example: Callback used to return the **AudioCapturer** object.
**AsyncCallback\**: Callback used to return the result. If the operation (or a specific operation description) is successful, **err** is **undefined**; otherwise, **err** is an error object.
**AsyncCallback\**: Callback used to return the result. If the operation (or a specific operation description) is successful, **err** is **undefined** and **data** is the *x* object obtained; otherwise, **err** is an error object.
Use the following sentences for promise methods.
Method introduction: *Describe the method.* This API uses a promise to return the result.
Parameter description:
**Promise\**: Promise used to return the result. The value **true** indicates *something*, and **false** indicates the opposite.
**Promise\**: Promise used to return *something*. Example: Promise used to return the **AudioCapturer** object.
**Promise\**: Promise that returns no value. | +| 13 | Sample code programming language | Use code blocks to provide sample code and mark the programming language.
Use **js** as the mark if both JS and eTS can be used, and use **ts** if only eTS can be used.| +| 14 | Link | Link format: [Link text]\(Link content)
Cross-folder link format: [markdown file name]\(\.\./../xxx/xxx.md). One **../** indicates one upper-level folder.
Intra-topic link format: [Interface A7+]\(#xxxa7). The text in the intra-topic link must be the same as the title to be linked. In the link, all letters must be in lowercase, and no special character (except the hyphen) or tag is included.| The following describes the instructions for writing a specific API reference document. @@ -30,9 +31,9 @@ The following describes the instructions for writing a specific API reference do > *Writing Instructions* > -> 1. **Document title**: Use phrases that summarize the module functionalities. Examples: `Ability` and `SIM Card Management` -> 2. **Heading levels**: Use the document title as the level-1 heading, which is prefixed with `#` followed by a space. Use the attributes, functions, classes, interfaces, enums, and types under the namespace as level-2 headings, which are prefixed with `##` followed by a space. Use the attributes and functions under classes as level-3 headings, which are prefixed with `###` followed by a space. -> 3. **Initial version description**: Use the greater-than symbol (`>`) to indent the description about the initial version of the module. Use a line break after **NOTE**.
Place the version description after the module description. A module has only one initial version.
Use the following sentence: "The initial APIs of this module are supported since API version *x*. Newly added APIs will be marked with a superscript to indicate their earliest API version." Change ***x*** to the actual version number. +> 1. **Document title**: Use phrases that summarize the module functionalities. Examples: **Ability** and **SIM Card Management** +> 2. **Heading levels**: Use the document title as the level-1 heading, which is prefixed with **#** followed by a space. Use the attributes, functions, classes, interfaces, enums, and types under the namespace as level-2 headings, which are prefixed with **##** followed by a space. Use the attributes and functions under classes as level-3 headings, which are prefixed with **###** followed by a space. +> 3. **Initial version description**: Use the greater-than symbol (**>**) to indent the description about the initial version of the module. Use a line break after **NOTE**.
Place the version description after the module description. A module has only one initial version.
Use the following sentence: "The initial APIs of this module are supported since API version *x*. Newly added APIs will be marked with a superscript to indicate their earliest API version." Change ***x*** to the actual version number. Describe the module from its functionalities, use cases, and recommendations in this section. @@ -53,10 +54,12 @@ The APIs provided by distributed data management can be used to save data to the **Example 4**: description of the linear container ArrayList module -`ArrayList` is a linear data structure that is implemented based on arrays. `ArrayList` can dynamically adjust the capacity based on project requirements. It increases the capacity by 50% each time. -Similar to `ArrayList`, `Vector` is also implemented based on arrays and can dynamically adjust the capacity. It increases the capability by 100% each time. -When compared with `LinkedList`, `ArrayList` is more efficient in random access but less efficient in the addition or removal operation, because its addition or removal operation affects the position of other elements in the container. -You are advised to use `ArrayList` when elements in a container need to be frequently read. +**ArrayList** is a linear data structure that is implemented based on arrays. **ArrayList** can dynamically adjust the capacity based on project requirements. It increases the capacity by 50% each time. +Similar to **ArrayList**, **Vector** is also implemented based on arrays and can dynamically adjust the capacity. It increases the capability by 100% each time. +When compared with **LinkedList**, **ArrayList** is more efficient in random access but less efficient in the addition or removal operation, because its addition or removal operation affects the position of other elements in the container. +You are advised to use **ArrayList** when elements in a container need to be frequently read. + + > **NOTE** > @@ -69,7 +72,7 @@ You are advised to use `ArrayList` when elements in a container need to be frequ > 1. Write the modules to import based on the actual conditions. Provide the **import** statement in the form of a code block. > > 2. If no module needs to be imported, change "Modules to Import" to "Usage" and provide a usage description.
Example of **Usage**:
-> Before using the `AbilityContext`, obtain the `Context` object through \[getContext()]\(*API-reference*.md)\. +> Before using the **AbilityContext**, obtain the **Context** object through \[getContext()]\(*API-reference*.md)\. > > ```js > import ability_featureAbility from '@ohos.ability.featureAbility'; @@ -99,11 +102,26 @@ import call from '@ohos.telephony.call'; | pluggedType | [BatteryPluggedType]\(#batterypluggedtype) | Yes | No | Charger type of the current device. | | isBatteryPresent | boolean | Yes | No | Whether the battery is supported or present.| +## Constants + +> *Writing Instructions* +> +> 1. This section is optional. Delete it if there is no constant. It corresponds to **const** in the .d.ts file. +> +> 2. If a constant is of a custom type, create a link to the corresponding interface or enum. + +**System capability**: SystemCapability.*A.B* (This part is mandatory.) + +| Name | Type | Description | +| ---------------- | ----------------------------------------- | ------------------------------------------ | +| uid | number | User identifier (UID) of a process. | +| pid | number | Process ID (PID) of a process. | + ## Methods > *Writing Instructions* > -> 1. This section is optional. Delete it if there is no method. If there are multiple methods, describe them in separate level-2 headings, prefixed with `##` followed by a space. +> 1. This section is optional. Delete it if there is no method. If there are multiple methods, describe them in separate level-2 headings, prefixed with **##** followed by a space. > > 2. Use the actual method name, in the format of ClassName.methodName, as the level-2 heading. For a subscription method, add the subscription event to the method name. > @@ -120,7 +138,7 @@ import call from '@ohos.telephony.call'; > > 6. **Line feed in a table**: Use \
for line feed. -Provide the method name in the following format: (`static` if it is a static method) methodName (parameterName1: parameterType1, parameterName2: parameterType2, ...): returnValueType +Provide the method name in the following format: (**static** if it is a static method) methodName (parameterName1: parameterType1, parameterName2: parameterType2, ...): returnValueType Describe the method. For details, see the fourth and fifth points in "Writing Instructions" above. @@ -179,13 +197,13 @@ For details about the error codes, see [moduleName Error Codes]\(link to the err > 1. The basic requirements are the same as those provided in [Methods](#methods). The following describes only the differences. > > 2. Use the actual method name, in the format of ClassName.methodName plus the subscription event, as the level-2 heading. -> Examples: `sim.on(?exampleEvent?)` and `on('play' | 'pause' | 'stop' | 'reset')` +> Examples: **sim.on(?exampleEvent?)** and **on('play' | 'pause' | 'stop' | 'reset')** > > 3. **Method calling mode**: The description must be the same as that in the .d.ts file and include the parameter type, event name, parameter name, and return value type. -> Example: `on(type: 'ringerModeChange', callback: Callback\): void` +> Example: **on(type: 'ringerModeChange', callback: Callback\): void** > Note: The angle bracket (<>) may be identified as a label and not displayed. To ensure normal display, you can either add a backslash (\\) (in the format of "\\<>") or use escape characters \< and \>. -Provide the method name in the following format: (`static` if it is a static method) methodName (parameterName1: parameterType1, parameterName2: parameterType2, ...): returnValueType +Provide the method name in the following format: (**static** if it is a static method) methodName (parameterName1: parameterType1, parameterName2: parameterType2, ...): returnValueType Describe the method. For details, see the fourth and fifth points in "Writing Instructions" under [Methods](#methods). @@ -201,7 +219,7 @@ Describe the method. For details, see the fourth and fifth points in "Writing In | Name | Type | Mandatory| Description | | -------- | ------------------------------------ | ---- | ------------------------------------------------------------ | -| type | string | Yes | Describe the event and when or how it will be triggered. If a method involves multiple events, describe them separately.
**Example 1 (single event):**
Type of the event. The `'play'` event is triggered when the `play()` API is called and audio playback starts.
**Example 2 (multiple events)**:
Type of the event. The following events are supported:
- 'play': triggered when the play() API is called and audio playback starts.
- 'dataLoad': triggered when the audio data is loaded, that is, when the `src` attribute is configured.
- 'finish': triggered when the audio playback is finished. | +| type | string | Yes | Describe the event and when or how it will be triggered. If a method involves multiple events, describe them separately.
**Example 1 (single event):**
Type of the event. The **'play'** event is triggered when the **play()** API is called and audio playback starts.
Example 2 (multiple events):
Type of the event. The following events are supported:
- **'play'**: triggered when the **play()** API is called and audio playback starts.
- **'dataLoad'**: triggered when the audio data is loaded, that is, when the **src** attribute is configured.
- **'finish'**: triggered when the audio playback is finished. | | callback | Callback\<[CustomType](#customtype)> | No | Describe the parameter. The instructions are the same as those provided under [Methods](#methods). | **Return value** (This part is optional. Delete it if there is no return value.) @@ -231,7 +249,7 @@ Describe the method. For details, see the fourth and fifth points in "Writing In > *Writing Instructions* > -> 1. This section is optional. Delete it if there is no class or interface. If there are multiple classes or interfaces, describe them in multiple level-2 headings, prefixed with `##` followed by a space. +> 1. This section is optional. Delete it if there is no class or interface. If there are multiple classes or interfaces, describe them in multiple level-2 headings, prefixed with **##** followed by a space. > > 2. Use the actual class or interface name as the level-2 heading. > @@ -259,9 +277,9 @@ Describe the class or interface. If there are usage restrictions, describe them > *Writing Instructions* > -> 1. This section is optional. Delete it if there is no enum. If there are multiple enums, describe them in separate level-2 headings, prefixed with `##` followed by a space. +> 1. This section is optional. Delete it if there is no enum. If there are multiple enums, describe them in separate level-2 headings, prefixed with **##** followed by a space. > -> 2. Use the actual enum name as the level-2 heading, for example, `BatteryHealthState`. +> 2. Use the actual enum name as the level-2 heading, for example, **BatteryHealthState**. Provide a brief description of the enum type. Example: Enumerates the charger types. @@ -273,17 +291,43 @@ Provide a brief description of the enum type. Example: Enumerates the charger ty ## CustomType +> *Writing Instructions* +> +> This section is optional. Delete it if there is no custom type. It corresponds to **Interface** in the .d.ts file. + The following is an example of the custom type of a key-value pair. + +**System capability**: SystemCapability.*A.B* (This part is mandatory.) + +| Name | Type | Mandatory | Description | +| ------------ | ------------------- | ---- | ------------------------------------------------------------ | +| parameterUrl | string | Yes | Media output URI. Supported:
1. Relative path whose protocol type is **internal**. Example:
Temporary directory: internal://cache/test.mp4
2. Absolute path. Example:
file:///data/data/ohos.xxx.xxx/files/test.mp4| +| parameterOne | [CustomEnum](#enums)| No | Describe the attributes. The requirements are similar to those for the parameter description. | + +## Type + +> *Writing Instructions* +> +> 1. This section is optional. Delete it if there is no type. It corresponds to **type** in the .d.ts file. +> +> 2. By default, use **Type** as the heading of the first column. If all the values are specific strings, change the heading of the first column to **Value**. +> +> 3. If a type is of a custom type, create a link to the corresponding interface or enum. + +Provide a brief description of the union type. Example: Enumerates the value types. + **System capability**: SystemCapability.*A.B* (This part is mandatory.) -| Name | Type | Readable| Writable| Description | -| ------------ | ------------------- | ---- | ---- | ------------------------------------------------------------ | -| parameterUrl | string | Yes | Yes | Media output URI. Supported:
1. Relative path whose protocol type is `internal`. Example:
Temporary directory: internal://cache/test.mp4
2. Absolute path. Example:
file:///data/data/ohos.xxx.xxx/files/test.mp4| -| parameterOne | [CustomEnum](#enums) | Yes | Yes | Describe the attributes. The requirements are similar to those for the parameter description. | +| Type | Description | +| -----------| ---------------------------- | +| number | The value is a number. | +| string | The value is a string. | ## Change History -| Change Description| Date| -| -------- | ---- | -| 1. Provided the general writing instructions in a table.
2. Added the description about how to reference an image in "Upload path".
3. Added the "Document structure" item to describe the sequence of nodes in the API reference document.
4. Added the description for multiple permissions in "Permission description".
5. Added the description of @FAModelOnly and @StageModelOnly in the API reference document.
6. Added the description of asynchronous methods (callback and promise).
7. Added the standards and specifications for the sample code programming language.
8. Added the standard format for links used in the API reference document.
9. Added examples for "Module description".
10. Added the description of on and off subscription methods.
11. Updated the description of @syscap.
12. Updated the description of @systemapi. Now only the sentence "This is a system API." is used.
13. Deleted the MR version description.|2022-06-24| +| Change Description | Date | +| ----------------------------------------------------------------------- | ------------ | +| 1. Provided the general writing instructions in a table.
2. Added the description about how to reference an image in "Upload path".
3. Added the "Document structure" item to describe the sequence of nodes in the API reference document.
4. Added the description for multiple permissions in "Permission description".
5. Added the description of @FAModelOnly and @StageModelOnly in the API reference document.
6. Added the description of asynchronous methods (callback and promise).
7. Added the standards and specifications for the sample code programming language.
8. Added the standard format for links used in the API reference document.
9. Added examples for "Module description".
10. Added the description of on and off subscription methods.
11. Updated the description of @syscap.
12. Updated the description of @systemapi. Now only the sentence "This is a system API." is used.
13. Deleted the MR version description. | 2022/6/24 | +| Added the error code description. | 2022/10/11 | +| 1. Added the template for **constant** and **type**.
2. Modified the table of the custom type **interface** by deleting the **Readable** and **Writable** columns and adding the **Mandatory** column, for consistency with the content of the .d.ts file.
3. Added the deprecated description for APIs with both the initial version and deprecated version. |2022/11/22 | -- GitLab