0.4.15 • Published 6 months ago

@openfn/language-resourcemap v0.4.15

Weekly downloads
-
License
LGPLv3
Repository
github
Last release
6 months ago

Language ResourceMap

Language Pack for building expressions and operations for working with the resourcemap API.

Documentation

We are working towards this to start: https://github.com/instedd/resourcemap/wiki/REST_API#create-site

Configuration

View all the required and optional properties for state.configuration in the official configuration-schema definition.

Expressions

submitSite(collectionId, fields)

submitSite(
  303,
  fields(
    field('name', dataValue('sampleText')),
    field('lat', 48.86),
    field('lon', 2.35),
    field('properties', function (state) {
      return {
        Comment: state.data.sampleText,
        phone: '85512345678',
      };
    })
  )
);

Development

Clone the adaptors monorepo. Follow the Getting Started guide inside to get set up.

Run tests using pnpm run test or pnpm run test:watch

Build the project using pnpm build.

To just build the docs run pnpm build docs

0.4.10

10 months ago

0.4.9

10 months ago

0.4.8

10 months ago

0.4.15

6 months ago

0.4.13

7 months ago

0.4.14

7 months ago

0.4.11

8 months ago

0.4.12

8 months ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.2

1 year ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.3

3 years ago

0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago