From 022067feca0084594fb579d0d86e88911cfd23db Mon Sep 17 00:00:00 2001 From: kbrownomni Date: Wed, 23 Oct 2024 15:50:47 -0500 Subject: [PATCH] updated showcase to reflect recent changes (#226) Co-authored-by: Katherine Brown --- .../projects/showcase/src/app/arc.service.mock.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts b/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts index c776d564d..0a5ee0709 100644 --- a/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts +++ b/plugins/arcgis/web-app/projects/showcase/src/app/arc.service.mock.ts @@ -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({ +export const mockArcGISEventResult = Object.freeze({ id: 0, name: 'test event result name', forms: [{ @@ -20,6 +20,9 @@ export const mockArcGISEventResult = Object.freeze({ providedIn: 'root' }) export class MockArcService implements ArcServiceInterface { + fetchFeatureServiceLayers(featureServiceUrl: string): Observable { + throw new Error("Method not implemented."); + } fetchArcConfig(): Observable { return of(defaultArcGISPluginConfig) }