api告警整改

Signed-off-by: wangdengze <wangdengze@huawei.com>
This commit is contained in:
wangdengze 2024-07-19 10:23:30 +08:00
parent 07d1ae1c04
commit 122cb6fe98
6 changed files with 28 additions and 0 deletions

View File

@ -28,6 +28,7 @@ import dataShare from './@ohos.data.dataShare';
/**
* Struct for a batch update operation.
*
* @typedef { dataShare.UpdateOperation }
* @syscap SystemCapability.DistributedDataManager.DataShare.Provider
* @systemapi
* @stagemodelonly

View File

@ -95,6 +95,7 @@ export default interface DataShareResultSet {
* The column or key names are returned as a string array, in which the strings are in the same order
* as the columns or keys in the result set.
*
* @type { Array<string> }
* @syscap SystemCapability.DistributedDataManager.DataShare.Core
* @systemapi
* @StageModelOnly
@ -106,6 +107,7 @@ export default interface DataShareResultSet {
* Obtains the number of columns or keys in the result set.
* The returned number is equal to the length of the string array returned by the columnCount method.
*
* @type { number }
* @syscap SystemCapability.DistributedDataManager.DataShare.Core
* @systemapi
* @StageModelOnly
@ -116,6 +118,7 @@ export default interface DataShareResultSet {
/**
* Obtains the number of rows in the result set.
*
* @type { number }
* @syscap SystemCapability.DistributedDataManager.DataShare.Core
* @systemapi
* @StageModelOnly
@ -127,6 +130,7 @@ export default interface DataShareResultSet {
* Checks whether the current result set is closed.
* If the result set is closed by calling the close method, true will be returned.
*
* @type { boolean }
* @syscap SystemCapability.DistributedDataManager.DataShare.Core
* @systemapi
* @StageModelOnly

View File

@ -28,6 +28,7 @@
/**
* Indicates possible value types
*
* @typedef { number | string | boolean }
* @syscap SystemCapability.DistributedDataManager.DataShare.Core
* @stagemodelonly
* @crossplatform
@ -38,6 +39,7 @@ export type ValueType = number | string | boolean;
/**
* Values in buckets are stored in key-value pairs
*
* @typedef { Record<string, ValueType | Uint8Array | null> }
* @syscap SystemCapability.DistributedDataManager.DataShare.Core
* @stagemodelonly
* @since 10

View File

@ -374,6 +374,7 @@ declare namespace dataAbility {
/**
* Indicates possible value types
*
* @typedef { number | string | boolean }
* @syscap SystemCapability.DistributedDataManager.DataShare.Core
* @since 7
*/

View File

@ -48,6 +48,7 @@ declare namespace dataShare {
* Specifies whether the {@link DataShareHelper} in proxy mode.
* If value is true, the {@link DataShareHelper} to be created is in proxy mode, and all operations will not open provider APP as possible
*
* @type { ?boolean }
* @default false
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
@ -177,6 +178,7 @@ declare namespace dataShare {
* Specifies the id of subscriber, who process the callback
* Same as subscriberId in {@link DataShareHelper#addTemplate}
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -187,6 +189,7 @@ declare namespace dataShare {
* Specifies the bundleName of template owner, who create the template
* Same as the caller's bundleName of {@link DataShareHelper#addTemplate}
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -208,6 +211,7 @@ declare namespace dataShare {
/**
* Specifies the key of the published data
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -218,6 +222,7 @@ declare namespace dataShare {
* Specifies the published data
* If the data is large, use ArrayBuffer.
*
* @type { string | ArrayBuffer }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -227,6 +232,7 @@ declare namespace dataShare {
/**
* Specifies the subscriber id
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -248,6 +254,7 @@ declare namespace dataShare {
/**
* Specifies the uri of the callback.
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -257,6 +264,7 @@ declare namespace dataShare {
/**
* Specifies the templateId of the callback.
*
* @type { TemplateId }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -268,6 +276,7 @@ declare namespace dataShare {
* every node is a json, json's key is [key of {@link Template#predicates}
* and value is the query result from rdb store query by value of{@link Template#predicates}].
*
* @type { Array<string> }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -289,6 +298,7 @@ declare namespace dataShare {
/**
* Specifies the bundleName of the callback.
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -298,6 +308,7 @@ declare namespace dataShare {
/**
* Specifies the datas of the callback.
*
* @type { Array<PublishedItem> }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -344,6 +355,7 @@ declare namespace dataShare {
* Specifies the scheduler sql of the template.
* When modify the subscribed uri's data, scheduler is auto called.
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -364,6 +376,7 @@ declare namespace dataShare {
/**
* Specifies the key of the operation result.
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -374,6 +387,7 @@ declare namespace dataShare {
/**
* Specifies the operation result.
*
* @type { number }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -395,6 +409,7 @@ declare namespace dataShare {
/**
* Indicates the data to update.
*
* @type { ValuesBucket }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -405,6 +420,7 @@ declare namespace dataShare {
/**
* Indicates filter criteria.
*
* @type { dataSharePredicates.DataSharePredicates }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -486,6 +502,7 @@ declare namespace dataShare {
/**
* Type of the data change.
*
* @type { ChangeType }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -496,6 +513,7 @@ declare namespace dataShare {
/**
* URI of the data changed.
*
* @type { string }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly
@ -505,6 +523,7 @@ declare namespace dataShare {
/**
* Data changed.
*
* @type { Array<ValuesBucket> }
* @syscap SystemCapability.DistributedDataManager.DataShare.Consumer
* @systemapi
* @stagemodelonly

View File

@ -130,6 +130,7 @@ declare namespace pasteboard {
*/
/**
* Indicates type of value.
* @typedef { string | image.PixelMap | Want | ArrayBuffer }
* @syscap SystemCapability.MiscServices.Pasteboard
* @atomicservice
* @since 11