Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.17 KB

File metadata and controls

52 lines (39 loc) · 1.17 KB

EdrDataProviderDefinition

Properties

Name Type
type string
name string
description string
priority number
id string
baseUrl string
vectorSpec EdrVectorSpec
cacheTtl number
discreteVrs Array<string>
provenance Array<Provenance>

Example

import type { EdrDataProviderDefinition } from '@geoengine/api-client'

// TODO: Update the object below with actual values
const example = {
  "type": null,
  "name": null,
  "description": null,
  "priority": null,
  "id": null,
  "baseUrl": null,
  "vectorSpec": null,
  "cacheTtl": null,
  "discreteVrs": null,
  "provenance": null,
} satisfies EdrDataProviderDefinition

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as EdrDataProviderDefinition
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]