Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.21 KB

File metadata and controls

50 lines (37 loc) · 1.21 KB

GfbioCollectionsDataProviderDefinition

Properties

Name Type
type string
name string
description string
priority number
collectionApiUrl string
collectionApiAuthToken string
abcdDbConfig DatabaseConnectionConfig
pangaeaUrl string
cacheTtl number

Example

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

// TODO: Update the object below with actual values
const example = {
  "type": null,
  "name": null,
  "description": null,
  "priority": null,
  "collectionApiUrl": null,
  "collectionApiAuthToken": null,
  "abcdDbConfig": null,
  "pangaeaUrl": null,
  "cacheTtl": null,
} satisfies GfbioCollectionsDataProviderDefinition

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 GfbioCollectionsDataProviderDefinition
console.log(exampleParsed)

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