Adding missing instructions to TypeScript definitions (#1301)
This commit is contained in:
parent
eac393571d
commit
6444f3fa6f
|
@ -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)
|
||||
=============================================================
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue