feat(config): add customizable footer
This commit is contained in:
@@ -6,12 +6,63 @@ exports[`Config model > jsonSchema should have correct validations 1`] = `
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
},
|
||||
"enableFooter": {
|
||||
"type": "boolean",
|
||||
},
|
||||
"enableTemplates": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerBackgroundColor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerCopyrightText": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerDocsLink": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerImprintLink": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerLogoSvgData": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerPrivacyPolicyLink": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerTextColor": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"footerTosLink": {
|
||||
"type": [
|
||||
"string",
|
||||
"null",
|
||||
],
|
||||
},
|
||||
"id": {
|
||||
"format": "uuid",
|
||||
"type": "string",
|
||||
|
||||
@@ -16,6 +16,15 @@ class Config extends Base {
|
||||
palettePrimaryMain: { type: ['string', 'null'] },
|
||||
title: { type: ['string', 'null'] },
|
||||
enableTemplates: { type: ['boolean', 'null'] },
|
||||
enableFooter: { type: 'boolean' },
|
||||
footerLogoSvgData: { type: ['string', 'null'] },
|
||||
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'] },
|
||||
createdAt: { type: 'string' },
|
||||
updatedAt: { type: 'string' },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user