@lumiastream/ui 0.2.8-alpha.16 → 0.2.8-alpha.18
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 +473 -376
- package/dist/se-import.d.ts +7 -2
- package/dist/se-import.js +472 -375
- package/package.json +5 -2
package/dist/se-import.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ interface SECss {
|
|
|
116
116
|
opacity?: number;
|
|
117
117
|
top?: string | number;
|
|
118
118
|
left?: string | number;
|
|
119
|
+
transform?: string;
|
|
119
120
|
}
|
|
120
121
|
interface SEText {
|
|
121
122
|
type?: string;
|
|
@@ -179,6 +180,11 @@ interface AssetMirrorProgress {
|
|
|
179
180
|
* function is intentionally single-shot. Pass `signal` (AbortSignal) to abort
|
|
180
181
|
* the source-side `fetch` when the modal closes mid-mirror — the upload itself
|
|
181
182
|
* is consumer-defined and the caller decides whether/how to short-circuit it.
|
|
183
|
+
*
|
|
184
|
+
* Bails out with a typed error if the SE server advertises a Content-Length
|
|
185
|
+
* over MAX_MIRROR_ASSET_BYTES (cheap pre-check) or if the downloaded blob
|
|
186
|
+
* exceeds the same cap (covers chunked responses where Content-Length is
|
|
187
|
+
* absent or lying).
|
|
182
188
|
*/
|
|
183
189
|
declare function mirrorOneAsset(url: string, upload: (file: File) => Promise<{
|
|
184
190
|
asset: {
|
|
@@ -208,7 +214,6 @@ declare const SE_WIDGET_TO_MARKETPLACE_CANDIDATES: Record<string, number[]>;
|
|
|
208
214
|
declare function getMarketplaceCandidates(seWidgetType: string): number[];
|
|
209
215
|
declare function hasMarketplaceCandidates(seWidgetType: string): boolean;
|
|
210
216
|
|
|
211
|
-
declare const SE_IMPORT_FLAGS: {};
|
|
212
217
|
declare function isWidgetFlaggedOff(_seType: string): boolean;
|
|
213
218
|
declare const FLAG_OFF_REASONS: Record<string, string>;
|
|
214
219
|
|
|
@@ -406,4 +411,4 @@ declare function buildAIPromptForSEWidget(widget: SEWidget, canvas?: {
|
|
|
406
411
|
height: number;
|
|
407
412
|
}): string;
|
|
408
413
|
|
|
409
|
-
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,
|
|
414
|
+
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 };
|