From aae694800d4339e4b2db5bba6717504f78938a32 Mon Sep 17 00:00:00 2001 From: wuyongning Date: Sat, 19 Mar 2022 20:14:03 +0800 Subject: [PATCH] Handling API interface for Endogenous code exercise Signed-off-by: wuyongning --- api/@ohos.data.dataAbility.d.ts | 1 + api/@ohos.data.distributedData.d.ts | 1 + api/@ohos.data.distributedDataObject.d.ts | 1 + api/@ohos.data.rdb.d.ts | 3 ++- api/@ohos.data.storage.d.ts | 1 + api/data/rdb/resultSet.d.ts | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/api/@ohos.data.dataAbility.d.ts b/api/@ohos.data.dataAbility.d.ts index 260afab404..bab5340f55 100644 --- a/api/@ohos.data.dataAbility.d.ts +++ b/api/@ohos.data.dataAbility.d.ts @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import { AsyncCallback } from './basic'; import rdb from './@ohos.data.rdb'; diff --git a/api/@ohos.data.distributedData.d.ts b/api/@ohos.data.distributedData.d.ts index 63e30013e2..24c66ef24f 100644 --- a/api/@ohos.data.distributedData.d.ts +++ b/api/@ohos.data.distributedData.d.ts @@ -14,6 +14,7 @@ */ import { AsyncCallback, Callback } from './basic'; + /** * Providers interfaces to creat a {@link KVManager} istances. * @since 7 diff --git a/api/@ohos.data.distributedDataObject.d.ts b/api/@ohos.data.distributedDataObject.d.ts index 556c91137a..0a77aa67c6 100644 --- a/api/@ohos.data.distributedDataObject.d.ts +++ b/api/@ohos.data.distributedDataObject.d.ts @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import {AsyncCallback, Callback} from './basic'; /** diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index e2317b1d94..a85f2fcdff 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import {AsyncCallback, Callback} from './basic'; import { ResultSet } from './data/rdb/resultSet'; import Context from "./application/Context"; @@ -260,7 +261,7 @@ declare namespace rdb { sync(mode: SyncMode, predicates: RdbPredicates): Promise>; /** - * Registers a observer for the database. When data in the distributed database changes, + * Registers an observer for the database. When data in the distributed database changes, * the callback will be invoked. * * @note N/A diff --git a/api/@ohos.data.storage.d.ts b/api/@ohos.data.storage.d.ts index e0d4107e06..86b8edd9de 100644 --- a/api/@ohos.data.storage.d.ts +++ b/api/@ohos.data.storage.d.ts @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import { AsyncCallback, Callback } from './basic'; /** diff --git a/api/data/rdb/resultSet.d.ts b/api/data/rdb/resultSet.d.ts index 2a6e45f99e..7d985da9a5 100755 --- a/api/data/rdb/resultSet.d.ts +++ b/api/data/rdb/resultSet.d.ts @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + import { AsyncCallback } from '../../basic' /** -- Gitee