Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
weather
Commits
f6ac6655
Unverified
Commit
f6ac6655
authored
Jan 24, 2017
by
David Haynes
Browse files
Remove SimpleSchema since it is not being used
- may come back in the future
parent
dfe51d31
Changes
1
Hide whitespace changes
Inline
Side-by-side
weather/imports/api/weather-data.js
View file @
f6ac6655
import
{
Mongo
}
from
'
meteor/mongo
'
;
export
const
WeatherData
=
new
Mongo
.
Collection
(
'
WeatherDatas
'
);
WeatherData
.
schema
=
new
SimpleSchema
({
name
:
{
type
:
String
,
label
:
"
The name of the GMU Campus
"
},
lat
:
{
type
:
Number
,
label
:
"
The latitude of the GMU Campus
"
},
long
:
{
type
:
Number
,
label
:
"
The longiute of the GMU Campus
"
},
data
:
{
type
:
Object
,
label
:
"
The most current weather entry for this location
"
},
lastUpdated
:
{
type
:
Date
,
label
:
"
The last time that this campus's current forecast was updated
"
}
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment