@lumiastream/ui 0.2.8-alpha.29 → 0.2.8-alpha.30
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.d.ts +1 -1
- package/dist/index.js +1032 -551
- package/dist/se-import.d.ts +24 -4
- package/dist/se-import.js +1032 -551
- package/package.json +134 -134
package/dist/se-import.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ interface SEOverlay {
|
|
|
82
82
|
channel?: string;
|
|
83
83
|
type?: string;
|
|
84
84
|
name?: string;
|
|
85
|
+
preview?: string;
|
|
85
86
|
settings: {
|
|
86
87
|
width: number;
|
|
87
88
|
height: number;
|
|
@@ -278,6 +279,21 @@ interface SEUsersCurrentResponse {
|
|
|
278
279
|
channels: SEChannelSummary[];
|
|
279
280
|
}
|
|
280
281
|
declare function fetchUsableChannels(client: SEClient): Promise<SEChannelSummary[]>;
|
|
282
|
+
interface SEOverlaySummary {
|
|
283
|
+
_id: string;
|
|
284
|
+
name?: string;
|
|
285
|
+
type?: string;
|
|
286
|
+
preview?: string;
|
|
287
|
+
favorite?: boolean;
|
|
288
|
+
createdAt?: string;
|
|
289
|
+
updatedAt?: string;
|
|
290
|
+
settings?: {
|
|
291
|
+
width?: number;
|
|
292
|
+
height?: number;
|
|
293
|
+
name?: string;
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
declare function fetchSEOverlays(client: SEClient, count?: number): Promise<SEOverlaySummary[]>;
|
|
281
297
|
declare function fetchSEFiltersRaw(client: SEClient): Promise<unknown>;
|
|
282
298
|
interface SEAuthProbeResult {
|
|
283
299
|
endpoint: string;
|
|
@@ -313,6 +329,8 @@ interface SEUploadAssetResult {
|
|
|
313
329
|
interface SESaveOverlayBody {
|
|
314
330
|
name: string;
|
|
315
331
|
description?: string;
|
|
332
|
+
image?: string;
|
|
333
|
+
images?: string[];
|
|
316
334
|
settings: OverlayState['settings'];
|
|
317
335
|
}
|
|
318
336
|
interface SEImportBindings {
|
|
@@ -349,8 +367,10 @@ interface SEImportWizardProps {
|
|
|
349
367
|
bindings: SEImportBindings;
|
|
350
368
|
initialUrl?: string;
|
|
351
369
|
initialJwt?: string;
|
|
370
|
+
initialOverlayIds?: string[];
|
|
371
|
+
initialOverlayList?: SEOverlaySummary[];
|
|
352
372
|
}
|
|
353
|
-
declare function SEImportWizard({ bindings, initialUrl, initialJwt, }: SEImportWizardProps): react_jsx_runtime.JSX.Element;
|
|
373
|
+
declare function SEImportWizard({ bindings, initialUrl, initialJwt, initialOverlayIds, initialOverlayList, }: SEImportWizardProps): react_jsx_runtime.JSX.Element;
|
|
354
374
|
|
|
355
375
|
interface MarketplacePickerProps {
|
|
356
376
|
seWidgetType: string;
|
|
@@ -384,7 +404,7 @@ declare function extractSEPreviewParts(input: string): {
|
|
|
384
404
|
apikey: string | null;
|
|
385
405
|
} | null;
|
|
386
406
|
declare function buildBootstrapUrl(overlayId: string): string;
|
|
387
|
-
declare function fetchSEBootstrap({ overlayId, apikey }: {
|
|
407
|
+
declare function fetchSEBootstrap({ overlayId, apikey, }: {
|
|
388
408
|
overlayId: string;
|
|
389
409
|
apikey: string | null;
|
|
390
410
|
}): Promise<SEBootstrapResponse>;
|
|
@@ -398,7 +418,7 @@ interface AIGeneratedCustomOverlay {
|
|
|
398
418
|
data?: unknown;
|
|
399
419
|
configs?: unknown;
|
|
400
420
|
}
|
|
401
|
-
declare function applyReviewAction(result: ImportResult, moduleId: string, action:
|
|
421
|
+
declare function applyReviewAction(result: ImportResult, moduleId: string, action: "keep" | "skip" | "ai" | "marketplace", payload?: AIGeneratedCustomOverlay | {
|
|
402
422
|
layer: OverlayLayerState;
|
|
403
423
|
module: OverlayModuleState;
|
|
404
424
|
extras?: Array<{
|
|
@@ -418,4 +438,4 @@ declare function buildAIPromptForSEWidget(widget: SEWidget, canvas?: {
|
|
|
418
438
|
height: number;
|
|
419
439
|
}): string;
|
|
420
440
|
|
|
421
|
-
export { type AIGeneratedCustomOverlay, type AssetMirrorProgress, FLAG_OFF_REASONS, type ImportCoverage, type ImportResult, JWT_DASHBOARD_URL, type JwtInstructionStep, MarketplacePicker, type MarketplacePickerProps, type ModuleType, type OverlayLayerBounds, type OverlayLayerState, type OverlayLayerType, type OverlayModuleAlertState, type OverlayModuleState, type OverlaySettings, type OverlayState, type ReviewItem, type SEAccountClaims, type SEAuthDiagnostic, SEAuthError, type SEAuthErrorCode, type SEAuthMode, type SEAuthProbeResult, type SEBootstrapResponse, type SEChannelSummary, SEClient, type SECustomEmbedProps, type SEExistingAsset, type SEImportBindings, SEImportWizard, type SEImportWizardProps, type SESaveOverlayBody, type SEUploadAssetResult, type SEUsersCurrentResponse, type SEWidget, SE_WIDGET_TO_MARKETPLACE_CANDIDATES, type TransplantedUnit, applyReviewAction, buildAIPromptForSEWidget, buildBootstrapUrl, decodeJwtPayload, diagnoseSEAuth, extractSEOverlayId, extractSEPreviewParts, fetchSEBootstrap, fetchSEFiltersRaw, fetchUsableChannels, filenameFromURL, findSEAssetURLs, getAILandingBounds, getJwtInstructionSteps, getMarketplaceCandidates, hasMarketplaceCandidates, importSEBootstrap, isSEBootstrap, isWidgetFlaggedOff, listTransplantableLayers, mirrorOneAsset, rewriteAssetURLs, streamElementsCopyJwt, transplantLayer };
|
|
441
|
+
export { type AIGeneratedCustomOverlay, type AssetMirrorProgress, FLAG_OFF_REASONS, type ImportCoverage, type ImportResult, JWT_DASHBOARD_URL, type JwtInstructionStep, MarketplacePicker, type MarketplacePickerProps, type ModuleType, type OverlayLayerBounds, type OverlayLayerState, type OverlayLayerType, type OverlayModuleAlertState, type OverlayModuleState, type OverlaySettings, type OverlayState, type ReviewItem, type SEAccountClaims, type SEAuthDiagnostic, SEAuthError, type SEAuthErrorCode, type SEAuthMode, type SEAuthProbeResult, type SEBootstrapResponse, type SEChannelSummary, SEClient, type SECustomEmbedProps, type SEExistingAsset, type SEImportBindings, SEImportWizard, type SEImportWizardProps, type SEOverlaySummary, type SESaveOverlayBody, type SEUploadAssetResult, type SEUsersCurrentResponse, type SEWidget, SE_WIDGET_TO_MARKETPLACE_CANDIDATES, type TransplantedUnit, applyReviewAction, buildAIPromptForSEWidget, buildBootstrapUrl, decodeJwtPayload, diagnoseSEAuth, extractSEOverlayId, extractSEPreviewParts, fetchSEBootstrap, fetchSEFiltersRaw, fetchSEOverlays, fetchUsableChannels, filenameFromURL, findSEAssetURLs, getAILandingBounds, getJwtInstructionSteps, getMarketplaceCandidates, hasMarketplaceCandidates, importSEBootstrap, isSEBootstrap, isWidgetFlaggedOff, listTransplantableLayers, mirrorOneAsset, rewriteAssetURLs, streamElementsCopyJwt, transplantLayer };
|