Skip to content

Refactor basicRegionList is rest.ts #13

@marySalvi

Description

@marySalvi

export async function basicRegionList( limit?: number, offset?: number, q?: Polygon | MultiPolygon, predicate?: string | null, acquiredAfter?: string | null, acquiredBefore?: string | null, distanceMin? : string | null, distanceMax? : string | null, regionId? : string | null,

"Rather than have this many position-dependent but optional arguments, we should make basicRegionList accept just one Object-typed argument and bring this specification out as an Object interface." -Zach

This should be done for any other call following this pattern as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions