@40rty/ams-sdk 0.3.1 → 0.4.2
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.
- package/dist/index.js +6655 -5934
- package/dist/types/ecommerce/src/review-schemas.d.ts +32 -0
- package/dist/types/sdk/src/analytics/scope-context.d.ts +2 -2
- package/dist/types/sdk/src/canvas/active-chips.d.ts +8 -0
- package/dist/types/sdk/src/canvas/chip-relevance.d.ts +41 -0
- package/dist/types/sdk/src/canvas/index.d.ts +6 -1
- package/dist/types/sdk/src/canvas/item-motion/index.d.ts +1 -1
- package/dist/types/sdk/src/canvas/item-motion/profile.d.ts +0 -3
- package/dist/types/sdk/src/canvas/layout-entity-refs.d.ts +12 -0
- package/dist/types/sdk/src/canvas/runtime-hooks.d.ts +2 -0
- package/dist/types/sdk/src/canvas/runtime-types.d.ts +2 -0
- package/dist/types/sdk/src/canvas/use-canvas-actions.d.ts +14 -24
- package/dist/types/sdk/src/canvas/use-is-seed-home.d.ts +17 -0
- package/dist/types/sdk/src/canvas/use-safe-facts.d.ts +9 -0
- package/dist/types/sdk/src/catalog/define.d.ts +1 -1
- package/dist/types/sdk/src/catalog/index.d.ts +1 -1
- package/dist/types/sdk/src/catalog/interaction-contract.d.ts +3 -3
- package/dist/types/sdk/src/catalog/registration/types.d.ts +7 -0
- package/dist/types/sdk/src/catalog/render-inline.d.ts +0 -37
- package/dist/types/sdk/src/host/host-modules.d.ts +217 -121
- package/dist/types/sdk/src/host/types.d.ts +3 -1
- package/dist/types/sdk/src/index.d.ts +3 -5
- package/dist/types/sdk/src/preview/SpacefrontPreviewProvider.d.ts +65 -0
- package/dist/types/sdk/src/preview/index.d.ts +1 -0
- package/dist/types/sdk/src/projection/index.d.ts +1 -0
- package/dist/types/sdk/src/projection/transform.d.ts +12 -0
- package/dist/types/sdk/src/projection/use-projection.d.ts +24 -0
- package/dist/types/sdk/src/provider/agent-ask-signal.d.ts +4 -0
- package/dist/types/sdk/src/provider/index.d.ts +1 -1
- package/dist/types/sdk/src/session/FourtySessionContext.d.ts +1 -1
- package/dist/types/sdk/src/shell/composer-attachments/heic-convert.d.ts +6 -0
- package/dist/types/sdk/src/shell/composer-attachments/use-composer-attachments.d.ts +37 -0
- package/dist/types/sdk/src/shell/conversation/answer-text.d.ts +15 -0
- package/dist/types/sdk/src/shell/conversation/index.d.ts +4 -0
- package/dist/types/sdk/src/shell/conversation/turn-pages.d.ts +16 -0
- package/dist/types/sdk/src/shell/conversation/use-conversation-page.d.ts +65 -0
- package/dist/types/sdk/src/shell/conversation/use-conversation-presence.d.ts +31 -0
- package/dist/types/sdk/src/shell/index.d.ts +6 -0
- package/dist/types/sdk/src/shell/turn-ask-placement.d.ts +17 -0
- package/dist/types/sdk/src/shell/use-dock-state.d.ts +58 -0
- package/dist/types/sdk/src/shell/use-prompt-composer.d.ts +51 -0
- package/dist/types/sdk/src/shell/use-thread-rows.d.ts +3 -1
- package/dist/types/sdk/src/shell/use-turn-ask-reply.d.ts +5 -0
- package/dist/types/sdk/src/utils/core-utils/index.d.ts +0 -6
- package/dist/types/sdk/src/utils/index.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/cart}/use-cart-drawer.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/cart}/use-cart-line-row.d.ts +1 -1
- package/dist/types/sdk/src/verticals/commerce/cart/use-cart-view.d.ts +51 -0
- package/dist/types/sdk/src/verticals/commerce/cart/use-safe-cart.d.ts +16 -0
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/checkout}/buy-now-exit.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/checkout}/checkout-handoff-reasons.d.ts +2 -2
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/checkout}/checkout-handoff-shape.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/checkout}/checkout-handoff-store.d.ts +3 -3
- package/dist/types/sdk/src/verticals/commerce/chip-relevance.d.ts +1 -0
- package/dist/types/sdk/src/{commerce → verticals/commerce}/commerce-context.d.ts +1 -1
- package/dist/types/sdk/src/{commerce → verticals/commerce}/commerce-shapes.d.ts +2 -2
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/comparison}/comparison-rows.d.ts +1 -1
- package/dist/types/sdk/src/verticals/commerce/index.d.ts +35 -0
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/product}/normalize-collection.d.ts +2 -2
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/product}/product-filters.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/product}/use-look-card.d.ts +4 -4
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/product}/use-product-card.d.ts +2 -2
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/product}/use-product-detail.d.ts +3 -3
- package/dist/types/sdk/src/verticals/commerce/use-commerce-actions.d.ts +18 -0
- package/dist/types/sdk/src/{commerce → verticals/commerce/variant}/pending-variant-choice-store.d.ts +2 -2
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/variant}/preselect-from-facts.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/variant}/use-selected-variants-state.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/variant}/variant-option-axes.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/variant}/variant-resolution.d.ts +1 -1
- package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/variant}/variant-selection.d.ts +1 -1
- package/dist/types/sdk/src/verticals/content/index.d.ts +1 -0
- package/dist/types/sdk/src/verticals/content/use-content-actions.d.ts +12 -0
- package/dist/types/sdk/src/widgets/presence/index.d.ts +1 -0
- package/dist/types/sdk/src/widgets/presence/runtime-context.d.ts +1 -1
- package/dist/types/sdk/src/widgets/presence/use-forget-fact.d.ts +35 -0
- package/dist/types/spacestation/src/analytics/ecommerce/events.d.ts +1 -1
- package/dist/types/spacestation/src/catalog/shape-tokens.d.ts +2 -0
- package/dist/types/spacestation/src/catalog/wire/index.d.ts +1 -1
- package/dist/types/spacestation/src/catalog/wire/package-release.d.ts +24 -1
- package/dist/types/spacestation/src/index.d.ts +3 -1
- package/dist/types/spacestation/src/layout/conversation.d.ts +5 -0
- package/dist/types/spacestation/src/signal/turn-ask.d.ts +94 -0
- package/dist/types/spacestation/src/widgets/presence/profile.d.ts +2 -2
- package/package.json +2 -1
- package/dist/types/sdk/src/animation/index.d.ts +0 -2
- package/dist/types/sdk/src/animation/useListTransition.d.ts +0 -16
- package/dist/types/sdk/src/animation/useUpdateTransition.d.ts +0 -16
- package/dist/types/sdk/src/commerce/ecommerce/agentic-overlay.d.ts +0 -27
- package/dist/types/sdk/src/commerce/ecommerce/index.d.ts +0 -21
- package/dist/types/sdk/src/commerce/ecommerce/use-product-carousel-scroll.d.ts +0 -13
- package/dist/types/sdk/src/commerce/index.d.ts +0 -9
- package/dist/types/sdk/src/content/index.d.ts +0 -2
- package/dist/types/sdk/src/content/use-faq-accordion.d.ts +0 -11
- package/dist/types/sdk/src/content/use-newsletter-form.d.ts +0 -16
- package/dist/types/sdk/src/provider/AgentAsk.d.ts +0 -16
- package/dist/types/sdk/src/shared/index.d.ts +0 -2
- package/dist/types/sdk/src/social/index.d.ts +0 -2
- package/dist/types/sdk/src/social/use-review-helpful.d.ts +0 -10
- package/dist/types/sdk/src/social/use-testimonials-carousel.d.ts +0 -15
- package/dist/types/sdk/src/utils/core-utils/format-distance.d.ts +0 -6
- package/dist/types/sdk/src/utils/core-utils/maps-directions-url.d.ts +0 -5
- /package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/cart}/cart-action-failures.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/cart}/cart-drawer-store.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce → verticals/commerce/checkout}/external-navigation.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/checkout}/use-buy-now.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/comparison}/use-comparison-table.d.ts +0 -0
- /package/dist/types/sdk/src/{utils/core-utils → verticals/commerce/price}/format-price.d.ts +0 -0
- /package/dist/types/sdk/src/{utils/core-utils → verticals/commerce/price}/is-on-sale.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/product}/use-product-grid-filter.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce → verticals/commerce/variant}/option-selection-store.d.ts +0 -0
- /package/dist/types/sdk/src/{utils/core-utils → verticals/commerce/variant}/resolve-swatch-color.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce → verticals/commerce/variant}/variant-selection-store.d.ts +0 -0
- /package/dist/types/sdk/src/{commerce/ecommerce → verticals/commerce/wishlist}/use-wishlist-drawer.d.ts +0 -0
|
@@ -13,7 +13,7 @@ import * as sdkAnalytics from '../analytics';
|
|
|
13
13
|
import * as sdkCanvas from '../canvas';
|
|
14
14
|
import * as sdkCatalog from '../catalog';
|
|
15
15
|
import * as sdkChat from '../chat';
|
|
16
|
-
import * as sdkCommerce from '../commerce';
|
|
16
|
+
import * as sdkCommerce from '../verticals/commerce';
|
|
17
17
|
import * as sdkInteraction from '../interaction';
|
|
18
18
|
import * as sdkRendering from '../rendering';
|
|
19
19
|
import * as sdkSession from '../session';
|
|
@@ -65,10 +65,17 @@ export declare const HOST_MODULES: {
|
|
|
65
65
|
useShellRoot: typeof sdk.useShellRoot;
|
|
66
66
|
DockPersistenceProvider: typeof sdk.DockPersistenceProvider;
|
|
67
67
|
useDockPersistence: typeof sdk.useDockPersistence;
|
|
68
|
+
useDockState: typeof sdk.useDockState;
|
|
68
69
|
registerExclusiveOverlay: typeof sdk.registerExclusiveOverlay;
|
|
69
70
|
claimExclusiveOverlay: typeof sdk.claimExclusiveOverlay;
|
|
70
71
|
useExclusiveOverlay: typeof sdk.useExclusiveOverlay;
|
|
72
|
+
useComposerAttachments: typeof sdk.useComposerAttachments;
|
|
73
|
+
ATTACHMENT_ACCEPT: string;
|
|
74
|
+
usePromptComposer: typeof sdk.usePromptComposer;
|
|
71
75
|
useComposerChipSelect: typeof sdk.useComposerChipSelect;
|
|
76
|
+
useTurnAskReply: typeof sdk.useTurnAskReply;
|
|
77
|
+
TurnAskPlacementProvider: typeof sdk.TurnAskPlacementProvider;
|
|
78
|
+
useTurnAskPlacement: typeof sdk.useTurnAskPlacement;
|
|
72
79
|
useGoHome: typeof sdk.useGoHome;
|
|
73
80
|
useHydrated: typeof sdk.useHydrated;
|
|
74
81
|
useMenuItemSelect: typeof sdk.useMenuItemSelect;
|
|
@@ -81,9 +88,10 @@ export declare const HOST_MODULES: {
|
|
|
81
88
|
useThreadLanding: typeof sdk.useThreadLanding;
|
|
82
89
|
THREAD_ROW_ATTR: "data-fourty-thread-row";
|
|
83
90
|
threadRowAttrs: typeof sdk.threadRowAttrs;
|
|
91
|
+
useConversationPage: typeof sdk.useConversationPage;
|
|
92
|
+
splitAnswer: typeof sdk.splitAnswer;
|
|
84
93
|
useRegisterSignalHandlers: typeof sdk.useRegisterSignalHandlers;
|
|
85
94
|
HandlerRegistryContext: react.Context<sdk.HandlerRegistryValue | null>;
|
|
86
|
-
AgentAsk: typeof sdk.AgentAsk;
|
|
87
95
|
AGENT_ASK_SIGNAL: "agent_ask";
|
|
88
96
|
useClampToggle: typeof sdk.useClampToggle;
|
|
89
97
|
useTimedFlag: typeof sdk.useTimedFlag;
|
|
@@ -92,6 +100,7 @@ export declare const HOST_MODULES: {
|
|
|
92
100
|
useOptionalFourtyRuntime: typeof sdk.useOptionalFourtyRuntime;
|
|
93
101
|
useTurn: typeof sdk.useTurn;
|
|
94
102
|
useStream: typeof sdk.useStream;
|
|
103
|
+
useTurnAsk: typeof sdk.useTurnAsk;
|
|
95
104
|
useDisplayedLayout: typeof sdk.useDisplayedLayout;
|
|
96
105
|
useFourtyShell: typeof sdk.useFourtyShell;
|
|
97
106
|
useAgentDriven: typeof sdk.useAgentDriven;
|
|
@@ -142,6 +151,9 @@ export declare const HOST_MODULES: {
|
|
|
142
151
|
DEFAULT_GENERATION_STYLE: sdk.GenerationStyle;
|
|
143
152
|
GENERATION_EASE: [number, number, number, number];
|
|
144
153
|
useCanvasActions: typeof sdk.useCanvasActions;
|
|
154
|
+
computeActiveChips: typeof sdk.computeActiveChips;
|
|
155
|
+
registerChipRelevanceRule: typeof sdk.registerChipRelevanceRule;
|
|
156
|
+
registerEntityPageKind: typeof sdk.registerEntityPageKind;
|
|
145
157
|
useFourtyLayout: typeof sdk.useFourtyLayout;
|
|
146
158
|
findElementScrollTarget: typeof sdk.findElementScrollTarget;
|
|
147
159
|
findChangeAnchorTarget: typeof sdk.findChangeAnchorTarget;
|
|
@@ -165,10 +177,12 @@ export declare const HOST_MODULES: {
|
|
|
165
177
|
turnEditedBlock: typeof sdk.turnEditedBlock;
|
|
166
178
|
CanvasOutletProvider: typeof sdk.CanvasOutletProvider;
|
|
167
179
|
SpacefrontCanvas: typeof sdk.SpacefrontCanvas;
|
|
180
|
+
collectLayoutGids: typeof sdk.collectLayoutGids;
|
|
181
|
+
useIsSeedHome: typeof sdk.useIsSeedHome;
|
|
182
|
+
useSafeFacts: typeof sdk.useSafeFacts;
|
|
168
183
|
ItemTransitionGroup: typeof sdk.ItemTransitionGroup;
|
|
169
184
|
ITEM_IDENTITY_ATTR: "data-flip-id";
|
|
170
185
|
getActiveProfile: typeof sdk.getActiveProfile;
|
|
171
|
-
registerCanvasProfile: typeof sdk.registerCanvasProfile;
|
|
172
186
|
setCanvasProfile: typeof sdk.setCanvasProfile;
|
|
173
187
|
wipeProfile: sdk.CanvasMotionProfile;
|
|
174
188
|
classifyItemChange: typeof sdk.classifyItemChange;
|
|
@@ -189,7 +203,6 @@ export declare const HOST_MODULES: {
|
|
|
189
203
|
usePackageLookup: typeof sdk.usePackageLookup;
|
|
190
204
|
createAliasedRegistry: typeof sdk.createAliasedRegistry;
|
|
191
205
|
renderInline: typeof sdk.renderInline;
|
|
192
|
-
setInlineLinkRenderer: typeof sdk.setInlineLinkRenderer;
|
|
193
206
|
adaptComponent: typeof sdk.adaptComponent;
|
|
194
207
|
NullComponent: sdk.BrandComponent;
|
|
195
208
|
buildComponentLibrary: typeof sdk.buildComponentLibrary;
|
|
@@ -212,6 +225,113 @@ export declare const HOST_MODULES: {
|
|
|
212
225
|
registerLibrary: typeof sdk.registerLibrary;
|
|
213
226
|
createRegistry: typeof sdk.createRegistry;
|
|
214
227
|
getGlobalRegistry: typeof sdk.getGlobalRegistry;
|
|
228
|
+
useAgentPresence: typeof sdk.useAgentPresence;
|
|
229
|
+
useScanning: typeof sdk.useScanning;
|
|
230
|
+
usePresenceElements: typeof sdk.usePresenceElements;
|
|
231
|
+
usePresenceMaterialized: typeof sdk.usePresenceMaterialized;
|
|
232
|
+
usePresenceLiveTurn: typeof sdk.usePresenceLiveTurn;
|
|
233
|
+
usePresenceRuntime: typeof sdk.usePresenceRuntime;
|
|
234
|
+
useOptionalPresenceRuntime: typeof sdk.useOptionalPresenceRuntime;
|
|
235
|
+
PresenceRuntimeProvider: react.Provider<sdk.PresenceRuntime | null>;
|
|
236
|
+
useAgentPresenceFrame: typeof sdk.useAgentPresenceFrame;
|
|
237
|
+
useAgentPresenceFresh: typeof sdk.useAgentPresenceFresh;
|
|
238
|
+
clearAgentPresence: typeof sdk.clearAgentPresence;
|
|
239
|
+
setAgentPresenceFrame: typeof sdk.setAgentPresenceFrame;
|
|
240
|
+
useConsumeStandingSignal: typeof sdk.useConsumeStandingSignal;
|
|
241
|
+
raiseStanding: typeof sdk.raiseStanding;
|
|
242
|
+
resolveStanding: typeof sdk.resolveStanding;
|
|
243
|
+
useStandingOfType: typeof sdk.useStandingOfType;
|
|
244
|
+
usePresenceNotch: typeof sdk.usePresenceNotch;
|
|
245
|
+
registerPresenceForm: typeof sdk.registerPresenceForm;
|
|
246
|
+
resolvePresenceForm: typeof sdk.resolvePresenceForm;
|
|
247
|
+
registeredPresenceForms: typeof sdk.registeredPresenceForms;
|
|
248
|
+
registerPresenceSourceForm: typeof sdk.registerPresenceSourceForm;
|
|
249
|
+
resolvePresenceSourceForm: typeof sdk.resolvePresenceSourceForm;
|
|
250
|
+
registeredPresenceSourceForms: typeof sdk.registeredPresenceSourceForms;
|
|
251
|
+
registerPresenceFactForm: typeof sdk.registerPresenceFactForm;
|
|
252
|
+
resolvePresenceFactForm: typeof sdk.resolvePresenceFactForm;
|
|
253
|
+
registeredPresenceFactForms: typeof sdk.registeredPresenceFactForms;
|
|
254
|
+
presenceFactShape: typeof sdk.presenceFactShape;
|
|
255
|
+
colorHexOf: typeof sdk.colorHexOf;
|
|
256
|
+
factFigureParts: typeof sdk.factFigureParts;
|
|
257
|
+
FACT_SHAPE: {
|
|
258
|
+
readonly color: "color";
|
|
259
|
+
readonly figure: "figure";
|
|
260
|
+
readonly measure: "measure";
|
|
261
|
+
readonly plain: "plain";
|
|
262
|
+
};
|
|
263
|
+
useAgentFlow: typeof sdk.useAgentFlow;
|
|
264
|
+
useAgentFlowFresh: typeof sdk.useAgentFlowFresh;
|
|
265
|
+
setFlowOutput: typeof sdk.setFlowOutput;
|
|
266
|
+
getFlowOutput: typeof sdk.getFlowOutput;
|
|
267
|
+
subscribeFlowOutputs: typeof sdk.subscribeFlowOutputs;
|
|
268
|
+
useOptimisticFlowSet: typeof sdk.useOptimisticFlowSet;
|
|
269
|
+
useReconcileFlowSet: typeof sdk.useReconcileFlowSet;
|
|
270
|
+
useForgetFact: typeof sdk.useForgetFact;
|
|
271
|
+
useVisibleFactList: typeof sdk.useVisibleFactList;
|
|
272
|
+
useUndismissedFacts: typeof sdk.useVisibleFactList;
|
|
273
|
+
useReconcileDismissed: typeof sdk.useReconcileDismissed;
|
|
274
|
+
useDismissedLabels: typeof sdk.useDismissedLabels;
|
|
275
|
+
useOptimisticFactOverlay: typeof sdk.useOptimisticFactOverlay;
|
|
276
|
+
useReconcileOptimisticFacts: typeof sdk.useReconcileOptimisticFacts;
|
|
277
|
+
useLayoutEntityIds: typeof sdk.useLayoutEntityIds;
|
|
278
|
+
SCANNING_FORM: "scanning";
|
|
279
|
+
deriveSourceElement: typeof spacestationPresence.deriveSourceElement;
|
|
280
|
+
isPresenceStreamArtifact: typeof spacestationPresence.isPresenceStreamArtifact;
|
|
281
|
+
DEFAULT_PRESENCE_PROFILE: {
|
|
282
|
+
sources: string[] | "all";
|
|
283
|
+
voice: "full" | "off" | "terse";
|
|
284
|
+
facts: "all" | "inferred-only";
|
|
285
|
+
};
|
|
286
|
+
PRESENCE_LIFECYCLE: Record<spacestationPresence.PresenceElementKind, spacestationPresence.PresenceLifecycle>;
|
|
287
|
+
presenceReducer: typeof sdk.presenceReducer;
|
|
288
|
+
EMPTY_PRESENCE_STREAM: sdk.PresenceStreamState;
|
|
289
|
+
durablePresenceElements: typeof sdk.durablePresenceElements;
|
|
290
|
+
useFourtyChat: typeof sdk.useFourtyChat;
|
|
291
|
+
FourtyChatContext: react.Context<sdk.FourtyChatContextValue | null>;
|
|
292
|
+
ProjectionSignalBridge: typeof sdk.ProjectionSignalBridge;
|
|
293
|
+
useProjection: typeof sdk.useProjection;
|
|
294
|
+
registerPostHydrationTransform: typeof sdk.registerPostHydrationTransform;
|
|
295
|
+
usePostHydrationTransforms: typeof sdk.usePostHydrationTransforms;
|
|
296
|
+
InteractionProvider: typeof sdk.InteractionProvider;
|
|
297
|
+
withInteractionTracking: typeof sdk.withInteractionTracking;
|
|
298
|
+
ComponentErrorBoundary: typeof sdk.ComponentErrorBoundary;
|
|
299
|
+
useInteractionTracking: typeof sdk.useInteractionTracking;
|
|
300
|
+
normalizeSignals: typeof sdk.normalizeSignals;
|
|
301
|
+
hapticCue: typeof sdk.hapticCue;
|
|
302
|
+
useDictation: typeof sdk.useDictation;
|
|
303
|
+
useVoiceCapture: typeof sdk.useVoiceCapture;
|
|
304
|
+
useFormFactor: typeof sdk.useFormFactor;
|
|
305
|
+
ViewportWindowContext: react.Context<Window | null>;
|
|
306
|
+
ViewportWindowProvider: typeof sdk.ViewportWindowProvider;
|
|
307
|
+
useViewportWindow: typeof sdk.useViewportWindow;
|
|
308
|
+
useInlineCompletion: typeof sdk.useInlineCompletion;
|
|
309
|
+
useDocumentVisible: typeof sdk.useDocumentVisible;
|
|
310
|
+
useInterval: typeof sdk.useInterval;
|
|
311
|
+
useSuccessFlash: typeof sdk.useSuccessFlash;
|
|
312
|
+
useWakeLock: typeof sdk.useWakeLock;
|
|
313
|
+
createSessionStorageAdapter: typeof sdk.createSessionStorageAdapter;
|
|
314
|
+
createLocalStorageAdapter: typeof sdk.createLocalStorageAdapter;
|
|
315
|
+
createMemoryStorageAdapter: typeof sdk.createMemoryStorageAdapter;
|
|
316
|
+
resolveStorage: typeof sdk.resolveStorage;
|
|
317
|
+
applySinglePatch: typeof spacestation.applySinglePatch;
|
|
318
|
+
isVideoUrl: typeof sdk.isVideoUrl;
|
|
319
|
+
mintId: typeof sdk.mintId;
|
|
320
|
+
injectGoogleFonts: typeof sdk.injectGoogleFonts;
|
|
321
|
+
validateAll: typeof sdk.validateAll;
|
|
322
|
+
publishClientState: typeof sdk.publishClientState;
|
|
323
|
+
clientStateVector: typeof sdk.clientStateVector;
|
|
324
|
+
clientStateEntries: typeof sdk.clientStateEntries;
|
|
325
|
+
subscribeClientState: typeof sdk.subscribeClientState;
|
|
326
|
+
applyServerState: typeof sdk.applyServerState;
|
|
327
|
+
serverState: typeof sdk.serverState;
|
|
328
|
+
serverStateVector: typeof sdk.serverStateVector;
|
|
329
|
+
serverStateEntries: typeof sdk.serverStateEntries;
|
|
330
|
+
subscribeServerState: typeof sdk.subscribeServerState;
|
|
331
|
+
resetServerState: typeof sdk.resetServerState;
|
|
332
|
+
primedEntities: typeof sdk.primedEntities;
|
|
333
|
+
primedEntitiesFor: typeof sdk.primedEntitiesFor;
|
|
334
|
+
SpacefrontPreviewProvider: typeof sdk.SpacefrontPreviewProvider;
|
|
215
335
|
useCart: typeof sdk.useCart;
|
|
216
336
|
useAddToCart: typeof sdk.useAddToCart;
|
|
217
337
|
useWishlist: typeof sdk.useWishlist;
|
|
@@ -236,11 +356,12 @@ export declare const HOST_MODULES: {
|
|
|
236
356
|
pickCartAddAction: typeof ecommerce.pickCartAddAction;
|
|
237
357
|
isPendingCartLine: typeof ecommerce.isPendingCartLine;
|
|
238
358
|
settledCart: typeof ecommerce.settledCart;
|
|
239
|
-
useProductCarouselScroll: typeof sdk.useProductCarouselScroll;
|
|
240
359
|
useProductDetail: typeof sdk.useProductDetail;
|
|
241
360
|
classifyComparisonValue: typeof sdk.classifyComparisonValue;
|
|
242
361
|
useComparisonHighlight: typeof sdk.useComparisonHighlight;
|
|
243
362
|
useCartDrawer: typeof sdk.useCartDrawer;
|
|
363
|
+
useCartView: typeof sdk.useCartView;
|
|
364
|
+
useSafeCart: typeof sdk.useSafeCart;
|
|
244
365
|
recordCartActionFailure: typeof sdk.recordCartActionFailure;
|
|
245
366
|
readCartActionFailures: typeof sdk.readCartActionFailures;
|
|
246
367
|
clearCartActionFailures: typeof sdk.clearCartActionFailures;
|
|
@@ -277,10 +398,13 @@ export declare const HOST_MODULES: {
|
|
|
277
398
|
pruneFilterChips: typeof sdk.pruneFilterChips;
|
|
278
399
|
normalizeCollectionLegacy: typeof sdk.normalizeCollectionLegacy;
|
|
279
400
|
pickCollectionAction: typeof sdk.pickCollectionAction;
|
|
280
|
-
|
|
281
|
-
collectLayoutGids: typeof sdk.collectLayoutGids;
|
|
401
|
+
useCommerceActions: typeof sdk.useCommerceActions;
|
|
282
402
|
buildComparisonRows: typeof sdk.buildComparisonRows;
|
|
283
403
|
formatProductPrice: typeof sdk.formatProductPrice;
|
|
404
|
+
formatPrice: typeof sdk.formatPrice;
|
|
405
|
+
isOnSale: typeof sdk.isOnSale;
|
|
406
|
+
resolveSwatchColor: typeof sdk.resolveSwatchColor;
|
|
407
|
+
formatVariantValue: typeof ecommerce.formatVariantValue;
|
|
284
408
|
CART_LINE_ADDED: spacestationAnalytics.EventKind<"commerce.cart_line_added", {
|
|
285
409
|
productId: string | null;
|
|
286
410
|
quantity: number;
|
|
@@ -328,120 +452,7 @@ export declare const HOST_MODULES: {
|
|
|
328
452
|
FUNNEL_STEPS: readonly ["started", "engaged", "surfaced", "cart", "handoff"];
|
|
329
453
|
FUNNEL_STEP_LABELS: Record<"started" | "engaged" | "surfaced" | "cart" | "handoff", string>;
|
|
330
454
|
isFunnelStep: typeof spacestationAnalyticsEcommerce.isFunnelStep;
|
|
331
|
-
|
|
332
|
-
useScanning: typeof sdk.useScanning;
|
|
333
|
-
usePresenceElements: typeof sdk.usePresenceElements;
|
|
334
|
-
usePresenceMaterialized: typeof sdk.usePresenceMaterialized;
|
|
335
|
-
usePresenceLiveTurn: typeof sdk.usePresenceLiveTurn;
|
|
336
|
-
usePresenceRuntime: typeof sdk.usePresenceRuntime;
|
|
337
|
-
useOptionalPresenceRuntime: typeof sdk.useOptionalPresenceRuntime;
|
|
338
|
-
PresenceRuntimeProvider: react.Provider<sdk.PresenceRuntime | null>;
|
|
339
|
-
useAgentPresenceFrame: typeof sdk.useAgentPresenceFrame;
|
|
340
|
-
useAgentPresenceFresh: typeof sdk.useAgentPresenceFresh;
|
|
341
|
-
clearAgentPresence: typeof sdk.clearAgentPresence;
|
|
342
|
-
setAgentPresenceFrame: typeof sdk.setAgentPresenceFrame;
|
|
343
|
-
useConsumeStandingSignal: typeof sdk.useConsumeStandingSignal;
|
|
344
|
-
raiseStanding: typeof sdk.raiseStanding;
|
|
345
|
-
resolveStanding: typeof sdk.resolveStanding;
|
|
346
|
-
useStandingOfType: typeof sdk.useStandingOfType;
|
|
347
|
-
usePresenceNotch: typeof sdk.usePresenceNotch;
|
|
348
|
-
registerPresenceForm: typeof sdk.registerPresenceForm;
|
|
349
|
-
resolvePresenceForm: typeof sdk.resolvePresenceForm;
|
|
350
|
-
registeredPresenceForms: typeof sdk.registeredPresenceForms;
|
|
351
|
-
registerPresenceSourceForm: typeof sdk.registerPresenceSourceForm;
|
|
352
|
-
resolvePresenceSourceForm: typeof sdk.resolvePresenceSourceForm;
|
|
353
|
-
registeredPresenceSourceForms: typeof sdk.registeredPresenceSourceForms;
|
|
354
|
-
registerPresenceFactForm: typeof sdk.registerPresenceFactForm;
|
|
355
|
-
resolvePresenceFactForm: typeof sdk.resolvePresenceFactForm;
|
|
356
|
-
registeredPresenceFactForms: typeof sdk.registeredPresenceFactForms;
|
|
357
|
-
presenceFactShape: typeof sdk.presenceFactShape;
|
|
358
|
-
colorHexOf: typeof sdk.colorHexOf;
|
|
359
|
-
factFigureParts: typeof sdk.factFigureParts;
|
|
360
|
-
FACT_SHAPE: {
|
|
361
|
-
readonly color: "color";
|
|
362
|
-
readonly figure: "figure";
|
|
363
|
-
readonly measure: "measure";
|
|
364
|
-
readonly plain: "plain";
|
|
365
|
-
};
|
|
366
|
-
useAgentFlow: typeof sdk.useAgentFlow;
|
|
367
|
-
useAgentFlowFresh: typeof sdk.useAgentFlowFresh;
|
|
368
|
-
setFlowOutput: typeof sdk.setFlowOutput;
|
|
369
|
-
getFlowOutput: typeof sdk.getFlowOutput;
|
|
370
|
-
subscribeFlowOutputs: typeof sdk.subscribeFlowOutputs;
|
|
371
|
-
useOptimisticFlowSet: typeof sdk.useOptimisticFlowSet;
|
|
372
|
-
useReconcileFlowSet: typeof sdk.useReconcileFlowSet;
|
|
373
|
-
useOptimisticFactOverlay: typeof sdk.useOptimisticFactOverlay;
|
|
374
|
-
useReconcileOptimisticFacts: typeof sdk.useReconcileOptimisticFacts;
|
|
375
|
-
useLayoutEntityIds: typeof sdk.useLayoutEntityIds;
|
|
376
|
-
SCANNING_FORM: "scanning";
|
|
377
|
-
deriveSourceElement: typeof spacestationPresence.deriveSourceElement;
|
|
378
|
-
isPresenceStreamArtifact: typeof spacestationPresence.isPresenceStreamArtifact;
|
|
379
|
-
DEFAULT_PRESENCE_PROFILE: {
|
|
380
|
-
sources: string[] | "all";
|
|
381
|
-
facts: "all" | "inferred-only";
|
|
382
|
-
voice: "full" | "off" | "terse";
|
|
383
|
-
};
|
|
384
|
-
PRESENCE_LIFECYCLE: Record<spacestationPresence.PresenceElementKind, spacestationPresence.PresenceLifecycle>;
|
|
385
|
-
presenceReducer: typeof sdk.presenceReducer;
|
|
386
|
-
EMPTY_PRESENCE_STREAM: sdk.PresenceStreamState;
|
|
387
|
-
durablePresenceElements: typeof sdk.durablePresenceElements;
|
|
388
|
-
useFourtyChat: typeof sdk.useFourtyChat;
|
|
389
|
-
FourtyChatContext: react.Context<sdk.FourtyChatContextValue | null>;
|
|
390
|
-
ProjectionSignalBridge: typeof sdk.ProjectionSignalBridge;
|
|
391
|
-
useFaqAccordion: typeof sdk.useFaqAccordion;
|
|
392
|
-
useNewsletterForm: typeof sdk.useNewsletterForm;
|
|
393
|
-
useTestimonialsCarousel: typeof sdk.useTestimonialsCarousel;
|
|
394
|
-
useReviewHelpful: typeof sdk.useReviewHelpful;
|
|
395
|
-
useImageHover: typeof sdk.useImageHover;
|
|
396
|
-
useExpandable: typeof sdk.useExpandable;
|
|
397
|
-
useListTransition: typeof sdk.useListTransition;
|
|
398
|
-
useUpdateTransition: typeof sdk.useUpdateTransition;
|
|
399
|
-
registerPostHydrationTransform: typeof sdk.registerPostHydrationTransform;
|
|
400
|
-
usePostHydrationTransforms: typeof sdk.usePostHydrationTransforms;
|
|
401
|
-
InteractionProvider: typeof sdk.InteractionProvider;
|
|
402
|
-
withInteractionTracking: typeof sdk.withInteractionTracking;
|
|
403
|
-
ComponentErrorBoundary: typeof sdk.ComponentErrorBoundary;
|
|
404
|
-
useInteractionTracking: typeof sdk.useInteractionTracking;
|
|
405
|
-
normalizeSignals: typeof sdk.normalizeSignals;
|
|
406
|
-
hapticCue: typeof sdk.hapticCue;
|
|
407
|
-
useDictation: typeof sdk.useDictation;
|
|
408
|
-
useVoiceCapture: typeof sdk.useVoiceCapture;
|
|
409
|
-
useFormFactor: typeof sdk.useFormFactor;
|
|
410
|
-
ViewportWindowContext: react.Context<Window | null>;
|
|
411
|
-
ViewportWindowProvider: typeof sdk.ViewportWindowProvider;
|
|
412
|
-
useViewportWindow: typeof sdk.useViewportWindow;
|
|
413
|
-
useInlineCompletion: typeof sdk.useInlineCompletion;
|
|
414
|
-
useDocumentVisible: typeof sdk.useDocumentVisible;
|
|
415
|
-
useInterval: typeof sdk.useInterval;
|
|
416
|
-
useSuccessFlash: typeof sdk.useSuccessFlash;
|
|
417
|
-
useWakeLock: typeof sdk.useWakeLock;
|
|
418
|
-
createSessionStorageAdapter: typeof sdk.createSessionStorageAdapter;
|
|
419
|
-
createLocalStorageAdapter: typeof sdk.createLocalStorageAdapter;
|
|
420
|
-
createMemoryStorageAdapter: typeof sdk.createMemoryStorageAdapter;
|
|
421
|
-
resolveStorage: typeof sdk.resolveStorage;
|
|
422
|
-
applySinglePatch: typeof spacestation.applySinglePatch;
|
|
423
|
-
formatPrice: typeof sdk.formatPrice;
|
|
424
|
-
formatVariantValue: typeof ecommerce.formatVariantValue;
|
|
425
|
-
formatDistance: typeof sdk.formatDistance;
|
|
426
|
-
isOnSale: typeof sdk.isOnSale;
|
|
427
|
-
isVideoUrl: typeof sdk.isVideoUrl;
|
|
428
|
-
resolveSwatchColor: typeof sdk.resolveSwatchColor;
|
|
429
|
-
mapsDirectionsUrl: typeof sdk.mapsDirectionsUrl;
|
|
430
|
-
mintId: typeof sdk.mintId;
|
|
431
|
-
injectGoogleFonts: typeof sdk.injectGoogleFonts;
|
|
432
|
-
validateAll: typeof sdk.validateAll;
|
|
433
|
-
publishClientState: typeof sdk.publishClientState;
|
|
434
|
-
clientStateVector: typeof sdk.clientStateVector;
|
|
435
|
-
clientStateEntries: typeof sdk.clientStateEntries;
|
|
436
|
-
subscribeClientState: typeof sdk.subscribeClientState;
|
|
437
|
-
applyServerState: typeof sdk.applyServerState;
|
|
438
|
-
serverState: typeof sdk.serverState;
|
|
439
|
-
serverStateVector: typeof sdk.serverStateVector;
|
|
440
|
-
serverStateEntries: typeof sdk.serverStateEntries;
|
|
441
|
-
subscribeServerState: typeof sdk.subscribeServerState;
|
|
442
|
-
resetServerState: typeof sdk.resetServerState;
|
|
443
|
-
primedEntities: typeof sdk.primedEntities;
|
|
444
|
-
primedEntitiesFor: typeof sdk.primedEntitiesFor;
|
|
455
|
+
useContentActions: typeof sdk.useContentActions;
|
|
445
456
|
UIElementSchema: zod.ZodObject<{
|
|
446
457
|
type: zod.ZodString;
|
|
447
458
|
props: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
@@ -1098,6 +1109,54 @@ export declare const HOST_MODULES: {
|
|
|
1098
1109
|
EXTEND_FLOW: "extend.status";
|
|
1099
1110
|
DIRECTION_FLOW: "direction.standing";
|
|
1100
1111
|
EPHEMERAL_FACT_FLOWS: readonly string[];
|
|
1112
|
+
TURN_ASK_SIGNAL: "turn.ask";
|
|
1113
|
+
TurnAskSchema: zod.ZodUnion<[zod.ZodEffects<zod.ZodEffects<zod.ZodObject<{
|
|
1114
|
+
kind: zod.ZodEnum<["choice", "open"]>;
|
|
1115
|
+
parts: zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodObject<{
|
|
1116
|
+
answer: zod.ZodString;
|
|
1117
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1118
|
+
answer: string;
|
|
1119
|
+
}, {
|
|
1120
|
+
answer: string;
|
|
1121
|
+
}>]>, "many">;
|
|
1122
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1123
|
+
kind: "choice" | "open";
|
|
1124
|
+
parts: (string | {
|
|
1125
|
+
answer: string;
|
|
1126
|
+
})[];
|
|
1127
|
+
}, {
|
|
1128
|
+
kind: "choice" | "open";
|
|
1129
|
+
parts: (string | {
|
|
1130
|
+
answer: string;
|
|
1131
|
+
})[];
|
|
1132
|
+
}>, {
|
|
1133
|
+
kind: "choice" | "open";
|
|
1134
|
+
parts: (string | {
|
|
1135
|
+
answer: string;
|
|
1136
|
+
})[];
|
|
1137
|
+
}, {
|
|
1138
|
+
kind: "choice" | "open";
|
|
1139
|
+
parts: (string | {
|
|
1140
|
+
answer: string;
|
|
1141
|
+
})[];
|
|
1142
|
+
}>, spacestation.TurnAsk, {
|
|
1143
|
+
kind: "choice" | "open";
|
|
1144
|
+
parts: (string | {
|
|
1145
|
+
answer: string;
|
|
1146
|
+
})[];
|
|
1147
|
+
}>, zod.ZodEffects<zod.ZodObject<{
|
|
1148
|
+
question: zod.ZodString;
|
|
1149
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1150
|
+
question: string;
|
|
1151
|
+
}, {
|
|
1152
|
+
question: string;
|
|
1153
|
+
}>, spacestation.TurnAsk, {
|
|
1154
|
+
question: string;
|
|
1155
|
+
}>]>;
|
|
1156
|
+
turnAskFromSignal: typeof spacestation.turnAskFromSignal;
|
|
1157
|
+
turnAskSegments: typeof spacestation.turnAskSegments;
|
|
1158
|
+
turnAskAnswers: typeof spacestation.turnAskAnswers;
|
|
1159
|
+
turnAskPlainText: typeof spacestation.turnAskPlainText;
|
|
1101
1160
|
PRESENCE_FACT_DISMISS_SIGNAL: "presence.fact_dismissed";
|
|
1102
1161
|
PRESENCE_CANVAS_REFRESH_SIGNAL: "presence.canvas_refresh";
|
|
1103
1162
|
VISITOR_NAME_SIGNAL: "visitor.name_stated";
|
|
@@ -1140,6 +1199,7 @@ export declare const HOST_MODULES: {
|
|
|
1140
1199
|
derivedSourceFilled: typeof spacestation.derivedSourceFilled;
|
|
1141
1200
|
isElementUnfilled: typeof spacestation.isElementUnfilled;
|
|
1142
1201
|
rendersNothing: typeof spacestation.rendersNothing;
|
|
1202
|
+
carriesShapeToken: typeof spacestation.carriesShapeToken;
|
|
1143
1203
|
derivePropsDoc: typeof spacestation.derivePropsDoc;
|
|
1144
1204
|
WireSchemaSchema: zod.ZodType<spacestation.WireSchema, zod.ZodTypeDef, spacestation.WireSchema>;
|
|
1145
1205
|
WireCatalogSchema: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
@@ -1329,6 +1389,7 @@ export declare const HOST_MODULES: {
|
|
|
1329
1389
|
sourceId: zod.ZodEffects<zod.ZodString, string, string>;
|
|
1330
1390
|
label: zod.ZodString;
|
|
1331
1391
|
version: zod.ZodString;
|
|
1392
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
1332
1393
|
catalog: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
1333
1394
|
type: zod.ZodString;
|
|
1334
1395
|
propsSchema: zod.ZodOptional<zod.ZodType<spacestation.WireSchema, zod.ZodTypeDef, spacestation.WireSchema>>;
|
|
@@ -1422,12 +1483,15 @@ export declare const HOST_MODULES: {
|
|
|
1422
1483
|
bundle: zod.ZodOptional<zod.ZodObject<{
|
|
1423
1484
|
js: zod.ZodString;
|
|
1424
1485
|
css: zod.ZodString;
|
|
1486
|
+
assets: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1425
1487
|
}, "strict", zod.ZodTypeAny, {
|
|
1426
1488
|
js: string;
|
|
1427
1489
|
css: string;
|
|
1490
|
+
assets?: Record<string, string> | undefined;
|
|
1428
1491
|
}, {
|
|
1429
1492
|
js: string;
|
|
1430
1493
|
css: string;
|
|
1494
|
+
assets?: Record<string, string> | undefined;
|
|
1431
1495
|
}>>;
|
|
1432
1496
|
theme: zod.ZodOptional<zod.ZodObject<{
|
|
1433
1497
|
themeClass: zod.ZodString;
|
|
@@ -1542,9 +1606,11 @@ export declare const HOST_MODULES: {
|
|
|
1542
1606
|
}>;
|
|
1543
1607
|
manifests: Record<string, string>;
|
|
1544
1608
|
config?: Record<string, unknown> | undefined;
|
|
1609
|
+
description?: string | undefined;
|
|
1545
1610
|
bundle?: {
|
|
1546
1611
|
js: string;
|
|
1547
1612
|
css: string;
|
|
1613
|
+
assets?: Record<string, string> | undefined;
|
|
1548
1614
|
} | undefined;
|
|
1549
1615
|
theme?: {
|
|
1550
1616
|
themeClass: string;
|
|
@@ -1604,9 +1670,11 @@ export declare const HOST_MODULES: {
|
|
|
1604
1670
|
}>;
|
|
1605
1671
|
manifests: Record<string, string>;
|
|
1606
1672
|
config?: Record<string, unknown> | undefined;
|
|
1673
|
+
description?: string | undefined;
|
|
1607
1674
|
bundle?: {
|
|
1608
1675
|
js: string;
|
|
1609
1676
|
css: string;
|
|
1677
|
+
assets?: Record<string, string> | undefined;
|
|
1610
1678
|
} | undefined;
|
|
1611
1679
|
theme?: {
|
|
1612
1680
|
themeClass: string;
|
|
@@ -1636,6 +1704,8 @@ export declare const HOST_MODULES: {
|
|
|
1636
1704
|
}>;
|
|
1637
1705
|
draftSourceId: typeof spacestation.draftSourceId;
|
|
1638
1706
|
isDraftSource: typeof spacestation.isDraftSource;
|
|
1707
|
+
releasePreviewSourceId: typeof spacestation.releasePreviewSourceId;
|
|
1708
|
+
parseReleasePreview: typeof spacestation.parseReleasePreview;
|
|
1639
1709
|
LateBoundValueSchema: zod.ZodObject<{
|
|
1640
1710
|
fact: zod.ZodLiteral<true>;
|
|
1641
1711
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -5529,6 +5599,7 @@ export declare const HOST_MODULES: {
|
|
|
5529
5599
|
ProductReviewItemSchema: zod.ZodObject<{
|
|
5530
5600
|
author: zod.ZodString;
|
|
5531
5601
|
rating: zod.ZodNumber;
|
|
5602
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5532
5603
|
content: zod.ZodString;
|
|
5533
5604
|
date: zod.ZodString;
|
|
5534
5605
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5538,6 +5609,7 @@ export declare const HOST_MODULES: {
|
|
|
5538
5609
|
content: string;
|
|
5539
5610
|
rating: number;
|
|
5540
5611
|
author: string;
|
|
5612
|
+
title?: string | undefined;
|
|
5541
5613
|
verified?: boolean | undefined;
|
|
5542
5614
|
writtenFor?: string | undefined;
|
|
5543
5615
|
}, {
|
|
@@ -5545,12 +5617,14 @@ export declare const HOST_MODULES: {
|
|
|
5545
5617
|
content: string;
|
|
5546
5618
|
rating: number;
|
|
5547
5619
|
author: string;
|
|
5620
|
+
title?: string | undefined;
|
|
5548
5621
|
verified?: boolean | undefined;
|
|
5549
5622
|
writtenFor?: string | undefined;
|
|
5550
5623
|
}>;
|
|
5551
5624
|
ProductReviewHighlightSchema: zod.ZodObject<{
|
|
5552
5625
|
author: zod.ZodString;
|
|
5553
5626
|
rating: zod.ZodNumber;
|
|
5627
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5554
5628
|
content: zod.ZodString;
|
|
5555
5629
|
date: zod.ZodString;
|
|
5556
5630
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5563,6 +5637,7 @@ export declare const HOST_MODULES: {
|
|
|
5563
5637
|
content: string;
|
|
5564
5638
|
rating: number;
|
|
5565
5639
|
author: string;
|
|
5640
|
+
title?: string | undefined;
|
|
5566
5641
|
verified?: boolean | undefined;
|
|
5567
5642
|
writtenFor?: string | undefined;
|
|
5568
5643
|
highlight?: string | undefined;
|
|
@@ -5572,6 +5647,7 @@ export declare const HOST_MODULES: {
|
|
|
5572
5647
|
content: string;
|
|
5573
5648
|
rating: number;
|
|
5574
5649
|
author: string;
|
|
5650
|
+
title?: string | undefined;
|
|
5575
5651
|
verified?: boolean | undefined;
|
|
5576
5652
|
writtenFor?: string | undefined;
|
|
5577
5653
|
highlight?: string | undefined;
|
|
@@ -5592,6 +5668,7 @@ export declare const HOST_MODULES: {
|
|
|
5592
5668
|
reviews: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5593
5669
|
author: zod.ZodString;
|
|
5594
5670
|
rating: zod.ZodNumber;
|
|
5671
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5595
5672
|
content: zod.ZodString;
|
|
5596
5673
|
date: zod.ZodString;
|
|
5597
5674
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5601,6 +5678,7 @@ export declare const HOST_MODULES: {
|
|
|
5601
5678
|
content: string;
|
|
5602
5679
|
rating: number;
|
|
5603
5680
|
author: string;
|
|
5681
|
+
title?: string | undefined;
|
|
5604
5682
|
verified?: boolean | undefined;
|
|
5605
5683
|
writtenFor?: string | undefined;
|
|
5606
5684
|
}, {
|
|
@@ -5608,6 +5686,7 @@ export declare const HOST_MODULES: {
|
|
|
5608
5686
|
content: string;
|
|
5609
5687
|
rating: number;
|
|
5610
5688
|
author: string;
|
|
5689
|
+
title?: string | undefined;
|
|
5611
5690
|
verified?: boolean | undefined;
|
|
5612
5691
|
writtenFor?: string | undefined;
|
|
5613
5692
|
}>, "many">>;
|
|
@@ -5625,6 +5704,7 @@ export declare const HOST_MODULES: {
|
|
|
5625
5704
|
highlights: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5626
5705
|
author: zod.ZodString;
|
|
5627
5706
|
rating: zod.ZodNumber;
|
|
5707
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5628
5708
|
content: zod.ZodString;
|
|
5629
5709
|
date: zod.ZodString;
|
|
5630
5710
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5637,6 +5717,7 @@ export declare const HOST_MODULES: {
|
|
|
5637
5717
|
content: string;
|
|
5638
5718
|
rating: number;
|
|
5639
5719
|
author: string;
|
|
5720
|
+
title?: string | undefined;
|
|
5640
5721
|
verified?: boolean | undefined;
|
|
5641
5722
|
writtenFor?: string | undefined;
|
|
5642
5723
|
highlight?: string | undefined;
|
|
@@ -5646,6 +5727,7 @@ export declare const HOST_MODULES: {
|
|
|
5646
5727
|
content: string;
|
|
5647
5728
|
rating: number;
|
|
5648
5729
|
author: string;
|
|
5730
|
+
title?: string | undefined;
|
|
5649
5731
|
verified?: boolean | undefined;
|
|
5650
5732
|
writtenFor?: string | undefined;
|
|
5651
5733
|
highlight?: string | undefined;
|
|
@@ -5658,6 +5740,7 @@ export declare const HOST_MODULES: {
|
|
|
5658
5740
|
content: string;
|
|
5659
5741
|
rating: number;
|
|
5660
5742
|
author: string;
|
|
5743
|
+
title?: string | undefined;
|
|
5661
5744
|
verified?: boolean | undefined;
|
|
5662
5745
|
writtenFor?: string | undefined;
|
|
5663
5746
|
}[];
|
|
@@ -5671,6 +5754,7 @@ export declare const HOST_MODULES: {
|
|
|
5671
5754
|
content: string;
|
|
5672
5755
|
rating: number;
|
|
5673
5756
|
author: string;
|
|
5757
|
+
title?: string | undefined;
|
|
5674
5758
|
verified?: boolean | undefined;
|
|
5675
5759
|
writtenFor?: string | undefined;
|
|
5676
5760
|
highlight?: string | undefined;
|
|
@@ -5683,6 +5767,7 @@ export declare const HOST_MODULES: {
|
|
|
5683
5767
|
content: string;
|
|
5684
5768
|
rating: number;
|
|
5685
5769
|
author: string;
|
|
5770
|
+
title?: string | undefined;
|
|
5686
5771
|
verified?: boolean | undefined;
|
|
5687
5772
|
writtenFor?: string | undefined;
|
|
5688
5773
|
}[] | undefined;
|
|
@@ -5696,6 +5781,7 @@ export declare const HOST_MODULES: {
|
|
|
5696
5781
|
content: string;
|
|
5697
5782
|
rating: number;
|
|
5698
5783
|
author: string;
|
|
5784
|
+
title?: string | undefined;
|
|
5699
5785
|
verified?: boolean | undefined;
|
|
5700
5786
|
writtenFor?: string | undefined;
|
|
5701
5787
|
highlight?: string | undefined;
|
|
@@ -5707,6 +5793,7 @@ export declare const HOST_MODULES: {
|
|
|
5707
5793
|
reviews: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5708
5794
|
author: zod.ZodString;
|
|
5709
5795
|
rating: zod.ZodNumber;
|
|
5796
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5710
5797
|
content: zod.ZodString;
|
|
5711
5798
|
date: zod.ZodString;
|
|
5712
5799
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5716,6 +5803,7 @@ export declare const HOST_MODULES: {
|
|
|
5716
5803
|
content: string;
|
|
5717
5804
|
rating: number;
|
|
5718
5805
|
author: string;
|
|
5806
|
+
title?: string | undefined;
|
|
5719
5807
|
verified?: boolean | undefined;
|
|
5720
5808
|
writtenFor?: string | undefined;
|
|
5721
5809
|
}, {
|
|
@@ -5723,6 +5811,7 @@ export declare const HOST_MODULES: {
|
|
|
5723
5811
|
content: string;
|
|
5724
5812
|
rating: number;
|
|
5725
5813
|
author: string;
|
|
5814
|
+
title?: string | undefined;
|
|
5726
5815
|
verified?: boolean | undefined;
|
|
5727
5816
|
writtenFor?: string | undefined;
|
|
5728
5817
|
}>, "many">>;
|
|
@@ -5740,6 +5829,7 @@ export declare const HOST_MODULES: {
|
|
|
5740
5829
|
highlights: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5741
5830
|
author: zod.ZodString;
|
|
5742
5831
|
rating: zod.ZodNumber;
|
|
5832
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5743
5833
|
content: zod.ZodString;
|
|
5744
5834
|
date: zod.ZodString;
|
|
5745
5835
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5752,6 +5842,7 @@ export declare const HOST_MODULES: {
|
|
|
5752
5842
|
content: string;
|
|
5753
5843
|
rating: number;
|
|
5754
5844
|
author: string;
|
|
5845
|
+
title?: string | undefined;
|
|
5755
5846
|
verified?: boolean | undefined;
|
|
5756
5847
|
writtenFor?: string | undefined;
|
|
5757
5848
|
highlight?: string | undefined;
|
|
@@ -5761,6 +5852,7 @@ export declare const HOST_MODULES: {
|
|
|
5761
5852
|
content: string;
|
|
5762
5853
|
rating: number;
|
|
5763
5854
|
author: string;
|
|
5855
|
+
title?: string | undefined;
|
|
5764
5856
|
verified?: boolean | undefined;
|
|
5765
5857
|
writtenFor?: string | undefined;
|
|
5766
5858
|
highlight?: string | undefined;
|
|
@@ -5772,6 +5864,7 @@ export declare const HOST_MODULES: {
|
|
|
5772
5864
|
content: string;
|
|
5773
5865
|
rating: number;
|
|
5774
5866
|
author: string;
|
|
5867
|
+
title?: string | undefined;
|
|
5775
5868
|
verified?: boolean | undefined;
|
|
5776
5869
|
writtenFor?: string | undefined;
|
|
5777
5870
|
}[];
|
|
@@ -5785,6 +5878,7 @@ export declare const HOST_MODULES: {
|
|
|
5785
5878
|
content: string;
|
|
5786
5879
|
rating: number;
|
|
5787
5880
|
author: string;
|
|
5881
|
+
title?: string | undefined;
|
|
5788
5882
|
verified?: boolean | undefined;
|
|
5789
5883
|
writtenFor?: string | undefined;
|
|
5790
5884
|
highlight?: string | undefined;
|
|
@@ -5796,6 +5890,7 @@ export declare const HOST_MODULES: {
|
|
|
5796
5890
|
content: string;
|
|
5797
5891
|
rating: number;
|
|
5798
5892
|
author: string;
|
|
5893
|
+
title?: string | undefined;
|
|
5799
5894
|
verified?: boolean | undefined;
|
|
5800
5895
|
writtenFor?: string | undefined;
|
|
5801
5896
|
}[] | undefined;
|
|
@@ -5809,6 +5904,7 @@ export declare const HOST_MODULES: {
|
|
|
5809
5904
|
content: string;
|
|
5810
5905
|
rating: number;
|
|
5811
5906
|
author: string;
|
|
5907
|
+
title?: string | undefined;
|
|
5812
5908
|
verified?: boolean | undefined;
|
|
5813
5909
|
writtenFor?: string | undefined;
|
|
5814
5910
|
highlight?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import type { ComponentType, ReactNode } from 'react';
|
|
|
2
2
|
import type { AnalyticsConsent } from '../../../spacestation/src/analytics/index';
|
|
3
3
|
import type { ComponentCatalogStructural } from '../../../spacestation/src/index';
|
|
4
4
|
import type { ComponentRegistry } from '../catalog';
|
|
5
|
-
import type { ShellRegistry } from '../shell';
|
|
5
|
+
import type { ShellRegistry, TurnAskPlacement } from '../shell';
|
|
6
6
|
/**
|
|
7
7
|
* The host app's components — the whole visual vocabulary of its spacefront.
|
|
8
8
|
*
|
|
@@ -24,6 +24,8 @@ export interface HostComponents {
|
|
|
24
24
|
export interface PackageBundleModule extends HostComponents {
|
|
25
25
|
/** The brand's shell, keyed by name — `default` replaces the platform's. */
|
|
26
26
|
shells?: ShellRegistry;
|
|
27
|
+
/** `'shell'` when the brand's shell draws the turn's closing question itself (`TurnAskPlacement`). */
|
|
28
|
+
turnAsk?: TurnAskPlacement;
|
|
27
29
|
}
|
|
28
30
|
/**
|
|
29
31
|
* What a host app passes to `<Spacefront>`, and what the remote engine's root
|