Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated showcase to reflect recent changes #226

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading