0.0.120 • Published 10 months ago

interpos-web-client v0.0.120

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

Interpos Web Client

This is a repository containing standalone app for InterPOS, as well as a reusable library for importing POS into Orchestra projects.

Used as library

Make sure you understand how this works before implementing.

POS module has it's own store for redux provider. It wraps <PosEntryPoint /> which needs to be called as a root route.

Example:

<Route path={SecureRoutes.Pos.All} element={<PosPage />}>
    <Route
    path={SecureRoutes.Pos.Overview}
    element={<PosGeneralOverviewPage />}
    />
    <Route
    path={SecureRoutes.Pos.Integrations}
    element={<PosIntegrationsPage />}
    />
    <Route
    path={SecureRoutes.Pos.TaxRates}
    element={<PosTaxRatesPage />}
    />
    <Route path={SecureRoutes.Pos.List} element={<PosListPage />} />
    <Route
    path={SecureRoutes.Pos.Settings}
    element={<PosSettingsPage />}
    />
    <Route path={SecureRoutes.Pos.Items} element={<PosItemsPage />} />
    <Route
    path={SecureRoutes.Pos.Buyers}
    element={<PosBuyersPage />}
    />
    <Route
    path={SecureRoutes.Pos.Invoices}
    element={<PosInvoicesPage />}
    />
    <Route
    path={SecureRoutes.Pos.CreateInvoice}
    element={<PosIssueInvoicePage />}
    />
    <Route
    path={SecureRoutes.Pos.RefundInvoice}
    element={<PosRefundInvoicePage />}
    />
    <Route
    path={SecureRoutes.Pos.InvoiceDetails}
    element={<PosInvoiceDetailsPage />}
    />
</Route>

Make sure you have all these pages implemented.

Exported containers and components to be used:

  • PosEntryPoint
  • PosGeneralOverviewContainer
  • PosIntegrationsPage
  • PosTaxRatesPage
  • PosListPage
  • PosSettingsPage
  • PosItemsPage
  • PosBuyersPage
  • PosInvoicesPage
  • PosIssueInvoicePage
  • PosRefundInvoicePage
  • PosInvoiceDetailsPage

Redux state

Library version is relying on redux store. It's type is defined in index.ts, in store folder. Make sure you app has store with that type loaded.

Environment variables

Library version is relying on consumer's env variables. Make sure you understand which are those and have them loaded.

Branches

main - production standalone dev - staging standalone library - production library, triggers deployment to npm registry

0.0.120

10 months ago

0.0.119

10 months ago

0.0.118

10 months ago

0.0.117

10 months ago

0.0.116

10 months ago

0.0.115

10 months ago

0.0.114

10 months ago

0.0.112

10 months ago

0.0.111

10 months ago

0.0.110

10 months ago

0.0.109

10 months ago

0.0.108

10 months ago

0.0.107

10 months ago

0.0.106

10 months ago

0.0.105

10 months ago

0.0.104

10 months ago

0.0.103

10 months ago

0.0.102

10 months ago

0.0.101

11 months ago

0.0.100

11 months ago

0.0.99

11 months ago

0.0.98

11 months ago

0.0.97

11 months ago

0.0.96

11 months ago

0.0.95

11 months ago

0.0.94

11 months ago

0.0.93

11 months ago

0.0.92

11 months ago

0.0.91

11 months ago

0.0.90

11 months ago

0.0.89

11 months ago

0.0.88

11 months ago

0.0.87

11 months ago

0.0.86

11 months ago

0.0.85

11 months ago

0.0.84

11 months ago

0.0.83

11 months ago

0.0.82

11 months ago

0.0.81

11 months ago

0.0.80

11 months ago

0.0.79

11 months ago

0.0.78

11 months ago

0.0.77

11 months ago

0.0.76

11 months ago

0.0.75

11 months ago

0.0.74

11 months ago

0.0.73

11 months ago

0.0.72

11 months ago

0.0.71

11 months ago

0.0.70

11 months ago

0.0.69

11 months ago

0.0.68

11 months ago

0.0.67

11 months ago

0.0.66

11 months ago

0.0.65

11 months ago

0.0.64

11 months ago

0.0.63

11 months ago

0.0.62

11 months ago

0.0.61

11 months ago

0.0.60

11 months ago

0.0.59

11 months ago

0.0.58

11 months ago

0.0.57

11 months ago

0.0.56

11 months ago

0.0.55

11 months ago

0.0.54

11 months ago

0.0.53

11 months ago

0.0.52

11 months ago

0.0.51

11 months ago

0.0.50

11 months ago

0.0.49

11 months ago

0.0.48

11 months ago

0.0.47

11 months ago

0.0.46

12 months ago

0.0.45

12 months ago

0.0.44

12 months ago

0.0.43

12 months ago

0.0.42

12 months ago

0.0.41

12 months ago

0.0.40

12 months ago

0.0.39

12 months ago

0.0.38

12 months ago

0.0.37

12 months ago

0.0.36

12 months ago

0.0.35

12 months ago

0.0.34

12 months ago

0.0.33

12 months ago

0.0.32

12 months ago

0.0.31

12 months ago

0.0.30

12 months ago

0.0.29

12 months ago

0.0.28

12 months ago

0.0.27

12 months ago

0.0.26

12 months ago

0.0.25

12 months ago

0.0.24

12 months ago

0.0.23

12 months ago

0.0.22

12 months ago

0.0.21

12 months ago

0.0.20

12 months ago

0.0.19

12 months ago

0.0.18

12 months ago

0.0.17

12 months ago

0.0.16

12 months ago

0.0.15

12 months ago

0.0.14

12 months ago

0.0.13

12 months ago

0.0.12

12 months ago

0.0.11

12 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago