@flowselections/core 1.0.22 → 1.0.24
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/README.md +80 -0
- package/dist/auth/redirect.d.ts +33 -4
- package/dist/auth/redirect.d.ts.map +1 -1
- package/dist/auth/redirect.js +58 -7
- package/dist/auth/roles.d.ts +10 -0
- package/dist/auth/roles.d.ts.map +1 -0
- package/dist/auth/roles.js +11 -0
- package/dist/auth/useAuth.d.ts +1 -1
- package/dist/auth/useAuth.d.ts.map +1 -1
- package/dist/auth/useAuth.js +1 -1
- package/dist/auth/useIsSuperadmin.d.ts +19 -0
- package/dist/auth/useIsSuperadmin.d.ts.map +1 -0
- package/dist/auth/useIsSuperadmin.js +16 -0
- package/dist/components/instellingen/NotificationSettingsCard.js +3 -3
- package/dist/components/layout/AuthenticatedLayout.d.ts +19 -10
- package/dist/components/layout/AuthenticatedLayout.d.ts.map +1 -1
- package/dist/components/layout/AuthenticatedLayout.js +43 -9
- package/dist/components/layout/BugsDialog.js +10 -10
- package/dist/components/layout/HandoverPage.d.ts +5 -1
- package/dist/components/layout/HandoverPage.d.ts.map +1 -1
- package/dist/components/layout/HandoverPage.js +24 -7
- package/dist/components/layout/Header.js +4 -4
- package/dist/components/layout/InstellingenPage.d.ts +1 -1
- package/dist/components/layout/InstellingenPage.d.ts.map +1 -1
- package/dist/components/layout/InstellingenPage.js +15 -7
- package/dist/components/layout/LoginPage.js +7 -7
- package/dist/components/layout/NotificationBell.js +4 -4
- package/dist/components/layout/ResetWachtwoordPage.d.ts +3 -1
- package/dist/components/layout/ResetWachtwoordPage.d.ts.map +1 -1
- package/dist/components/layout/ResetWachtwoordPage.js +10 -8
- package/dist/components/layout/Sidebar.d.ts +31 -7
- package/dist/components/layout/Sidebar.d.ts.map +1 -1
- package/dist/components/layout/Sidebar.js +33 -11
- package/dist/components/ui/accordion.js +1 -1
- package/dist/components/ui/alert-dialog.js +2 -2
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/calendar.d.ts +1 -1
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/calendar.js +2 -2
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/carousel.d.ts +2 -2
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/carousel.js +2 -2
- package/dist/components/ui/chart.d.ts +10 -10
- package/dist/components/ui/chart.js +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/command.js +2 -2
- package/dist/components/ui/context-menu.js +1 -1
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/drawer.js +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/form.js +2 -2
- package/dist/components/ui/hover-card.js +1 -1
- package/dist/components/ui/icon-picker.js +3 -3
- package/dist/components/ui/input-otp.d.ts.map +1 -1
- package/dist/components/ui/input-otp.js +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/menubar.js +1 -1
- package/dist/components/ui/navigation-menu.js +1 -1
- package/dist/components/ui/pagination.d.ts +1 -1
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/progress.js +1 -1
- package/dist/components/ui/radio-group.js +1 -1
- package/dist/components/ui/resizable.js +1 -1
- package/dist/components/ui/scroll-area.js +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/sidebar.d.ts +2 -2
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +8 -8
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/table.js +1 -1
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/toggle-group.js +2 -2
- package/dist/components/ui/toggle.js +1 -1
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/extensions/ShellExtensions.d.ts +14 -1
- package/dist/extensions/ShellExtensions.d.ts.map +1 -1
- package/dist/extensions/ShellExtensions.js +21 -2
- package/dist/hooks/useLogoSrc.d.ts +7 -0
- package/dist/hooks/useLogoSrc.d.ts.map +1 -0
- package/dist/hooks/useLogoSrc.js +29 -0
- package/dist/index.d.ts +53 -44
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -35
- package/dist/permissions/resolve.d.ts +22 -0
- package/dist/permissions/resolve.d.ts.map +1 -0
- package/dist/permissions/resolve.js +76 -0
- package/dist/permissions/store.d.ts +38 -0
- package/dist/permissions/store.d.ts.map +1 -0
- package/dist/permissions/store.js +180 -0
- package/dist/permissions/useModulePermission.d.ts +52 -32
- package/dist/permissions/useModulePermission.d.ts.map +1 -1
- package/dist/permissions/useModulePermission.js +72 -104
- package/dist/routes/index.d.ts +50 -0
- package/dist/routes/index.d.ts.map +1 -0
- package/dist/routes/index.js +63 -0
- package/dist/server/handover-handler.d.ts +24 -0
- package/dist/server/handover-handler.d.ts.map +1 -0
- package/dist/server/handover-handler.js +59 -0
- package/dist/server/index.d.ts +4 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +3 -1
- package/dist/server/permissions.server.d.ts +14 -8
- package/dist/server/permissions.server.d.ts.map +1 -1
- package/dist/server/permissions.server.js +46 -9
- package/dist/shell/ShellContext.d.ts +26 -0
- package/dist/shell/ShellContext.d.ts.map +1 -0
- package/dist/shell/ShellContext.js +14 -0
- package/dist/styles.css +127 -0
- package/dist/supabase/auth-middleware.d.ts +16 -16
- package/dist/supabase/auth-middleware.d.ts.map +1 -1
- package/dist/supabase/client.d.ts +16 -16
- package/dist/supabase/client.d.ts.map +1 -1
- package/dist/supabase/client.server.d.ts +16 -16
- package/dist/supabase/client.server.d.ts.map +1 -1
- package/dist/types/module.d.ts +39 -4
- package/dist/types/module.d.ts.map +1 -1
- package/dist/types/module.js +33 -5
- package/package.json +14 -5
- package/dist/auth/handover.functions.d.ts +0 -16
- package/dist/auth/handover.functions.d.ts.map +0 -1
- package/dist/auth/handover.functions.js +0 -23
package/dist/styles.css
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@custom-variant dark (&:is(.dark *));
|
|
6
|
+
|
|
7
|
+
@layer base {
|
|
8
|
+
button, [role="button"], a, [type="button"], [type="submit"], [type="reset"] {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@theme inline {
|
|
14
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
15
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
16
|
+
--radius-lg: var(--radius);
|
|
17
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
18
|
+
--radius-2xl: calc(var(--radius) + 8px);
|
|
19
|
+
--radius-3xl: calc(var(--radius) + 12px);
|
|
20
|
+
--radius-4xl: calc(var(--radius) + 16px);
|
|
21
|
+
--color-background: var(--background);
|
|
22
|
+
--color-foreground: var(--foreground);
|
|
23
|
+
--color-card: var(--card);
|
|
24
|
+
--color-card-foreground: var(--card-foreground);
|
|
25
|
+
--color-popover: var(--popover);
|
|
26
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
27
|
+
--color-primary: var(--primary);
|
|
28
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
29
|
+
--color-secondary: var(--secondary);
|
|
30
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
31
|
+
--color-muted: var(--muted);
|
|
32
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
33
|
+
--color-accent: var(--accent);
|
|
34
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
35
|
+
--color-destructive: var(--destructive);
|
|
36
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
37
|
+
--color-success: var(--success);
|
|
38
|
+
--color-success-foreground: var(--success-foreground);
|
|
39
|
+
--color-warning: var(--warning);
|
|
40
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
41
|
+
--color-border: var(--border);
|
|
42
|
+
--color-input: var(--input);
|
|
43
|
+
--color-ring: var(--ring);
|
|
44
|
+
--color-chart-1: var(--chart-1);
|
|
45
|
+
--color-chart-2: var(--chart-2);
|
|
46
|
+
--color-chart-3: var(--chart-3);
|
|
47
|
+
--color-chart-4: var(--chart-4);
|
|
48
|
+
--color-chart-5: var(--chart-5);
|
|
49
|
+
--color-sidebar: var(--sidebar);
|
|
50
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
51
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
52
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
53
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
54
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
55
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
56
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
57
|
+
--color-sidebar-muted: var(--sidebar-muted);
|
|
58
|
+
--font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:root {
|
|
62
|
+
--radius: 0.5rem;
|
|
63
|
+
--background: hsl(210 20% 98%);
|
|
64
|
+
--foreground: hsl(214 79% 15%);
|
|
65
|
+
--card: hsl(0 0% 100%);
|
|
66
|
+
--card-foreground: hsl(214 79% 15%);
|
|
67
|
+
--popover: hsl(0 0% 100%);
|
|
68
|
+
--popover-foreground: hsl(214 79% 15%);
|
|
69
|
+
--primary: hsl(214 79% 33%);
|
|
70
|
+
--primary-foreground: hsl(0 0% 100%);
|
|
71
|
+
--secondary: hsl(214 30% 93%);
|
|
72
|
+
--secondary-foreground: hsl(214 79% 33%);
|
|
73
|
+
--muted: hsl(210 20% 96%);
|
|
74
|
+
--muted-foreground: hsl(214 20% 46%);
|
|
75
|
+
--accent: hsl(214 60% 90%);
|
|
76
|
+
--accent-foreground: hsl(214 79% 25%);
|
|
77
|
+
--destructive: hsl(0 72% 51%);
|
|
78
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
79
|
+
--success: hsl(142 71% 45%);
|
|
80
|
+
--success-foreground: hsl(0 0% 100%);
|
|
81
|
+
--warning: hsl(38 92% 50%);
|
|
82
|
+
--warning-foreground: hsl(0 0% 100%);
|
|
83
|
+
--border: hsl(214 20% 88%);
|
|
84
|
+
--input: hsl(214 20% 88%);
|
|
85
|
+
--ring: hsl(214 79% 33%);
|
|
86
|
+
--chart-1: hsl(214 79% 33%);
|
|
87
|
+
--chart-2: hsl(142 71% 45%);
|
|
88
|
+
--chart-3: hsl(38 92% 50%);
|
|
89
|
+
--chart-4: hsl(0 72% 51%);
|
|
90
|
+
--chart-5: hsl(280 60% 50%);
|
|
91
|
+
--sidebar: hsl(214 79% 33%);
|
|
92
|
+
--sidebar-foreground: hsl(0 0% 100%);
|
|
93
|
+
--sidebar-primary: hsl(0 0% 100%);
|
|
94
|
+
--sidebar-primary-foreground: hsl(214 79% 33%);
|
|
95
|
+
--sidebar-accent: hsl(214 79% 40%);
|
|
96
|
+
--sidebar-accent-foreground: hsl(0 0% 100%);
|
|
97
|
+
--sidebar-border: hsl(214 79% 45%);
|
|
98
|
+
--sidebar-ring: hsl(0 0% 100%);
|
|
99
|
+
--sidebar-muted: hsl(214 60% 70%);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@layer base {
|
|
103
|
+
* {
|
|
104
|
+
border-color: var(--color-border);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
body {
|
|
108
|
+
background-color: var(--color-background);
|
|
109
|
+
color: var(--color-foreground);
|
|
110
|
+
font-family: var(--font-sans);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.sidebar-scroll::-webkit-scrollbar {
|
|
114
|
+
width: 6px;
|
|
115
|
+
}
|
|
116
|
+
.sidebar-scroll::-webkit-scrollbar-track {
|
|
117
|
+
background: var(--color-sidebar);
|
|
118
|
+
}
|
|
119
|
+
.sidebar-scroll::-webkit-scrollbar-thumb {
|
|
120
|
+
background: var(--color-sidebar-accent);
|
|
121
|
+
border-radius: 3px;
|
|
122
|
+
}
|
|
123
|
+
.sidebar-scroll {
|
|
124
|
+
scrollbar-color: var(--color-sidebar-accent) var(--color-sidebar);
|
|
125
|
+
scrollbar-width: thin;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Database } from './types';
|
|
1
|
+
import type { Database } from './types.js';
|
|
2
2
|
export declare const requireSupabaseAuth: import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
|
|
3
3
|
supabase: import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
|
|
4
4
|
Tables: {
|
|
@@ -109,7 +109,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
109
109
|
contact_person: string | null;
|
|
110
110
|
country: string | null;
|
|
111
111
|
created_at: string;
|
|
112
|
-
custom_fields: import("./types").Json;
|
|
112
|
+
custom_fields: import("./types.js").Json;
|
|
113
113
|
email: string | null;
|
|
114
114
|
id: string;
|
|
115
115
|
notes: string | null;
|
|
@@ -124,7 +124,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
124
124
|
contact_person?: string | null;
|
|
125
125
|
country?: string | null;
|
|
126
126
|
created_at?: string;
|
|
127
|
-
custom_fields?: import("./types").Json;
|
|
127
|
+
custom_fields?: import("./types.js").Json;
|
|
128
128
|
email?: string | null;
|
|
129
129
|
id?: string;
|
|
130
130
|
notes?: string | null;
|
|
@@ -139,7 +139,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
139
139
|
contact_person?: string | null;
|
|
140
140
|
country?: string | null;
|
|
141
141
|
created_at?: string;
|
|
142
|
-
custom_fields?: import("./types").Json;
|
|
142
|
+
custom_fields?: import("./types.js").Json;
|
|
143
143
|
email?: string | null;
|
|
144
144
|
id?: string;
|
|
145
145
|
notes?: string | null;
|
|
@@ -292,7 +292,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
292
292
|
};
|
|
293
293
|
product_field_settings: {
|
|
294
294
|
Row: {
|
|
295
|
-
active_per_category: import("./types").Json;
|
|
295
|
+
active_per_category: import("./types.js").Json;
|
|
296
296
|
created_at: string;
|
|
297
297
|
field_key: string;
|
|
298
298
|
field_label: string;
|
|
@@ -303,7 +303,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
303
303
|
updated_at: string;
|
|
304
304
|
};
|
|
305
305
|
Insert: {
|
|
306
|
-
active_per_category?: import("./types").Json;
|
|
306
|
+
active_per_category?: import("./types.js").Json;
|
|
307
307
|
created_at?: string;
|
|
308
308
|
field_key: string;
|
|
309
309
|
field_label: string;
|
|
@@ -314,7 +314,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
314
314
|
updated_at?: string;
|
|
315
315
|
};
|
|
316
316
|
Update: {
|
|
317
|
-
active_per_category?: import("./types").Json;
|
|
317
|
+
active_per_category?: import("./types.js").Json;
|
|
318
318
|
created_at?: string;
|
|
319
319
|
field_key?: string;
|
|
320
320
|
field_label?: string;
|
|
@@ -331,7 +331,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
331
331
|
barcode: string | null;
|
|
332
332
|
batch: string;
|
|
333
333
|
created_at: string;
|
|
334
|
-
custom_fields: import("./types").Json;
|
|
334
|
+
custom_fields: import("./types.js").Json;
|
|
335
335
|
id: string;
|
|
336
336
|
image_url: string | null;
|
|
337
337
|
incoming_quantity: number;
|
|
@@ -350,7 +350,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
350
350
|
barcode?: string | null;
|
|
351
351
|
batch: string;
|
|
352
352
|
created_at?: string;
|
|
353
|
-
custom_fields?: import("./types").Json;
|
|
353
|
+
custom_fields?: import("./types.js").Json;
|
|
354
354
|
id?: string;
|
|
355
355
|
image_url?: string | null;
|
|
356
356
|
incoming_quantity?: number;
|
|
@@ -369,7 +369,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
369
369
|
barcode?: string | null;
|
|
370
370
|
batch?: string;
|
|
371
371
|
created_at?: string;
|
|
372
|
-
custom_fields?: import("./types").Json;
|
|
372
|
+
custom_fields?: import("./types.js").Json;
|
|
373
373
|
id?: string;
|
|
374
374
|
image_url?: string | null;
|
|
375
375
|
incoming_quantity?: number;
|
|
@@ -392,7 +392,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
392
392
|
display_name: string | null;
|
|
393
393
|
email: string | null;
|
|
394
394
|
id: string;
|
|
395
|
-
notification_preferences: import("./types").Json;
|
|
395
|
+
notification_preferences: import("./types.js").Json;
|
|
396
396
|
updated_at: string;
|
|
397
397
|
};
|
|
398
398
|
Insert: {
|
|
@@ -400,7 +400,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
400
400
|
display_name?: string | null;
|
|
401
401
|
email?: string | null;
|
|
402
402
|
id: string;
|
|
403
|
-
notification_preferences?: import("./types").Json;
|
|
403
|
+
notification_preferences?: import("./types.js").Json;
|
|
404
404
|
updated_at?: string;
|
|
405
405
|
};
|
|
406
406
|
Update: {
|
|
@@ -408,7 +408,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
408
408
|
display_name?: string | null;
|
|
409
409
|
email?: string | null;
|
|
410
410
|
id?: string;
|
|
411
|
-
notification_preferences?: import("./types").Json;
|
|
411
|
+
notification_preferences?: import("./types.js").Json;
|
|
412
412
|
updated_at?: string;
|
|
413
413
|
};
|
|
414
414
|
Relationships: [];
|
|
@@ -554,7 +554,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
554
554
|
suppliers: {
|
|
555
555
|
Row: {
|
|
556
556
|
address: string | null;
|
|
557
|
-
column_mappings: import("./types").Json | null;
|
|
557
|
+
column_mappings: import("./types.js").Json | null;
|
|
558
558
|
contact_person: string | null;
|
|
559
559
|
created_at: string;
|
|
560
560
|
default_product_type: string;
|
|
@@ -568,7 +568,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
568
568
|
};
|
|
569
569
|
Insert: {
|
|
570
570
|
address?: string | null;
|
|
571
|
-
column_mappings?: import("./types").Json | null;
|
|
571
|
+
column_mappings?: import("./types.js").Json | null;
|
|
572
572
|
contact_person?: string | null;
|
|
573
573
|
created_at?: string;
|
|
574
574
|
default_product_type?: string;
|
|
@@ -582,7 +582,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
582
582
|
};
|
|
583
583
|
Update: {
|
|
584
584
|
address?: string | null;
|
|
585
|
-
column_mappings?: import("./types").Json | null;
|
|
585
|
+
column_mappings?: import("./types.js").Json | null;
|
|
586
586
|
contact_person?: string | null;
|
|
587
587
|
created_at?: string;
|
|
588
588
|
default_product_type?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-middleware.d.ts","sourceRoot":"","sources":["../../src/core/supabase/auth-middleware.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"auth-middleware.d.ts","sourceRoot":"","sources":["../../src/core/supabase/auth-middleware.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAI1C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;kCAStB,CAAA;8BAIN,CAAJ;;sBAEgB,CAAC;4BACD,CAAA;0BAA2B,CAAA;;8BAGv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;mCAA0C,CAAC;kCAAuC,CAAC;8BAAqC,CAAC;wCAAwC,CAAC;yBAAyB,CAAC;sBAA6B,CAAC;sCAAsC,CAAC;wBAA+B,CAAC;yBAAyB,CAAC;yBAAgC,CAAC;8BAAqC,CAAC;;;;;;;;0BAAiK,kBAAmB,SAAS;;;;8BAA2F,CAAC;sBAAsB,CAAC;0BAAyB,kBAAmB,SAAS;;;;8BAA2F,CAAC;sBAAsB,CAAC;wBAAwB,CAAC,EAAC,kBAAmB,SAAS;2BAA+B,CAAC;;;;;;;;;;;;;;;;;;;;;;mCAD3oe,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Database } from './types';
|
|
1
|
+
import type { Database } from './types.js';
|
|
2
2
|
export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
|
|
3
3
|
Tables: {
|
|
4
4
|
bugs: {
|
|
@@ -108,7 +108,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
108
108
|
contact_person: string | null;
|
|
109
109
|
country: string | null;
|
|
110
110
|
created_at: string;
|
|
111
|
-
custom_fields: import("./types").Json;
|
|
111
|
+
custom_fields: import("./types.js").Json;
|
|
112
112
|
email: string | null;
|
|
113
113
|
id: string;
|
|
114
114
|
notes: string | null;
|
|
@@ -123,7 +123,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
123
123
|
contact_person?: string | null;
|
|
124
124
|
country?: string | null;
|
|
125
125
|
created_at?: string;
|
|
126
|
-
custom_fields?: import("./types").Json;
|
|
126
|
+
custom_fields?: import("./types.js").Json;
|
|
127
127
|
email?: string | null;
|
|
128
128
|
id?: string;
|
|
129
129
|
notes?: string | null;
|
|
@@ -138,7 +138,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
138
138
|
contact_person?: string | null;
|
|
139
139
|
country?: string | null;
|
|
140
140
|
created_at?: string;
|
|
141
|
-
custom_fields?: import("./types").Json;
|
|
141
|
+
custom_fields?: import("./types.js").Json;
|
|
142
142
|
email?: string | null;
|
|
143
143
|
id?: string;
|
|
144
144
|
notes?: string | null;
|
|
@@ -291,7 +291,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
291
291
|
};
|
|
292
292
|
product_field_settings: {
|
|
293
293
|
Row: {
|
|
294
|
-
active_per_category: import("./types").Json;
|
|
294
|
+
active_per_category: import("./types.js").Json;
|
|
295
295
|
created_at: string;
|
|
296
296
|
field_key: string;
|
|
297
297
|
field_label: string;
|
|
@@ -302,7 +302,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
302
302
|
updated_at: string;
|
|
303
303
|
};
|
|
304
304
|
Insert: {
|
|
305
|
-
active_per_category?: import("./types").Json;
|
|
305
|
+
active_per_category?: import("./types.js").Json;
|
|
306
306
|
created_at?: string;
|
|
307
307
|
field_key: string;
|
|
308
308
|
field_label: string;
|
|
@@ -313,7 +313,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
313
313
|
updated_at?: string;
|
|
314
314
|
};
|
|
315
315
|
Update: {
|
|
316
|
-
active_per_category?: import("./types").Json;
|
|
316
|
+
active_per_category?: import("./types.js").Json;
|
|
317
317
|
created_at?: string;
|
|
318
318
|
field_key?: string;
|
|
319
319
|
field_label?: string;
|
|
@@ -330,7 +330,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
330
330
|
barcode: string | null;
|
|
331
331
|
batch: string;
|
|
332
332
|
created_at: string;
|
|
333
|
-
custom_fields: import("./types").Json;
|
|
333
|
+
custom_fields: import("./types.js").Json;
|
|
334
334
|
id: string;
|
|
335
335
|
image_url: string | null;
|
|
336
336
|
incoming_quantity: number;
|
|
@@ -349,7 +349,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
349
349
|
barcode?: string | null;
|
|
350
350
|
batch: string;
|
|
351
351
|
created_at?: string;
|
|
352
|
-
custom_fields?: import("./types").Json;
|
|
352
|
+
custom_fields?: import("./types.js").Json;
|
|
353
353
|
id?: string;
|
|
354
354
|
image_url?: string | null;
|
|
355
355
|
incoming_quantity?: number;
|
|
@@ -368,7 +368,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
368
368
|
barcode?: string | null;
|
|
369
369
|
batch?: string;
|
|
370
370
|
created_at?: string;
|
|
371
|
-
custom_fields?: import("./types").Json;
|
|
371
|
+
custom_fields?: import("./types.js").Json;
|
|
372
372
|
id?: string;
|
|
373
373
|
image_url?: string | null;
|
|
374
374
|
incoming_quantity?: number;
|
|
@@ -391,7 +391,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
391
391
|
display_name: string | null;
|
|
392
392
|
email: string | null;
|
|
393
393
|
id: string;
|
|
394
|
-
notification_preferences: import("./types").Json;
|
|
394
|
+
notification_preferences: import("./types.js").Json;
|
|
395
395
|
updated_at: string;
|
|
396
396
|
};
|
|
397
397
|
Insert: {
|
|
@@ -399,7 +399,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
399
399
|
display_name?: string | null;
|
|
400
400
|
email?: string | null;
|
|
401
401
|
id: string;
|
|
402
|
-
notification_preferences?: import("./types").Json;
|
|
402
|
+
notification_preferences?: import("./types.js").Json;
|
|
403
403
|
updated_at?: string;
|
|
404
404
|
};
|
|
405
405
|
Update: {
|
|
@@ -407,7 +407,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
407
407
|
display_name?: string | null;
|
|
408
408
|
email?: string | null;
|
|
409
409
|
id?: string;
|
|
410
|
-
notification_preferences?: import("./types").Json;
|
|
410
|
+
notification_preferences?: import("./types.js").Json;
|
|
411
411
|
updated_at?: string;
|
|
412
412
|
};
|
|
413
413
|
Relationships: [];
|
|
@@ -553,7 +553,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
553
553
|
suppliers: {
|
|
554
554
|
Row: {
|
|
555
555
|
address: string | null;
|
|
556
|
-
column_mappings: import("./types").Json | null;
|
|
556
|
+
column_mappings: import("./types.js").Json | null;
|
|
557
557
|
contact_person: string | null;
|
|
558
558
|
created_at: string;
|
|
559
559
|
default_product_type: string;
|
|
@@ -567,7 +567,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
567
567
|
};
|
|
568
568
|
Insert: {
|
|
569
569
|
address?: string | null;
|
|
570
|
-
column_mappings?: import("./types").Json | null;
|
|
570
|
+
column_mappings?: import("./types.js").Json | null;
|
|
571
571
|
contact_person?: string | null;
|
|
572
572
|
created_at?: string;
|
|
573
573
|
default_product_type?: string;
|
|
@@ -581,7 +581,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
581
581
|
};
|
|
582
582
|
Update: {
|
|
583
583
|
address?: string | null;
|
|
584
|
-
column_mappings?: import("./types").Json | null;
|
|
584
|
+
column_mappings?: import("./types.js").Json | null;
|
|
585
585
|
contact_person?: string | null;
|
|
586
586
|
created_at?: string;
|
|
587
587
|
default_product_type?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/core/supabase/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/core/supabase/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAyB3C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;8BAb8C,CAAC;0BAEnD,CAAC;;kBAAqD,CAAC;wBACrD,CAAC;sBAA0B,CAAC;;0BAM/C,CADC;;;;8BAGkB,CAAC;0BACL,CAAC;2BAA+B,CAAC;kBACzC,CAAC;wBAA6B,CAAA;sBAA0B,CAAC;qBAC3D,CAAC;0BACE,CAAC;uBAA2B,CA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;qBAAgC,CAAC;0BAAqC,CAAC;;;;;;;;sBAAiK,kBAAmB,SAAS;;;;0BAA2F,CAAC;kBAAsB,CAAC;sBAAyB,kBAAmB,SAAS;;;;0BAA2F,CAAC;kBAAsB,CAAC;oBAAwB,CAAC,EAAC,kBAAmB,SAAS;uBAA+B,CAAC;;;;;;;;;;;;;;;;;;;EAA1igB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Database } from './types';
|
|
1
|
+
import type { Database } from './types.js';
|
|
2
2
|
export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
|
|
3
3
|
Tables: {
|
|
4
4
|
bugs: {
|
|
@@ -108,7 +108,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
108
108
|
contact_person: string | null;
|
|
109
109
|
country: string | null;
|
|
110
110
|
created_at: string;
|
|
111
|
-
custom_fields: import("./types").Json;
|
|
111
|
+
custom_fields: import("./types.js").Json;
|
|
112
112
|
email: string | null;
|
|
113
113
|
id: string;
|
|
114
114
|
notes: string | null;
|
|
@@ -123,7 +123,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
123
123
|
contact_person?: string | null;
|
|
124
124
|
country?: string | null;
|
|
125
125
|
created_at?: string;
|
|
126
|
-
custom_fields?: import("./types").Json;
|
|
126
|
+
custom_fields?: import("./types.js").Json;
|
|
127
127
|
email?: string | null;
|
|
128
128
|
id?: string;
|
|
129
129
|
notes?: string | null;
|
|
@@ -138,7 +138,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
138
138
|
contact_person?: string | null;
|
|
139
139
|
country?: string | null;
|
|
140
140
|
created_at?: string;
|
|
141
|
-
custom_fields?: import("./types").Json;
|
|
141
|
+
custom_fields?: import("./types.js").Json;
|
|
142
142
|
email?: string | null;
|
|
143
143
|
id?: string;
|
|
144
144
|
notes?: string | null;
|
|
@@ -291,7 +291,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
291
291
|
};
|
|
292
292
|
product_field_settings: {
|
|
293
293
|
Row: {
|
|
294
|
-
active_per_category: import("./types").Json;
|
|
294
|
+
active_per_category: import("./types.js").Json;
|
|
295
295
|
created_at: string;
|
|
296
296
|
field_key: string;
|
|
297
297
|
field_label: string;
|
|
@@ -302,7 +302,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
302
302
|
updated_at: string;
|
|
303
303
|
};
|
|
304
304
|
Insert: {
|
|
305
|
-
active_per_category?: import("./types").Json;
|
|
305
|
+
active_per_category?: import("./types.js").Json;
|
|
306
306
|
created_at?: string;
|
|
307
307
|
field_key: string;
|
|
308
308
|
field_label: string;
|
|
@@ -313,7 +313,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
313
313
|
updated_at?: string;
|
|
314
314
|
};
|
|
315
315
|
Update: {
|
|
316
|
-
active_per_category?: import("./types").Json;
|
|
316
|
+
active_per_category?: import("./types.js").Json;
|
|
317
317
|
created_at?: string;
|
|
318
318
|
field_key?: string;
|
|
319
319
|
field_label?: string;
|
|
@@ -330,7 +330,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
330
330
|
barcode: string | null;
|
|
331
331
|
batch: string;
|
|
332
332
|
created_at: string;
|
|
333
|
-
custom_fields: import("./types").Json;
|
|
333
|
+
custom_fields: import("./types.js").Json;
|
|
334
334
|
id: string;
|
|
335
335
|
image_url: string | null;
|
|
336
336
|
incoming_quantity: number;
|
|
@@ -349,7 +349,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
349
349
|
barcode?: string | null;
|
|
350
350
|
batch: string;
|
|
351
351
|
created_at?: string;
|
|
352
|
-
custom_fields?: import("./types").Json;
|
|
352
|
+
custom_fields?: import("./types.js").Json;
|
|
353
353
|
id?: string;
|
|
354
354
|
image_url?: string | null;
|
|
355
355
|
incoming_quantity?: number;
|
|
@@ -368,7 +368,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
368
368
|
barcode?: string | null;
|
|
369
369
|
batch?: string;
|
|
370
370
|
created_at?: string;
|
|
371
|
-
custom_fields?: import("./types").Json;
|
|
371
|
+
custom_fields?: import("./types.js").Json;
|
|
372
372
|
id?: string;
|
|
373
373
|
image_url?: string | null;
|
|
374
374
|
incoming_quantity?: number;
|
|
@@ -391,7 +391,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
391
391
|
display_name: string | null;
|
|
392
392
|
email: string | null;
|
|
393
393
|
id: string;
|
|
394
|
-
notification_preferences: import("./types").Json;
|
|
394
|
+
notification_preferences: import("./types.js").Json;
|
|
395
395
|
updated_at: string;
|
|
396
396
|
};
|
|
397
397
|
Insert: {
|
|
@@ -399,7 +399,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
399
399
|
display_name?: string | null;
|
|
400
400
|
email?: string | null;
|
|
401
401
|
id: string;
|
|
402
|
-
notification_preferences?: import("./types").Json;
|
|
402
|
+
notification_preferences?: import("./types.js").Json;
|
|
403
403
|
updated_at?: string;
|
|
404
404
|
};
|
|
405
405
|
Update: {
|
|
@@ -407,7 +407,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
407
407
|
display_name?: string | null;
|
|
408
408
|
email?: string | null;
|
|
409
409
|
id?: string;
|
|
410
|
-
notification_preferences?: import("./types").Json;
|
|
410
|
+
notification_preferences?: import("./types.js").Json;
|
|
411
411
|
updated_at?: string;
|
|
412
412
|
};
|
|
413
413
|
Relationships: [];
|
|
@@ -553,7 +553,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
553
553
|
suppliers: {
|
|
554
554
|
Row: {
|
|
555
555
|
address: string | null;
|
|
556
|
-
column_mappings: import("./types").Json | null;
|
|
556
|
+
column_mappings: import("./types.js").Json | null;
|
|
557
557
|
contact_person: string | null;
|
|
558
558
|
created_at: string;
|
|
559
559
|
default_product_type: string;
|
|
@@ -567,7 +567,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
567
567
|
};
|
|
568
568
|
Insert: {
|
|
569
569
|
address?: string | null;
|
|
570
|
-
column_mappings?: import("./types").Json | null;
|
|
570
|
+
column_mappings?: import("./types.js").Json | null;
|
|
571
571
|
contact_person?: string | null;
|
|
572
572
|
created_at?: string;
|
|
573
573
|
default_product_type?: string;
|
|
@@ -581,7 +581,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
581
581
|
};
|
|
582
582
|
Update: {
|
|
583
583
|
address?: string | null;
|
|
584
|
-
column_mappings?: import("./types").Json | null;
|
|
584
|
+
column_mappings?: import("./types.js").Json | null;
|
|
585
585
|
contact_person?: string | null;
|
|
586
586
|
created_at?: string;
|
|
587
587
|
default_product_type?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.server.d.ts","sourceRoot":"","sources":["../../src/core/supabase/client.server.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"client.server.d.ts","sourceRoot":"","sources":["../../src/core/supabase/client.server.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AA0B3C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;8BAlBkE,CAAC;0BAI3F,CAAD;;kBAAqD,CAAC;wBAChD,CAAC;sBACa,CAAC;;0BAEF,CAAC;;;;8BAKwC,CAAC;0BAE5C,CAAC;2BAAgC,CAAA;kBAC3C,CAAC;wBAA4B,CAAC;sBAA0B,CAAC;qBAEjE,CAF2F;0BAC9D,CAAC;uBAA2B,CAAC;;;;;;;;;;;;;0BAOnD,CAAC;;kBAA0D,CAAC;;0BAAuD,CAAC;;;0BAA4D,CAA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