@fctc/interface-logic 5.4.1 → 5.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/{chunk-UZRLRWLY.mjs → chunk-PFJ7KPIX.mjs} +3 -3
- package/dist/{chunk-HOY53WPD.js → chunk-WVML5L6V.js} +3 -3
- package/dist/hooks.d.mts +1 -0
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.js +159 -159
- package/dist/hooks.mjs +1 -1
- package/dist/index.js +180 -180
- package/dist/index.mjs +1 -1
- package/dist/provider.js +11 -11
- package/dist/provider.mjs +1 -1
- package/dist/services.d.mts +1 -0
- package/dist/services.d.ts +1 -0
- package/dist/services.js +12 -12
- package/dist/services.mjs +1 -1
- package/package.json +1 -1
|
@@ -3975,7 +3975,8 @@ var updateOrderLineSupabaseService = () => {
|
|
|
3975
3975
|
qty: values.qty,
|
|
3976
3976
|
price_subtotal: values.price_subtotal,
|
|
3977
3977
|
price_subtotal_incl: values.price_subtotal_incl,
|
|
3978
|
-
attribute_value_ids: values.attribute_value_ids ?? []
|
|
3978
|
+
attribute_value_ids: values.attribute_value_ids ?? [],
|
|
3979
|
+
note: values.note ?? ""
|
|
3979
3980
|
}).eq("id", values.order_line_id).select("id").single();
|
|
3980
3981
|
if (error) {
|
|
3981
3982
|
console.error("Error updating order line:", error);
|
|
@@ -4675,8 +4676,7 @@ var updatePaymentMethodSupabaseService = () => {
|
|
|
4675
4676
|
}
|
|
4676
4677
|
const { id, ...rest } = values;
|
|
4677
4678
|
const updateData = cleanObject({
|
|
4678
|
-
...rest
|
|
4679
|
-
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
4679
|
+
...rest
|
|
4680
4680
|
});
|
|
4681
4681
|
try {
|
|
4682
4682
|
const { data, error } = await supabase.from("payment_methods" /* PAYMENT_METHODS */).update(updateData).eq("id", id).select("id, name").single();
|
|
@@ -3977,7 +3977,8 @@ var updateOrderLineSupabaseService = () => {
|
|
|
3977
3977
|
qty: values.qty,
|
|
3978
3978
|
price_subtotal: values.price_subtotal,
|
|
3979
3979
|
price_subtotal_incl: values.price_subtotal_incl,
|
|
3980
|
-
attribute_value_ids: values.attribute_value_ids ?? []
|
|
3980
|
+
attribute_value_ids: values.attribute_value_ids ?? [],
|
|
3981
|
+
note: values.note ?? ""
|
|
3981
3982
|
}).eq("id", values.order_line_id).select("id").single();
|
|
3982
3983
|
if (error) {
|
|
3983
3984
|
console.error("Error updating order line:", error);
|
|
@@ -4677,8 +4678,7 @@ var updatePaymentMethodSupabaseService = () => {
|
|
|
4677
4678
|
}
|
|
4678
4679
|
const { id, ...rest } = values;
|
|
4679
4680
|
const updateData = chunkJDXUTKMX_js.cleanObject({
|
|
4680
|
-
...rest
|
|
4681
|
-
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
4681
|
+
...rest
|
|
4682
4682
|
});
|
|
4683
4683
|
try {
|
|
4684
4684
|
const { data, error } = await supabase.from("payment_methods" /* PAYMENT_METHODS */).update(updateData).eq("id", id).select("id, name").single();
|
package/dist/hooks.d.mts
CHANGED
|
@@ -883,6 +883,7 @@ declare const useUpdateOrderLine: () => _tanstack_react_query.UseMutationResult<
|
|
|
883
883
|
price_subtotal: number;
|
|
884
884
|
price_subtotal_incl: number;
|
|
885
885
|
attribute_value_ids?: number[];
|
|
886
|
+
note?: string;
|
|
886
887
|
}, unknown>;
|
|
887
888
|
|
|
888
889
|
declare const useUpdateOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|
package/dist/hooks.d.ts
CHANGED
|
@@ -883,6 +883,7 @@ declare const useUpdateOrderLine: () => _tanstack_react_query.UseMutationResult<
|
|
|
883
883
|
price_subtotal: number;
|
|
884
884
|
price_subtotal_incl: number;
|
|
885
885
|
attribute_value_ids?: number[];
|
|
886
|
+
note?: string;
|
|
886
887
|
}, unknown>;
|
|
887
888
|
|
|
888
889
|
declare const useUpdateOrder: () => _tanstack_react_query.UseMutationResult<number[], Error, {
|