/**
 * @flow
 */


type ResData = Object; //TODO

/**
 * //TODO
 */
export function encode(updatedStates: StatesObject, encodeState: EncodeStateFunc): ResData {
	//TODO
	return {};
}

/**
 * //TODO
 */
export function decode(response: ResData, decodeState: DecodeStateFunc): StatesObject {
	//TODO
	return {};
}
@@ -11,17 +11,16 @@
 ow%0A */%0A%0A
-%0A
 type Res
@@ -30,171 +30,779 @@
 a = 
-Object; //TODO%0A%0A/**%0A * //TODO%0A */%0Aexport function encode(updatedStates: StatesObject, encodeState: EncodeStateFunc): ResData %7B%0A%09//TODO%0A%09return %7B%7D;%0A%7D%0A%0A/**%0A * //TODO
+%7B%0A%09newStates: %7B%5Bkey: string%5D: string%7D%0A%7D;%0A%0A/**%0A * Encode the updated states, to send to the client.%0A *%0A * @param updatedStates%09%7BStatesObject%7D%09%09%09%09The updated states%0A * @param encodeState%09%7B(string, any) =%3E string%7D%09A function that will encode the state, of a given store, to be%0A *%09%09%09%09%09%09%09%09%09%09%09%09%09passed over an HTTP request%0A *%0A * @return%09%09%09%09%7BResData%7D%09%09%09%09%09The data to respond to the client with%0A */%0Aexport function encode(updatedStates: StatesObject, encodeState: EncodeStateFunc): ResData %7B%0A%09//TODO%0A%09return %7B%7D;%0A%7D%0A%0A/**%0A * Decode the states from the server.%0A *%0A * @param response%09%09%7BResData%7D%09%09%09%09%09The response form the server%0A * @param decodeState%09%7B(string, string) =%3E any%7D%09A function that will decode the state of a given store%0A *%0A * @return%09%09%09%09%7BStatesObject%7D%09%09%09%09The updated states
 %0A */

Add Documentation for the Response's 'encode(...)'/'decode(...)' Functions