mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 19:11:38 -05:00
Using omit: true
This commit is contained in:
parent
ccf0ea7820
commit
c5b2c36758
8 changed files with 21 additions and 29 deletions
|
@ -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: {
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
],
|
||||
[
|
||||
"iron:router",
|
||||
"0.9.3"
|
||||
"0.9.4"
|
||||
],
|
||||
[
|
||||
"jquery",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
],
|
||||
[
|
||||
"iron:router",
|
||||
"0.9.3"
|
||||
"0.9.4"
|
||||
],
|
||||
[
|
||||
"jquery",
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
],
|
||||
[
|
||||
"iron:router",
|
||||
"0.9.3"
|
||||
"0.9.4"
|
||||
],
|
||||
[
|
||||
"jquery",
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
],
|
||||
[
|
||||
"iron:router",
|
||||
"0.9.3"
|
||||
"0.9.4"
|
||||
],
|
||||
[
|
||||
"jquery",
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
],
|
||||
[
|
||||
"iron:router",
|
||||
"0.9.3"
|
||||
"0.9.4"
|
||||
],
|
||||
[
|
||||
"jquery",
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
],
|
||||
[
|
||||
"iron:router",
|
||||
"0.9.3"
|
||||
"0.9.4"
|
||||
],
|
||||
[
|
||||
"jquery",
|
||||
|
|
Loading…
Add table
Reference in a new issue