File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
plugins/arcgis/web-app/projects/showcase/src/app Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11import { Observable , of } from "rxjs" ;
22import { Injectable } from '@angular/core'
3- import { ArcServiceInterface } from "../../../main/src/lib/arc.service" ;
4- import { EventResult } from '../../../main/src/lib/EventsResult' ;
3+ import { ArcServiceInterface , FeatureLayer } from "../../../main/src/lib/arc.service" ;
54import { ArcGISPluginConfig , defaultArcGISPluginConfig } from '../../../main/src/lib/ArcGISPluginConfig' ;
5+ import { MageEvent } from "../../../main/src/lib/arc.service" ;
66
7- export const mockArcGISEventResult = Object . freeze < EventResult > ( {
7+ export const mockArcGISEventResult = Object . freeze < MageEvent > ( {
88 id : 0 ,
99 name : 'test event result name' ,
1010 forms : [ {
@@ -20,6 +20,9 @@ export const mockArcGISEventResult = Object.freeze<EventResult>({
2020 providedIn : 'root'
2121} )
2222export class MockArcService implements ArcServiceInterface {
23+ fetchFeatureServiceLayers ( featureServiceUrl : string ) : Observable < FeatureLayer [ ] > {
24+ throw new Error ( "Method not implemented." ) ;
25+ }
2326 fetchArcConfig ( ) : Observable < ArcGISPluginConfig > {
2427 return of ( defaultArcGISPluginConfig )
2528 }
You can’t perform that action at this time.
0 commit comments