create-ailk 0.46.2 → 0.46.4

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.
@@ -31,14 +31,54 @@ export interface UiCommerceContract {
31
31
  */
32
32
  export interface UiSignalCollectorsContract {
33
33
  flowsMessages(locale: string): Record<string, unknown> | undefined;
34
+ /**
35
+ * #12204 D6 — a magnet at an owner-chosen address: `base` is the address,
36
+ * `rest` the child under it (`[]`, `["start"]`, `["verify"]` or
37
+ * `["results", payload]`), rendered as `/flows/<slug>` renders it. The
38
+ * element is left open, as `FlowResultsPriceCard`'s props are.
39
+ */
40
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a React element; this file imports nothing, React's types included
41
+ renderMagnetAt(input: MagnetAtInput): Promise<any>;
42
+ /** #12204 D6, D8 — the metadata at an address; the cover's names `canonical`. */
43
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Next's `Metadata`; this file imports nothing
44
+ magnetMetadataAt(input: Omit<MagnetAtInput, "searchParams"> & { canonical: string }): Promise<any>;
45
+ /**
46
+ * #12205 D5 — a page's `magnet` section: the magnet's title card, whose
47
+ * Start opens its walk over the host page. Its props are left open, as
48
+ * `FlowResultsPriceCard`'s are.
49
+ */
50
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a React component; this file imports nothing, React's types included
51
+ MagnetSectionClient: (props: any) => any;
52
+ /**
53
+ * #12205 D5, #12202 D7 — the booking step's calendar a magnet's own walk
54
+ * shows, built on the server for the section's walk; `undefined` when the
55
+ * config has no booking step or the calendar cannot be built.
56
+ */
57
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a served FlowConfig in, a React element out; this file imports nothing
58
+ bookingStepElement(config: any): Promise<any>;
59
+ }
60
+
61
+ /** #12204 D6 — what the site passes the package's address dispatcher. */
62
+ export interface MagnetAtInput {
63
+ slug: string;
64
+ base: string;
65
+ rest: string[];
66
+ locale: string;
67
+ searchParams: Record<string, string | string[] | undefined>;
34
68
  }
35
69
 
36
70
  /**
37
71
  * `@working-theory/ui-scheduling`: the booking pages' message catalog
38
- * (`schedule`), merged under the site's own by `i18n/request.ts` (#11252 D4).
72
+ * (`schedule`), merged under the site's own by `i18n/request.ts` (#11252 D4),
73
+ * and the booker island `signal-collectors.config.tsx` hands a magnet walk's
74
+ * booking step (#12202 D7). The island's props are left open, as the price
75
+ * card's are: this base file names no signal-collectors type, and the island
76
+ * meets the walk's `FlowBookingStepProps` structurally in the site's config.
39
77
  */
40
78
  export interface UiSchedulingContract {
41
79
  schedulingMessages(locale: string): Record<string, unknown> | undefined;
80
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a React component of the step's props; this file imports nothing, React's types included
81
+ BookerIsland: (props: any) => any;
42
82
  }
43
83
 
44
84
  /**