jpa-search
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

jpa-search

jpa-search is a NPM Angular module. This module was written to find parameters and their related operands of given service path, "get" request, from swagger service descriptions json file (/v2/api-docs) and return the criteria object based on user searched rows.

Installation

npm install jpa-search

Usage

import JpaSearchModule


<lib-jpa-search [apiPath]="http://{host_path}/{base_path}/{path_to_service}" (finalCriteria)="useFinalCriteria($event)"></lib-jpa-search>
for example: apiPath = http://pay.sample.name/paye/api/transaction

The component will create the result criteria for you base on your search rows and values. For example the result would be: {"buyerIpAddress.equals" => "2"}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Readme

Keywords

none

Package Sidebar

Install

npm i jpa-search

Weekly Downloads

1

Version

1.0.3

License

none

Unpacked Size

427 kB

Total Files

36

Last publish

Collaborators

  • shiva19