Add Revit initial import wizard
This commit is contained in:
@@ -14,6 +14,7 @@ import type {
|
||||
ExternalCsvConfiguration,
|
||||
ExternalCsvDialect,
|
||||
} from "../external-model/csv/external-csv-contracts";
|
||||
import type { createExternalInitialImportPlan } from "../external-model/application/external-initial-import-plan";
|
||||
|
||||
export interface ExternalCsvConfigurationSnapshotDto {
|
||||
id: string;
|
||||
@@ -51,6 +52,36 @@ export interface ExternalCsvPreviewDto {
|
||||
suspectRowNumbers: number[];
|
||||
}
|
||||
|
||||
export type ExternalInitialImportPlanDto = ReturnType<
|
||||
typeof createExternalInitialImportPlan
|
||||
>;
|
||||
|
||||
export interface ApplyExternalInitialImportInput {
|
||||
expectedRevision: number;
|
||||
expectedConfigurationVersion: number;
|
||||
expectedSha256: string;
|
||||
fileName: string;
|
||||
contentBase64: string;
|
||||
sourceName: string;
|
||||
roomDecisions: Array<{
|
||||
sourceRoomKey: string;
|
||||
roomId: string | null;
|
||||
defaultDistributionBoardId: string | null;
|
||||
}>;
|
||||
familyProjectDeviceDecisions: Array<{
|
||||
familyAndType: string;
|
||||
projectDeviceId: string | null;
|
||||
}>;
|
||||
}
|
||||
|
||||
export interface ExternalInitialImportResultDto extends ProjectCommandResultDto {
|
||||
import: {
|
||||
sourceId: string;
|
||||
importBatchId: string;
|
||||
objectCount: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ProjectDto {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user