1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Fixing default config TAG issue

This commit is contained in:
Patrik J. Braun 2022-12-16 23:26:37 +01:00
parent 751e0dcd57
commit 2aaa362185
4 changed files with 10 additions and 10 deletions

14
package-lock.json generated
View File

@ -27,7 +27,7 @@
"sharp": "0.31.2",
"ts-exif-parser": "0.2.2",
"ts-node-iptc": "1.0.11",
"typeconfig": "2.0.25",
"typeconfig": "2.0.26",
"typeorm": "0.3.10",
"xml2js": "0.4.23"
},
@ -20825,9 +20825,9 @@
}
},
"node_modules/typeconfig": {
"version": "2.0.25",
"resolved": "https://registry.npmjs.org/typeconfig/-/typeconfig-2.0.25.tgz",
"integrity": "sha512-f9PgNmhQEI0C3ZcndHECiEvqYMSecQyqynBWhNGvgeRGqzD6Vm+QTCBv0sIUllF0S0UovwhDGRYyd4Q6XKDuzA==",
"version": "2.0.26",
"resolved": "https://registry.npmjs.org/typeconfig/-/typeconfig-2.0.26.tgz",
"integrity": "sha512-qAF+0F/Yln3V8dyjwI5G8VwihkDGG/RcAaKpK0LGmu2Lsn9qLoAIcakSm68t+9TW5owC4KLaz3h4mvBhKyColQ==",
"dependencies": {
"minimist": "1.2.7"
}
@ -38126,9 +38126,9 @@
}
},
"typeconfig": {
"version": "2.0.25",
"resolved": "https://registry.npmjs.org/typeconfig/-/typeconfig-2.0.25.tgz",
"integrity": "sha512-f9PgNmhQEI0C3ZcndHECiEvqYMSecQyqynBWhNGvgeRGqzD6Vm+QTCBv0sIUllF0S0UovwhDGRYyd4Q6XKDuzA==",
"version": "2.0.26",
"resolved": "https://registry.npmjs.org/typeconfig/-/typeconfig-2.0.26.tgz",
"integrity": "sha512-qAF+0F/Yln3V8dyjwI5G8VwihkDGG/RcAaKpK0LGmu2Lsn9qLoAIcakSm68t+9TW5owC4KLaz3h4mvBhKyColQ==",
"requires": {
"minimist": "1.2.7"
}

View File

@ -49,7 +49,7 @@
"sharp": "0.31.2",
"ts-exif-parser": "0.2.2",
"ts-node-iptc": "1.0.11",
"typeconfig": "2.0.25",
"typeconfig": "2.0.26",
"xml2js": "0.4.23",
"typeorm": "0.3.10"
},

View File

@ -112,7 +112,7 @@ export class UserConfig {
@SubConfigClass()
export class ServerDataBaseConfig {
@ConfigProperty<DatabaseType, IPrivateConfig, string>({
@ConfigProperty<DatabaseType, IPrivateConfig>({
type: DatabaseType,
onNewValue: (value, config) => {
if (config && value === DatabaseType.memory) {

View File

@ -19,7 +19,7 @@ declare namespace ServerInject {
export const ConfigInject: ClientClass;
}
export const Config: IWebConfigClass<string> & ClientClass =
export const Config: IWebConfigClass & ClientClass =
WebConfigClassBuilder.attachInterface(new ClientClass());
if (