Files
outline/server/models/index.ts
T
Tom Moor 600108bc43 feat: Document insight rollups (#12086)
* First pass

* Remove popularity changes

* Address review feedback

- Compute retention cutoff in UTC from the database rather than worker-local TZ
- Push partition predicate into rollup source CTEs to avoid full-table scans per partition

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* Anchor insight rollups to UTC and include today

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-18 08:11:15 -04:00

81 lines
2.3 KiB
TypeScript

export { default as ApiKey } from "./ApiKey";
export { default as Attachment } from "./Attachment";
export { default as AuthenticationProvider } from "./AuthenticationProvider";
export { default as Relationship } from "./Relationship";
export { default as Collection } from "./Collection";
export { default as GroupMembership } from "./GroupMembership";
export { default as UserMembership } from "./UserMembership";
export { default as Comment } from "./Comment";
export { default as Document } from "./Document";
export { default as DocumentInsight } from "./DocumentInsight";
export { default as Event } from "./Event";
export { default as ExternalGroup } from "./ExternalGroup";
export { default as FileOperation } from "./FileOperation";
export { default as Group } from "./Group";
export { default as GroupUser } from "./GroupUser";
export { default as Import } from "./Import";
export { default as ImportTask } from "./ImportTask";
export { default as Integration } from "./Integration";
export { default as IntegrationAuthentication } from "./IntegrationAuthentication";
export { default as Notification } from "./Notification";
export { default as OAuthAuthentication } from "./oauth/OAuthAuthentication";
export { default as OAuthAuthorizationCode } from "./oauth/OAuthAuthorizationCode";
export { default as OAuthClient } from "./oauth/OAuthClient";
export { default as Pin } from "./Pin";
export { default as Reaction } from "./Reaction";
export { default as Revision } from "./Revision";
export { default as SearchQuery } from "./SearchQuery";
export { default as Share } from "./Share";
export { default as ShareSubscription } from "./ShareSubscription";
export { default as Star } from "./Star";
export { default as Team } from "./Team";
export { default as TeamDomain } from "./TeamDomain";
export { default as Template } from "./Template";
export { default as User } from "./User";
export { default as UserAuthentication } from "./UserAuthentication";
export { default as View } from "./View";
export { default as WebhookSubscription } from "./WebhookSubscription";
export { default as WebhookDelivery } from "./WebhookDelivery";
export { default as Subscription } from "./Subscription";
export { default as Emoji } from "./Emoji";
export { default as UserPasskey } from "./UserPasskey";