artifactuse 0.3.2 → 0.4.1

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.
@@ -0,0 +1,3 @@
1
+ export function getMimeType(ext: any): any;
2
+ export function base64ToObjectUrl(base64: any, mimeType: any): string;
3
+ export function revokeBlobUrl(url: any): void;
@@ -140,6 +140,38 @@ export const PREVIEWABLE_LANGUAGES: string[];
140
140
  * Languages/types that open in panel (vs inline)
141
141
  */
142
142
  export const PANEL_LANGUAGES: string[];
143
+ /**
144
+ * File extensions stored as base64-encoded binary in the workspace DB.
145
+ * Used by SandboxExecutionService (_pushFiles) and WorkspaceController (ZIP download).
146
+ */
147
+ export const BINARY_EXTS: Set<string>;
148
+ export namespace BINARY_EXT_LANGUAGE {
149
+ let png: string;
150
+ let jpg: string;
151
+ let jpeg: string;
152
+ let gif: string;
153
+ let webp: string;
154
+ let ico: string;
155
+ let bmp: string;
156
+ let tiff: string;
157
+ let tif: string;
158
+ let svg: string;
159
+ let mp3: string;
160
+ let wav: string;
161
+ let ogg: string;
162
+ let flac: string;
163
+ let aac: string;
164
+ let mp4: string;
165
+ let m4a: string;
166
+ let webm: string;
167
+ let pdf: string;
168
+ let woff: string;
169
+ let woff2: string;
170
+ let ttf: string;
171
+ let eot: string;
172
+ let otf: string;
173
+ let bin: string;
174
+ }
143
175
  declare namespace _default {
144
176
  export { ARTIFACT_TYPES };
145
177
  export { PREVIEWABLE_LANGUAGES };