You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by da...@apache.org on 2023/04/15 17:18:06 UTC
[ofbiz-plugins] branch ofbiz-12789-npm-example-plugin updated (2b0a6ed8e -> 8dbe3c7ed)
This is an automated email from the ASF dual-hosted git repository.
danwatford pushed a change to branch ofbiz-12789-npm-example-plugin
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
from 2b0a6ed8e Added: React typescript application to example plugin (OFBIZ-12789)
add 8dbe3c7ed Implemented: REST API calling from Example plugin (OFBIZ-12789)
No new revisions were added by this update.
Summary of changes:
.../groovyScripts/ApiTokenGenerator.groovy | 27 +-
.../template/includes/ApiKey.ftl | 9 +-
example/vite-react-app/package-lock.json | 1430 +-------------------
example/vite-react-app/package.json | 4 +-
example/vite-react-app/src/ApiContext.tsx | 50 +
example/vite-react-app/src/App.tsx | 54 +-
example/vite-react-app/src/main.tsx | 21 +-
example/widget/example/CommonScreens.xml | 10 +
8 files changed, 149 insertions(+), 1456 deletions(-)
copy birt/groovyScripts/order/ProductDemandReport.groovy => example/groovyScripts/ApiTokenGenerator.groovy (56%)
copy firstdatapaymentgateway/template/FirstDataPostAuthTemplate.json.ftl => example/template/includes/ApiKey.ftl (82%)
create mode 100644 example/vite-react-app/src/ApiContext.tsx