Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overview of event data #50

Open
Syntaf opened this issue Apr 26, 2017 · 0 comments
Open

Overview of event data #50

Syntaf opened this issue Apr 26, 2017 · 0 comments
Labels

Comments

@Syntaf
Copy link
Member

Syntaf commented Apr 26, 2017

When inserting each event into the backend, the database must conform to the following structure

{
  "start": "2017-04-25T09:00:00.000Z",
  "end": "2017-04-26T01:40:33.043Z",
  "title": "A draggable and resizable event",
  "color": {
    "primary": "#ffffff",
    "secondary": "#FDF1BA"
  }
}

when the database returns an array of these events, each event object must have the following data appended to it:

  "resizable": {
    "beforeStart": true,
    "afterEnd": true
  },
  "draggable": true
@Syntaf Syntaf added the backend label Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant