{"size": 4518, "ext": "js", "max_stars_repo_path": "mirage/config.js", "max_stars_repo_name": "papermerge/papermerge.js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "mirage/config.js", "max_issues_repo_name": "papermerge/papermerge.js", "max_issues_repo_issues_event_min_datetime": "2021-11-26T14:54:41.000Z", "max_issues_repo_issues_event_max_datetime": "2021-11-27T06:41:52.000Z", "max_forks_repo_path": "mirage/config.js", "max_forks_repo_name": "papermerge/papermerge.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 21.0139534884, "max_line_length": 61, "alphanum_fraction": 0.3311199646}
export default function() {
  this.get('/api/nodes/inboxcount/', () => {
    return {
      "data": {
        "count": 1
      }
    }
  });

  this.get('/api/users/me/', () => {
    return {
      "data":{
        "type":"users",
        "id":"1",
        "attributes":
          {
            "username":"eugen",
            "first_name":"",
            "last_name":"",
            "email":"",
            "is_active":true,
            "is_staff":true,
            "is_superuser":true,
            "date_joined":"2021-11-24T20:54:38.690996+01:00"
          },
          "relationships": {
              "inbox_folder": {
                "data": {
                  "type":"folders",
                  "id":"1"
                }
              },
              "home_folder": {
                "data": {
                  "type":"folders",
                  "id":"2"
                }
              }
          }
      } // data
    } // return
  });

  this.get('/api/folders/2/', () => {
    return {
      "data": {
        "type": "folders",
        "id":"2",
        "attributes": {
          "title": ".home",
          "tags": [],
          "created_at": "2021-11-24T20:54:38.833485+01:00",
          "updated_at":"2021-11-24T20:54:38.833509+01:00"
        },
        "relationships": {
          "parent": {
            "data":null
          }
        }
      }
    }
  });

  this.get('/api/folders/1/', () => {
    return {
      "data": {
        "type": "folders",
        "id":"1",
        "attributes": {
          "title": ".inbox",
          "tags": [],
          "created_at": "2021-11-24T20:54:38.833485+01:00",
          "updated_at":"2021-11-24T20:54:38.833509+01:00"
        },
        "relationships": {
          "parent": {
            "data":null
          }
        }
      }
    }
  });

  this.get('/api/tags/', () => {
    return {
      "data": [
        {
          "type": "tags",
          "id": "1",
          "attributes": {
            "name": "one",
            "bg_color": "#006684",
            "fg_color":"#ffffff",
            "description":"",
            "pinned":false
          }
        }
      ]
    }
  });

  this.get('/api/roles/', () => {
    return {
      "data": []
    }
  });

  this.get('/api/nodes/1/', () => {
    return {
      "data": [
        {
          "type": "folders",
          "id":"4",
          "attributes": {
            "title": "Folder 1",
            "tags": [],
            "created_at": "2021-11-24T20:54:38.833485+01:00",
            "updated_at":"2021-11-24T20:54:38.833509+01:00"
          },
          "relationships": {
            "parent": {
              "data":null
            }
          }
        },
        {
          "type": "folders",
          "id":"5",
          "attributes": {
            "title": "Folder 2",
            "tags": [],
            "created_at": "2021-11-24T20:54:38.833485+01:00",
            "updated_at":"2021-11-24T20:54:38.833509+01:00"
          },
          "relationships": {
            "parent": {
              "data":null
            }
          }
        }
      ],
      "meta": {
        "pagination": {
          "page": 1,
          "pages": 1,
          "count": 2
        }
      },
      "links": {
        "first": "",
        "last": "",
        "next": "",
        "prev": ""
      }
    }
  });

  this.get('/api/nodes/2/', () => {
    return {
      "data": [
        {
          "type": "folders",
          "id":"4",
          "attributes": {
            "title": "Folder 1",
            "tags": [],
            "created_at": "2021-11-24T20:54:38.833485+01:00",
            "updated_at":"2021-11-24T20:54:38.833509+01:00"
          },
          "relationships": {
            "parent": {
              "data":null
            }
          }
        },
        {
          "type": "folders",
          "id":"5",
          "attributes": {
            "title": "Folder 2",
            "tags": [],
            "created_at": "2021-11-24T20:54:38.833485+01:00",
            "updated_at":"2021-11-24T20:54:38.833509+01:00"
          },
          "relationships": {
            "parent": {
              "data":null
            }
          }
        }
      ],
      "meta": {
        "pagination": {
          "page": 1,
          "pages": 1,
          "count": 2
        }
      },
      "links": {
        "first": "",
        "last": "",
        "next": "",
        "prev": ""
      }
    }
  });

  this.get('/api/preferences/', () => {
    return {
      "data": []
    }
  });

}
