Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RoleGame
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Lehoux
RoleGame
Merge requests
!2
Release 0.2: Notifications & Errors
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Release 0.2: Notifications & Errors
release-0.2
into
master
Overview
0
Commits
11
Pipelines
0
Changes
7
Merged
Martin Lehoux
requested to merge
release-0.2
into
master
6 years ago
Overview
0
Commits
11
Pipelines
0
Changes
7
closes
#2 (closed)
0
0
Merge request reports
Compare
master
version 1
96eb9557
6 years ago
master (base)
and
latest version
latest version
2f240c62
11 commits,
6 years ago
version 1
96eb9557
10 commits,
6 years ago
7 files
+
117
−
30
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
models/notification.js
0 → 100644
+
21
−
0
View file @ 2f240c62
Edit in single-file editor
Open in Web IDE
const
mongoose
=
require
(
'
mongoose
'
);
const
Notification
=
new
mongoose
.
Schema
({
title
:
{
type
:
String
,
required
:
true
,
},
content
:
{
type
:
String
,
},
persistant
:
{
type
:
Boolean
,
default
:
false
,
},
color
:
{
type
:
String
,
default
:
""
}
});
module
.
exports
=
Notification
;
\ No newline at end of file
Loading