data/configSample.ts
import type * as configTypes from "../types/configTypes";
export const config: configTypes.Config = {
application: {
applicationName: "Corporate Records Manager",
userDomain: "x"
},
session: {
maxAgeMillis: 60 * 60 * 1000
},
authentication: {
source: "Active Directory",
activeDirectoryConfig: {
url: "ldap://adServer.local",
baseDN: "dc=example,dc=com",
username: "activeDirectory@example.com",
password: "p@ssword"
}
},
mssqlConfig: {
user: "dbUser",
password: "dbP@ssw0rd",
server: "localhost",
database: "corporateRecords",
options: {
encrypt: false
}
}
};
export default config;