From c427fe1d10fc01cb1d375c446f1b364c9a406f96 Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Fri, 23 Jun 2017 17:12:26 -0700 Subject: [PATCH] Update architecture.md --- docs/architecture.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/architecture.md b/docs/architecture.md index facb8127..6c954de8 100755 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -59,3 +59,5 @@ The control component receives 3 callbacks as props: `onChange`, `onAddAsset` & Both control and preview widgets receive a `getAsset` selector via props. Displaying the media (or its URI) for the user should always be done via `getAsset`, as it returns an AssetProxy that can return the correct value for both medias already persisted on the server and cached media not yet uploaded. The actual persistence of the content and medias inserted into the control component are delegated to the backend implementation. The backend will be called with the updated values and a a list of assetProxy objects for each field of the entry, and should return a promise that can resolve into the persisted entry object and the list of the persisted media URIs. + +test