ekkolon / gelato-admin-node Goto Github PK
View Code? Open in Web Editor NEWNode.js API for Gelato's print-on-demand services.
Home Page: https://ekkolon.github.io/gelato-admin-node/
License: Apache License 2.0
Node.js API for Gelato's print-on-demand services.
Home Page: https://ekkolon.github.io/gelato-admin-node/
License: Apache License 2.0
Some paragraphs in the README
file are either redundant or need semantic improvements.
orders
No
All E2E test pass, except ordersAPI#getOrders
.
No response
`AxiosError: Request failed with status code 405`
Node: 18.16.1
Package Manager: yarn 1.22.19
OS: Debian (WSL)
Gelato SDK: 1.1.5
405
http error code suggest, we are using an disallowed HTTP method.No response
It would be great to provide a way to intercept the request/response cycle of http servers (express + fastify). The interceptor should provide a callable function signature users can import from the library.
TBA
N/A
orders
The current release only targets the latest API version of Gelato's orders
API (v4).
We can confidently assume that there are still many systems relying on the v3 legacy version.
There are two main reasons for providing legacy support:
Due to Gelato's API design, it makes sense to keep this libraries namespaces in sync with it.
For example, we can use gelato-admin/v3/orders
as the go to namespace for the orders
API.
In any case, besides some changes in the return types for endpoints targeting the orders
API,
we must provide two additional endpoints:
This feature must not introduce any breaking changes, since it should use the same design patterns and parent container (GelatoClient) as the latest orders
API version.
N/A
orders, products, shipment
No
yarn lint
or yarn lint:fix
fail to execute on Windows machines.
No response
No files matching the pattern "'**/*.ts'" were found.
Please check for typing mistakes in the pattern.
Node: v18.16.1
Package Manager: yarn 1.22.19
OS: windows 11
Gelato SDK: 1.1.0
-------------------------------------------------------------
ESLint: 8.48.0
The issue comes from the following lines in the package.json
file:
I suspect the error is caused by using single quotes instead of escaped double quotes.
The following changes should fix this issue:
BEFORE:
"lint": "eslint '**/*.ts'",
"lint:fix": "eslint --fix '**/*.ts'",
AFTER:
"lint": "eslint \"**/*.ts\""
"lint:fix": "eslint --fix \"**/*.ts\""
No response
Gelato added a new Ecommerce
API feature that is currently missing in this repo.
Add support for Ecommerce
feature.
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.