Skip to content

Commit

Permalink
Added back previously removed update token
Browse files Browse the repository at this point in the history
  • Loading branch information
MKHenson committed Nov 4, 2016
1 parent 310fd1c commit 8c27791
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/definitions/custom/modepress.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,13 @@
public remove( val: SchemaItem<any> | string );
}

export interface UpdateToken<T> { error: string | boolean; instance: ModelInstance<T> }

/*
* Describes a token returned from updating instances
*/
export interface UpdateRequest<T> { error: boolean; tokens: Array<UpdateToken<T>> }

/**
* An instance of a model with its own unique schema and ID. The initial schema is a clone
* the parent model's
Expand Down

0 comments on commit 8c27791

Please sign in to comment.