jmap-api

0.0.35 • Public • Published

K2 Geospatial : JMAP API interfaces and namespace.

All public API interfaces are located in "index.ts". Theese interfaces are implemented by K2 dev team.

The API namespace is located/defined in typescript definition file "namespace.d.ts". It is used by k2 extensions and should be used by code that refers to the API.

Theese interfaces define the contract between JMap API and its consumers.

For k2 develeopers, if you need to change this API, make all your changes and when you are done publish it to NPM :

  • If needed : npm login (username : k2-xxx, password : xxx ask Seb or Laurent for it)
  • Then edit "package.json" and update the version, that the NPM version (ex "version": "0.1.2")
  • Finally : npm publish
  • Go in the projects (JMap Web, Web extension, etc ...) where this api is used and update the "jmap-api" version in the package.json

For JMap API consumers who wrote their project in Typescript, you can simply use it via NPM package repository :

  • npm i jmap-api -D

Like that you will be able to use the API like "JMAP_API.Services.User.logout()" in your code, and benefit from Typescript static typing.

API mapping versions :

  • JMap 7 Funafuti <=> jmap-api v0.0.1

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.352latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.352
0.0.340
0.0.330
0.0.320
0.0.310
0.0.301
0.0.290
0.0.280
0.0.270
0.0.260
0.0.250
0.0.240
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.150
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
0.0.20
0.0.10

Package Sidebar

Install

npm i jmap-api

Weekly Downloads

2

Version

0.0.35

License

MIT

Unpacked Size

43.7 kB

Total Files

15

Last publish

Collaborators

  • k2-dev