update: add upload-src and range-typeevents

This commit is contained in:
Jean-Baptiste Pasquier 2020-02-03 16:07:32 +01:00
parent d5e19c469c
commit 239645eda2
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
3 changed files with 14 additions and 4 deletions

View File

@ -12,14 +12,18 @@
"projects": "http://localhost:8000/projects/",
"customers": "http://localhost:8000/customers/",
"events": "http://localhost:8000/events/",
"users": "http://localhost:8000/users/"
"typeevents": "http://localhost:8000/typeevents/",
"users": "http://localhost:8000/users/",
"uploads": "http://localhost:8000/upload/"
},
"post": {
"circles": "http://localhost:8000/circles/",
"projects": "http://localhost:8000/projects/",
"customers": "http://localhost:8000/customers/",
"events": "http://localhost:8000/events/",
"users": "http://localhost:8000/users/"
"typeevents": "http://localhost:8000/typeevents/",
"users": "http://localhost:8000/users/",
"uploads": "http://localhost:8000/upload/"
}
}
}

View File

@ -11,6 +11,8 @@
"projects": "http://localhost:8000/projects/",
"customers": "http://localhost:8000/customers/",
"events": "http://localhost:8000/events/",
"users": "http://localhost:8000/users/"
"typeevents": "http://localhost:8000/typeevents/",
"users": "http://localhost:8000/users/",
"uploads": "http://localhost:8000/upload/"
}
}

View File

@ -1,2 +1,6 @@
.views-container
sib-event(data-src=`${endpoints.events || (endpoints.get && endpoints.get.events)}`)
sib-event(
data-src=`${endpoints.events || (endpoints.get && endpoints.get.events)}`
range-typeevents=`${endpoints.typeevents || (endpoints.get && endpoints.get.typeevents)}`
upload-src=`${endpoints.uploads || (endpoints.get && endpoints.get.uploads)}`
)