@bowlos/reservations 0.28.0 → 0.29.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.
@@ -284,6 +284,14 @@ interface MyPass {
284
284
  kind: string;
285
285
  state: string;
286
286
  generation: number;
287
+ /**
288
+ * True while the underlying booking/card/membership still warrants an
289
+ * "Add to Apple/Google Wallet" (the server returns no pass URL once it's
290
+ * false). Reservation/package = the booking's Center-local day isn't over;
291
+ * game card = active && unexpired; membership = not lapsed. Gate any
292
+ * add-to-wallet affordance on this. See HEADLESS.md.
293
+ */
294
+ walletEligible: boolean;
287
295
  }
288
296
  interface AccountDashboardLabels {
289
297
  welcome: string;
@@ -284,6 +284,14 @@ interface MyPass {
284
284
  kind: string;
285
285
  state: string;
286
286
  generation: number;
287
+ /**
288
+ * True while the underlying booking/card/membership still warrants an
289
+ * "Add to Apple/Google Wallet" (the server returns no pass URL once it's
290
+ * false). Reservation/package = the booking's Center-local day isn't over;
291
+ * game card = active && unexpired; membership = not lapsed. Gate any
292
+ * add-to-wallet affordance on this. See HEADLESS.md.
293
+ */
294
+ walletEligible: boolean;
287
295
  }
288
296
  interface AccountDashboardLabels {
289
297
  welcome: string;