Skip to content

Commit

Permalink
updated showcase to reflect recent changes (#226)
Browse files Browse the repository at this point in the history
Co-authored-by: Katherine Brown <[email protected]>
  • Loading branch information
kbrownomni and Katherine Brown authored Oct 23, 2024
1 parent 0ba8568 commit 022067f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Observable, of } from "rxjs";
import { Injectable } from '@angular/core'
import { ArcServiceInterface } from "../../../main/src/lib/arc.service";
import { EventResult } from '../../../main/src/lib/EventsResult';
import { ArcServiceInterface, FeatureLayer } from "../../../main/src/lib/arc.service";
import { ArcGISPluginConfig, defaultArcGISPluginConfig } from '../../../main/src/lib/ArcGISPluginConfig';
import { MageEvent } from "../../../main/src/lib/arc.service";

export const mockArcGISEventResult = Object.freeze<EventResult>({
export const mockArcGISEventResult = Object.freeze<MageEvent>({
id: 0,
name: 'test event result name',
forms: [{
Expand All @@ -20,6 +20,9 @@ export const mockArcGISEventResult = Object.freeze<EventResult>({
providedIn: 'root'
})
export class MockArcService implements ArcServiceInterface {
fetchFeatureServiceLayers(featureServiceUrl: string): Observable<FeatureLayer[]> {
throw new Error("Method not implemented.");
}
fetchArcConfig(): Observable<ArcGISPluginConfig> {
return of(defaultArcGISPluginConfig)
}
Expand Down

0 comments on commit 022067f

Please sign in to comment.