Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 55eecb0

Browse files
committed
server-esm: Change export object to export default object
1 parent 2750df0 commit 55eecb0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+48
-48
lines changed

src/becca/entity_constructor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ function getEntityFromEntityName(entityName: keyof typeof ENTITY_NAME_TO_ENTITY)
3232
return ENTITY_NAME_TO_ENTITY[entityName];
3333
}
3434

35-
export = {
35+
export default {
3636
getEntityFromEntityName
3737
};

src/becca/similarity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,6 @@ function setImmediatePromise() {
461461
});
462462
}
463463

464-
export = {
464+
export default {
465465
findSimilarNotes
466466
};

src/etapi/app_info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ function register(router: Router) {
88
});
99
}
1010

11-
export = {
11+
export default {
1212
register
1313
};

src/etapi/attachments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ function register(router: Router) {
104104
});
105105
}
106106

107-
export = {
107+
export default {
108108
register
109109
};

src/etapi/attributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ function register(router: Router) {
8181
});
8282
}
8383

84-
export = {
84+
export default {
8585
register
8686
};

src/etapi/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ function register(router: Router, loginMiddleware: RequestHandler[]) {
3939
});
4040
}
4141

42-
export = {
42+
export default {
4343
register
4444
}

src/etapi/backup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ function register(router: Router) {
1111
});
1212
}
1313

14-
export = {
14+
export default {
1515
register
1616
};

src/etapi/branches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ function register(router: Router) {
8484
});
8585
}
8686

87-
export = {
87+
export default {
8888
register
8989
};

src/etapi/notes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,6 @@ function parseInteger(obj: any, name: string) {
267267
return integer;
268268
}
269269

270-
export = {
270+
export default {
271271
register
272272
};

src/etapi/spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ function register(router: Router) {
1717
});
1818
}
1919

20-
export = {
20+
export default {
2121
register
2222
};

0 commit comments

Comments
 (0)