default: ModelConstructorWithStatics< MergeManifestMethods< { camelToSnake: { createdBy: "created_by"; createdOn: "created_on"; originalLanguage: "original_language"; teamID: "team_id"; }; hasRevisions: true; schema: { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }; tableName: "blog_posts"; }, { getMostRecentBlogPosts( this: VersionedModelConstructor< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void }, never, > & { getMostRecentBlogPosts( teamID: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate?: Date; }, >; getMostRecentBlogPostsBySlug( teamSlugName: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate?: Date; }, >; getWithCreator( id: string, ): Promise< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, >; } & CreateFromRowStatic< MergeManifestMethods< { camelToSnake: { createdBy: "created_by"; createdOn: "created_on"; originalLanguage: "original_language"; teamID: "team_id"; }; hasRevisions: true; schema: { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }; tableName: "blog_posts"; }, { getMostRecentBlogPosts( teamID: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
(...)
& (...)
& (...)
& (...)
& (...)
& (...)
& (...)
)
[]; offsetDate?: Date; }, >; getMostRecentBlogPostsBySlug( teamSlugName: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
(...)
& (...)
& (...)
& (...)
& (...)
& (...)
& (...)
)
[]; offsetDate?: Date; }, >; getWithCreator( id: string, ): Promise< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, >; }, { populateUserInfo(user: UserAccessContext): void }, >, >, teamID: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate: Date; }, >; getMostRecentBlogPostsBySlug( this: VersionedModelConstructor< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void }, never, > & { getMostRecentBlogPosts( teamID: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate?: Date; }, >; getMostRecentBlogPostsBySlug( teamSlugName: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate?: Date; }, >; getWithCreator( id: string, ): Promise< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, >; } & CreateFromRowStatic< MergeManifestMethods< { camelToSnake: { createdBy: "created_by"; createdOn: "created_on"; originalLanguage: "original_language"; teamID: "team_id"; }; hasRevisions: true; schema: { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }; tableName: "blog_posts"; }, { getMostRecentBlogPosts( teamID: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
(...)
& (...)
& (...)
& (...)
& (...)
& (...)
& (...)
)
[]; offsetDate?: Date; }, >; getMostRecentBlogPostsBySlug( teamSlugName: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
(...)
& (...)
& (...)
& (...)
& (...)
& (...)
& (...)
)
[]; offsetDate?: Date; }, >; getWithCreator( id: string, ): Promise< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, >; }, { populateUserInfo(user: UserAccessContext): void }, >, >, teamSlugName: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate?: Date; }, >; getWithCreator( this: VersionedModelConstructor< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void }, never, > & { getMostRecentBlogPosts( teamID: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate?: Date; }, >; getMostRecentBlogPostsBySlug( teamSlugName: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations )
[]; offsetDate?: Date; }, >; getWithCreator( id: string, ): Promise< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, InferVirtual< { createdBy: StringType<(...)
>; createdOn: DateType<(...)
>; html: ObjectType<(...)
, (...)
>; id: StringType<(...)
>; originalLanguage: StringType<(...)
>; teamID: StringType<(...)
>; text: ObjectType<(...)
, (...)
>; title: ObjectType<(...)
, (...)
>; userCanDelete: VirtualType<(...)
, (...)
>; userCanEdit: VirtualType<(...)
, (...)
>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, > = VersionedModelInstance< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, >; } & CreateFromRowStatic< MergeManifestMethods< { camelToSnake: { createdBy: "created_by"; createdOn: "created_on"; originalLanguage: "original_language"; teamID: "team_id"; }; hasRevisions: true; schema: { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }; tableName: "blog_posts"; }, { getMostRecentBlogPosts( teamID: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
(...)
& (...)
& (...)
& (...)
& (...)
& (...)
& (...)
)
[]; offsetDate?: Date; }, >; getMostRecentBlogPostsBySlug( teamSlugName: string, options?: BlogPostFeedOptions, ): Promise< { blogPosts: (
(...)
& (...)
& (...)
& (...)
& (...)
& (...)
& (...)
)
[]; offsetDate?: Date; }, >; getWithCreator( id: string, ): Promise< InferData< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & InferVirtual< { createdBy: ...
; createdOn: ...
; html: ...
; id: ...
; originalLanguage: ...
; teamID: ...
; text: ...
; title: ...
; userCanDelete: ...
; userCanEdit: ...
; }, > & ModelInstanceCore<InferData<(...)
>, InferVirtual<(...)
>> & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; newRevision< TThis extends VersionedModelInstance<(...)
, (...)
> = VersionedModelInstance< (...)
, (...)
, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<(...)
>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, >; }, { populateUserInfo(user: UserAccessContext): void }, >, >, id: string, ): Promise< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, >; }, { populateUserInfo( this: InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, > & ModelInstanceCore< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > & RevisionFieldMap & { deleteAllRevisions< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, >, >( this: TThis, user?: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; newRevision< TThis extends VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, > = VersionedModelInstance< InferData< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, InferVirtual< { createdBy: StringType<true>; createdOn: DateType<false>; html: ObjectType<string, false>; id: StringType<false>; originalLanguage: StringType<true>; teamID: StringType<true>; text: ObjectType<string, false>; title: ObjectType<string, false>; userCanDelete: VirtualType<unknown, false>; userCanEdit: VirtualType<unknown, false>; }, >, >, >( this: TThis, user: RevisionActor, options?: RevisionMetadata, ): Promise<TThis>; } & { populateUserInfo(user: UserAccessContext): void } & BlogPostRelations, user: UserAccessContext, ): void; }, >, EmptyRecord,> = ...