Adding missing instructions to TypeScript definitions (#1301)

This commit is contained in:
Kenneth Geisshirt 2017-09-13 09:21:26 +02:00 committed by GitHub
parent eac393571d
commit 6444f3fa6f
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ X.Y.Z Release notes
* Added `Realm.deleteModel` for deleting a Realm model in a migration (#573).
### Bug fixes
* Adding missing TypeScript definitions; Permissions (#1283) and `setFeatureToken()`.
* Adding missing TypeScript definitions; Permissions (#1283), `setFeatureToken()`, and instructions (#1298).
1.11.1 Release notes (2017-9-1)
=============================================================

2
lib/index.d.ts vendored
View File

@ -381,7 +381,7 @@ declare namespace Realm.Sync {
function setAccessToken(accessToken: string): void;
type Instruction = {
type: 'INSERT' | 'SET' | 'DELETE' | 'CLEAR' | 'LIST_SET' | 'LIST_INSERT' | 'LIST_ERASE' | 'LIST_CLEAR' | 'ADD_TYPE' | 'ADD_PROPERTIES'
type: 'INSERT' | 'SET' | 'DELETE' | 'CLEAR' | 'LIST_SET' | 'LIST_INSERT' | 'LIST_ERASE' | 'LIST_CLEAR' | 'ADD_TYPE' | 'ADD_PROPERTIES' | 'CHANGE_IDENTITY' | 'SWAP_IDENTITY'
object_type: string,
identity: string,
values: any | undefined