mp--operations--merchant-service-api-types
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Merchants Service API Types

Summary

Merchant Service API client for Typescript

Get started with Merchant Service API Types

Installing & usage API-client

$ npm i mp--merchants--merchant-service-api-types
// app.ts
import { MerchantsDataProvider } from 'mp--merchants--merchant-service-api-types';

const merchantsDataProvider = new MerchantsDataProvider(process.env.MERCHANTS_API_URL);
const allMerchants = await merchantsDataProvider.findAll();

// app.test.ts
import { MerchantFactory } from 'mp--merchants--merchant-service-api-types';
const merchant = MerchantFactory.spawnOne();

Contributing

General folders layout

.vscode

  • configs for Visual Studio Code.

src

  • * - implementation of the service.

Readme

Keywords

none

Package Sidebar

Install

npm i mp--operations--merchant-service-api-types

Weekly Downloads

0

Version

2.0.0

License

AGPL-3.0-or-later

Unpacked Size

608 kB

Total Files

630

Last publish

Collaborators

  • madmxg