0.0.120 • Published 5 months ago

interpos-web-client v0.0.120

Weekly downloads
-
License
-
Repository
github
Last release
5 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

5 months ago

0.0.119

5 months ago

0.0.118

5 months ago

0.0.117

5 months ago

0.0.116

5 months ago

0.0.115

5 months ago

0.0.114

5 months ago

0.0.112

5 months ago

0.0.111

5 months ago

0.0.110

5 months ago

0.0.109

5 months ago

0.0.108

5 months ago

0.0.107

5 months ago

0.0.106

5 months ago

0.0.105

5 months ago

0.0.104

5 months ago

0.0.103

5 months ago

0.0.102

5 months ago

0.0.101

6 months ago

0.0.100

6 months ago

0.0.99

6 months ago

0.0.98

6 months ago

0.0.97

6 months ago

0.0.96

6 months ago

0.0.95

6 months ago

0.0.94

6 months ago

0.0.93

6 months ago

0.0.92

6 months ago

0.0.91

6 months ago

0.0.90

6 months ago

0.0.89

6 months ago

0.0.88

6 months ago

0.0.87

6 months ago

0.0.86

6 months ago

0.0.85

6 months ago

0.0.84

6 months ago

0.0.83

6 months ago

0.0.82

6 months ago

0.0.81

6 months ago

0.0.80

6 months ago

0.0.79

6 months ago

0.0.78

6 months ago

0.0.77

6 months ago

0.0.76

6 months ago

0.0.75

6 months ago

0.0.74

6 months ago

0.0.73

6 months ago

0.0.72

6 months ago

0.0.71

6 months ago

0.0.70

6 months ago

0.0.69

6 months ago

0.0.68

6 months ago

0.0.67

6 months ago

0.0.66

6 months ago

0.0.65

6 months ago

0.0.64

6 months ago

0.0.63

6 months ago

0.0.62

6 months ago

0.0.61

6 months ago

0.0.60

6 months ago

0.0.59

6 months ago

0.0.58

6 months ago

0.0.57

6 months ago

0.0.56

6 months ago

0.0.55

6 months ago

0.0.54

6 months ago

0.0.53

6 months ago

0.0.52

6 months ago

0.0.51

6 months ago

0.0.50

6 months ago

0.0.49

6 months ago

0.0.48

6 months ago

0.0.47

7 months ago

0.0.46

7 months ago

0.0.45

7 months ago

0.0.44

7 months ago

0.0.43

7 months ago

0.0.42

7 months ago

0.0.41

7 months ago

0.0.40

7 months ago

0.0.39

7 months ago

0.0.38

7 months ago

0.0.37

7 months ago

0.0.36

7 months ago

0.0.35

7 months ago

0.0.34

7 months ago

0.0.33

7 months ago

0.0.32

7 months ago

0.0.31

7 months ago

0.0.30

7 months ago

0.0.29

7 months ago

0.0.28

7 months ago

0.0.27

7 months ago

0.0.26

7 months ago

0.0.25

7 months ago

0.0.24

7 months ago

0.0.23

7 months ago

0.0.22

7 months ago

0.0.21

7 months ago

0.0.20

7 months ago

0.0.19

7 months ago

0.0.18

7 months ago

0.0.17

7 months ago

0.0.16

7 months ago

0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago