Skip to content

Instantly share code, notes, and snippets.

@stephenplusplus
Last active October 20, 2015 18:44
Show Gist options
  • Select an option

  • Save stephenplusplus/1f26f18de432b134e260 to your computer and use it in GitHub Desktop.

Select an option

Save stephenplusplus/1f26f18de432b134e260 to your computer and use it in GitHub Desktop.
firebase model
{
// PRIVATE DASHBOARDS:
"${projectId}:${userId}": {
"${dashboardId}": {
"modified": new Date(),
"plugins": [
{
"title": "Storage Browser",
"state": "storage-browser",
"repository": "jgeewax/gcloud-ui-storage-browser",
"version": "v0.0.2",
"id": "storage-browser"
}
]
}
},
// SHARED DASHBOARDS:
"dashboards": {
"${dashboardId}": {
"creator": "${userId}",
"modified": new Date(),
"plugins": [
{
"title": "Storage Browser",
"state": "storage-browser",
"repository": "jgeewax/gcloud-ui-storage-browser",
"version": "v0.0.2",
"id": "storage-browser"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment