Skip to content

Commit 84e8016

Browse files
authored
chore(data-modeling): change file extension COMPASS-9623 (#7148)
change file extension
1 parent 2b3a527 commit 84e8016

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/compass-data-modeling/src/components/import-diagram-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const ImportDiagramButton = ({
1717
id="import-diagram-file-input"
1818
data-testid="import-diagram-file-input"
1919
multiple={false}
20-
accept=".compass"
20+
accept=".mdm"
2121
onSelect={(files) => {
2222
if (files.length === 0) {
2323
return;

packages/compass-data-modeling/src/services/open-and-download-diagram.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function downloadDiagram(fileName: string, edits: Edit[]) {
1414
}
1515
);
1616
const url = window.URL.createObjectURL(blob);
17-
downloadFile(url, `${fileName}.compass`, () => {
17+
downloadFile(url, `${fileName}.mdm`, () => {
1818
window.URL.revokeObjectURL(url);
1919
});
2020
}

packages/compass-e2e-tests/tests/data-modeling-tab.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ describe('Data Modeling tab', function () {
388388

389389
it('exports the data model to compass format and imports it back', async function () {
390390
const dataModelName = 'Test Export Model - Save-Open';
391-
exportFileName = `${dataModelName}.compass`;
391+
exportFileName = `${dataModelName}.mdm`;
392392
await setupDiagram(browser, {
393393
diagramName: dataModelName,
394394
connectionName: DEFAULT_CONNECTION_NAME_1,

0 commit comments

Comments
 (0)