MCPcopy Create free account
hub / github.com/Rello/analytics / getReportTemplates

Method getReportTemplates

lib/Datasource/Github.php:102–127  ·  view source on GitHub ↗

* @return array > */

()

Source from the content-addressed store, hash-verified

100 * @return array<string, array<string, mixed>>
101 */
102 public function getReportTemplates(): array {
103 return [
104 'github_demo_downloads' => [
105 'name' => 'GitHub Download Statistics',
106 'report' => [
107 'name' => 'GitHub Download Statistics',
108 'subheader' => 'Realtime download statistics of GitHub releases',
109 'parent' => '0',
110 'type' => 3,
111 'dataset' => 0,
112 'link' => '{"dataSourceType":"","data":"release","limit":"10","timestamp":"false","filter":"","showAssets":"false","token":""}',
113 'visualization' => 'ct',
114 'chart' => 'column',
115 'dimension1' => 'Version',
116 'dimension2' => 'Version',
117 'value' => 'false',
118 ],
119 'options' => [
120 'chartoptions' => '{"__analytics_gui":{"version":2,"model":"kpiModel","doughnutLabelStyle":"percentage"}}',
121 'dataoptions' => '[]',
122 'filteroptions' => '{}',
123 'tableoptions' => '{"order":[[0,"desc"]]}',
124 ],
125 ],
126 ];
127 }
128
129 /**
130 * Read the Data

Callers 1

buildDatasourceIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected