@flowselections/floriday-authenticatie-module 1.0.39 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/assets/floriday-logo.png.asset.json +11 -0
- package/dist-lib/components/TemplatePage.d.ts +1 -1
- package/dist-lib/components/TemplatePage.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydayConnectionPage.d.ts +1 -1
- package/dist-lib/components/floriday/FlorydayConnectionPage.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +1 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydaySyncJobsCard.d.ts +1 -1
- package/dist-lib/components/floriday/FlorydaySyncJobsCard.d.ts.map +1 -1
- package/dist-lib/components/floriday/TokenHealthCard.d.ts +1 -1
- package/dist-lib/components/floriday/TokenHealthCard.d.ts.map +1 -1
- package/dist-lib/components/settings/FloricodeSettingsCard.d.ts +1 -1
- package/dist-lib/components/settings/FloricodeSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/FlorydaySettingsCard.d.ts +1 -1
- package/dist-lib/components/settings/FlorydaySettingsCard.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +374 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +374 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +374 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +381 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cron/process-stock-queue.js +2 -2
- package/dist-lib/lib/error-page.js +30 -30
- package/dist-lib/lib/floricode.functions.d.ts +2618 -0
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +374 -0
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-process.server.d.ts +2 -0
- package/dist-lib/lib/floriday-auto-process.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-process.server.js +64 -33
- package/dist-lib/lib/floriday-labels.functions.d.ts +374 -0
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +2244 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stickers.functions.d.ts +374 -0
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +11778 -184
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +2250 -6
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +7201 -92
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +46 -3
- package/dist-lib/lib/gateway/fulfillment-order-body.d.ts +57 -0
- package/dist-lib/lib/gateway/fulfillment-order-body.d.ts.map +1 -0
- package/dist-lib/lib/gateway/fulfillment-order-body.js +350 -0
- package/dist-lib/lib/gateway/fulfillment-order-send.d.ts.map +1 -1
- package/dist-lib/lib/gateway/fulfillment-order-send.js +94 -67
- package/dist-lib/lib/gateway/index.d.ts +1 -0
- package/dist-lib/lib/gateway/index.d.ts.map +1 -1
- package/dist-lib/lib/gateway/index.js +1 -0
- package/package.json +1 -1
|
@@ -101,7 +101,7 @@ export async function pushStockRow(supabase, env, row) {
|
|
|
101
101
|
module: "inventory",
|
|
102
102
|
action: "edit-weekly-base-supply",
|
|
103
103
|
method: "PUT",
|
|
104
|
-
path: `/
|
|
104
|
+
path: `/trade-items/${row.trade_item_id}/base-supply/${year}/${week}`,
|
|
105
105
|
referenceId: row.trade_item_id,
|
|
106
106
|
idempotencyKey: `inventory:weekly-base-supply:${row.trade_item_id}:${year}:${week}:${pieces}`,
|
|
107
107
|
body: {
|
|
@@ -129,7 +129,7 @@ export async function pushStockRow(supabase, env, row) {
|
|
|
129
129
|
module: "inventory",
|
|
130
130
|
action: "publish-continuous-stock",
|
|
131
131
|
method: "PUT",
|
|
132
|
-
path: `/
|
|
132
|
+
path: `/trade-items/${row.trade_item_id}/continuous-stock`,
|
|
133
133
|
referenceId: row.trade_item_id,
|
|
134
134
|
idempotencyKey: `inventory:continuous-stock:${row.trade_item_id}:${available}:${pieces}`,
|
|
135
135
|
body,
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
// MUST NOT import any other app code — it has to render even when the rest
|
|
3
3
|
// of the app fails to bundle/initialize.
|
|
4
4
|
export function renderErrorPage() {
|
|
5
|
-
return `<!doctype html>
|
|
6
|
-
<html lang="nl">
|
|
7
|
-
<head>
|
|
8
|
-
<meta charset="utf-8" />
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
10
|
-
<title>Er ging iets mis</title>
|
|
11
|
-
<style>
|
|
12
|
-
:root { color-scheme: light dark; }
|
|
13
|
-
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
14
|
-
background: #0b0b0c; color: #f5f5f7; min-height: 100vh;
|
|
15
|
-
display: flex; align-items: center; justify-content: center; padding: 24px; }
|
|
16
|
-
.card { max-width: 420px; text-align: center; }
|
|
17
|
-
h1 { font-size: 24px; margin: 0 0 8px; }
|
|
18
|
-
p { color: #a1a1aa; margin: 0 0 24px; font-size: 14px; line-height: 1.5; }
|
|
19
|
-
.row { display: flex; gap: 12px; justify-content: center; }
|
|
20
|
-
button, a { font: inherit; padding: 10px 16px; border-radius: 8px; cursor: pointer;
|
|
21
|
-
border: 1px solid #333; background: transparent; color: inherit; text-decoration: none; }
|
|
22
|
-
button.primary { background: #f5f5f7; color: #0b0b0c; border-color: #f5f5f7; }
|
|
23
|
-
</style>
|
|
24
|
-
</head>
|
|
25
|
-
<body>
|
|
26
|
-
<div class="card">
|
|
27
|
-
<h1>Er ging iets mis</h1>
|
|
28
|
-
<p>Er is een onverwachte fout opgetreden tijdens het laden van de pagina. Probeer het opnieuw.</p>
|
|
29
|
-
<div class="row">
|
|
30
|
-
<button class="primary" onclick="location.reload()">Opnieuw proberen</button>
|
|
31
|
-
<a href="/">Naar startpagina</a>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</body>
|
|
5
|
+
return `<!doctype html>
|
|
6
|
+
<html lang="nl">
|
|
7
|
+
<head>
|
|
8
|
+
<meta charset="utf-8" />
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
10
|
+
<title>Er ging iets mis</title>
|
|
11
|
+
<style>
|
|
12
|
+
:root { color-scheme: light dark; }
|
|
13
|
+
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
14
|
+
background: #0b0b0c; color: #f5f5f7; min-height: 100vh;
|
|
15
|
+
display: flex; align-items: center; justify-content: center; padding: 24px; }
|
|
16
|
+
.card { max-width: 420px; text-align: center; }
|
|
17
|
+
h1 { font-size: 24px; margin: 0 0 8px; }
|
|
18
|
+
p { color: #a1a1aa; margin: 0 0 24px; font-size: 14px; line-height: 1.5; }
|
|
19
|
+
.row { display: flex; gap: 12px; justify-content: center; }
|
|
20
|
+
button, a { font: inherit; padding: 10px 16px; border-radius: 8px; cursor: pointer;
|
|
21
|
+
border: 1px solid #333; background: transparent; color: inherit; text-decoration: none; }
|
|
22
|
+
button.primary { background: #f5f5f7; color: #0b0b0c; border-color: #f5f5f7; }
|
|
23
|
+
</style>
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
<div class="card">
|
|
27
|
+
<h1>Er ging iets mis</h1>
|
|
28
|
+
<p>Er is een onverwachte fout opgetreden tijdens het laden van de pagina. Probeer het opnieuw.</p>
|
|
29
|
+
<div class="row">
|
|
30
|
+
<button class="primary" onclick="location.reload()">Opnieuw proberen</button>
|
|
31
|
+
<a href="/">Naar startpagina</a>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</body>
|
|
35
35
|
</html>`;
|
|
36
36
|
}
|