Using omit: true

This commit is contained in:
Sacha Greif 2014-10-06 10:23:46 +09:00
parent ccf0ea7820
commit c5b2c36758
8 changed files with 21 additions and 29 deletions

View file

@ -7,14 +7,14 @@ postSchemaObject = {
type: String, type: String,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
createdAt: { createdAt: {
type: Date, type: Date,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
postedAt: { postedAt: {
@ -54,35 +54,35 @@ postSchemaObject = {
type: String, type: String,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
commentsCount: { commentsCount: {
type: Number, type: Number,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
commenters: { commenters: {
type: [String], type: [String],
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
lastCommentedAt: { lastCommentedAt: {
type: Date, type: Date,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
clicks: { clicks: {
type: Number, type: Number,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
baseScore: { baseScore: {
@ -90,35 +90,35 @@ postSchemaObject = {
decimal: true, decimal: true,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
upvotes: { upvotes: {
type: Number, type: Number,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
upvoters: { upvoters: {
type: [String], // XXX type: [String], // XXX
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
downvotes: { downvotes: {
type: Number, type: Number,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
downvoters: { downvoters: {
type: [String], // XXX type: [String], // XXX
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
score: { score: {
@ -126,7 +126,7 @@ postSchemaObject = {
decimal: true, decimal: true,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
status: { status: {
@ -154,7 +154,7 @@ postSchemaObject = {
type: Boolean, type: Boolean,
optional: true, optional: true,
autoform: { autoform: {
hidden: true omit: true
} }
}, },
userId: { userId: {

View file

@ -86,7 +86,7 @@
], ],
[ [
"iron:router", "iron:router",
"0.9.3" "0.9.4"
], ],
[ [
"jquery", "jquery",

View file

@ -76,10 +76,6 @@
"livedata", "livedata",
"1.0.10" "1.0.10"
], ],
[
"localstorage",
"1.0.0"
],
[ [
"logging", "logging",
"1.0.3" "1.0.3"
@ -90,11 +86,7 @@
], ],
[ [
"meteorhacks:kadira", "meteorhacks:kadira",
"2.9.2" "2.5.0"
],
[
"meteorhacks:kadira-binary-deps",
"1.0.1"
], ],
[ [
"minimongo", "minimongo",

View file

@ -90,7 +90,7 @@
], ],
[ [
"iron:router", "iron:router",
"0.9.3" "0.9.4"
], ],
[ [
"jquery", "jquery",

View file

@ -90,7 +90,7 @@
], ],
[ [
"iron:router", "iron:router",
"0.9.3" "0.9.4"
], ],
[ [
"jquery", "jquery",

View file

@ -82,7 +82,7 @@
], ],
[ [
"iron:router", "iron:router",
"0.9.3" "0.9.4"
], ],
[ [
"jquery", "jquery",

View file

@ -82,7 +82,7 @@
], ],
[ [
"iron:router", "iron:router",
"0.9.3" "0.9.4"
], ],
[ [
"jquery", "jquery",

View file

@ -86,7 +86,7 @@
], ],
[ [
"iron:router", "iron:router",
"0.9.3" "0.9.4"
], ],
[ [
"jquery", "jquery",