enhance: サーバーのお問い合わせ先URLを設定できるように
This commit is contained in:
		| @@ -427,6 +427,10 @@ export const meta = { | ||||
| 				type: 'string', | ||||
| 				optional: false, nullable: true, | ||||
| 			}, | ||||
| 			inquiryUrl: { | ||||
| 				type: 'string', | ||||
| 				optional: false, nullable: true, | ||||
| 			}, | ||||
| 			repositoryUrl: { | ||||
| 				type: 'string', | ||||
| 				optional: false, nullable: true, | ||||
| @@ -513,6 +517,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- | ||||
| 				feedbackUrl: instance.feedbackUrl, | ||||
| 				impressumUrl: instance.impressumUrl, | ||||
| 				privacyPolicyUrl: instance.privacyPolicyUrl, | ||||
| 				inquiryUrl: instance.inquiryUrl, | ||||
| 				disableRegistration: instance.disableRegistration, | ||||
| 				emailRequiredForSignup: instance.emailRequiredForSignup, | ||||
| 				enableHcaptcha: instance.enableHcaptcha, | ||||
|   | ||||
| @@ -107,6 +107,7 @@ export const paramDef = { | ||||
| 		feedbackUrl: { type: 'string', nullable: true }, | ||||
| 		impressumUrl: { type: 'string', nullable: true }, | ||||
| 		privacyPolicyUrl: { type: 'string', nullable: true }, | ||||
| 		inquiryUrl: { type: 'string', nullable: true }, | ||||
| 		useObjectStorage: { type: 'boolean' }, | ||||
| 		objectStorageBaseUrl: { type: 'string', nullable: true }, | ||||
| 		objectStorageBucket: { type: 'string', nullable: true }, | ||||
| @@ -422,6 +423,10 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- | ||||
| 				set.privacyPolicyUrl = ps.privacyPolicyUrl; | ||||
| 			} | ||||
|  | ||||
| 			if (ps.inquiryUrl !== undefined) { | ||||
| 				set.inquiryUrl = ps.inquiryUrl; | ||||
| 			} | ||||
|  | ||||
| 			if (ps.useObjectStorage !== undefined) { | ||||
| 				set.useObjectStorage = ps.useObjectStorage; | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo