← back to Designer Wallcoverings
appointments: export freeBusy alias for calendar busy() (freebusy.query) — verified e2e: temp busy event subtracts slot, removal restores it
0db1c131d25f7a3d5f82c5dad0f3aafad3260662 · 2026-06-29 15:37:00 -0700 · Steve
Files touched
M shopify/quote-api/appointments/calendar.js
Diff
commit 0db1c131d25f7a3d5f82c5dad0f3aafad3260662
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Jun 29 15:37:00 2026 -0700
appointments: export freeBusy alias for calendar busy() (freebusy.query) — verified e2e: temp busy event subtracts slot, removal restores it
---
shopify/quote-api/appointments/calendar.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/shopify/quote-api/appointments/calendar.js b/shopify/quote-api/appointments/calendar.js
index 5965f663..994a25e3 100644
--- a/shopify/quote-api/appointments/calendar.js
+++ b/shopify/quote-api/appointments/calendar.js
@@ -64,4 +64,6 @@ async function deleteEvent(ownerEmail, eventId) {
return r.ok || r.status === 410; // 410 = already gone
}
-module.exports = { busy, insertEvent, deleteEvent };
+// `freeBusy` is the canonical name (freebusy.query); `busy` kept as a back-compat
+// alias for the existing slots.js consumer. Both point at the same function.
+module.exports = { busy, freeBusy: busy, insertEvent, deleteEvent };
← 23762b6b appointments: OAuth connected — calendar live (connected:tru
·
back to Designer Wallcoverings
·
Lilycolor: feed-first scraper staged 3,107 products offline 110f255d →