@flowselections/logistiek-engine 1.0.8 → 1.0.9

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.
Files changed (29) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/hooks/useRecalcJob.js +1 -1
  3. package/dist-lib/integrations/supabase/auth-attacher.js +1 -1
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1 -12
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  6. package/dist-lib/integrations/supabase/client.d.ts +158 -1515
  7. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.server.d.ts +1 -12
  9. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/moduleClient.d.ts +21640 -0
  11. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -0
  12. package/dist-lib/integrations/supabase/moduleClient.js +31 -0
  13. package/dist-lib/integrations/supabase/types.d.ts +2 -13
  14. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/types.js +3 -0
  16. package/dist-lib/lib/floridayDocuments.functions.d.ts +3 -36
  17. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floridayPush.functions.d.ts +1 -12
  19. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +35 -65
  21. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2 -24
  23. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1 -12
  25. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/modulePrompts.d.ts +0 -1
  27. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  28. package/dist-lib/lib/modulePrompts.js +970 -960
  29. package/package.json +1 -1
package/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # logistiek Engine
2
-
3
- blank project start
4
-
5
- This project was built with [Lovable](https://lovable.dev).
6
-
7
- ## Build with Lovable
8
-
9
- Continue developing this project in the [Lovable editor](https://lovable.dev/projects/316ec9c5-0f01-408a-b7ec-3d4dccf9b65d).
10
-
11
- - **Ship faster**: describe what you want to build and Lovable handles the code.
12
- - **Stay in sync**: every change made in Lovable is committed straight to this repository.
13
- - **Full ownership**: this code is yours. Push to `main` on GitHub and your changes sync back into Lovable, ready for your next prompt.
14
-
15
- ## Development
16
-
17
- Prefer working locally? You need Node.js and npm — [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating).
18
-
19
- ```sh
20
- git clone <this-repository-url>
21
- cd <repository-name>
22
- npm i
23
- npm run dev
24
- ```
1
+ # logistiek Engine
2
+
3
+ blank project start
4
+
5
+ This project was built with [Lovable](https://lovable.dev).
6
+
7
+ ## Build with Lovable
8
+
9
+ Continue developing this project in the [Lovable editor](https://lovable.dev/projects/316ec9c5-0f01-408a-b7ec-3d4dccf9b65d).
10
+
11
+ - **Ship faster**: describe what you want to build and Lovable handles the code.
12
+ - **Stay in sync**: every change made in Lovable is committed straight to this repository.
13
+ - **Full ownership**: this code is yours. Push to `main` on GitHub and your changes sync back into Lovable, ready for your next prompt.
14
+
15
+ ## Development
16
+
17
+ Prefer working locally? You need Node.js and npm — [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating).
18
+
19
+ ```sh
20
+ git clone <this-repository-url>
21
+ cd <repository-name>
22
+ npm i
23
+ npm run dev
24
+ ```
@@ -3,7 +3,7 @@
3
3
  // ============================================================================
4
4
  import { useCallback, useEffect, useRef, useState } from "react";
5
5
  import { useServerFn } from "@tanstack/react-start";
6
- import { supabase } from "../integrations/supabase/client";
6
+ import { supabase } from "../integrations/supabase/moduleClient";
7
7
  import { startRecalcJob, tickRecalcJob } from "../lib/logisticsRecalcJob.functions";
8
8
  const PHASE_LABEL = {
9
9
  buffers: "Orderbuffers indelen",
@@ -1,6 +1,6 @@
1
1
  // This file is automatically generated. Do not edit it directly.
2
2
  import { createMiddleware } from '@tanstack/react-start';
3
- import { supabase } from './client';
3
+ import { supabase } from './moduleClient';
4
4
  // Must be registered as a global `functionMiddleware` in `src/start.ts`; otherwise
5
5
  // the browser never attaches the bearer token to serverFn RPCs.
6
6
  export const attachSupabaseAuth = createMiddleware({ type: 'function' }).client(async ({ next }) => {
@@ -20165,17 +20165,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20165
20165
  Returns: string;
20166
20166
  };
20167
20167
  logistics_emit_event: {
20168
- Args: {
20169
- p_event_type: string;
20170
- p_idempotency_key?: string;
20171
- p_order_ref: string;
20172
- p_payload?: import("./types").Json;
20173
- p_shadow?: boolean;
20174
- p_source_module: string;
20175
- p_strategy_id?: string;
20176
- };
20177
- Returns: import("./types").Json;
20178
- } | {
20179
20168
  Args: {
20180
20169
  p_event_type: string;
20181
20170
  p_idempotency_key?: string;
@@ -21632,7 +21621,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21632
21621
  Enums: {
21633
21622
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
21634
21623
  app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
21635
- doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
21624
+ doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
21636
21625
  doc_orientation: "portrait" | "landscape";
21637
21626
  exact_env: "staging" | "live";
21638
21627
  exact_push_status: "pending" | "sent" | "error";