Компания Targetprocess
{
"settings": {
"url": {
"caption": "Targetprocess URL",
"type": "uri"
},
"token": {
"caption": "Targetprocess authentication token",
"type": "string"
},
"projects": {
"caption": "Ids or names of projects to be monitored",
"type": "list",
"optional": true
},
"types": {
"caption": "Names of entity types to be monitored",
"type": "multiple selection",
"optional": true,
"values": [
"UserStory",
"Bug",
"Feature",
"Epic"
],
"defaultValue": [
"UserStory",
"Bug"
]
}
},
"methods": {
"tasks": {
"get": {}
},
"users": {
"get": {}
}
}
}
Meteor.publish('Lists.public', function() {
return Lists.find({
userId: {$exists: false}
}, {
fields: Lists.publicFields
});
});
const handle = Meteor.subscribe('Lists.public');
Lists.find({}).fetch() // return all public
Template.Lists.helpers({
lists() {
return Lists.find();
}
});
{{#each todo in lists}}
{{#each tag in todo.tags}}
{tag}
{{/each}}
{{/each}}
// In client-side code, declare a local collection
// by passing `null` as the argument
ScoreAverages = new Mongo.Collection(null);
function updateAverages() {
// Clean out result cache
ScoreAverages.remove({});
// Call a Method that does an expensive computation
Games.methods.calculateAverages.call((err, res) => {
res.forEach((item) => {
ScoreAverages.insert(item);
});
});
}
{
getAverage(category: 'sci-fi') {
name,
url,
value
}
}
[{
name: 'beyondthestars',
url: 'https://beyondthestars.com'
value: 1000
}]