From bed1556a3ace3d228631ac8003b220e926809aeb Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 5 Nov 2015 17:30:27 -0800 Subject: [PATCH] [Persistence] Begin adding example bundle Begin adding example bundle illustrating usage of secondary persistence stores. Scratchpad will 'persist' objects only in memory. --- example/scratchpad/README.md | 2 ++ example/scratchpad/bundle.json | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 example/scratchpad/README.md create mode 100644 example/scratchpad/bundle.json diff --git a/example/scratchpad/README.md b/example/scratchpad/README.md new file mode 100644 index 0000000000..624a4786b4 --- /dev/null +++ b/example/scratchpad/README.md @@ -0,0 +1,2 @@ +Example of using multiple persistence stores by exposing a root +object with a different space prefix. diff --git a/example/scratchpad/bundle.json b/example/scratchpad/bundle.json new file mode 100644 index 0000000000..84d670589a --- /dev/null +++ b/example/scratchpad/bundle.json @@ -0,0 +1,15 @@ +{ + "extensions": { + "roots": [ + { + "id": "scratch:root", + "model": { + "type": "folder", + "composition": [], + "name": "Scratchpad" + }, + "priority": "preferred" + } + ] + } +}