0.0.2 • Published 5 years ago

safetag-next v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Deploy to now

Safetag Next Template

This repo is meant to be used as a renderer for the Safetag content as code project. The content as code pipeline will render the necessary state as:

  • A JSON hierarchy
{
  result: "123",
  entities: {
    "activities": {
      "123": {
        id: "123",
        method: "2",
        title: "Automated Reconnaissance",
        time: 42,
        tech: true,
        research: false,
        interpersonal: false,
        content: "./activities/",
        summary: "./activities/automated_reconnaissance/summary.md",
        preparation: "./activities/automated_reconnaissance/preparation.md",
        ...
      }
    },
    "methods": {
      "1": { id: "1", name: "Preparation" },
      "2": { id: "2", name: "Reconnaissance", summary: "./reconnaissance/summary.md", purpose: "./" }
    },
    "comments": {
      "324": { id: "324", "commenter": "2" }
    }
  }
}

Using already normalized data following https://www.robinwieruch.de/the-soundcloud-client-in-react-redux-normalizr/