laravel-store-js-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

Building the Library

Compile TypeScript to JavaScript:

npx tsc

Publishing

Optionally, you can publish your library to npm:

npm publish

Creating a PaginationFilter Object

    // Assuming you have an object of type PaginationFilter
const filter: PaginationFilter = {};

// Assigning a value to parent_id
filter['filter[parent_id]'] = 1;

// You can also assign other values based on the interface
filter.sort = 'name';
filter.fields = 'id,name';
filter.include = 'children';
filter.per_page = 10;
filter.page = 1;

/laravel-store-js-client/

    Package Sidebar

    Install

    npm i laravel-store-js-client

    Weekly Downloads

    0

    Version

    1.0.9

    License

    ISC

    Unpacked Size

    19.5 kB

    Total Files

    42

    Last publish

    Collaborators

    • rezwanul7