mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04: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,
|
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: {
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"iron:router",
|
"iron:router",
|
||||||
"0.9.3"
|
"0.9.4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"jquery",
|
"jquery",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"iron:router",
|
"iron:router",
|
||||||
"0.9.3"
|
"0.9.4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"jquery",
|
"jquery",
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"iron:router",
|
"iron:router",
|
||||||
"0.9.3"
|
"0.9.4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"jquery",
|
"jquery",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"iron:router",
|
"iron:router",
|
||||||
"0.9.3"
|
"0.9.4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"jquery",
|
"jquery",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"iron:router",
|
"iron:router",
|
||||||
"0.9.3"
|
"0.9.4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"jquery",
|
"jquery",
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"iron:router",
|
"iron:router",
|
||||||
"0.9.3"
|
"0.9.4"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"jquery",
|
"jquery",
|
||||||
|
|
Loading…
Add table
Reference in a new issue