fixed slider filter

This commit is contained in:
Umar Adilov 2025-12-17 14:55:02 +05:00
parent d33a4d941a
commit 82121bac91
2 changed files with 3 additions and 2 deletions

View File

@ -96,6 +96,7 @@ export async function fetchAboutUsPageContent(): Promise<AboutUsPageData> {
taylorQueryBuilder
.selectFrom('azs')
.selectAll()
.where('foto', 'isNotEmpty')
.with({
foto: (qb) => qb.selectAll(),
}),

View File

@ -258,7 +258,7 @@ export type LinkColumnType<
export type AttachmentColumnType<R extends boolean> = ALinkColumnType<
'attachmentTable',
AttachmentColumnValue[],
Attachment[],
Attachment[] | { newIds: number[]; deletedIds: number[] } | number[],
Attachment[] | number[],
R
@ -485,7 +485,7 @@ type KomandaTable = {
zvanie: TextColumnType<false>;
};
export const OtzyvyStatusOptions = ['Опубликовано'] as const;
export const OtzyvyStatusOptions = ['Опубликовано', 'Не публиковать'] as const;
type OtzyvyTable = {
id: NumberColumnType<false>;