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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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