pigallery2-extension-kit 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/REPOSITORY.md +1 -1
  2. package/lib/backend/Logger.d.ts +1 -1
  3. package/lib/backend/ProjectPath.js +1 -1
  4. package/lib/backend/middlewares/VersionMWs.d.ts +4 -0
  5. package/lib/backend/model/database/AlbumManager.d.ts +1 -1
  6. package/lib/backend/model/database/CoverManager.d.ts +1 -1
  7. package/lib/backend/model/database/IndexingManager.d.ts +1 -0
  8. package/lib/backend/model/database/ProjectedCacheManager.d.ts +8 -0
  9. package/lib/backend/model/database/UserManager.d.ts +1 -0
  10. package/lib/backend/model/diagnostics/ConfigDiagnostics.d.ts +1 -0
  11. package/lib/backend/model/extension/ExtensionRepository.d.ts +1 -0
  12. package/lib/backend/model/extension/IExtension.d.ts +21 -0
  13. package/lib/backend/model/jobs/JobManager.d.ts +1 -1
  14. package/lib/backend/model/jobs/jobs/AlbumCoverFillingJob.d.ts +1 -0
  15. package/lib/backend/model/jobs/jobs/AlbumCoverResetJob.d.ts +1 -0
  16. package/lib/backend/model/jobs/jobs/AlbumResetJob.d.ts +1 -0
  17. package/lib/backend/model/jobs/jobs/FileJob.d.ts +1 -0
  18. package/lib/backend/model/jobs/jobs/GPXCompressionJob.d.ts +1 -0
  19. package/lib/backend/model/jobs/jobs/GPXCompressionResetJob.d.ts +1 -0
  20. package/lib/backend/model/jobs/jobs/GalleryResetJob.d.ts +1 -0
  21. package/lib/backend/model/jobs/jobs/IndexingJob.d.ts +1 -0
  22. package/lib/backend/model/jobs/jobs/Job.d.ts +1 -0
  23. package/lib/backend/model/jobs/jobs/JobProgress.d.ts +2 -1
  24. package/lib/backend/model/jobs/jobs/PhotoConvertingJob.d.ts +1 -0
  25. package/lib/backend/model/jobs/jobs/TempFolderCleaningJob.d.ts +1 -0
  26. package/lib/backend/model/jobs/jobs/TopPickSendJob.d.ts +1 -0
  27. package/lib/backend/model/jobs/jobs/VideoConvertingJob.d.ts +1 -0
  28. package/lib/common/CustomHeaders.d.ts +1 -0
  29. package/lib/common/DataStructureVersion.d.ts +1 -1
  30. package/lib/common/QueryParams.d.ts +10 -1
  31. package/lib/common/config/private/Config.js +1 -0
  32. package/lib/common/config/private/PrivateConfig.js +8 -1
  33. package/lib/common/config/private/PrivateConfigClass.d.ts +2 -0
  34. package/lib/common/config/private/PrivateConfigClass.js +7 -0
  35. package/lib/common/config/public/ClientConfig.d.ts +13 -5
  36. package/lib/common/config/public/ClientConfig.js +107 -27
  37. package/lib/common/entities/ContentWrapper.d.ts +38 -10
  38. package/lib/common/entities/ContentWrapper.js +171 -62
  39. package/lib/common/entities/Error.d.ts +1 -0
  40. package/lib/common/entities/Error.js +1 -0
  41. package/lib/common/entities/MediaDTO.d.ts +1 -0
  42. package/lib/common/entities/MediaDTO.js +6 -1
  43. package/lib/frontend/app/model/query.service.d.ts +0 -1
  44. package/lib/frontend/app/model/version.service.d.ts +5 -1
  45. package/lib/frontend/app/ui/frame/frame.component.d.ts +3 -1
  46. package/lib/frontend/app/ui/gallery/cache.gallery.service.d.ts +5 -7
  47. package/lib/frontend/app/ui/gallery/contentLoader.service.d.ts +12 -10
  48. package/lib/frontend/app/ui/gallery/gallery.service.d.ts +13 -0
  49. package/lib/frontend/app/ui/gallery/grid/grid.gallery.component.d.ts +1 -0
  50. package/lib/frontend/app/ui/gallery/lightbox/controls/controls.lightbox.gallery.component.d.ts +13 -19
  51. package/lib/frontend/app/ui/gallery/lightbox/lightbox.gallery.component.d.ts +1 -2
  52. package/lib/frontend/app/ui/gallery/lightbox/lightbox.service.d.ts +25 -4
  53. package/lib/frontend/app/ui/gallery/navigator/navigator.service.d.ts +1 -0
  54. package/lib/frontend/app/ui/gallery/photo-frame-builder/photo-frame-builder.gallery.component.d.ts +31 -0
  55. package/lib/frontend/app/ui/settings/template/settings-entry/sorting-method/sorting-method.settings-entry.component.d.ts +5 -2
  56. package/package.json +1 -1
