fix(server): on_asset_update event sends varying data types (#7179)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { FeatureFlags, IVersion } from '@app/domain';
|
||||
import { FeatureFlags, IVersion, type VersionType } from '@app/domain';
|
||||
import { ApiProperty, ApiResponseProperty } from '@nestjs/swagger';
|
||||
import type { DateTime } from 'luxon';
|
||||
import { SystemConfigThemeDto } from '../system-config/dto/system-config-theme.dto';
|
||||
|
||||
export class ServerPingResponse {
|
||||
@@ -105,3 +106,10 @@ export class ServerFeaturesDto implements FeatureFlags {
|
||||
sidecar!: boolean;
|
||||
search!: boolean;
|
||||
}
|
||||
|
||||
export interface ReleaseNotification {
|
||||
isAvailable: VersionType;
|
||||
checkedAt: DateTime<boolean> | null;
|
||||
serverVersion: ServerVersionResponseDto;
|
||||
releaseVersion: ServerVersionResponseDto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user