(array $report)
| 151 | } |
| 152 | |
| 153 | private function publicMetadata(array $report): array { |
| 154 | return array_intersect_key($report, array_flip([ |
| 155 | 'id', 'name', 'subheader', 'type', 'parent', 'dataset', 'version', |
| 156 | 'visualization', 'chart', 'chartoptions', 'dataoptions', 'tableoptions', |
| 157 | 'filteroptions', 'refresh', 'permissions', 'isShare', |
| 158 | 'storageMode', 'schemaVersion', 'columns', 'dimension1', 'dimension2', 'value', |
| 159 | ])); |
| 160 | } |
| 161 | } |