@attraccess/plugin-reservations 0.1.0-alpha.0 → 0.1.0-nightly.1161.1

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.
@@ -287,6 +287,8 @@ var de_default = {
287
287
  "OUTSIDE_BOOKABLE_HOURS": "Der Zeitraum liegt außerhalb der buchbaren Zeiten.",
288
288
  "USER_BOOKING_LIMIT": "Du hast die maximale Anzahl aktiver Buchungen für diese Ressource erreicht.",
289
289
  "OVERLAP": "Der Zeitraum überschneidet sich mit einer anderen Buchung. Bitte wähle eine andere Zeit.",
290
+ "OVERLAP_FULL": "Zu dieser Zeit sind alle Plätze belegt. Bitte wähle eine andere Zeit.",
291
+ "OWN_OVERLAP": "Du hast in diesem Zeitraum bereits eine Buchung. Bitte wähle eine andere Zeit.",
290
292
  "MAINTENANCE": "Die Ressource ist in dieser Zeit in Wartung.",
291
293
  "NOT_PENDING": "Diese Buchung wartet nicht mehr auf Genehmigung.",
292
294
  "NOT_ACTIVE": "Diese Buchung ist nicht aktiv.",
@@ -325,6 +327,7 @@ var de_default = {
325
327
  "free": "Keine Buchungen",
326
328
  "reserved": "Reserviert",
327
329
  "reservedPending": "Reserviert (wartet auf Genehmigung)",
330
+ "slotsBooked": "{{booked}} von {{total}} Plätzen reserviert",
328
331
  "yours": "Deine Buchung",
329
332
  "maintenance": "Wartung",
330
333
  "openEnd": "offenes Ende"
@@ -649,6 +652,8 @@ var en_default = {
649
652
  "OUTSIDE_BOOKABLE_HOURS": "The slot is outside the bookable hours.",
650
653
  "USER_BOOKING_LIMIT": "You have reached the maximum number of active bookings for this resource.",
651
654
  "OVERLAP": "The slot overlaps another booking. Please choose a different time.",
655
+ "OVERLAP_FULL": "All slots are booked at this time. Please choose a different time.",
656
+ "OWN_OVERLAP": "You already have a booking that overlaps this time. Please choose a different time.",
652
657
  "MAINTENANCE": "The resource is in maintenance during this time.",
653
658
  "NOT_PENDING": "This booking is no longer waiting for approval.",
654
659
  "NOT_ACTIVE": "This booking is not active.",
@@ -687,6 +692,7 @@ var en_default = {
687
692
  "free": "No bookings",
688
693
  "reserved": "Reserved",
689
694
  "reservedPending": "Reserved (pending approval)",
695
+ "slotsBooked": "{{booked}} of {{total}} slots reserved",
690
696
  "yours": "Your booking",
691
697
  "maintenance": "Maintenance",
692
698
  "openEnd": "open end"
@@ -975,6 +981,7 @@ var KNOWN_CODES = /* @__PURE__ */ new Set([
975
981
  "OUTSIDE_BOOKABLE_HOURS",
976
982
  "USER_BOOKING_LIMIT",
977
983
  "OVERLAP",
984
+ "OWN_OVERLAP",
978
985
  "MAINTENANCE",
979
986
  "NOT_PENDING",
980
987
  "NOT_ACTIVE",
@@ -993,14 +1000,15 @@ var KNOWN_CODES = /* @__PURE__ */ new Set([
993
1000
  "FEED_NOT_FOUND",
994
1001
  "INVALID_FEED"
995
1002
  ]);
1003
+ var keyOf = (code, hints) => code === "OVERLAP" && (hints?.slots ?? 1) > 1 ? "errors.OVERLAP_FULL" : `errors.${code}`;
996
1004
  /** Localised text for a known error code (e.g. the reason a booking is not possible), else the raw text. */
997
- function describeCode(code, t) {
998
- return KNOWN_CODES.has(code) ? t(`errors.${code}`, { count: 0 }) : code;
1005
+ function describeCode(code, t, hints) {
1006
+ return KNOWN_CODES.has(code) ? t(keyOf(code, hints), { count: 0 }) : code;
999
1007
  }
1000
1008
  /** Localised text for an API failure: a typed code wins, then the HTTP status, then the raw message. */
1001
- function describeError(error, t) {
1009
+ function describeError(error, t, hints) {
1002
1010
  if (error instanceof ReservationsApiError) {
1003
- if (error.code && KNOWN_CODES.has(error.code)) return t(`errors.${error.code}`, { count: error.count ?? 0 });
1011
+ if (error.code && KNOWN_CODES.has(error.code)) return t(keyOf(error.code, hints), { count: error.count ?? 0 });
1004
1012
  if (error.status === 403) return t("errors.FORBIDDEN");
1005
1013
  if (error.status === 404) return t("errors.NOT_FOUND");
1006
1014
  return error.message || t("errors.generic");
@@ -1371,21 +1379,30 @@ function useIsManagerAnywhere() {
1371
1379
  //#endregion
1372
1380
  //#region frontend/src/lib/useFormatters.ts
1373
1381
  var { useMemo: useMemo$7 } = await importShared("react");
1374
- /** Date/time formatting in the plugin timezone (falls back to the browser's) and the UI language. */
1382
+ var { useDateTimeLocale } = await importShared("@attraccess/plugins-frontend-ui");
1383
+ /**
1384
+ * Date/time formatting in the plugin timezone (falls back to the browser's). Dates and times follow the user's
1385
+ * date/time locale preference, like core; durations follow the UI language.
1386
+ */
1375
1387
  function useFormatters(timezone) {
1376
1388
  const { language } = useReservationsTranslations();
1389
+ const locale = useDateTimeLocale();
1377
1390
  return useMemo$7(() => {
1378
1391
  const zone = timezone || browserTimeZone();
1379
1392
  return {
1380
1393
  zone,
1381
- locale: language,
1382
- time: (value) => formatTime(value, zone, language),
1383
- date: (value) => formatDate(value, zone, language),
1384
- dateTime: (value) => formatDateTime(value, zone, language),
1394
+ locale,
1395
+ time: (value) => formatTime(value, zone, locale),
1396
+ date: (value) => formatDate(value, zone, locale),
1397
+ dateTime: (value) => formatDateTime(value, zone, locale),
1385
1398
  duration: (minutes) => formatDuration(minutes, language),
1386
- range: (start, end) => `${formatDateTime(start, zone, language)} – ${formatTime(end, zone, language)}`
1399
+ range: (start, end) => `${formatDateTime(start, zone, locale)} – ${formatTime(end, zone, locale)}`
1387
1400
  };
1388
- }, [timezone, language]);
1401
+ }, [
1402
+ timezone,
1403
+ locale,
1404
+ language
1405
+ ]);
1389
1406
  }
1390
1407
  //#endregion
1391
1408
  //#region frontend/src/shared/queryState.ts
@@ -1952,6 +1969,91 @@ function useReservationActions(options = {}) {
1952
1969
  };
1953
1970
  }
1954
1971
  //#endregion
1972
+ //#region frontend/src/lib/slots.ts
1973
+ var MINUTE_MS = 6e4;
1974
+ var DAY_MS$1 = 864e5;
1975
+ var blocksSlot = (reservation) => reservation.status === "pending" || reservation.status === "confirmed";
1976
+ /** Span a booking keeps the resource busy for: [start − bufferBefore, end + bufferAfter), in epoch ms. */
1977
+ function blockedSpanOf(reservation) {
1978
+ return {
1979
+ start: new Date(reservation.startTime).getTime() - reservation.bufferBeforeMinutes * MINUTE_MS,
1980
+ end: new Date(reservation.endTime).getTime() + reservation.bufferAfterMinutes * MINUTE_MS
1981
+ };
1982
+ }
1983
+ /** Highest number of spans running at the same instant inside [from, to); touching spans do not overlap. */
1984
+ function peakConcurrency(spans, from, to) {
1985
+ const events = spans.map((span) => ({
1986
+ start: Math.max(span.start, from),
1987
+ end: Math.min(span.end, to)
1988
+ })).filter((span) => span.start < span.end).flatMap((span) => [{
1989
+ at: span.start,
1990
+ delta: 1
1991
+ }, {
1992
+ at: span.end,
1993
+ delta: -1
1994
+ }]);
1995
+ events.sort((a, b) => a.at - b.at || a.delta - b.delta);
1996
+ let current = 0;
1997
+ let peak = 0;
1998
+ for (const event of events) {
1999
+ current += event.delta;
2000
+ peak = Math.max(peak, current);
2001
+ }
2002
+ return peak;
2003
+ }
2004
+ function checkWindow(context, start, end) {
2005
+ const { rules, timezone, now } = context;
2006
+ const durationMinutes = (end.getTime() - start.getTime()) / MINUTE_MS;
2007
+ if (start.getTime() < now.getTime()) return "IN_THE_PAST";
2008
+ if (localMinutesOfDay(start, timezone) % rules.timeStepMinutes !== 0 || durationMinutes % rules.timeStepMinutes !== 0) return "OFF_TIME_STEP";
2009
+ if (durationMinutes < rules.minDurationMinutes) return "DURATION_TOO_SHORT";
2010
+ if (durationMinutes > rules.maxDurationMinutes) return "DURATION_TOO_LONG";
2011
+ if (start.getTime() > now.getTime() + rules.maxAdvanceDays * DAY_MS$1) return "BEYOND_MAX_ADVANCE";
2012
+ if (start.getTime() < now.getTime() + rules.minLeadMinutes * MINUTE_MS) return "LEAD_TIME_TOO_SHORT";
2013
+ const spanStart = /* @__PURE__ */ new Date(start.getTime() - rules.bufferBeforeMinutes * MINUTE_MS);
2014
+ const spanEnd = new Date(end.getTime() + rules.bufferAfterMinutes * MINUTE_MS);
2015
+ if (!isWithinBookableHours(rules.bookableHours, timezone, spanStart, spanEnd)) return "OUTSIDE_BOOKABLE_HOURS";
2016
+ const slots = context.slots ?? 1;
2017
+ const blocking = context.reservations.filter(blocksSlot).map((reservation) => ({
2018
+ ...blockedSpanOf(reservation),
2019
+ mine: reservation.mine
2020
+ })).filter((span) => spanStart.getTime() < span.end && span.start < spanEnd.getTime());
2021
+ if (slots > 1 && blocking.some((span) => span.mine)) return "OWN_OVERLAP";
2022
+ if (peakConcurrency(blocking, spanStart.getTime(), spanEnd.getTime()) + 1 > slots) return "OVERLAP";
2023
+ return context.maintenance.some((span) => spanStart.getTime() < (span.endTime ? new Date(span.endTime).getTime() : Infinity) && new Date(span.startTime).getTime() < spanEnd.getTime()) ? "MAINTENANCE" : null;
2024
+ }
2025
+ /** Start times of one local day that allow at least the minimum duration. */
2026
+ function validStarts(context, day) {
2027
+ const { timeStepMinutes, minDurationMinutes } = context.rules;
2028
+ const dayStart = wallClockToDate(day, context.timezone);
2029
+ const nextDayStart = wallClockToDate(addLocalDays(day, 1), context.timezone);
2030
+ const result = [];
2031
+ for (let minutes = 0; minutes < 1440; minutes += timeStepMinutes) {
2032
+ const start = wallClockToDate({
2033
+ ...day,
2034
+ hour: Math.floor(minutes / 60),
2035
+ minute: minutes % 60
2036
+ }, context.timezone);
2037
+ if (start.getTime() < dayStart.getTime() || start.getTime() >= nextDayStart.getTime()) continue;
2038
+ if (result.length && start.getTime() <= result[result.length - 1].getTime()) continue;
2039
+ if (checkWindow(context, start, new Date(start.getTime() + minDurationMinutes * MINUTE_MS)) === null) result.push(start);
2040
+ }
2041
+ return result;
2042
+ }
2043
+ /**
2044
+ * Durations (minutes) bookable from `start`. Once a longer window collides with a booking,
2045
+ * maintenance or the bookable hours, every longer one does as well, so scanning stops there.
2046
+ */
2047
+ function validDurations(context, start) {
2048
+ const { timeStepMinutes, minDurationMinutes, maxDurationMinutes } = context.rules;
2049
+ const result = [];
2050
+ for (let minutes = minDurationMinutes; minutes <= maxDurationMinutes; minutes += timeStepMinutes) {
2051
+ if (checkWindow(context, start, new Date(start.getTime() + minutes * MINUTE_MS)) !== null) break;
2052
+ result.push(minutes);
2053
+ }
2054
+ return result;
2055
+ }
2056
+ //#endregion
1955
2057
  //#region frontend/src/shared/StatusChip.tsx
1956
2058
  var { Chip: Chip$2 } = await importShared("@heroui/react");
1957
2059
  var COLOR = {
@@ -1998,12 +2100,27 @@ function entriesOf(availability) {
1998
2100
  }));
1999
2101
  return [...reservations, ...maintenance].sort((a, b) => a.start - b.start);
2000
2102
  }
2103
+ /**
2104
+ * Peak number of occupying bookings (incl. this one) per reservation entry, swept over the entry's buffered span
2105
+ * with the buffered spans the booking picker uses. That window is what a new booking at the same time has to fit
2106
+ * into, so "N of N" means the picker refuses that time, even when the overlap only starts later in the period.
2107
+ */
2108
+ function bookedCounts(entries) {
2109
+ const spans = entries.flatMap((entry) => entry.reservation ? [blockedSpanOf(entry.reservation)] : []);
2110
+ return new Map(entries.flatMap((entry) => {
2111
+ if (!entry.reservation) return [];
2112
+ const own = blockedSpanOf(entry.reservation);
2113
+ return [[entry.key, peakConcurrency(spans, own.start, own.end)]];
2114
+ }));
2115
+ }
2001
2116
  function AvailabilityTimeline(props) {
2002
2117
  const { availability, days } = props;
2003
2118
  const { t } = useReservationsTranslations();
2004
2119
  const format = useFormatters(availability.timezone);
2005
2120
  const zone = availability.timezone;
2006
2121
  const entries = entriesOf(availability);
2122
+ const slots = availability.slots ?? 1;
2123
+ const booked = slots > 1 ? bookedCounts(entries) : /* @__PURE__ */ new Map();
2007
2124
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2008
2125
  className: "rv:flex rv:flex-col rv:gap-4",
2009
2126
  "data-cy": "reservations-timeline",
@@ -2041,19 +2158,26 @@ function AvailabilityTimeline(props) {
2041
2158
  className: "rv:flex rv:flex-col rv:gap-1",
2042
2159
  children: dayEntries.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", {
2043
2160
  className: "rv:flex rv:flex-wrap rv:items-center rv:gap-2 rv:text-sm",
2044
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
2045
- className: "rv:tabular-nums",
2046
- children: [
2047
- format.time(new Date(entry.start)),
2048
- " –",
2049
- " ",
2050
- entry.end === Number.MAX_SAFE_INTEGER ? t("card.openEnd") : format.time(new Date(entry.end))
2051
- ]
2052
- }), entry.kind === "maintenance" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chip$1, {
2053
- size: "sm",
2054
- color: "danger",
2055
- children: t("card.maintenance")
2056
- }) : entry.reservation && (entry.reservation.mine || entry.reservation.userName) ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: entry.reservation.mine ? t("card.yours") : entry.reservation.userName }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatusChip, { status: entry.reservation.status })] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: entry.kind === "pending" ? t("card.reservedPending") : t("card.reserved") })]
2161
+ children: [
2162
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
2163
+ className: "rv:tabular-nums",
2164
+ children: [
2165
+ format.time(new Date(entry.start)),
2166
+ " –",
2167
+ " ",
2168
+ entry.end === Number.MAX_SAFE_INTEGER ? t("card.openEnd") : format.time(new Date(entry.end))
2169
+ ]
2170
+ }),
2171
+ entry.kind === "maintenance" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chip$1, {
2172
+ size: "sm",
2173
+ color: "danger",
2174
+ children: t("card.maintenance")
2175
+ }) : entry.reservation && (entry.reservation.mine || entry.reservation.userName) ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: entry.reservation.mine ? t("card.yours") : entry.reservation.userName }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatusChip, { status: entry.reservation.status })] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: entry.kind === "pending" ? t("card.reservedPending") : t("card.reserved") }),
2176
+ booked.has(entry.key) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlotsChip, {
2177
+ booked: booked.get(entry.key) ?? 0,
2178
+ total: slots
2179
+ })
2180
+ ]
2057
2181
  }, entry.key))
2058
2182
  })
2059
2183
  ]
@@ -2061,61 +2185,19 @@ function AvailabilityTimeline(props) {
2061
2185
  })
2062
2186
  });
2063
2187
  }
2064
- //#endregion
2065
- //#region frontend/src/lib/slots.ts
2066
- var MINUTE_MS = 6e4;
2067
- var DAY_MS$1 = 864e5;
2068
- var blocksSlot = (reservation) => reservation.status === "pending" || reservation.status === "confirmed";
2069
- function checkWindow(context, start, end) {
2070
- const { rules, timezone, now } = context;
2071
- const durationMinutes = (end.getTime() - start.getTime()) / MINUTE_MS;
2072
- if (start.getTime() < now.getTime()) return "IN_THE_PAST";
2073
- if (localMinutesOfDay(start, timezone) % rules.timeStepMinutes !== 0 || durationMinutes % rules.timeStepMinutes !== 0) return "OFF_TIME_STEP";
2074
- if (durationMinutes < rules.minDurationMinutes) return "DURATION_TOO_SHORT";
2075
- if (durationMinutes > rules.maxDurationMinutes) return "DURATION_TOO_LONG";
2076
- if (start.getTime() > now.getTime() + rules.maxAdvanceDays * DAY_MS$1) return "BEYOND_MAX_ADVANCE";
2077
- if (start.getTime() < now.getTime() + rules.minLeadMinutes * MINUTE_MS) return "LEAD_TIME_TOO_SHORT";
2078
- const spanStart = /* @__PURE__ */ new Date(start.getTime() - rules.bufferBeforeMinutes * MINUTE_MS);
2079
- const spanEnd = new Date(end.getTime() + rules.bufferAfterMinutes * MINUTE_MS);
2080
- if (!isWithinBookableHours(rules.bookableHours, timezone, spanStart, spanEnd)) return "OUTSIDE_BOOKABLE_HOURS";
2081
- if (context.reservations.some((reservation) => {
2082
- if (!blocksSlot(reservation)) return false;
2083
- const otherStart = new Date(reservation.startTime).getTime() - reservation.bufferBeforeMinutes * MINUTE_MS;
2084
- const otherEnd = new Date(reservation.endTime).getTime() + reservation.bufferAfterMinutes * MINUTE_MS;
2085
- return spanStart.getTime() < otherEnd && otherStart < spanEnd.getTime();
2086
- })) return "OVERLAP";
2087
- return context.maintenance.some((span) => spanStart.getTime() < (span.endTime ? new Date(span.endTime).getTime() : Infinity) && new Date(span.startTime).getTime() < spanEnd.getTime()) ? "MAINTENANCE" : null;
2088
- }
2089
- /** Start times of one local day that allow at least the minimum duration. */
2090
- function validStarts(context, day) {
2091
- const { timeStepMinutes, minDurationMinutes } = context.rules;
2092
- const dayStart = wallClockToDate(day, context.timezone);
2093
- const nextDayStart = wallClockToDate(addLocalDays(day, 1), context.timezone);
2094
- const result = [];
2095
- for (let minutes = 0; minutes < 1440; minutes += timeStepMinutes) {
2096
- const start = wallClockToDate({
2097
- ...day,
2098
- hour: Math.floor(minutes / 60),
2099
- minute: minutes % 60
2100
- }, context.timezone);
2101
- if (start.getTime() < dayStart.getTime() || start.getTime() >= nextDayStart.getTime()) continue;
2102
- if (result.length && start.getTime() <= result[result.length - 1].getTime()) continue;
2103
- if (checkWindow(context, start, new Date(start.getTime() + minDurationMinutes * MINUTE_MS)) === null) result.push(start);
2104
- }
2105
- return result;
2106
- }
2107
- /**
2108
- * Durations (minutes) bookable from `start`. Once a longer window collides with a booking,
2109
- * maintenance or the bookable hours, every longer one does as well, so scanning stops there.
2110
- */
2111
- function validDurations(context, start) {
2112
- const { timeStepMinutes, minDurationMinutes, maxDurationMinutes } = context.rules;
2113
- const result = [];
2114
- for (let minutes = minDurationMinutes; minutes <= maxDurationMinutes; minutes += timeStepMinutes) {
2115
- if (checkWindow(context, start, new Date(start.getTime() + minutes * MINUTE_MS)) !== null) break;
2116
- result.push(minutes);
2117
- }
2118
- return result;
2188
+ function SlotsChip(props) {
2189
+ const { t } = useReservationsTranslations();
2190
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Chip$1, {
2191
+ size: "sm",
2192
+ variant: "soft",
2193
+ color: props.booked >= props.total ? "danger" : "default",
2194
+ className: "rv:whitespace-nowrap",
2195
+ "data-cy": "reservations-timeline-slots",
2196
+ children: t("card.slotsBooked", {
2197
+ booked: props.booked,
2198
+ total: props.total
2199
+ })
2200
+ });
2119
2201
  }
2120
2202
  //#endregion
2121
2203
  //#region frontend/src/overview/CheckInRules.tsx
@@ -2165,9 +2247,11 @@ function BookingModal(props) {
2165
2247
  timezone: zone,
2166
2248
  reservations: dayAvailability.data?.reservations ?? [],
2167
2249
  maintenance: dayAvailability.data?.maintenance ?? [],
2168
- now: /* @__PURE__ */ new Date()
2250
+ now: /* @__PURE__ */ new Date(),
2251
+ slots: dayAvailability.data?.slots ?? availability.slots
2169
2252
  }), [
2170
2253
  availability.rules,
2254
+ availability.slots,
2171
2255
  zone,
2172
2256
  dayAvailability.data
2173
2257
  ]);
@@ -2201,7 +2285,7 @@ function BookingModal(props) {
2201
2285
  setOpen(false);
2202
2286
  },
2203
2287
  onError: (failure) => {
2204
- setError(describeError(failure, t));
2288
+ setError(describeError(failure, t, { slots: context.slots }));
2205
2289
  invalidate();
2206
2290
  }
2207
2291
  });
@@ -75,7 +75,7 @@ var exportSet = /* @__PURE__ */ new Set([
75
75
  ]);
76
76
  var moduleMap = { "./plugin": () => {
77
77
  dynamicLoadingCss(["style.css"], false, "./plugin");
78
- return __federation_import("./__federation_expose_Plugin-DAM66N0j.js").then((module) => Object.keys(module).every((item) => exportSet.has(item)) ? () => module.default : () => module);
78
+ return __federation_import("./__federation_expose_Plugin-DJK0XekM.js").then((module) => Object.keys(module).every((item) => exportSet.has(item)) ? () => module.default : () => module);
79
79
  } };
