@fctc/interface-logic 5.4.2 → 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.
@@ -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);
@@ -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);
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, {