Version 0.2.20

CloudKit JS v2 type declarations for TypeScript

Package: tsl-apple-cloudkit.tgz (SHA1, More)

Changes

Please note, that starting with v0.2.7 some elements break with the documentation by Apple. The following changes have been made:

Requirements

This package is compatible to

Installation & Update

npm i https://typescriptlibs.org/npm/tsl-apple-cloudkit.tgz

Configuration:

On client side you have to configure RequireJS to find the client handler, that has to be moved outside the node.js package:

require.config({
	paths: {
		'tsl-apple-cloudkit': 'libs/tsl-apple-cloudkit',
	}
});

Please note, that the handler requires a static script reference to CloudKit JS in the HTML head like this:

<script src="https://cdn.apple-cloudkit.com/ck/2/cloudkit.js" />

Usage

import * as CloudKit from 'tsl-apple-cloudkit';

Documentation

Further information can be found in the API documentation, Apple CloudKit JS Reference, Apple CloudKit JS Video, and Apple iCloud Development.

The downloaded main.js is licensed only for use to Apple developers in providing CloudKit Web Services, or any part thereof, and is subject to the iCloud Terms and Conditions and the Apple Developer Program License Agreement. You may not port this file to another platform inconsistent with the iCloud Terms and Conditions, the Apple Developer Program License Agreement, or the accompanying Documentation without Apple’s written consent. Acknowledgements: acknowledgements.txt