80
80
  var seen = {};
81
81
  var dynamicLoadingCss = (cssFilePaths, dontAppendStylesToHead, exposeItemName) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attraccess/plugin-reservations",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-nightly.1161.1",
4
4
  "description": "Official Attraccess plugin to reserve resources for a specific time window.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -25,12 +25,12 @@
25
25
  "peerDependencies": {
26
26
  "@attraccess/plugins-backend-sdk": "^1.9.0",
27
27
  "@attraccess/plugins-frontend-sdk": "^1.9.0",
28
- "@attraccess/plugins-frontend-ui": "^1.11.0"
28
+ "@attraccess/plugins-frontend-ui": "^1.11.0-0"
29
29
  },
30
30
  "attraccess": {
31
31
  "displayName": "Reservations",
32
32
  "description": "Reserve a resource for a specific time window.",
33
- "host": "^1.11.0",
33
+ "host": "^1.11.0-0",
34
34
  "backend": "dist/index.js",
35
35
  "frontend": "frontend/remoteEntry.js",
36
36
  "migrations": "dist/migrations.js",
@@ -47,6 +47,8 @@
47
47
  "sdk": {
48
48
  "backend": "^1.9.0",
49
49
  "frontend": "^1.9.0"
50
- }
51
- }
50
+ },
51
+ "publishedCommit": "4309294267dc67d9a012e62e03bd71d085a81304"
52
+ },
53
+ "gitHead": "4309294267dc67d9a012e62e03bd71d085a81304"
52
54
  }