Skip to content

Commit eeb39ed

Browse files
agviegasclaude
andcommitted
chore: update built-in types (CDE viewer panels)
Refreshes the inlined built-in component type declarations from platform_builtin-components (the extracted viewer panels + CDE built-in updates). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent cb4655d commit eeb39ed

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

src/built-in/index.ts

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ export type CDEMachineState = {
8383
kind: "idle";
8484
} | {
8585
kind: "loading";
86-
} | {
87-
kind: "uploading";
8886
} | {
8987
kind: "preparing";
9088
files: CDEFile[];
@@ -360,13 +358,30 @@ declare class _CDEManager extends OBC.Component implements OBC.Transitionable<CD
360358
files?: CDEFile[];
361359
folder?: ItemFolder;
362360
}>;
361+
readonly onUploadStarted: OBC.Event<{
362+
count: number;
363+
}>;
364+
readonly onIfcConversionStarted: OBC.Event<{
365+
file: CDEFile;
366+
}>;
367+
readonly onIfcConversionProgress: OBC.Event<{
368+
file: CDEFile;
369+
progress: number;
370+
}>;
371+
readonly onIfcConversionCompleted: OBC.Event<{
372+
file: CDEFile;
373+
success: boolean;
374+
error?: string;
375+
}>;
376+
readonly conversionProgress: Map<string, number>;
363377
enabled: boolean;
364378
projectName: string;
365379
missingMetadataPlaceholder: string;
366380
availableColumns: Set<string>;
367381
visibleColumns: Set<string>;
368382
ctx?: CDEContext;
369383
private _machineState;
384+
private _activeUploads;
370385
private _showArchived;
371386
private _preArchivedViewMode;
372387
private _archivedFiles;
@@ -469,6 +484,11 @@ declare class _CDEManager extends OBC.Component implements OBC.Transitionable<CD
469484
file: CDEFile;
470485
existing: CDEFile;
471486
}[];
487+
resolveViewFile(file: CDEFile): CDEFile;
488+
private _saveConversionIndex;
489+
private _loadConversionIndex;
490+
private _resumePendingConversions;
491+
private _triggerIfcConversions;
472492
uploadFiles(files: File[], folderId?: string | null, options?: {
473493
forceNew?: boolean;
474494
}): Promise<void>;

0 commit comments

Comments
 (0)