@40rty/ams-sdk 0.3.2 → 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 +6625 -6178
- 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 +211 -122
- package/dist/types/sdk/src/host/types.d.ts +3 -1
- package/dist/types/sdk/src/index.d.ts +2 -5
- 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/wire/package-release.d.ts +8 -1
- package/dist/types/spacestation/src/index.d.ts +1 -0
- 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,121 +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;
|
|
445
|
-
SpacefrontPreviewProvider: typeof sdk.SpacefrontPreviewProvider;
|
|
455
|
+
useContentActions: typeof sdk.useContentActions;
|
|
446
456
|
UIElementSchema: zod.ZodObject<{
|
|
447
457
|
type: zod.ZodString;
|
|
448
458
|
props: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
@@ -1099,6 +1109,54 @@ export declare const HOST_MODULES: {
|
|
|
1099
1109
|
EXTEND_FLOW: "extend.status";
|
|
1100
1110
|
DIRECTION_FLOW: "direction.standing";
|
|
1101
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;
|
|
1102
1160
|
PRESENCE_FACT_DISMISS_SIGNAL: "presence.fact_dismissed";
|
|
1103
1161
|
PRESENCE_CANVAS_REFRESH_SIGNAL: "presence.canvas_refresh";
|
|
1104
1162
|
VISITOR_NAME_SIGNAL: "visitor.name_stated";
|
|
@@ -1425,12 +1483,15 @@ export declare const HOST_MODULES: {
|
|
|
1425
1483
|
bundle: zod.ZodOptional<zod.ZodObject<{
|
|
1426
1484
|
js: zod.ZodString;
|
|
1427
1485
|
css: zod.ZodString;
|
|
1486
|
+
assets: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
1428
1487
|
}, "strict", zod.ZodTypeAny, {
|
|
1429
1488
|
js: string;
|
|
1430
1489
|
css: string;
|
|
1490
|
+
assets?: Record<string, string> | undefined;
|
|
1431
1491
|
}, {
|
|
1432
1492
|
js: string;
|
|
1433
1493
|
css: string;
|
|
1494
|
+
assets?: Record<string, string> | undefined;
|
|
1434
1495
|
}>>;
|
|
1435
1496
|
theme: zod.ZodOptional<zod.ZodObject<{
|
|
1436
1497
|
themeClass: zod.ZodString;
|
|
@@ -1549,6 +1610,7 @@ export declare const HOST_MODULES: {
|
|
|
1549
1610
|
bundle?: {
|
|
1550
1611
|
js: string;
|
|
1551
1612
|
css: string;
|
|
1613
|
+
assets?: Record<string, string> | undefined;
|
|
1552
1614
|
} | undefined;
|
|
1553
1615
|
theme?: {
|
|
1554
1616
|
themeClass: string;
|
|
@@ -1612,6 +1674,7 @@ export declare const HOST_MODULES: {
|
|
|
1612
1674
|
bundle?: {
|
|
1613
1675
|
js: string;
|
|
1614
1676
|
css: string;
|
|
1677
|
+
assets?: Record<string, string> | undefined;
|
|
1615
1678
|
} | undefined;
|
|
1616
1679
|
theme?: {
|
|
1617
1680
|
themeClass: string;
|
|
@@ -5536,6 +5599,7 @@ export declare const HOST_MODULES: {
|
|
|
5536
5599
|
ProductReviewItemSchema: zod.ZodObject<{
|
|
5537
5600
|
author: zod.ZodString;
|
|
5538
5601
|
rating: zod.ZodNumber;
|
|
5602
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5539
5603
|
content: zod.ZodString;
|
|
5540
5604
|
date: zod.ZodString;
|
|
5541
5605
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5545,6 +5609,7 @@ export declare const HOST_MODULES: {
|
|
|
5545
5609
|
content: string;
|
|
5546
5610
|
rating: number;
|
|
5547
5611
|
author: string;
|
|
5612
|
+
title?: string | undefined;
|
|
5548
5613
|
verified?: boolean | undefined;
|
|
5549
5614
|
writtenFor?: string | undefined;
|
|
5550
5615
|
}, {
|
|
@@ -5552,12 +5617,14 @@ export declare const HOST_MODULES: {
|
|
|
5552
5617
|
content: string;
|
|
5553
5618
|
rating: number;
|
|
5554
5619
|
author: string;
|
|
5620
|
+
title?: string | undefined;
|
|
5555
5621
|
verified?: boolean | undefined;
|
|
5556
5622
|
writtenFor?: string | undefined;
|
|
5557
5623
|
}>;
|
|
5558
5624
|
ProductReviewHighlightSchema: zod.ZodObject<{
|
|
5559
5625
|
author: zod.ZodString;
|
|
5560
5626
|
rating: zod.ZodNumber;
|
|
5627
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5561
5628
|
content: zod.ZodString;
|
|
5562
5629
|
date: zod.ZodString;
|
|
5563
5630
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5570,6 +5637,7 @@ export declare const HOST_MODULES: {
|
|
|
5570
5637
|
content: string;
|
|
5571
5638
|
rating: number;
|
|
5572
5639
|
author: string;
|
|
5640
|
+
title?: string | undefined;
|
|
5573
5641
|
verified?: boolean | undefined;
|
|
5574
5642
|
writtenFor?: string | undefined;
|
|
5575
5643
|
highlight?: string | undefined;
|
|
@@ -5579,6 +5647,7 @@ export declare const HOST_MODULES: {
|
|
|
5579
5647
|
content: string;
|
|
5580
5648
|
rating: number;
|
|
5581
5649
|
author: string;
|
|
5650
|
+
title?: string | undefined;
|
|
5582
5651
|
verified?: boolean | undefined;
|
|
5583
5652
|
writtenFor?: string | undefined;
|
|
5584
5653
|
highlight?: string | undefined;
|
|
@@ -5599,6 +5668,7 @@ export declare const HOST_MODULES: {
|
|
|
5599
5668
|
reviews: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5600
5669
|
author: zod.ZodString;
|
|
5601
5670
|
rating: zod.ZodNumber;
|
|
5671
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5602
5672
|
content: zod.ZodString;
|
|
5603
5673
|
date: zod.ZodString;
|
|
5604
5674
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5608,6 +5678,7 @@ export declare const HOST_MODULES: {
|
|
|
5608
5678
|
content: string;
|
|
5609
5679
|
rating: number;
|
|
5610
5680
|
author: string;
|
|
5681
|
+
title?: string | undefined;
|
|
5611
5682
|
verified?: boolean | undefined;
|
|
5612
5683
|
writtenFor?: string | undefined;
|
|
5613
5684
|
}, {
|
|
@@ -5615,6 +5686,7 @@ export declare const HOST_MODULES: {
|
|
|
5615
5686
|
content: string;
|
|
5616
5687
|
rating: number;
|
|
5617
5688
|
author: string;
|
|
5689
|
+
title?: string | undefined;
|
|
5618
5690
|
verified?: boolean | undefined;
|
|
5619
5691
|
writtenFor?: string | undefined;
|
|
5620
5692
|
}>, "many">>;
|
|
@@ -5632,6 +5704,7 @@ export declare const HOST_MODULES: {
|
|
|
5632
5704
|
highlights: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5633
5705
|
author: zod.ZodString;
|
|
5634
5706
|
rating: zod.ZodNumber;
|
|
5707
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5635
5708
|
content: zod.ZodString;
|
|
5636
5709
|
date: zod.ZodString;
|
|
5637
5710
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5644,6 +5717,7 @@ export declare const HOST_MODULES: {
|
|
|
5644
5717
|
content: string;
|
|
5645
5718
|
rating: number;
|
|
5646
5719
|
author: string;
|
|
5720
|
+
title?: string | undefined;
|
|
5647
5721
|
verified?: boolean | undefined;
|
|
5648
5722
|
writtenFor?: string | undefined;
|
|
5649
5723
|
highlight?: string | undefined;
|
|
@@ -5653,6 +5727,7 @@ export declare const HOST_MODULES: {
|
|
|
5653
5727
|
content: string;
|
|
5654
5728
|
rating: number;
|
|
5655
5729
|
author: string;
|
|
5730
|
+
title?: string | undefined;
|
|
5656
5731
|
verified?: boolean | undefined;
|
|
5657
5732
|
writtenFor?: string | undefined;
|
|
5658
5733
|
highlight?: string | undefined;
|
|
@@ -5665,6 +5740,7 @@ export declare const HOST_MODULES: {
|
|
|
5665
5740
|
content: string;
|
|
5666
5741
|
rating: number;
|
|
5667
5742
|
author: string;
|
|
5743
|
+
title?: string | undefined;
|
|
5668
5744
|
verified?: boolean | undefined;
|
|
5669
5745
|
writtenFor?: string | undefined;
|
|
5670
5746
|
}[];
|
|
@@ -5678,6 +5754,7 @@ export declare const HOST_MODULES: {
|
|
|
5678
5754
|
content: string;
|
|
5679
5755
|
rating: number;
|
|
5680
5756
|
author: string;
|
|
5757
|
+
title?: string | undefined;
|
|
5681
5758
|
verified?: boolean | undefined;
|
|
5682
5759
|
writtenFor?: string | undefined;
|
|
5683
5760
|
highlight?: string | undefined;
|
|
@@ -5690,6 +5767,7 @@ export declare const HOST_MODULES: {
|
|
|
5690
5767
|
content: string;
|
|
5691
5768
|
rating: number;
|
|
5692
5769
|
author: string;
|
|
5770
|
+
title?: string | undefined;
|
|
5693
5771
|
verified?: boolean | undefined;
|
|
5694
5772
|
writtenFor?: string | undefined;
|
|
5695
5773
|
}[] | undefined;
|
|
@@ -5703,6 +5781,7 @@ export declare const HOST_MODULES: {
|
|
|
5703
5781
|
content: string;
|
|
5704
5782
|
rating: number;
|
|
5705
5783
|
author: string;
|
|
5784
|
+
title?: string | undefined;
|
|
5706
5785
|
verified?: boolean | undefined;
|
|
5707
5786
|
writtenFor?: string | undefined;
|
|
5708
5787
|
highlight?: string | undefined;
|
|
@@ -5714,6 +5793,7 @@ export declare const HOST_MODULES: {
|
|
|
5714
5793
|
reviews: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5715
5794
|
author: zod.ZodString;
|
|
5716
5795
|
rating: zod.ZodNumber;
|
|
5796
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5717
5797
|
content: zod.ZodString;
|
|
5718
5798
|
date: zod.ZodString;
|
|
5719
5799
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5723,6 +5803,7 @@ export declare const HOST_MODULES: {
|
|
|
5723
5803
|
content: string;
|
|
5724
5804
|
rating: number;
|
|
5725
5805
|
author: string;
|
|
5806
|
+
title?: string | undefined;
|
|
5726
5807
|
verified?: boolean | undefined;
|
|
5727
5808
|
writtenFor?: string | undefined;
|
|
5728
5809
|
}, {
|
|
@@ -5730,6 +5811,7 @@ export declare const HOST_MODULES: {
|
|
|
5730
5811
|
content: string;
|
|
5731
5812
|
rating: number;
|
|
5732
5813
|
author: string;
|
|
5814
|
+
title?: string | undefined;
|
|
5733
5815
|
verified?: boolean | undefined;
|
|
5734
5816
|
writtenFor?: string | undefined;
|
|
5735
5817
|
}>, "many">>;
|
|
@@ -5747,6 +5829,7 @@ export declare const HOST_MODULES: {
|
|
|
5747
5829
|
highlights: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
5748
5830
|
author: zod.ZodString;
|
|
5749
5831
|
rating: zod.ZodNumber;
|
|
5832
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
5750
5833
|
content: zod.ZodString;
|
|
5751
5834
|
date: zod.ZodString;
|
|
5752
5835
|
verified: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5759,6 +5842,7 @@ export declare const HOST_MODULES: {
|
|
|
5759
5842
|
content: string;
|
|
5760
5843
|
rating: number;
|
|
5761
5844
|
author: string;
|
|
5845
|
+
title?: string | undefined;
|
|
5762
5846
|
verified?: boolean | undefined;
|
|
5763
5847
|
writtenFor?: string | undefined;
|
|
5764
5848
|
highlight?: string | undefined;
|
|
@@ -5768,6 +5852,7 @@ export declare const HOST_MODULES: {
|
|
|
5768
5852
|
content: string;
|
|
5769
5853
|
rating: number;
|
|
5770
5854
|
author: string;
|
|
5855
|
+
title?: string | undefined;
|
|
5771
5856
|
verified?: boolean | undefined;
|
|
5772
5857
|
writtenFor?: string | undefined;
|
|
5773
5858
|
highlight?: string | undefined;
|
|
@@ -5779,6 +5864,7 @@ export declare const HOST_MODULES: {
|
|
|
5779
5864
|
content: string;
|
|
5780
5865
|
rating: number;
|
|
5781
5866
|
author: string;
|
|
5867
|
+
title?: string | undefined;
|
|
5782
5868
|
verified?: boolean | undefined;
|
|
5783
5869
|
writtenFor?: string | undefined;
|
|
5784
5870
|
}[];
|
|
@@ -5792,6 +5878,7 @@ export declare const HOST_MODULES: {
|
|
|
5792
5878
|
content: string;
|
|
5793
5879
|
rating: number;
|
|
5794
5880
|
author: string;
|
|
5881
|
+
title?: string | undefined;
|
|
5795
5882
|
verified?: boolean | undefined;
|
|
5796
5883
|
writtenFor?: string | undefined;
|
|
5797
5884
|
highlight?: string | undefined;
|
|
@@ -5803,6 +5890,7 @@ export declare const HOST_MODULES: {
|
|
|
5803
5890
|
content: string;
|
|
5804
5891
|
rating: number;
|
|
5805
5892
|
author: string;
|
|
5893
|
+
title?: string | undefined;
|
|
5806
5894
|
verified?: boolean | undefined;
|
|
5807
5895
|
writtenFor?: string | undefined;
|
|
5808
5896
|
}[] | undefined;
|
|
@@ -5816,6 +5904,7 @@ export declare const HOST_MODULES: {
|
|
|
5816
5904
|
content: string;
|
|
5817
5905
|
rating: number;
|
|
5818
5906
|
author: string;
|
|
5907
|
+
title?: string | undefined;
|
|
5819
5908
|
verified?: boolean | undefined;
|
|
5820
5909
|
writtenFor?: string | undefined;
|
|
5821
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
|
|
@@ -4,19 +4,16 @@ export * from './shell';
|
|
|
4
4
|
export * from './provider';
|
|
5
5
|
export * from './canvas';
|
|
6
6
|
export * from './catalog';
|
|
7
|
-
export * from './commerce';
|
|
8
7
|
export * from './widgets/presence';
|
|
9
8
|
export * from './chat';
|
|
10
9
|
export * from './projection';
|
|
11
|
-
export * from './content';
|
|
12
|
-
export * from './social';
|
|
13
|
-
export * from './shared';
|
|
14
|
-
export * from './animation';
|
|
15
10
|
export * from './rendering';
|
|
16
11
|
export * from './interaction';
|
|
17
12
|
export * from './voice';
|
|
18
13
|
export * from './utils';
|
|
19
14
|
export * from './client-state';
|
|
20
15
|
export * from './preview';
|
|
16
|
+
export * from './verticals/commerce';
|
|
17
|
+
export * from './verticals/content';
|
|
21
18
|
export * from '../../spacestation/src/index';
|
|
22
19
|
export * from '../../ecommerce/src/index';
|