the-duke

1.13.0 • Public • Published

TheDuke

Build Status JavaScript Style Guide

Job code utility library for ArcGIS Hub

Composer + Jazz + Washington, D.C. = The Duke

Prerequisites

You will need the following things installed on your computer.

Installation

  • get the repo on your computer:
    • git clone git@github.com:ArcGIS/TheDuke.git or
    • git clone https://github.com/ArcGIS/TheDuke.git
  • install dependencies: npm install

Running / Development

  • nvm use
  • npm run watch
  • edit files in /src or /test directories
  • verify that node-watch runs the linter, tests, and build scripts
  • 🔨

Harvesting

  • Group layers are not turned into datasets of any kind. Hence they are filtered out during compose step.

Compose Structure

Refer to

{
  errors:[
    {
      ...
    }
  ]
  item:
  metadata:
  groups:
  server: <only if item has a feature|map|image server>
  layers: <only if item has a feature|map server>
  default: <top level keys like createdAt, name, title, tags, source etc.>
}

Error Structure

{
  message:
  stack:
  name: <examples: FetchError | TypeError | SomeCustomError etc. >
  timestamp:
  field: <The field that caused this error like item | metadata | groups etc. >
  url: <may be null if not HTTPError>
  statusCode: <may be null if not HTTPError>
  httpMethod: <may be null if not HTTPError else 'get', 'post' etc.>
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.13.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.13.00
1.12.10
1.12.00
1.11.00
1.10.10
1.10.00
1.9.20
1.9.10
1.9.00
1.8.00
1.7.10
1.6.10
1.5.60
1.5.50
1.5.41
1.5.30
1.4.30
1.3.30
1.3.21
1.3.10
1.3.00
1.2.00
1.1.00
1.0.00
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30

Package Sidebar

Install

npm i the-duke

Weekly Downloads

2

Version

1.13.0

License

Apache-2.0

Last publish

Collaborators

  • haoliang
  • dmfenton
  • pranavkulkarni
  • akharris