mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
bf45e97641
* Update types * fix circular dep * type imports * lint type imports and --fix
17 lines
499 B
TypeScript
17 lines
499 B
TypeScript
import type { Integration } from "@server/models";
|
|
|
|
export default function presentIntegration(integration: Integration) {
|
|
return {
|
|
id: integration.id,
|
|
type: integration.type,
|
|
userId: integration.userId,
|
|
collectionId: integration.collectionId,
|
|
authenticationId: integration.authenticationId,
|
|
service: integration.service,
|
|
events: integration.events,
|
|
settings: integration.settings,
|
|
createdAt: integration.createdAt,
|
|
updatedAt: integration.updatedAt,
|
|
};
|
|
}
|