Build a default empty JobEvent shell (proto fields are always present).
()
| 168 | |
| 169 | /** Build a default empty JobEvent shell (proto fields are always present). */ |
| 170 | function emptyEvent(): JobEvent { |
| 171 | return { |
| 172 | kind: JobEventKind.JOB_EVENT_KIND_UNSPECIFIED, |
| 173 | phase: JobPhase.JOB_PHASE_UNSPECIFIED, |
| 174 | message: '', |
| 175 | result: undefined, |
| 176 | errors: [], |
| 177 | detail: undefined, |
| 178 | nodes: [], |
| 179 | relationships: [], |
| 180 | }; |
| 181 | } |
| 182 | |
| 183 | export class BrowserJobService implements JobService { |
| 184 | private store: GraphStore; |
no outgoing calls
no test coverage detected