Some checks failed
Build and publish / build (push) Failing after 17s
Source moved verbatim from mp/cms/ on 2026-04-29; mp was the first concrete adapter consuming the libreshop toolkit. Builds and publishes git.librete.ch/libreshop/cms on every main / v* push via the standard .gitea/workflows/build.yml shared across libreshop components.
20 lines
787 B
TypeScript
20 lines
787 B
TypeScript
import { Environment } from "@paypal/paypal-server-sdk";
|
|
|
|
export const pdfApiUrl = process.env.PDF_API_ADDRESS!;
|
|
export const mailApiUrl = process.env.MAIL_API_ADDRESS!;
|
|
export const baseUrl = process.env.BASE_URL!;
|
|
|
|
export const paypalClientId = process.env.PAYPAL_CLIENT_ID!;
|
|
export const paypalClientSecret = process.env.PAYPAL_CLIENT_SECRET!;
|
|
export const paypalEnvironment = process.env.PAYPAL_ENVIRONMENT! === "production" ? Environment.Production : Environment.Sandbox;
|
|
|
|
export const adminEmail = process.env.ADMIN_EMAIL_ADDRESS!;
|
|
|
|
// TODO: Should be retrieved from DepotApi
|
|
export const vatIncludedDecimal = 1.19;
|
|
// TODO: Should be retrieved from DepotApi
|
|
export const vatDecimal = 0.19;
|
|
export const vatDecimalExcluded = 1 - vatDecimal;
|
|
|
|
export const maxProductsSitemap = 500;
|