package/REPOSITORY.md CHANGED
@@ -8,5 +8,5 @@ In case of any issue, contact the extension developer.
8
8
  |:----------------:|:-------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------:|---|
9
9
  | Sample extension | [pigallery2-sample-extension](https://github.com/bpatrik/pigallery2-sample-extension) | [REAMDE.md](https://raw.githubusercontent.com/bpatrik/pigallery2-sample-extension/main/README.md) | [main.zip](https://github.com/bpatrik/pigallery2-sample-extension/archive/refs/heads/main.zip) | |
10
10
  | DigiKam Connector for Pigallery2 | [pigallery2-extension-digikam-connector](https://github.com/mblythe86/pigallery2-extension-digikam-connector) | [README.md](https://raw.githubusercontent.com/mblythe86/pigallery2-extension-digikam-connector/main/README.md) | [main.zip](https://github.com/mblythe86/pigallery2-extension-digikam-connector/archive/refs/heads/main.zip) | |
11
- | | | | | |
11
+ | Grid Rating Overlay | [pigallery2-grid-rating-extension](https://github.com/Berschi/pigallery2-grid-rating-extension) | [README.md](https://raw.githubusercontent.com/Berschi/pigallery2-grid-rating-extension/refs/heads/main/README.md) | [main.zip](https://github.com/Berschi/pigallery2-grid-rating-extension/archive/refs/heads/main.zip) | |
12
12
  | | | | | |
@@ -17,6 +17,6 @@ export declare class Logger {
17
17
  static info(...args: LoggerArgs[]): void;
18
18
  static warn(...args: LoggerArgs[]): void;
19
19
  static error(...args: LoggerArgs[]): void;
20
- private static log;
21
20
  static logLevelForError(e: ErrorCodes): LoggerFunction;
21
+ private static log;
22
22
  }
@@ -26,7 +26,7 @@ class ProjectPathClass {
26
26
  this.FacesFolder = path.join(this.TempFolder, 'f');
27
27
  this.DBFolder = this.getAbsolutePath(this.cfg.Database.dbFolder);
28
28
  this.ExtensionFolder = this.getAbsolutePath(this.cfg.Extensions.folder);
29
- // create thumbnail folder if not exist
29
+ // create the thumbnail folder if it does not exist
30
30
  if (!fs.existsSync(this.TempFolder)) {
31
31
  fs.mkdirSync(this.TempFolder);
32
32
  }
@@ -1,5 +1,9 @@
1
1
  import { NextFunction, Request, Response } from 'express';
2
2
  export declare class VersionMWs {
3
+ /**
4
+ * This version data is mainly used to trigger page reload on the client side
5
+ */
6
+ static injectAppVersion(req: Request, res: Response, next: NextFunction): Promise<void>;
3
7
  /**
4
8
  * This version data is mainly used on the client side to invalidate the cache
5
9
  */
@@ -6,8 +6,8 @@ export declare class AlbumManager extends ProjectionAwareManager<AlbumBaseEntity
6
6
  addIfNotExistSavedSearch(name: string, searchQuery: SearchQueryDTO, lockedAlbum: boolean): Promise<void>;
7
7
  addSavedSearch(name: string, searchQuery: SearchQueryDTO, lockedAlbum?: boolean): Promise<void>;
8
8
  deleteAlbum(id: number): Promise<void>;
9
+ deleteAll(): Promise<void>;
9
10
  protected loadEntities(session: SessionContext): Promise<AlbumBaseEntity[]>;
10
11
  protected invalidateDBCache(): Promise<void>;
11
- deleteAll(): Promise<void>;
12
12
  private updateAlbums;
13
13
  }
@@ -10,7 +10,7 @@ export declare class CoverManager {
10
10
  getCoverForAlbum(session: SessionContext, album: {
11
11
  searchQuery: SearchQueryDTO;
12
12
  }): Promise<CoverPhotoDTOWithID>;
13
- getPartialDirsWithoutCovers(): Promise<{
13
+ getPartialDirsWithoutCovers(projectionKeys?: string[]): Promise<{
14
14
  id: number;
15
15
  name: string;
16
16
  path: string;
@@ -29,6 +29,7 @@ export declare class IndexingManager {
29
29
  name: string;
30
30
  mediaId: number;
31
31
  }[]): Promise<void>;
32
+ private checkSavingReady;
32
33
  private saveChunk;
33
34
  private insertChunk;
34
35
  }
@@ -7,8 +7,16 @@ import { SessionContext } from '../SessionContext';
7
7
  export declare class ProjectedCacheManager implements IObjectManager {
8
8
  init(): Promise<void>;
9
9
  onNewDataVersion(changedDir?: ParentDirectoryDTO): Promise<void>;
10
+ /**
11
+ * Includes all possible projection keys, including the default one and sharing keys too.
12
+ */
10
13
  getAllProjections(): Promise<string[]>;
11
14
  cleanupNonExistingProjections(): Promise<void>;
15
+ getCacheForDirectory(connection: Connection, session: SessionContext, dir: {
16
+ id: number;
17
+ name: string;
18
+ path: string;
19
+ }): Promise<ProjectedDirectoryCacheEntity>;
12
20
  setAndGetCacheForDirectory(connection: Connection, session: SessionContext, dir: {
13
21
  id: number;
14
22
  name: string;
@@ -9,4 +9,5 @@ export declare class UserManager {
9
9
  deleteUser(id: number): Promise<UserEntity>;
10
10
  changeRole(id: number, newRole: UserRoles): Promise<UserEntity>;
11
11
  updateSettings(id: number, settings: UserSettingsDTO): Promise<UserEntity>;
12
+ getUnAuthenticatedUser(): UserDTO;
12
13
  }
@@ -2,6 +2,7 @@ import { PrivateConfigClass } from '../../../common/config/private/PrivateConfig
2
2
  import { ClientAlbumConfig, ClientFacesConfig, ClientMapConfig, ClientMetaFileConfig, ClientPhotoConfig, ClientRandomPhotoConfig, ClientSearchConfig, ClientSharingConfig } from '../../../common/config/public/ClientConfig';
3
3
  import { ServerAlbumCoverConfig, ServerDataBaseConfig, ServerJobConfig, ServerPhotoConfig, ServerVideoConfig } from '../../../common/config/private/PrivateConfig';
4
4
  export declare class ConfigDiagnostics {
5
+ private static adjustConfigWarn;
5
6
  static testAlbumsConfig(albumConfig: ClientAlbumConfig, original: PrivateConfigClass): void;
6
7
  static checkReadWritePermission(path: string): Promise<void>;
7
8
  static testDatabase(databaseConfig: ServerDataBaseConfig): Promise<void>;
@@ -5,5 +5,6 @@ export declare class ExtensionRepository {
5
5
  private UPDATE_FREQUENCY_MS;
6
6
  getExtensionList(): Promise<ExtensionListItem[]>;
7
7
  private getUrlFromMDLink;
8
+ repoMD(text: string): ExtensionListItem[];
8
9
  fetchList(): Promise<ExtensionListItem[]>;
9
10
  }
@@ -19,6 +19,8 @@ import { DirectoryScanSettings } from '../fileaccess/DiskManager';
19
19
  import { SessionContext } from '../SessionContext';
20
20
  import { IClientMediaButtonConfig } from '../../../common/entities/extension/IClientUIConfig';
21
21
  import { MediaEntity } from '../database/enitites/MediaEntity';
22
+ import { VideoConverterInput } from '../fileaccess/VideoConverterWorker';
23
+ import { ProjectedDirectoryCacheEntity } from '../database/enitites/ProjectedDirectoryCacheEntity';
22
24
  export type IExtensionBeforeEventHandler<I extends unknown[], O> = (input: I, event: {
23
25
  stopPropagation: boolean;
24
26
  }) => Promise<I | O>;
@@ -63,6 +65,25 @@ export interface IExtensionEvents {
63
65
  * Invalidates directory covers and caches for a given directory and every parent
64
66
  */
65
67
  invalidateDirectoryCache: IExtensionEvent<[ParentDirectoryDTO], void>;
68
+ /**
69
+ * Returns the projected directory cache for a given directory
70
+ * ProjectedDirectoryCacheEntity contains information, like the number of photos, videos, etc..
71
+ */
72
+ getCacheForDirectory: IExtensionEvent<[
73
+ connection: Connection,
74
+ session: SessionContext,
75
+ dir: {
76
+ id: number;
77
+ name: string;
78
+ path: string;
79
+ }
80
+ ], ProjectedDirectoryCacheEntity>;
81
+ };
82
+ VideoConverter: {
83
+ /**
84
+ * Converts videos with ffmpeg
85
+ */
86
+ convert: IExtensionEvent<[VideoConverterInput], void>;
66
87
  };
67
88
  ImageRenderer: {
68
89
  /**
@@ -11,9 +11,9 @@ export declare class JobManager implements IJobListener, IObjectManager {
11
11
  timer: NodeJS.Timeout;
12
12
  }[];
13
13
  protected progressManager: JobProgressManager;
14
- init(): Promise<void>;
15
14
  protected get JobRunning(): boolean;
16
15
  protected get JobNoParallelRunning(): boolean;
16
+ init(): Promise<void>;
17
17
  getProgresses(): {
18
18
  [id: string]: OnTimerJobProgressDTO;
19
19
  };
@@ -10,6 +10,7 @@ export declare class AlbumCoverFillingJob extends Job {
10
10
  }[];
11
11
  status: 'Persons' | 'Albums' | 'Directory';
12
12
  private availableSessions;
13
+ get LOG_TAG(): string;
13
14
  get Supported(): boolean;
14
15
  protected init(): Promise<void>;
15
16
  protected step(): Promise<boolean>;
@@ -4,6 +4,7 @@ export declare class AlbumCoverRestJob extends Job {
4
4
  readonly Name: string;
5
5
  readonly ConfigTemplate: DynamicConfig[];
6
6
  protected readonly IsInstant = true;
7
+ get LOG_TAG(): string;
7
8
  get Supported(): boolean;
8
9
  protected init(): Promise<void>;
9
10
  protected step(): Promise<boolean>;
@@ -4,6 +4,7 @@ export declare class AlbumRestJob extends Job {
4
4
  readonly Name: string;
5
5
  readonly ConfigTemplate: DynamicConfig[];
6
6
  protected readonly IsInstant = true;
7
+ get LOG_TAG(): string;
7
8
  get Supported(): boolean;
8
9
  protected init(): Promise<void>;
9
10
  protected step(): Promise<boolean>;
@@ -20,6 +20,7 @@ export declare abstract class FileJob<S extends {
20
20
  initiated: boolean;
21
21
  };
22
22
  protected constructor(scanFilter: DirectoryScanSettings);
23
+ get LOG_TAG(): string;
23
24
  protected init(): Promise<void>;
24
25
  protected filterMediaFiles(files: FileDTO[]): Promise<FileDTO[]>;
25
26
  protected filterMetaFiles(files: FileDTO[]): Promise<FileDTO[]>;
@@ -3,6 +3,7 @@ import { FileDTO } from '../../../../common/entities/FileDTO';
3
3
  export declare class GPXCompressionJob extends FileJob {
4
4
  readonly Name: string;
5
5
  constructor();
6
+ get LOG_TAG(): string;
6
7
  protected filterMetaFiles(files: FileDTO[]): Promise<FileDTO[]>;
7
8
  get Supported(): boolean;
8
9
  protected shouldProcess(fPath: string): Promise<boolean>;
@@ -5,4 +5,5 @@ import { TempFolderCleaningJob } from './TempFolderCleaningJob';
5
5
  export declare class GPXCompressionResetJob extends TempFolderCleaningJob {
6
6
  readonly Name: string;
7
7
  protected isValidFile(filePath: string): Promise<boolean>;
8
+ get LOG_TAG(): string;
8
9
  }
@@ -4,6 +4,7 @@ export declare class GalleryRestJob extends Job {
4
4
  readonly Name: string;
5
5
  readonly ConfigTemplate: DynamicConfig[];
6
6
  protected readonly IsInstant = true;
7
+ get LOG_TAG(): string;
7
8
  get Supported(): boolean;
8
9
  protected init(): Promise<void>;
9
10
  protected step(): Promise<boolean>;
@@ -8,6 +8,7 @@ export declare class IndexingJob<S extends {
8
8
  readonly Name: string;
9
9
  directoriesToIndex: string[];
10
10
  readonly ConfigTemplate: DynamicConfig[];
11
+ get LOG_TAG(): string;
11
12
  get Supported(): boolean;
12
13
  protected init(): Promise<void>;
13
14
  protected step(): Promise<boolean>;
@@ -12,6 +12,7 @@ export declare abstract class Job<T extends Record<string, unknown> = Record<str
12
12
  private jobListener;
13
13
  private soloRun;
14
14
  set JobListener(value: IJobListener);
15
+ get LOG_TAG(): string;
15
16
  abstract get Supported(): boolean;
16
17
  abstract get Name(): string;
17
18
  abstract get ConfigTemplate(): DynamicConfig[];
@@ -2,12 +2,13 @@ import { JobProgressDTO, JobProgressLogDTO, JobProgressStates } from '../../../.
2
2
  export declare class JobProgress {
3
3
  readonly jobName: string;
4
4
  readonly HashName: string;
5
+ readonly LOG_TAG: string;
5
6
  private steps;
6
7
  private state;
7
8
  private time;
8
9
  private logCounter;
9
10
  private logs;
10
- constructor(jobName: string, HashName: string);
11
+ constructor(jobName: string, HashName: string, LOG_TAG: string);
11
12
  set OnChange(val: (progress: JobProgress) => void);
12
13
  get Skipped(): number;
13
14
  set Skipped(value: number);
@@ -7,6 +7,7 @@ export declare class PhotoConvertingJob extends FileJob<{
7
7
  }> {
8
8
  readonly Name: string;
9
9
  constructor();
10
+ get LOG_TAG(): string;
10
11
  get Supported(): boolean;
11
12
  start(config: {
12
13
  sizes?: number[];
@@ -7,6 +7,7 @@ export declare class TempFolderCleaningJob extends Job {
7
7
  directoryQueue: string[];
8
8
  private tempRootCleaned;
9
9
  protected init(): Promise<void>;
10
+ get LOG_TAG(): string;
10
11
  protected isValidFile(filePath: string): Promise<boolean>;
11
12
  protected isValidDirectory(filePath: string): Promise<boolean>;
12
13
  protected readDir(dirPath: string): Promise<string[]>;
@@ -14,6 +14,7 @@ export declare class TopPickSendJob extends Job<{
14
14
  private status;
15
15
  private mediaList;
16
16
  constructor();
17
+ get LOG_TAG(): string;
17
18
  protected init(): Promise<void>;
18
19
  protected step(): Promise<boolean>;
19
20
  private stepListing;
@@ -2,6 +2,7 @@ import { FileJob } from './FileJob';
2
2
  export declare class VideoConvertingJob extends FileJob {
3
3
  readonly Name: string;
4
4
  constructor();
5
+ get LOG_TAG(): string;
5
6
  get Supported(): boolean;
6
7
  protected shouldProcess(mPath: string): Promise<boolean>;
7
8
  protected processFile(mPath: string): Promise<void>;
@@ -1,3 +1,4 @@
1
1
  export declare class CustomHeaders {
2
2
  static dataVersion: string;
3
+ static appVersion: string;
3
4
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This version indicates that the sql/entities/*Entity.ts files got changed and the db needs to be recreated
3
3
  */
4
- export declare const DataStructureVersion = 39;
4
+ export declare const DataStructureVersion = 40;
@@ -14,11 +14,20 @@ export declare const QueryParams: {
14
14
  query: string;
15
15
  };
16
16
  photo: string;
17
- playback: string;
18
17
  sharingKey_query: string;
19
18
  sharingKey_params: string;
20
19
  directory: string;
21
20
  knownLastModified: string;
22
21
  knownLastScanned: string;
22
+ fullscreen: string;
23
+ lightbox: {
24
+ playback: string;
25
+ captionAlwaysOn: string;
26
+ facesAlwaysOn: string;
27
+ loopVideos: string;
28
+ loopSlideshow: string;
29
+ slideshowSpeed: string;
30
+ };
31
+ autoPollInterval: string;
23
32
  };
24
33
  };
@@ -11,6 +11,7 @@ try {
11
11
  pre.loadSync({ preventSaving: true });
12
12
  }
13
13
  catch (e) { /* empty */
14
+ console.error(e);
14
15
  }
15
16
  // load extension paths before full config load
16
17
  ProjectPath_1.ProjectPath.init(pre);
@@ -1068,7 +1068,14 @@ tslib_1.__decorate([
1068
1068
  uiResetNeeded: { db: true },
1069
1069
  priority: ClientConfig_1.ConfigPriority.advanced
1070
1070
  },
1071
- description: $localize `If multiple cover is available sorts them by these methods and selects the first one.`,
1071
+ constraint: {
1072
+ assert: (v, c) => {
1073
+ // random should stand on its own
1074
+ return !Array.isArray(v) || v.filter((s) => s.method == SortingMethods_1.SortByTypes.Random).length == 0 || v.length == 1;
1075
+ },
1076
+ assertReason: 'Albums.Cover.Sorting config error: Random should stand on its own. You can\'t combine random with other sorting methods.',
1077
+ },
1078
+ description: $localize `If multiple cover is available sorts them by these methods and selects the first one. Using random sorting does not allow to use any other sorting method.`,
1072
1079
  }),
1073
1080
  tslib_1.__metadata("design:type", Array)
1074
1081
  ], ServerAlbumCoverConfig.prototype, "Sorting", void 0);
@@ -1,4 +1,6 @@
1
1
  import { ServerConfig } from './PrivateConfig';
2
+ import { ClientConfig } from '../public/ClientConfig';
2
3
  export declare class PrivateConfigClass extends ServerConfig {
3
4
  constructor();
5
+ getClientConfig(): ClientConfig;
4
6
  }
@@ -35,6 +35,13 @@ let PrivateConfigClass = class PrivateConfigClass extends PrivateConfig_1.Server
35
35
  this.Environment.upTime = upTime;
36
36
  this.Environment.isDocker = !!process.env.PI_DOCKER;
37
37
  }
38
+ getClientConfig() {
39
+ return this.toJSON({
40
+ attachVolatile: true,
41
+ skipTags: { secret: true },
42
+ keepTags: { client: true }
43
+ });
44
+ }
38
45
  };
39
46
  exports.PrivateConfigClass = PrivateConfigClass;
40
47
  exports.PrivateConfigClass = PrivateConfigClass = tslib_1.__decorate([
@@ -101,6 +101,7 @@ export declare class ClientAlbumConfig {
101
101
  export declare class ClientSharingConfig {
102
102
  enabled: boolean;
103
103
  passwordRequired: boolean;
104
+ sharingKeyLength: number;
104
105
  }
105
106
  export declare class ClientRandomPhotoConfig {
106
107
  enabled: boolean;
@@ -183,13 +184,17 @@ export declare class NavBarConfig {
183
184
  SortingGrouping: NavBarSortingAndGroupingConfig;
184
185
  }
185
186
  export declare class ClientLightboxTitleConfig {
186
- topLeftTitle: LightBoxTitleTexts;
187
- topLeftSubtitle: LightBoxTitleTexts;
188
- bottomLeftTitle: LightBoxTitleTexts;
189
- bottomLeftSubtitle: LightBoxTitleTexts;
187
+ topLeftTitle: LightBoxTitleTexts[];
188
+ topLeftSubtitle: LightBoxTitleTexts[];
189
+ bottomLeftTitle: LightBoxTitleTexts[];
190
+ bottomLeftSubtitle: LightBoxTitleTexts[];
191
+ }
192
+ export declare class AutoUpdateConfig {
193
+ enable: boolean;
194
+ interval: number;
190
195
  }
191
196
  export declare class ClientLightboxConfig {
192
- defaultSlideshowSpeed: number;
197
+ slideshowSpeed: number;
193
198
  captionAlwaysOn: boolean;
194
199
  facesAlwaysOn: boolean;
195
200
  loopVideos: boolean;
@@ -221,6 +226,7 @@ export declare class ClientGalleryConfig {
221
226
  Themes: ThemesConfig;
222
227
  InlineBlogStartsOpen: boolean;
223
228
  TopBlogStartsOpen: boolean;
229
+ AutoUpdate: AutoUpdateConfig;
224
230
  }
225
231
  export declare class ClientVideoConfig {
226
232
  enabled: boolean;
@@ -232,6 +238,7 @@ export declare class ClientPhotoConfig {
232
238
  personThumbnailSize: number;
233
239
  thumbnailSizes: number[];
234
240
  concurrentThumbnailGenerations: number;
241
+ concurrentThumbnailGenerationsLimit: number;
235
242
  supportedFormats: string[];
236
243
  /**
237
244
  * Generates a map for bitwise operation from icon and normal thumbnails
@@ -275,6 +282,7 @@ export declare class ClientServiceConfig {
275
282
  languages: string[] | undefined;
276
283
  customHTMLHead: string;
277
284
  svgIcon: SVGIconConfig;
285
+ reloadClientOnServerUpdate: boolean;
278
286
  }
279
287
  export declare class ClientUserConfig {
280
288
  authenticationRequired: boolean;