@bpac/pms-api

Typescript version of shared PMS API files

Usage no npm install needed!

<script type="module">
  import bpacPmsApi from 'https://cdn.skypack.dev/@bpac/pms-api';
</script>

README

BPAC PMS API NPM Package

This package no longer contains PMS API implementations. You must also install the bpac-pms-* packages into your application.

Usage instructions

Back porting changes to PmsApi Nuget Package

The yarn nuget command will run webpack to generate a bpac-pms-api.js file.

yarn nuget

This file needs to be manually copied into the PMS.API nuget package. copy ./webpack-dist/bpac-pms-api.js to nuget-packages-frontend/pms.api/content/nuget_components/pms/bpac-pms-api.js

Migrating new functions

Any functions that need to be accessible to the calling package need to be added as exports in the index-legacy.ts file.