config.ts 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. // /@types/config.ts
  2. export default interface Config {
  3. basic: BasicForm;
  4. meta: MetaForm;
  5. company: CompanyForm;
  6. account: AccountForm;
  7. emailTemplate: EmailTemplate;
  8. }
  9. export interface BasicForm {
  10. siteName: string|null;
  11. smtpServer: string|null;
  12. smtpPort: number|null;
  13. smtpEnableSSL: string|null; // 'Y'|'N' 가능
  14. smtpUsername: string|null;
  15. smtpPassword: string|null;
  16. isMaintenance: string|null; // '0'|'1' 가능
  17. }
  18. export interface MetaForm {
  19. metaKeyword?: string|null;
  20. metaDescription?: string|null;
  21. metaAuthor?: string|null;
  22. metaViewport?: string|null;
  23. metaApplicationName?: string|null;
  24. metaGenerator?: string|null;
  25. metaRobots?: string|null;
  26. metaAdds?: string|null;
  27. }
  28. export interface CompanyForm {
  29. companyName: string|null;
  30. companyRegNo: string|null;
  31. companyOwner: string|null;
  32. companyTel: string|null;
  33. companyFax: string|null;
  34. companyRetailSaleNo: string|null;
  35. companyAddedSaleNo: string|null;
  36. companyZipCode: string|null;
  37. companyHosting: string|null;
  38. companyAdminName: string|null;
  39. companyAdminEmail: string|null;
  40. companySiteURL: string|null;
  41. companyBankCode: number|null;
  42. companyBankOwner: string|null;
  43. companyBankNumber: string|null;
  44. }
  45. export interface AccountForm {
  46. isRegisterBlock: string; // 'Y'|'N'
  47. isRegisterEmailAuth: string;
  48. passwordMinLength: number;
  49. passwordUppercaseLength: number;
  50. passwordNumbersLength: number;
  51. passwordSpecialcharsLength: number;
  52. deniedEmailList: string|null;
  53. deniedNameList: string|null;
  54. changeEmailDay: number;
  55. changeNameDay: number;
  56. changeSummaryDay: number;
  57. changeIntroDay: number;
  58. changePasswordDay: number;
  59. maxLoginTryCount: number;
  60. maxLoginTryLimitSecond: number;
  61. }
  62. export interface EmailTemplate {
  63. registerEmailFormTitle: string;
  64. registerEmailFormContent: string;
  65. registrationEmailFormTitle: string;
  66. registrationEmailFormContent: string;
  67. resetPasswordEmailFormTitle: string;
  68. resetPasswordEmailFormContent: string;
  69. changedPasswordEmailFormTitle: string;
  70. changedPasswordEmailFormContent: string;
  71. withdrawEmailFormTitle: string;
  72. withdrawEmailFormContent: string;
  73. emailVerifyFormTitle: string;
  74. emailVerifyFormContent: string;
  75. changedEmailFormTitle: string;
  76. changedEmailFormContent: string;
  77. }