Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
underbluewaters committed Dec 4, 2023
1 parent 8b01122 commit 7505753
Show file tree
Hide file tree
Showing 9 changed files with 993 additions and 422 deletions.
65 changes: 65 additions & 0 deletions packages/api/generated-schema-clean.gql
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,31 @@ enum ArcgisFeatureLayerFetchStrategy {
TILED
}

"""An input for mutations affecting `ArcgisImportItem`"""
input ArcgisImportItemInput {
id: Int
isFolder: Boolean
parentId: String
sourceId: Int
stableId: String
sublayerId: Int
title: String
}

"""An input for mutations affecting `ArcgisImportSource`"""
input ArcgisImportSourceInput {
fetchStrategy: ArcgisFeatureLayerFetchStrategy
id: Int
type: ArcgisSourceType
url: String
}

enum ArcgisSourceType {
ARCGIS_DYNAMIC_MAPSERVER
ARCGIS_RASTER_TILES
ARCGIS_VECTOR
}

"""All input for the `archiveResponses` mutation."""
input ArchiveResponsesInput {
"""
Expand Down Expand Up @@ -6400,6 +6425,33 @@ enum GroupsOrderBy {
PROJECT_ID_DESC
}

"""All input for the `importArcgisServices` mutation."""
input ImportArcgisServicesInput {
"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
"""
clientMutationId: String
items: [ArcgisImportItemInput]
projectId: Int
sources: [ArcgisImportSourceInput]
}

"""The output of our `importArcgisServices` mutation."""
type ImportArcgisServicesPayload {
"""
The exact same `clientMutationId` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
"""
clientMutationId: String

"""
Our root query field type. Allows us to run any query from our mutation payload.
"""
query: Query
tableOfContentsItems: [TableOfContentsItem!]
}

type InteractivitySetting implements Node {
"""Reads and enables pagination through a set of `Basemap`."""
basemapsByInteractivitySettingsIdConnection(
Expand Down Expand Up @@ -7989,6 +8041,12 @@ type Mutation {
"""
input: GrantAdminAccessInput!
): GrantAdminAccessPayload
importArcgisServices(
"""
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
"""
input: ImportArcgisServicesInput!
): ImportArcgisServicesPayload

"""
Adds current user to the list of participants for a project, sharing their
Expand Down Expand Up @@ -13105,6 +13163,13 @@ type TableOfContentsItem implements Node {
"""
bounds: [BigFloat]

"""
Metadata will be returned as directly stored in the SeaSketch
database or computed by fetching from a 3rd party service,
depending on the data source type.
"""
computedMetadata: JSON

"""
Reads a single `DataLayer` that is related to this `TableOfContentsItem`.
"""
Expand Down
Loading

0 comments on commit 7505753

Please sign in to comment.