CKTool JS
Manage your CloudKit containers and databases from JavaScript.
Overview
Include CKTool JS in your JavaScript automation testing and
continuous integration tasks to manipulate the schema and the
data in your database.
"base" API Package
This API package includes the following operations
related to "base".
Each operation has a corresponding function that
returns a CancellablePromise that resolves
if successful and rejects if the operation fails.
API Promise Mixin
BasePromisesApiMixin
Don't use this mixin directly. Instead, use PromisesApi
from @apple/cktool.database.
Methods
The following methods are added by the mixin.
getContainers
Fetches containers for a team.
getTeams
Fetches a list of teams the current user is in.
TypeScript Types
AuthenticationRequiredError
CKDatabaseType
CKEnvironment
Container
ContainersResponse
ContainersSortByField
RequestError
SortDirection
Team
TeamsResponse