Skip to content

Commit

Permalink
Include packages in pubs. Add isExtended to Dep.
Browse files Browse the repository at this point in the history
  • Loading branch information
danopia committed Apr 8, 2017
1 parent f9e1b93 commit 9d39eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/_schema/resources.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@ DB.Dependency = DB.Resource.inherit
fields:
childPackage : type: String, optional: true
isOptional : type: Boolean, default: false
isExtended : type: Boolean, default: false
2 changes: 1 addition & 1 deletion server/publish/app-runtime.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Meteor.publish '/app-runtime', (packageId) ->
addPkg packageId

[
DB.App.find _id: $in: packageIds
DB.Package.find _id: $in: packageIds
DB.Resources.find packageId: $in: packageIds
]

0 comments on commit 9d39eaa

Please sign in to comment.