File tree Expand file tree Collapse file tree 4 files changed +22
-43
lines changed
Expand file tree Collapse file tree 4 files changed +22
-43
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @ngageoint/mage.random" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.0 " ,
44 "description" : " Feed plugin that returns random geojson points" ,
55 "main" : " lib/index.js" ,
66 "files" : [
3838 },
3939 "homepage" : " https://github.com/ngageoint/mage-server#readme" ,
4040 "dependencies" : {
41- "@types/geojson" : " ^7946.0.7" ,
42- "axios" : " ^0.19.2"
41+ "@types/geojson" : " ^7946.0.7"
4342 },
4443 "peerDependencies" : {
4544 "@ngageoint/mage.service" : " ^6.2.0"
Original file line number Diff line number Diff line change @@ -12,14 +12,9 @@ export class RandomServiceType implements FeedServiceType {
1212
1313 readonly id : FeedServiceTypeId = FeedServiceTypeUnregistered
1414 readonly pluginServiceTypeId : string = RandomServiceType . SERVICE_TYPE_ID
15- readonly title : string = 'Feed Random'
16- readonly summary : string = 'Feed the returns features with random geo points'
17- readonly configSchema : JSONSchema4 = {
18- type : 'string' ,
19- title : 'URL' ,
20- description : "Service which returns random GeoJSON points" ,
21- default : 'https://msi.gs.mil/'
22- }
15+ readonly title : string = 'Random Points'
16+ readonly summary : string = 'Feed that returns features with random GeoJSON points'
17+ readonly configSchema : JSONSchema4 = { }
2318
2419 async validateServiceConfig ( config : Json ) : Promise < null | InvalidServiceConfigError > {
2520 if ( typeof config !== 'string' ) {
Original file line number Diff line number Diff line change @@ -50,6 +50,15 @@ export const topicDescriptor: FeedTopic = {
5050 format : "date"
5151 }
5252 }
53+ } ,
54+ localization : {
55+ es : {
56+ properties : {
57+ title : { title : 'Título' } ,
58+ summary : { title : 'Descripción' } ,
59+ timestamp : { title : 'Marca de tiempo' }
60+ }
61+ }
5362 }
5463}
5564
You can’t perform that action at this time.
0 commit comments