@houlak/px-links-types
v0.0.90
Published
Definition of Plexo Links types to be used from backend and frontend
Readme
px-links-types
Library containing the definition of types for Plexo Links.
Available types
DtosEnumsModelsQueriesRequestsResponses
Installation
Install via yarn
yarn add @houlak/px-links-typesUse
import { Dtos, Enums, Models, Queries, Requests, Responses } from '@houlak/px-links-types'Some examples
const bankDTO: Dtos.bankDTOconst currency: number = Enums.Currency.USDconst linkMetadata: Models.LinkMetadataconst bankQuery: Queries.BankQueryconst link: Requests.LinkRequestconst beginPaymentResponse: Responses.BeginPayResponse