@flowselections/core 1.0.0
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/auth/useAuth.d.ts +28 -0
- package/dist/auth/useAuth.d.ts.map +1 -0
- package/dist/auth/useAuth.js +72 -0
- package/dist/components/instellingen/NotificationSettingsCard.d.ts +2 -0
- package/dist/components/instellingen/NotificationSettingsCard.d.ts.map +1 -0
- package/dist/components/instellingen/NotificationSettingsCard.js +63 -0
- package/dist/components/layout/BugsDialog.d.ts +7 -0
- package/dist/components/layout/BugsDialog.d.ts.map +1 -0
- package/dist/components/layout/BugsDialog.js +148 -0
- package/dist/components/layout/Header.d.ts +6 -0
- package/dist/components/layout/Header.d.ts.map +1 -0
- package/dist/components/layout/Header.js +11 -0
- package/dist/components/layout/InstellingenPage.d.ts +5 -0
- package/dist/components/layout/InstellingenPage.d.ts.map +1 -0
- package/dist/components/layout/InstellingenPage.js +79 -0
- package/dist/components/layout/LoginPage.d.ts +6 -0
- package/dist/components/layout/LoginPage.d.ts.map +1 -0
- package/dist/components/layout/LoginPage.js +57 -0
- package/dist/components/layout/NotificationBell.d.ts +2 -0
- package/dist/components/layout/NotificationBell.d.ts.map +1 -0
- package/dist/components/layout/NotificationBell.js +45 -0
- package/dist/components/layout/ResetWachtwoordPage.d.ts +6 -0
- package/dist/components/layout/ResetWachtwoordPage.d.ts.map +1 -0
- package/dist/components/layout/ResetWachtwoordPage.js +51 -0
- package/dist/components/layout/Sidebar.d.ts +9 -0
- package/dist/components/layout/Sidebar.d.ts.map +1 -0
- package/dist/components/layout/Sidebar.js +32 -0
- package/dist/components/ui/accordion.d.ts +8 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +13 -0
- package/dist/components/ui/alert-dialog.d.ts +21 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +26 -0
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +22 -0
- package/dist/components/ui/aspect-ratio.d.ts +4 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +3 -0
- package/dist/components/ui/avatar.d.ts +7 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +12 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +20 -0
- package/dist/components/ui/breadcrumb.d.ts +20 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +23 -0
- package/dist/components/ui/button.d.ts +12 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +33 -0
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +74 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +16 -0
- package/dist/components/ui/carousel.d.ts +19 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +98 -0
- package/dist/components/ui/chart.d.ts +63 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +134 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +8 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +6 -0
- package/dist/components/ui/command.d.ts +81 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +29 -0
- package/dist/components/ui/context-menu.d.ts +28 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +33 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +23 -0
- package/dist/components/ui/drawer.d.ts +23 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +36 -0
- package/dist/components/ui/form.d.ts +24 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.js +65 -0
- package/dist/components/ui/hover-card.d.ts +7 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +9 -0
- package/dist/components/ui/icon-picker.d.ts +15 -0
- package/dist/components/ui/icon-picker.d.ts.map +1 -0
- package/dist/components/ui/icon-picker.js +73 -0
- package/dist/components/ui/input-otp.d.ts +35 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/input-otp.js +18 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +8 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +10 -0
- package/dist/components/ui/menubar.d.ts +29 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +45 -0
- package/dist/components/ui/navigation-menu.d.ts +13 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +24 -0
- package/dist/components/ui/pagination.d.ts +29 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.js +23 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +10 -0
- package/dist/components/ui/progress.d.ts +5 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/progress.js +8 -0
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +14 -0
- package/dist/components/ui/resizable.d.ts +8 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +8 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +11 -0
- package/dist/components/ui/select.d.ts +14 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +27 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +7 -0
- package/dist/components/ui/sheet.d.ts +26 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +37 -0
- package/dist/components/ui/sidebar.d.ts +66 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +224 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +6 -0
- package/dist/components/ui/slider.d.ts +5 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +7 -0
- package/dist/components/ui/sonner.d.ts +5 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +13 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +7 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +20 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +12 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +8 -0
- package/dist/components/ui/toggle-group.d.ts +13 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +21 -0
- package/dist/components/ui/toggle.d.ts +13 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +25 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +11 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +15 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +5 -0
- package/dist/lib/validationSchemas.d.ts +15 -0
- package/dist/lib/validationSchemas.d.ts.map +1 -0
- package/dist/lib/validationSchemas.js +25 -0
- package/dist/supabase/auth-middleware.d.ts +639 -0
- package/dist/supabase/auth-middleware.d.ts.map +1 -0
- package/dist/supabase/auth-middleware.js +52 -0
- package/dist/supabase/client.d.ts +635 -0
- package/dist/supabase/client.d.ts.map +1 -0
- package/dist/supabase/client.js +13 -0
- package/dist/supabase/client.server.d.ts +635 -0
- package/dist/supabase/client.server.d.ts.map +1 -0
- package/dist/supabase/client.server.js +30 -0
- package/dist/supabase/types.d.ts +717 -0
- package/dist/supabase/types.d.ts.map +1 -0
- package/dist/supabase/types.js +7 -0
- package/dist/types/module.d.ts +20 -0
- package/dist/types/module.d.ts.map +1 -0
- package/dist/types/module.js +1 -0
- package/package.json +100 -0
|
@@ -0,0 +1,635 @@
|
|
|
1
|
+
import type { Database } from './types';
|
|
2
|
+
export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
|
|
3
|
+
Tables: {
|
|
4
|
+
bugs: {
|
|
5
|
+
Row: {
|
|
6
|
+
attachment_url: string | null;
|
|
7
|
+
created_at: string;
|
|
8
|
+
description: string;
|
|
9
|
+
id: string;
|
|
10
|
+
priority: string;
|
|
11
|
+
status: string;
|
|
12
|
+
title: string;
|
|
13
|
+
updated_at: string;
|
|
14
|
+
user_id: string;
|
|
15
|
+
};
|
|
16
|
+
Insert: {
|
|
17
|
+
attachment_url?: string | null;
|
|
18
|
+
created_at?: string;
|
|
19
|
+
description: string;
|
|
20
|
+
id?: string;
|
|
21
|
+
priority?: string;
|
|
22
|
+
status?: string;
|
|
23
|
+
title: string;
|
|
24
|
+
updated_at?: string;
|
|
25
|
+
user_id: string;
|
|
26
|
+
};
|
|
27
|
+
Update: {
|
|
28
|
+
attachment_url?: string | null;
|
|
29
|
+
created_at?: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
id?: string;
|
|
32
|
+
priority?: string;
|
|
33
|
+
status?: string;
|
|
34
|
+
title?: string;
|
|
35
|
+
updated_at?: string;
|
|
36
|
+
user_id?: string;
|
|
37
|
+
};
|
|
38
|
+
Relationships: [];
|
|
39
|
+
};
|
|
40
|
+
customer_field_options: {
|
|
41
|
+
Row: {
|
|
42
|
+
created_at: string;
|
|
43
|
+
field_setting_id: string;
|
|
44
|
+
id: string;
|
|
45
|
+
label: string;
|
|
46
|
+
sort_order: number;
|
|
47
|
+
};
|
|
48
|
+
Insert: {
|
|
49
|
+
created_at?: string;
|
|
50
|
+
field_setting_id: string;
|
|
51
|
+
id?: string;
|
|
52
|
+
label: string;
|
|
53
|
+
sort_order?: number;
|
|
54
|
+
};
|
|
55
|
+
Update: {
|
|
56
|
+
created_at?: string;
|
|
57
|
+
field_setting_id?: string;
|
|
58
|
+
id?: string;
|
|
59
|
+
label?: string;
|
|
60
|
+
sort_order?: number;
|
|
61
|
+
};
|
|
62
|
+
Relationships: [{
|
|
63
|
+
foreignKeyName: "customer_field_options_field_setting_id_fkey";
|
|
64
|
+
columns: ["field_setting_id"];
|
|
65
|
+
isOneToOne: false;
|
|
66
|
+
referencedRelation: "customer_field_settings";
|
|
67
|
+
referencedColumns: ["id"];
|
|
68
|
+
}];
|
|
69
|
+
};
|
|
70
|
+
customer_field_settings: {
|
|
71
|
+
Row: {
|
|
72
|
+
created_at: string;
|
|
73
|
+
field_key: string;
|
|
74
|
+
field_label: string;
|
|
75
|
+
field_type: string;
|
|
76
|
+
id: string;
|
|
77
|
+
is_custom: boolean;
|
|
78
|
+
sort_order: number;
|
|
79
|
+
updated_at: string;
|
|
80
|
+
};
|
|
81
|
+
Insert: {
|
|
82
|
+
created_at?: string;
|
|
83
|
+
field_key: string;
|
|
84
|
+
field_label: string;
|
|
85
|
+
field_type?: string;
|
|
86
|
+
id?: string;
|
|
87
|
+
is_custom?: boolean;
|
|
88
|
+
sort_order?: number;
|
|
89
|
+
updated_at?: string;
|
|
90
|
+
};
|
|
91
|
+
Update: {
|
|
92
|
+
created_at?: string;
|
|
93
|
+
field_key?: string;
|
|
94
|
+
field_label?: string;
|
|
95
|
+
field_type?: string;
|
|
96
|
+
id?: string;
|
|
97
|
+
is_custom?: boolean;
|
|
98
|
+
sort_order?: number;
|
|
99
|
+
updated_at?: string;
|
|
100
|
+
};
|
|
101
|
+
Relationships: [];
|
|
102
|
+
};
|
|
103
|
+
customers: {
|
|
104
|
+
Row: {
|
|
105
|
+
address: string | null;
|
|
106
|
+
city: string | null;
|
|
107
|
+
company_name: string;
|
|
108
|
+
contact_person: string | null;
|
|
109
|
+
country: string | null;
|
|
110
|
+
created_at: string;
|
|
111
|
+
custom_fields: import("./types").Json;
|
|
112
|
+
email: string | null;
|
|
113
|
+
id: string;
|
|
114
|
+
notes: string | null;
|
|
115
|
+
phone: string | null;
|
|
116
|
+
postal_code: string | null;
|
|
117
|
+
updated_at: string;
|
|
118
|
+
};
|
|
119
|
+
Insert: {
|
|
120
|
+
address?: string | null;
|
|
121
|
+
city?: string | null;
|
|
122
|
+
company_name: string;
|
|
123
|
+
contact_person?: string | null;
|
|
124
|
+
country?: string | null;
|
|
125
|
+
created_at?: string;
|
|
126
|
+
custom_fields?: import("./types").Json;
|
|
127
|
+
email?: string | null;
|
|
128
|
+
id?: string;
|
|
129
|
+
notes?: string | null;
|
|
130
|
+
phone?: string | null;
|
|
131
|
+
postal_code?: string | null;
|
|
132
|
+
updated_at?: string;
|
|
133
|
+
};
|
|
134
|
+
Update: {
|
|
135
|
+
address?: string | null;
|
|
136
|
+
city?: string | null;
|
|
137
|
+
company_name?: string;
|
|
138
|
+
contact_person?: string | null;
|
|
139
|
+
country?: string | null;
|
|
140
|
+
created_at?: string;
|
|
141
|
+
custom_fields?: import("./types").Json;
|
|
142
|
+
email?: string | null;
|
|
143
|
+
id?: string;
|
|
144
|
+
notes?: string | null;
|
|
145
|
+
phone?: string | null;
|
|
146
|
+
postal_code?: string | null;
|
|
147
|
+
updated_at?: string;
|
|
148
|
+
};
|
|
149
|
+
Relationships: [];
|
|
150
|
+
};
|
|
151
|
+
inventory_settings: {
|
|
152
|
+
Row: {
|
|
153
|
+
created_at: string;
|
|
154
|
+
hierarchy_levels: string[];
|
|
155
|
+
id: string;
|
|
156
|
+
updated_at: string;
|
|
157
|
+
visible_columns: string[];
|
|
158
|
+
};
|
|
159
|
+
Insert: {
|
|
160
|
+
created_at?: string;
|
|
161
|
+
hierarchy_levels?: string[];
|
|
162
|
+
id?: string;
|
|
163
|
+
updated_at?: string;
|
|
164
|
+
visible_columns?: string[];
|
|
165
|
+
};
|
|
166
|
+
Update: {
|
|
167
|
+
created_at?: string;
|
|
168
|
+
hierarchy_levels?: string[];
|
|
169
|
+
id?: string;
|
|
170
|
+
updated_at?: string;
|
|
171
|
+
visible_columns?: string[];
|
|
172
|
+
};
|
|
173
|
+
Relationships: [];
|
|
174
|
+
};
|
|
175
|
+
locations: {
|
|
176
|
+
Row: {
|
|
177
|
+
created_at: string;
|
|
178
|
+
id: string;
|
|
179
|
+
name: string;
|
|
180
|
+
sort_order: number;
|
|
181
|
+
updated_at: string;
|
|
182
|
+
};
|
|
183
|
+
Insert: {
|
|
184
|
+
created_at?: string;
|
|
185
|
+
id?: string;
|
|
186
|
+
name: string;
|
|
187
|
+
sort_order?: number;
|
|
188
|
+
updated_at?: string;
|
|
189
|
+
};
|
|
190
|
+
Update: {
|
|
191
|
+
created_at?: string;
|
|
192
|
+
id?: string;
|
|
193
|
+
name?: string;
|
|
194
|
+
sort_order?: number;
|
|
195
|
+
updated_at?: string;
|
|
196
|
+
};
|
|
197
|
+
Relationships: [];
|
|
198
|
+
};
|
|
199
|
+
notifications: {
|
|
200
|
+
Row: {
|
|
201
|
+
created_at: string;
|
|
202
|
+
id: string;
|
|
203
|
+
message: string | null;
|
|
204
|
+
read: boolean;
|
|
205
|
+
title: string;
|
|
206
|
+
updated_at: string;
|
|
207
|
+
user_id: string;
|
|
208
|
+
};
|
|
209
|
+
Insert: {
|
|
210
|
+
created_at?: string;
|
|
211
|
+
id?: string;
|
|
212
|
+
message?: string | null;
|
|
213
|
+
read?: boolean;
|
|
214
|
+
title: string;
|
|
215
|
+
updated_at?: string;
|
|
216
|
+
user_id: string;
|
|
217
|
+
};
|
|
218
|
+
Update: {
|
|
219
|
+
created_at?: string;
|
|
220
|
+
id?: string;
|
|
221
|
+
message?: string | null;
|
|
222
|
+
read?: boolean;
|
|
223
|
+
title?: string;
|
|
224
|
+
updated_at?: string;
|
|
225
|
+
user_id?: string;
|
|
226
|
+
};
|
|
227
|
+
Relationships: [];
|
|
228
|
+
};
|
|
229
|
+
product_categories: {
|
|
230
|
+
Row: {
|
|
231
|
+
color: string;
|
|
232
|
+
created_at: string;
|
|
233
|
+
icon: string | null;
|
|
234
|
+
id: string;
|
|
235
|
+
name: string;
|
|
236
|
+
slug: string;
|
|
237
|
+
sort_order: number;
|
|
238
|
+
updated_at: string;
|
|
239
|
+
};
|
|
240
|
+
Insert: {
|
|
241
|
+
color?: string;
|
|
242
|
+
created_at?: string;
|
|
243
|
+
icon?: string | null;
|
|
244
|
+
id?: string;
|
|
245
|
+
name: string;
|
|
246
|
+
slug: string;
|
|
247
|
+
sort_order?: number;
|
|
248
|
+
updated_at?: string;
|
|
249
|
+
};
|
|
250
|
+
Update: {
|
|
251
|
+
color?: string;
|
|
252
|
+
created_at?: string;
|
|
253
|
+
icon?: string | null;
|
|
254
|
+
id?: string;
|
|
255
|
+
name?: string;
|
|
256
|
+
slug?: string;
|
|
257
|
+
sort_order?: number;
|
|
258
|
+
updated_at?: string;
|
|
259
|
+
};
|
|
260
|
+
Relationships: [];
|
|
261
|
+
};
|
|
262
|
+
product_field_options: {
|
|
263
|
+
Row: {
|
|
264
|
+
created_at: string;
|
|
265
|
+
field_setting_id: string;
|
|
266
|
+
id: string;
|
|
267
|
+
label: string;
|
|
268
|
+
sort_order: number;
|
|
269
|
+
};
|
|
270
|
+
Insert: {
|
|
271
|
+
created_at?: string;
|
|
272
|
+
field_setting_id: string;
|
|
273
|
+
id?: string;
|
|
274
|
+
label: string;
|
|
275
|
+
sort_order?: number;
|
|
276
|
+
};
|
|
277
|
+
Update: {
|
|
278
|
+
created_at?: string;
|
|
279
|
+
field_setting_id?: string;
|
|
280
|
+
id?: string;
|
|
281
|
+
label?: string;
|
|
282
|
+
sort_order?: number;
|
|
283
|
+
};
|
|
284
|
+
Relationships: [{
|
|
285
|
+
foreignKeyName: "product_field_options_field_setting_id_fkey";
|
|
286
|
+
columns: ["field_setting_id"];
|
|
287
|
+
isOneToOne: false;
|
|
288
|
+
referencedRelation: "product_field_settings";
|
|
289
|
+
referencedColumns: ["id"];
|
|
290
|
+
}];
|
|
291
|
+
};
|
|
292
|
+
product_field_settings: {
|
|
293
|
+
Row: {
|
|
294
|
+
active_per_category: import("./types").Json;
|
|
295
|
+
created_at: string;
|
|
296
|
+
field_key: string;
|
|
297
|
+
field_label: string;
|
|
298
|
+
field_type: string;
|
|
299
|
+
id: string;
|
|
300
|
+
is_custom: boolean;
|
|
301
|
+
sort_order: number;
|
|
302
|
+
updated_at: string;
|
|
303
|
+
};
|
|
304
|
+
Insert: {
|
|
305
|
+
active_per_category?: import("./types").Json;
|
|
306
|
+
created_at?: string;
|
|
307
|
+
field_key: string;
|
|
308
|
+
field_label: string;
|
|
309
|
+
field_type?: string;
|
|
310
|
+
id?: string;
|
|
311
|
+
is_custom?: boolean;
|
|
312
|
+
sort_order?: number;
|
|
313
|
+
updated_at?: string;
|
|
314
|
+
};
|
|
315
|
+
Update: {
|
|
316
|
+
active_per_category?: import("./types").Json;
|
|
317
|
+
created_at?: string;
|
|
318
|
+
field_key?: string;
|
|
319
|
+
field_label?: string;
|
|
320
|
+
field_type?: string;
|
|
321
|
+
id?: string;
|
|
322
|
+
is_custom?: boolean;
|
|
323
|
+
sort_order?: number;
|
|
324
|
+
updated_at?: string;
|
|
325
|
+
};
|
|
326
|
+
Relationships: [];
|
|
327
|
+
};
|
|
328
|
+
products: {
|
|
329
|
+
Row: {
|
|
330
|
+
barcode: string | null;
|
|
331
|
+
batch: string;
|
|
332
|
+
created_at: string;
|
|
333
|
+
custom_fields: import("./types").Json;
|
|
334
|
+
id: string;
|
|
335
|
+
image_url: string | null;
|
|
336
|
+
incoming_quantity: number;
|
|
337
|
+
location: string;
|
|
338
|
+
min_quantity: number;
|
|
339
|
+
product: string;
|
|
340
|
+
product_type: string;
|
|
341
|
+
purchase_price: number | null;
|
|
342
|
+
quantity: number;
|
|
343
|
+
sale_price: number | null;
|
|
344
|
+
unit: string;
|
|
345
|
+
updated_at: string;
|
|
346
|
+
weight: string | null;
|
|
347
|
+
};
|
|
348
|
+
Insert: {
|
|
349
|
+
barcode?: string | null;
|
|
350
|
+
batch: string;
|
|
351
|
+
created_at?: string;
|
|
352
|
+
custom_fields?: import("./types").Json;
|
|
353
|
+
id?: string;
|
|
354
|
+
image_url?: string | null;
|
|
355
|
+
incoming_quantity?: number;
|
|
356
|
+
location: string;
|
|
357
|
+
min_quantity?: number;
|
|
358
|
+
product: string;
|
|
359
|
+
product_type?: string;
|
|
360
|
+
purchase_price?: number | null;
|
|
361
|
+
quantity?: number;
|
|
362
|
+
sale_price?: number | null;
|
|
363
|
+
unit?: string;
|
|
364
|
+
updated_at?: string;
|
|
365
|
+
weight?: string | null;
|
|
366
|
+
};
|
|
367
|
+
Update: {
|
|
368
|
+
barcode?: string | null;
|
|
369
|
+
batch?: string;
|
|
370
|
+
created_at?: string;
|
|
371
|
+
custom_fields?: import("./types").Json;
|
|
372
|
+
id?: string;
|
|
373
|
+
image_url?: string | null;
|
|
374
|
+
incoming_quantity?: number;
|
|
375
|
+
location?: string;
|
|
376
|
+
min_quantity?: number;
|
|
377
|
+
product?: string;
|
|
378
|
+
product_type?: string;
|
|
379
|
+
purchase_price?: number | null;
|
|
380
|
+
quantity?: number;
|
|
381
|
+
sale_price?: number | null;
|
|
382
|
+
unit?: string;
|
|
383
|
+
updated_at?: string;
|
|
384
|
+
weight?: string | null;
|
|
385
|
+
};
|
|
386
|
+
Relationships: [];
|
|
387
|
+
};
|
|
388
|
+
profiles: {
|
|
389
|
+
Row: {
|
|
390
|
+
created_at: string;
|
|
391
|
+
display_name: string | null;
|
|
392
|
+
email: string | null;
|
|
393
|
+
id: string;
|
|
394
|
+
notification_preferences: import("./types").Json;
|
|
395
|
+
updated_at: string;
|
|
396
|
+
};
|
|
397
|
+
Insert: {
|
|
398
|
+
created_at?: string;
|
|
399
|
+
display_name?: string | null;
|
|
400
|
+
email?: string | null;
|
|
401
|
+
id: string;
|
|
402
|
+
notification_preferences?: import("./types").Json;
|
|
403
|
+
updated_at?: string;
|
|
404
|
+
};
|
|
405
|
+
Update: {
|
|
406
|
+
created_at?: string;
|
|
407
|
+
display_name?: string | null;
|
|
408
|
+
email?: string | null;
|
|
409
|
+
id?: string;
|
|
410
|
+
notification_preferences?: import("./types").Json;
|
|
411
|
+
updated_at?: string;
|
|
412
|
+
};
|
|
413
|
+
Relationships: [];
|
|
414
|
+
};
|
|
415
|
+
purchase_order_items: {
|
|
416
|
+
Row: {
|
|
417
|
+
created_at: string;
|
|
418
|
+
id: string;
|
|
419
|
+
product_id: string | null;
|
|
420
|
+
product_type: string;
|
|
421
|
+
purchase_order_id: string;
|
|
422
|
+
quantity: number;
|
|
423
|
+
};
|
|
424
|
+
Insert: {
|
|
425
|
+
created_at?: string;
|
|
426
|
+
id?: string;
|
|
427
|
+
product_id?: string | null;
|
|
428
|
+
product_type?: string;
|
|
429
|
+
purchase_order_id: string;
|
|
430
|
+
quantity?: number;
|
|
431
|
+
};
|
|
432
|
+
Update: {
|
|
433
|
+
created_at?: string;
|
|
434
|
+
id?: string;
|
|
435
|
+
product_id?: string | null;
|
|
436
|
+
product_type?: string;
|
|
437
|
+
purchase_order_id?: string;
|
|
438
|
+
quantity?: number;
|
|
439
|
+
};
|
|
440
|
+
Relationships: [{
|
|
441
|
+
foreignKeyName: "purchase_order_items_product_id_fkey";
|
|
442
|
+
columns: ["product_id"];
|
|
443
|
+
isOneToOne: false;
|
|
444
|
+
referencedRelation: "products";
|
|
445
|
+
referencedColumns: ["id"];
|
|
446
|
+
}, {
|
|
447
|
+
foreignKeyName: "purchase_order_items_purchase_order_id_fkey";
|
|
448
|
+
columns: ["purchase_order_id"];
|
|
449
|
+
isOneToOne: false;
|
|
450
|
+
referencedRelation: "purchase_orders";
|
|
451
|
+
referencedColumns: ["id"];
|
|
452
|
+
}];
|
|
453
|
+
};
|
|
454
|
+
purchase_orders: {
|
|
455
|
+
Row: {
|
|
456
|
+
created_at: string;
|
|
457
|
+
expected_delivery_date: string;
|
|
458
|
+
id: string;
|
|
459
|
+
location_id: string | null;
|
|
460
|
+
notes: string | null;
|
|
461
|
+
order_number: string;
|
|
462
|
+
status: string;
|
|
463
|
+
supplier_id: string | null;
|
|
464
|
+
supplier_name: string;
|
|
465
|
+
updated_at: string;
|
|
466
|
+
};
|
|
467
|
+
Insert: {
|
|
468
|
+
created_at?: string;
|
|
469
|
+
expected_delivery_date: string;
|
|
470
|
+
id?: string;
|
|
471
|
+
location_id?: string | null;
|
|
472
|
+
notes?: string | null;
|
|
473
|
+
order_number: string;
|
|
474
|
+
status?: string;
|
|
475
|
+
supplier_id?: string | null;
|
|
476
|
+
supplier_name?: string;
|
|
477
|
+
updated_at?: string;
|
|
478
|
+
};
|
|
479
|
+
Update: {
|
|
480
|
+
created_at?: string;
|
|
481
|
+
expected_delivery_date?: string;
|
|
482
|
+
id?: string;
|
|
483
|
+
location_id?: string | null;
|
|
484
|
+
notes?: string | null;
|
|
485
|
+
order_number?: string;
|
|
486
|
+
status?: string;
|
|
487
|
+
supplier_id?: string | null;
|
|
488
|
+
supplier_name?: string;
|
|
489
|
+
updated_at?: string;
|
|
490
|
+
};
|
|
491
|
+
Relationships: [{
|
|
492
|
+
foreignKeyName: "purchase_orders_location_id_fkey";
|
|
493
|
+
columns: ["location_id"];
|
|
494
|
+
isOneToOne: false;
|
|
495
|
+
referencedRelation: "locations";
|
|
496
|
+
referencedColumns: ["id"];
|
|
497
|
+
}, {
|
|
498
|
+
foreignKeyName: "purchase_orders_supplier_id_fkey";
|
|
499
|
+
columns: ["supplier_id"];
|
|
500
|
+
isOneToOne: false;
|
|
501
|
+
referencedRelation: "suppliers";
|
|
502
|
+
referencedColumns: ["id"];
|
|
503
|
+
}];
|
|
504
|
+
};
|
|
505
|
+
supplier_products: {
|
|
506
|
+
Row: {
|
|
507
|
+
article_number: string | null;
|
|
508
|
+
created_at: string;
|
|
509
|
+
id: string;
|
|
510
|
+
name: string;
|
|
511
|
+
notes: string | null;
|
|
512
|
+
pot_size: string | null;
|
|
513
|
+
price: number | null;
|
|
514
|
+
quantity: number | null;
|
|
515
|
+
supplier_id: string;
|
|
516
|
+
unit: string;
|
|
517
|
+
updated_at: string;
|
|
518
|
+
};
|
|
519
|
+
Insert: {
|
|
520
|
+
article_number?: string | null;
|
|
521
|
+
created_at?: string;
|
|
522
|
+
id?: string;
|
|
523
|
+
name: string;
|
|
524
|
+
notes?: string | null;
|
|
525
|
+
pot_size?: string | null;
|
|
526
|
+
price?: number | null;
|
|
527
|
+
quantity?: number | null;
|
|
528
|
+
supplier_id: string;
|
|
529
|
+
unit?: string;
|
|
530
|
+
updated_at?: string;
|
|
531
|
+
};
|
|
532
|
+
Update: {
|
|
533
|
+
article_number?: string | null;
|
|
534
|
+
created_at?: string;
|
|
535
|
+
id?: string;
|
|
536
|
+
name?: string;
|
|
537
|
+
notes?: string | null;
|
|
538
|
+
pot_size?: string | null;
|
|
539
|
+
price?: number | null;
|
|
540
|
+
quantity?: number | null;
|
|
541
|
+
supplier_id?: string;
|
|
542
|
+
unit?: string;
|
|
543
|
+
updated_at?: string;
|
|
544
|
+
};
|
|
545
|
+
Relationships: [{
|
|
546
|
+
foreignKeyName: "supplier_products_supplier_id_fkey";
|
|
547
|
+
columns: ["supplier_id"];
|
|
548
|
+
isOneToOne: false;
|
|
549
|
+
referencedRelation: "suppliers";
|
|
550
|
+
referencedColumns: ["id"];
|
|
551
|
+
}];
|
|
552
|
+
};
|
|
553
|
+
suppliers: {
|
|
554
|
+
Row: {
|
|
555
|
+
address: string | null;
|
|
556
|
+
column_mappings: import("./types").Json | null;
|
|
557
|
+
contact_person: string | null;
|
|
558
|
+
created_at: string;
|
|
559
|
+
default_product_type: string;
|
|
560
|
+
email: string | null;
|
|
561
|
+
id: string;
|
|
562
|
+
imported_file_name: string | null;
|
|
563
|
+
name: string;
|
|
564
|
+
notes: string | null;
|
|
565
|
+
phone: string | null;
|
|
566
|
+
updated_at: string;
|
|
567
|
+
};
|
|
568
|
+
Insert: {
|
|
569
|
+
address?: string | null;
|
|
570
|
+
column_mappings?: import("./types").Json | null;
|
|
571
|
+
contact_person?: string | null;
|
|
572
|
+
created_at?: string;
|
|
573
|
+
default_product_type?: string;
|
|
574
|
+
email?: string | null;
|
|
575
|
+
id?: string;
|
|
576
|
+
imported_file_name?: string | null;
|
|
577
|
+
name: string;
|
|
578
|
+
notes?: string | null;
|
|
579
|
+
phone?: string | null;
|
|
580
|
+
updated_at?: string;
|
|
581
|
+
};
|
|
582
|
+
Update: {
|
|
583
|
+
address?: string | null;
|
|
584
|
+
column_mappings?: import("./types").Json | null;
|
|
585
|
+
contact_person?: string | null;
|
|
586
|
+
created_at?: string;
|
|
587
|
+
default_product_type?: string;
|
|
588
|
+
email?: string | null;
|
|
589
|
+
id?: string;
|
|
590
|
+
imported_file_name?: string | null;
|
|
591
|
+
name?: string;
|
|
592
|
+
notes?: string | null;
|
|
593
|
+
phone?: string | null;
|
|
594
|
+
updated_at?: string;
|
|
595
|
+
};
|
|
596
|
+
Relationships: [];
|
|
597
|
+
};
|
|
598
|
+
user_roles: {
|
|
599
|
+
Row: {
|
|
600
|
+
created_at: string;
|
|
601
|
+
id: string;
|
|
602
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
603
|
+
user_id: string;
|
|
604
|
+
};
|
|
605
|
+
Insert: {
|
|
606
|
+
created_at?: string;
|
|
607
|
+
id?: string;
|
|
608
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
609
|
+
user_id: string;
|
|
610
|
+
};
|
|
611
|
+
Update: {
|
|
612
|
+
created_at?: string;
|
|
613
|
+
id?: string;
|
|
614
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
615
|
+
user_id?: string;
|
|
616
|
+
};
|
|
617
|
+
Relationships: [{
|
|
618
|
+
foreignKeyName: "user_roles_user_id_fkey";
|
|
619
|
+
columns: ["user_id"];
|
|
620
|
+
isOneToOne: false;
|
|
621
|
+
referencedRelation: "profiles";
|
|
622
|
+
referencedColumns: ["id"];
|
|
623
|
+
}];
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
Views: { [_ in never]: never; };
|
|
627
|
+
Functions: { [_ in never]: never; };
|
|
628
|
+
Enums: {
|
|
629
|
+
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer";
|
|
630
|
+
};
|
|
631
|
+
CompositeTypes: { [_ in never]: never; };
|
|
632
|
+
}, {
|
|
633
|
+
PostgrestVersion: "14.5";
|
|
634
|
+
}>;
|
|
635
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","s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wB,CAAC;0BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;uBAA8xB,CAAC;+BAA0C,CAAC;8BAAuC,CAAC;0BAAqC,CAAC;oCAAwC,CAAC;qBAAyB,CAAC;kBAA6B,CAAC;kCAAsC,CAAC;;qBAAwD,CAAC;qBAAgC,CAAC;0BAAqC,CAAC;;;uBAAyD,CAAC;+BAA0C,CAAC;8BAAuC,CAAC;0BAAqC,CAAC;oCAAwC,CAAC;qBAAyB,CAAC;kBAA6B,CAAC;kCAAsC,CAAC;oBAA+B,CAAC;qBAAyB,CAAC;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;;;;;;;;;;;;;;;;;;;EAAnhhB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This file is automatically generated. Do not edit it directly.
|
|
2
|
+
import { createClient } from '@supabase/supabase-js';
|
|
3
|
+
const SUPABASE_URL = "https://vmicscahrnzpmhagztmx.supabase.co";
|
|
4
|
+
const SUPABASE_PUBLISHABLE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InZtaWNzY2Focm56cG1oYWd6dG14Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzYxNTkyNTEsImV4cCI6MjA5MTczNTI1MX0.l3Q2WSCzgvy0-9fkX2GNUQ7Qgh5_lXXSo69qLXYelkQ";
|
|
5
|
+
// Import the supabase client like this:
|
|
6
|
+
// import { supabase } from "@/integrations/supabase/client";
|
|
7
|
+
export const supabase = createClient(SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY, {
|
|
8
|
+
auth: {
|
|
9
|
+
storage: typeof window !== 'undefined' ? window.localStorage : undefined,
|
|
10
|
+
persistSession: typeof window !== 'undefined',
|
|
11
|
+
autoRefreshToken: true,
|
|
12
|
+
}
|
|
13
|
+
});
|