@flowselections/facturen-installatie-techniek 1.4.2 → 1.4.3
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/components/FacturenForInstallatieTechniek.js +1 -1
- package/dist-lib/components/WerkbonPreviewPanel.js +1 -1
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/lib/articles.functions.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { WerkbonPreviewPanel } from "
|
|
2
|
+
import { WerkbonPreviewPanel } from "./WerkbonPreviewPanel.js";
|
|
3
3
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { dependencyMessage } from "../lib/dependencies";
|
|
5
5
|
import { DEFAULT_VAT_RATE } from "../lib/config";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
|
-
import { fetchSourceLines, fetchWorkOrderPreview, formatCents, } from "../lib/facturen";
|
|
3
|
+
import { fetchSourceLines, fetchWorkOrderPreview, formatCents, } from "../lib/facturen.js";
|
|
4
4
|
function fmtDate(v) {
|
|
5
5
|
if (!v)
|
|
6
6
|
return "—";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Geen project-URL of sleutel in module-code: de client komt van @flowselections/core (env-gebaseerd, dezelfde sessie als de shell).
|
|
2
2
|
import { supabase as coreSupabase } from "@flowselections/core";
|
|
3
3
|
// Import the supabase client like this:
|
|
4
|
-
// import { supabase } from "
|
|
4
|
+
// import { supabase } from "./client.js";
|
|
5
5
|
export const supabase = coreSupabase;
|
|
@@ -20,7 +20,7 @@ function createSupabaseAdminClient() {
|
|
|
20
20
|
let _supabaseAdmin;
|
|
21
21
|
// Server-side Supabase client with service role - bypasses RLS
|
|
22
22
|
// SECURITY: Only use this for trusted server-side operations, never expose to client code
|
|
23
|
-
// Import like: import { supabaseAdmin } from "
|
|
23
|
+
// Import like: import { supabaseAdmin } from "./client.server.js";
|
|
24
24
|
// Explicit annotation: the inferred Proxy type exceeds the serialization limit for declaration emit (TS7056).
|
|
25
25
|
export const supabaseAdmin = new Proxy({}, {
|
|
26
26
|
get(_, prop, receiver) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type SupabaseClient } from "@supabase/supabase-js";
|
|
2
2
|
import { type Fetcher, type FunctionMiddlewareAfterServer } from "@tanstack/react-start";
|
|
3
3
|
import { attachShellAuth } from "./auth-attach";
|
|
4
|
-
import type { Database } from "../integrations/supabase/types";
|
|
4
|
+
import type { Database } from "../integrations/supabase/types.js";
|
|
5
5
|
export interface InvoiceArticleOption {
|
|
6
6
|
id: string;
|
|
7
7
|
code: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowselections/facturen-installatie-techniek",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"flowselections": {
|
|
5
5
|
"moduleId": "facturen-installatietechniek",
|
|
6
6
|
"pages": [
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@cloudflare/vite-plugin": "^1.25.5",
|
|
114
114
|
"@eslint/js": "^9.32.0",
|
|
115
|
-
"@flowselections/core": "1.0.
|
|
115
|
+
"@flowselections/core": "1.0.30",
|
|
116
116
|
"@lovable.dev/vite-tanstack-config": "2.26.5",
|
|
117
117
|
"@rsbuild/core": "^1.0.0",
|
|
118
118
|
"@tailwindcss/vite": "^4.2.1",
|