refactor(config): rename and re-type footer columns

This commit is contained in:
Ali BARIN
2025-03-10 12:06:13 +00:00
parent 65f5cbc330
commit be8a967ab1
12 changed files with 87 additions and 87 deletions

View File

@@ -27,13 +27,13 @@ exports[`Config model > jsonSchema should have correct validations 1`] = `
"null",
],
},
"footerDocsLink": {
"footerDocsUrl": {
"type": [
"string",
"null",
],
},
"footerImprintLink": {
"footerImprintUrl": {
"type": [
"string",
"null",
@@ -45,7 +45,7 @@ exports[`Config model > jsonSchema should have correct validations 1`] = `
"null",
],
},
"footerPrivacyPolicyLink": {
"footerPrivacyPolicyUrl": {
"type": [
"string",
"null",
@@ -57,7 +57,7 @@ exports[`Config model > jsonSchema should have correct validations 1`] = `
"null",
],
},
"footerTosLink": {
"footerTosUrl": {
"type": [
"string",
"null",

View File

@@ -21,10 +21,10 @@ class Config extends Base {
footerCopyrightText: { type: ['string', 'null'] },
footerBackgroundColor: { type: ['string', 'null'] },
footerTextColor: { type: ['string', 'null'] },
footerDocsLink: { type: ['string', 'null'] },
footerTosLink: { type: ['string', 'null'] },
footerPrivacyPolicyLink: { type: ['string', 'null'] },
footerImprintLink: { type: ['string', 'null'] },
footerDocsUrl: { type: ['string', 'null'] },
footerTosUrl: { type: ['string', 'null'] },
footerPrivacyPolicyUrl: { type: ['string', 'null'] },
footerImprintUrl: { type: ['string', 'null'] },
createdAt: { type: 'string' },
updatedAt: { type: 'string' },
},