diff --git a/api/@ohos.data.sendableRelationalStore.d.ets b/api/@ohos.data.sendableRelationalStore.d.ets index f626f6eb400a9c7cabe0f0a7717df9dc4429c208..b354d041916e0e02e138966c3d3f1b49e4708f17 100644 --- a/api/@ohos.data.sendableRelationalStore.d.ets +++ b/api/@ohos.data.sendableRelationalStore.d.ets @@ -18,6 +18,7 @@ * @kit ArkData */ +import collections from '../arkts/@arkts.collections'; import lang from '../arkts/@arkts.lang'; import relationalStore from './@ohos.data.relationalStore'; @@ -98,31 +99,31 @@ declare namespace sendableRelationalStore { /** * Defines multiple assets in a column. * - * @typedef { Array } Assets + * @typedef { collections.Array } Assets * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @since 12 */ - type Assets = Array; + type Assets = collections.Array; /** * Defines the types of the value in a KV pair. * - * @typedef { null | number | string | boolean | Uint8Array | Asset | Assets | - * Float32Array | bigint } ValueType + * @typedef { null | number | string | boolean | collections.Uint8Array | Asset | Assets | + * collections.Float32Array | bigint } ValueType * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @since 12 */ - type ValueType = null | number | string | boolean | Uint8Array | Asset | Assets | - Float32Array | bigint; + type ValueType = null | number | string | boolean | collections.Uint8Array | Asset | Assets | + collections.Float32Array | bigint; /** * Defines the data stored in KV pairs in a ValuesBucket object. * - * @typedef { Map } ValuesBucket + * @typedef { collections.Map } ValuesBucket * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @since 12 */ - type ValuesBucket = Map; + type ValuesBucket = collections.Map; /** * Defines NonSendableBucket for convenience. @@ -196,4 +197,4 @@ declare namespace sendableRelationalStore { function toSendableAsset(asset: NonSendableAsset): Asset; } -export default sendableRelationalStore; +export default sendableRelationalStore; \ No newline at end of file