Skip to content

Our Typescript SDK contains HTML 5 Fetch and Angular service classes for access to the Picturepark API. The Angular SDK has ready-made UI Components based on Angular Material for easy reuse in your projects or as a reference to how a custom UI for accessing and managing Picturepark content can be built. A sample “Content Picker” application show…

License

Notifications You must be signed in to change notification settings

Picturepark/Picturepark.SDK.TypeScript

Repository files navigation

Picturepark Content Platform TypeScript/JavaScript SDK

Picturepark.Sdk.TypeScript

npm

Links:

Projects

picturepark-sdk-v2-angular

Contains Angular service classes to access the Picturepark API.

NPM package: @picturepark/sdk-v2-angular

picturepark-sdk-v2-angular-oidc

Contains Angular service classes to access the Picturepark authentication endpoints.

NPM package: @picturepark/sdk-v2-angular-oidc

picturepark-sdk-v1-fetch

Contains client classes to access the Picturepark API with window.fetch.

NPM package: @picturepark/sdk-v1-fetch

picturepark-sdk-v1-pickers

Provides functions to show a content picker to select existing assets in 3rd party applications.

NPM package: @picturepark/sdk-v1-pickers

Compatibility matrix

SDK version Picturepark CP version Branch
11.12.x 11.12.x 11.12.x
11.13.x 11.13.x 11.13.x
11.14.x 11.14.x master

SDK Development

Links:

Regenerate clients from Swagger specification

Run the following commands to regenerate the clients based on the Swagger specifications in /swagger:

npm install
npm run nswag

For more information, see NSwag.

Release new package versions

  1. Change package versions in the following projects and delete all package-lock.json files:
  • picturepark-sdk-v2-angular
  • picturepark-sdk-v2-angular-oidc
  • picturepark-sdk-v1-fetch
  • picturepark-sdk-v1-pickers

NOTE:
For pre-release packages, the version should include the "pre" identifier.
Ex: 11.13.0-pre.0

  1. Run the following command to regenerate the package-lock.json files and build all projects:

    npm run build

  2. Commit and push changes, then merge into the "pre-release" or "release" branch. The NPM packages are now automatically published by AppVeyor.

NOTE:
"pre-release - to generate pre-release packages
"release" - to generate release packages

CI Builds

Branch: master

Release Builds

Branch: release

About

Our Typescript SDK contains HTML 5 Fetch and Angular service classes for access to the Picturepark API. The Angular SDK has ready-made UI Components based on Angular Material for easy reuse in your projects or as a reference to how a custom UI for accessing and managing Picturepark content can be built. A sample “Content Picker” application show…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages