epitech-intranet
Advanced tools
Comparing version 0.0.2 to 0.1.3
@@ -13,3 +13,3 @@ // Generated by CoffeeScript 1.4.0 | ||
paths = ["client", "client.index", "client.user", "client.user.index", "client.user('touron_m')", "client.user('touron_m').index", "client.user('touron_m').binome", "client.user('touron_m').netsoul", "client.user('touron_m').netsoul.getlog"]; | ||
paths = ["client", "client.index", "client.user", "client.user.index", "client.user('touron_m')", "client.user('touron_m').index", "client.user('touron_m').binome", "client.user('touron_m').netsoul", "client.user('touron_m').netsoul.getlog", "client.user('touron_m').notification", "client.user('touron_m').notification.coming", "client.user('touron_m').notification.message", "client.user('touron_m').notification.alert", "client.planning", "client.planning.load", "client.planning.calendar", "client.planning(2)", "client.planning(2).events"]; | ||
@@ -16,0 +16,0 @@ _fn = function() { |
@@ -7,3 +7,3 @@ // Generated by CoffeeScript 1.4.0 | ||
models = ['_index', 'user']; | ||
models = ['_index', 'user', 'planning']; | ||
@@ -10,0 +10,0 @@ module.exports = []; |
@@ -60,2 +60,8 @@ // Generated by CoffeeScript 1.4.0 | ||
this.notification_alert = __bind(this.notification_alert, this); | ||
this.notification_message = __bind(this.notification_message, this); | ||
this.notification_coming = __bind(this.notification_coming, this); | ||
this.netsoul_getlog = __bind(this.netsoul_getlog, this); | ||
@@ -68,4 +74,10 @@ | ||
UserEntity.prototype.setupRoutes = function() { | ||
this.netsoul = {}; | ||
return this.netsoul.getlog = this.netsoul_getlog; | ||
this.netsoul = { | ||
getlog: this.netsoul_getlog | ||
}; | ||
return this.notification = { | ||
coming: this.notification_coming, | ||
message: this.notification_message, | ||
alert: this.notification_alert | ||
}; | ||
}; | ||
@@ -77,2 +89,14 @@ | ||
UserEntity.prototype.notification_coming = function(fn) { | ||
return this.request("user/" + this.login + "/notification/coming/", fn); | ||
}; | ||
UserEntity.prototype.notification_message = function(fn) { | ||
return this.request("user/" + this.login + "/notification/message/", fn); | ||
}; | ||
UserEntity.prototype.notification_alert = function(fn) { | ||
return this.request("user/" + this.login + "/notification/alert/", fn); | ||
}; | ||
UserEntity.prototype.index = function(fn) { | ||
@@ -79,0 +103,0 @@ return this.request("user/" + this.login + "/", fn); |
{ | ||
"name": "epitech-intranet", | ||
"version": "0.0.2", | ||
"version": "0.1.3", | ||
"description": "epitech intranet wrapper", | ||
@@ -23,4 +23,8 @@ "main": "index.js", | ||
"epitech", | ||
"epita", | ||
"intranet", | ||
"ionis" | ||
"ionis", | ||
"netsoul", | ||
"bocal", | ||
"iit" | ||
], | ||
@@ -27,0 +31,0 @@ "author": "Manfred Touron <m@42.am>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26615
25
507