@things-factory/email-base 6.0.0 → 6.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist-server/controllers/email-sender.js +0 -32
- package/dist-server/controllers/email-sender.js.map +0 -1
- package/dist-server/controllers/excel-converter.js +0 -326
- package/dist-server/controllers/excel-converter.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../node_modules/@types/nodemailer/index.d.ts","../server/controllers/email.ts","../server/controllers/index.ts","../server/routes.ts","../server/index.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"f1c9fe42b65437a61104e601eb298c5c859fb522b483f1bdb700eed67a16f980","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","223c37f62ce09a3d99e77498acdee7b2705a4ae14552fbdb4093600cd9164f3f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"4c50342e1b65d3bee2ed4ab18f84842d5724ad11083bd666d8705dc7a6079d80","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"8dbe725f8d237e70310977afcfa011629804d101ebaa0266cafda6b61ad72236","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","5564deece7541bc67e5b14dd37baf08eb9c6e9141daf96087c72aca0c95ca175","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","ddd9690e5eb0da896285e27869923dfa807cf329a8a5f0d8e0934fcc0318346e","bef55c3eeb91d8936817501f508072b5a229f74c40c3de552e0abb746a8c9b7f","e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","2fe67332cbd295f073c798d6386873d080b485a29e9d12b634751bb3bade66ea","1d44f1b9fa34f0f0306604451de60574bb2032d8b131a43cd11d258e8372f52c","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","6cffc933aac260d5ac5d45a00b35454c98edbb6c0e80b964871b268cc199a871","3455ac9d1f66df069ca718454e2c9ccd0b2cde76b19d098accf0bd94c8620459","bed2c4f96fab3348be4a34d88dcb12578c1b2475b07c6acd369e99e227718d81","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","9ac9b7b349a96ff204f4172183cca1672cc402e1ee7277bfcdec96c000b7d818","fe501d88dd0566cf62c30deca088bac1dc0b24b40697ae4087f650634812bf73",{"version":"eb9e147dbb7289f09af3b161483c09a9175c3b222ed587f4a3c0112841e7d6ff","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":false,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":1,"noEmitOnError":true,"noImplicitAny":false,"outDir":"./","sourceMap":true,"strict":false,"target":4,"useDefineForClassFields":false},"fileIdsList":[[91],[91,119],[91,121,124],[45,91],[48,91],[49,54,82,91],[50,61,62,69,79,90,91],[50,51,61,69,91],[52,91],[53,54,62,70,91],[54,79,87,91],[55,57,61,69,91],[56,91],[57,58,91],[61,91],[59,61,91],[61,62,63,79,90,91],[61,62,63,76,79,82,91],[91,95],[57,64,69,79,90,91],[61,62,64,65,69,79,87,90,91],[64,66,79,87,90,91],[45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],[61,67,91],[68,90,91],[57,61,69,79,91],[70,91],[71,91],[48,72,91],[73,89,91,95],[74,91],[75,91],[61,76,77,91],[76,78,91,93],[49,61,79,80,81,82,91],[49,79,81,91],[79,80,91],[82,91],[83,91],[61,85,86,91],[85,86,91],[54,69,79,87,91],[88,91],[69,89,91],[49,64,75,90,91],[54,91],[79,91,92],[91,93],[91,94],[49,54,61,63,72,79,90,91,93,95],[79,91,96],[91,98,100,102,106,107,108,109,110,111],[79,91,98],[61,91,98,100,102,103,105,112],[61,69,79,90,91,98,99,100,101,103,104,105,112],[79,91,98,102,103],[79,91,98,102,104],[91,98,100,102,103,105,112],[79,91,98,104],[61,69,79,87,91,98,101,103,105],[61,91,98,100,102,103,104,105,112],[61,79,91,98,100,101,102,103,104,105,112],[61,79,91,98,100,102,103,105,112],[64,79,91,98,105],[91,117,123],[91,121],[91,118,122],[91,120],[44,91,112],[44,91,113],[44,91,114]],"referencedMap":[[117,1],[120,2],[119,1],[125,3],[45,4],[46,4],[48,5],[49,6],[50,7],[51,8],[52,9],[53,10],[54,11],[55,12],[56,13],[57,14],[58,14],[60,15],[59,16],[61,15],[62,17],[63,18],[47,19],[97,1],[64,20],[65,21],[66,22],[98,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,33],[78,34],[79,35],[81,36],[80,37],[82,38],[83,39],[84,1],[85,40],[86,41],[87,42],[88,43],[89,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[112,52],[99,53],[106,54],[102,55],[100,56],[103,57],[107,58],[108,54],[105,59],[104,60],[109,61],[110,62],[111,63],[101,64],[118,1],[124,65],[122,66],[123,67],[121,68],[44,1],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[34,1],[31,1],[32,1],[33,1],[35,1],[7,1],[36,1],[41,1],[42,1],[37,1],[38,1],[39,1],[40,1],[1,1],[43,1],[113,69],[114,70],[116,71],[115,1]],"exportedModulesMap":[[117,1],[120,2],[119,1],[125,3],[45,4],[46,4],[48,5],[49,6],[50,7],[51,8],[52,9],[53,10],[54,11],[55,12],[56,13],[57,14],[58,14],[60,15],[59,16],[61,15],[62,17],[63,18],[47,19],[97,1],[64,20],[65,21],[66,22],[98,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,33],[78,34],[79,35],[81,36],[80,37],[82,38],[83,39],[84,1],[85,40],[86,41],[87,42],[88,43],[89,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[112,52],[99,53],[106,54],[102,55],[100,56],[103,57],[107,58],[108,54],[105,59],[104,60],[109,61],[110,62],[111,63],[101,64],[118,1],[124,65],[122,66],[123,67],[121,68],[44,1],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[34,1],[31,1],[32,1],[33,1],[35,1],[7,1],[36,1],[41,1],[42,1],[37,1],[38,1],[39,1],[40,1],[1,1],[43,1],[113,69],[114,70],[116,71],[115,1]],"semanticDiagnosticsPerFile":[117,120,119,125,45,46,48,49,50,51,52,53,54,55,56,57,58,60,59,61,62,63,47,97,64,65,66,98,67,68,69,70,71,72,73,74,75,76,77,78,79,81,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,112,99,106,102,100,103,107,108,105,104,109,110,111,101,118,124,122,123,121,44,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,113,114,116,115]},"version":"4.9.5"}
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../../node_modules/@types/nodemailer/index.d.ts","../server/controllers/email.ts","../server/controllers/index.ts","../server/routes.ts","../server/index.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"f1c9fe42b65437a61104e601eb298c5c859fb522b483f1bdb700eed67a16f980","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"2c45b35f4850881ab132f80d3cb51e8a359a4d8fafdc5ff2401d260dc27862f4","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","a15eb098ed86a4135cba05d77e792d6189fa8607a00c9b1b381c0e9550c04ba5",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"cc4fa603eb4f28847cfa5bfb698dd186a0864853383d49f2478b3482d5caca9e","bb654d426b82e0846cd4bd7de91d637039ecdfd63c94447373490178f80846fe","db90f54098b237753ac9c846e39cd49aa538dcad07a2e1c68a138f3c0f8e621d","92ad68795c32309fb43576cacb38bd2677deeed38f5730dcd4a8c5e65463ae15","5564deece7541bc67e5b14dd37baf08eb9c6e9141daf96087c72aca0c95ca175","eecb2ea10a1500dcc6bdeff14be1fb43806f63a9b8562e16e1b4fc8baa8dfa8d","221a6ab66d611349faaf80af49c7a34d95623787610fd153fed4da0811abdcae","f3d84d6f83cf131e4db335dc8100898adbeb01dd4cf4e2fe695ab220eac98be4","6521aaade4e1d23cbc4b665083b004aeaca23f3347ba2422f88d1828968a0056","e79130cf2ba010f2b79747bf43b086252ad041b130768331a1144c0a86185877","e9709ed827c40789c669736fc78e2ab603605e8e81325d1e6d7a5eb451810dd0","dafce7a7b279977940b6b4b50017625e4f922f73094433d2875994bdc0b27e87","6fc76efbb61d3336833ef44ff3f37552667f26c2a73b368f3b4b259f19f2c234","479496e5bb48f2f5e981ef646665bc09fd9ab080e86e9ea882ca4369411604af","6c559dee3c6251c261b67df08e01d4cbc89cbd7a63300150c636705733cebfff","ddd9690e5eb0da896285e27869923dfa807cf329a8a5f0d8e0934fcc0318346e","bef55c3eeb91d8936817501f508072b5a229f74c40c3de552e0abb746a8c9b7f","e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","2fe67332cbd295f073c798d6386873d080b485a29e9d12b634751bb3bade66ea","1d44f1b9fa34f0f0306604451de60574bb2032d8b131a43cd11d258e8372f52c","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","6cffc933aac260d5ac5d45a00b35454c98edbb6c0e80b964871b268cc199a871","3455ac9d1f66df069ca718454e2c9ccd0b2cde76b19d098accf0bd94c8620459","bed2c4f96fab3348be4a34d88dcb12578c1b2475b07c6acd369e99e227718d81","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","9ac9b7b349a96ff204f4172183cca1672cc402e1ee7277bfcdec96c000b7d818","1328d39c18f5dcb4402e07d1a51f51b6cd4456d9630ca03a6b3bb2acef2fd0a3",{"version":"eb9e147dbb7289f09af3b161483c09a9175c3b222ed587f4a3c0112841e7d6ff","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":false,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":1,"noEmitOnError":true,"noImplicitAny":false,"outDir":"./","sourceMap":true,"strict":false,"target":4,"useDefineForClassFields":false},"fileIdsList":[[91],[91,119],[91,121,124],[45,91],[48,91],[49,54,82,91],[50,61,62,69,79,90,91],[50,51,61,69,91],[52,91],[53,54,62,70,91],[54,79,87,91],[55,57,61,69,91],[56,91],[57,58,91],[61,91],[59,61,91],[61,62,63,79,90,91],[61,62,63,76,79,82,91],[91,95],[57,64,69,79,90,91],[61,62,64,65,69,79,87,90,91],[64,66,79,87,90,91],[45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],[61,67,91],[68,90,91],[57,61,69,79,91],[70,91],[71,91],[48,72,91],[73,89,91,95],[74,91],[75,91],[61,76,77,91],[76,78,91,93],[49,61,79,80,81,82,91],[49,79,81,91],[79,80,91],[82,91],[83,91],[61,85,86,91],[85,86,91],[54,69,79,87,91],[88,91],[69,89,91],[49,64,75,90,91],[54,91],[79,91,92],[91,93],[91,94],[49,54,61,63,72,79,90,91,93,95],[79,91,96],[91,98,100,102,106,107,108,109,110,111],[79,91,98],[61,91,98,100,102,103,105,112],[61,69,79,90,91,98,99,100,101,103,104,105,112],[79,91,98,102,103],[79,91,98,102,104],[91,98,100,102,103,105,112],[79,91,98,104],[61,69,79,87,91,98,101,103,105],[61,91,98,100,102,103,104,105,112],[61,79,91,98,100,101,102,103,104,105,112],[61,79,91,98,100,102,103,105,112],[64,79,91,98,105],[91,117,123],[91,121],[91,118,122],[91,120],[44,91,112],[44,91,113],[44,91,114]],"referencedMap":[[117,1],[120,2],[119,1],[125,3],[45,4],[46,4],[48,5],[49,6],[50,7],[51,8],[52,9],[53,10],[54,11],[55,12],[56,13],[57,14],[58,14],[60,15],[59,16],[61,15],[62,17],[63,18],[47,19],[97,1],[64,20],[65,21],[66,22],[98,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,33],[78,34],[79,35],[81,36],[80,37],[82,38],[83,39],[84,1],[85,40],[86,41],[87,42],[88,43],[89,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[112,52],[99,53],[106,54],[102,55],[100,56],[103,57],[107,58],[108,54],[105,59],[104,60],[109,61],[110,62],[111,63],[101,64],[118,1],[124,65],[122,66],[123,67],[121,68],[44,1],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[34,1],[31,1],[32,1],[33,1],[35,1],[7,1],[36,1],[41,1],[42,1],[37,1],[38,1],[39,1],[40,1],[1,1],[43,1],[113,69],[114,70],[116,71],[115,1]],"exportedModulesMap":[[117,1],[120,2],[119,1],[125,3],[45,4],[46,4],[48,5],[49,6],[50,7],[51,8],[52,9],[53,10],[54,11],[55,12],[56,13],[57,14],[58,14],[60,15],[59,16],[61,15],[62,17],[63,18],[47,19],[97,1],[64,20],[65,21],[66,22],[98,23],[67,24],[68,25],[69,26],[70,27],[71,28],[72,29],[73,30],[74,31],[75,32],[76,33],[77,33],[78,34],[79,35],[81,36],[80,37],[82,38],[83,39],[84,1],[85,40],[86,41],[87,42],[88,43],[89,44],[90,45],[91,46],[92,47],[93,48],[94,49],[95,50],[96,51],[112,52],[99,53],[106,54],[102,55],[100,56],[103,57],[107,58],[108,54],[105,59],[104,60],[109,61],[110,62],[111,63],[101,64],[118,1],[124,65],[122,66],[123,67],[121,68],[44,1],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[34,1],[31,1],[32,1],[33,1],[35,1],[7,1],[36,1],[41,1],[42,1],[37,1],[38,1],[39,1],[40,1],[1,1],[43,1],[113,69],[114,70],[116,71],[115,1]],"semanticDiagnosticsPerFile":[117,120,119,125,45,46,48,49,50,51,52,53,54,55,56,57,58,60,59,61,62,63,47,97,64,65,66,98,67,68,69,70,71,72,73,74,75,76,77,78,79,81,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,112,99,106,102,100,103,107,108,105,104,109,110,111,101,118,124,122,123,121,44,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,113,114,116,115]},"version":"4.9.5"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/email-base",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.5",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"migration:create": "node ./node_modules/typ`eorm/cli.js migration:create"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@things-factory/shell": "^6.0.
|
|
26
|
+
"@things-factory/shell": "^6.0.5",
|
|
27
27
|
"nodemailer": "^6.7.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/nodemailer": "^6.2.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "af75b451e62cdeeab8b42ff3c49a213cd1ad1ea5"
|
|
33
33
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.sendEmailSes = void 0;
|
|
7
|
-
const env_1 = require("@things-factory/env");
|
|
8
|
-
const nodemailer_1 = __importDefault(require("nodemailer"));
|
|
9
|
-
const aws_sdk_1 = __importDefault(require("aws-sdk"));
|
|
10
|
-
const awsSesEmail = env_1.config.get('awsSesEmail', {});
|
|
11
|
-
async function sendEmailSes({ sender, toMailList, ccMailList, subject, content, attachments }) {
|
|
12
|
-
try {
|
|
13
|
-
let transporter = nodemailer_1.default.createTransport({
|
|
14
|
-
SES: new aws_sdk_1.default.SES({ region: 'ap-southeast-1' })
|
|
15
|
-
});
|
|
16
|
-
let emailp = await transporter.sendMail({
|
|
17
|
-
from: awsSesEmail,
|
|
18
|
-
to: toMailList,
|
|
19
|
-
cc: ccMailList,
|
|
20
|
-
subject: subject,
|
|
21
|
-
// text: '',
|
|
22
|
-
html: content,
|
|
23
|
-
attachments: attachments
|
|
24
|
-
});
|
|
25
|
-
return emailp;
|
|
26
|
-
}
|
|
27
|
-
catch (e) {
|
|
28
|
-
env_1.logger.error(`[sendEmailSes] ${e}`);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.sendEmailSes = sendEmailSes;
|
|
32
|
-
//# sourceMappingURL=email-sender.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email-sender.js","sourceRoot":"","sources":["../../server/controllers/email-sender.ts"],"names":[],"mappings":";;;;;;AAAA,6CAAoD;AACpD,4DAAmC;AACnC,sDAAyB;AAEzB,MAAM,WAAW,GAAG,YAAM,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,CAAC,CAAA;AAE1C,KAAK,UAAU,YAAY,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE;IAClG,IAAI;QACF,IAAI,WAAW,GAAG,oBAAU,CAAC,eAAe,CAAC;YAC3C,GAAG,EAAE,IAAI,iBAAG,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC;SAC/C,CAAC,CAAA;QAEF,IAAI,MAAM,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC;YACtC,IAAI,EAAE,WAAW;YACjB,EAAE,EAAE,UAAU;YACd,EAAE,EAAE,UAAU;YACd,OAAO,EAAE,OAAO;YAChB,YAAY;YACZ,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,WAAW;SACzB,CAAC,CAAA;QAEF,OAAO,MAAM,CAAA;KACd;IAAC,OAAO,CAAC,EAAE;QACV,YAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAA;KACpC;AACH,CAAC;AApBD,oCAoBC"}
|
|
@@ -1,326 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.objDataToExcel = void 0;
|
|
7
|
-
const exceljs_1 = __importDefault(require("exceljs"));
|
|
8
|
-
const lodash_1 = require("lodash");
|
|
9
|
-
async function objDataToExcel({ extension, name, data }) {
|
|
10
|
-
try {
|
|
11
|
-
const records = typeof data == 'function' ? await data.call() : data;
|
|
12
|
-
if (!records.header) {
|
|
13
|
-
throw new Error('data type has to be "{header: [{headerName, fieldName, type, arrData}], data: [{fieldName: value}], groups:[{ column, title }], totals: [value], sheetStyle:{}}"');
|
|
14
|
-
}
|
|
15
|
-
//Perform excel file manipulation. Requirement: import Excel from 'exceljs'
|
|
16
|
-
const EXCEL_FORMATS = {
|
|
17
|
-
DATE: { numFmt: 'dd.mmm.yyyy' },
|
|
18
|
-
DATE_TIME: { numFmt: 'dd.mmm.yyyy hh:mm' },
|
|
19
|
-
TIME: { numFmt: 'hh:mm' }
|
|
20
|
-
};
|
|
21
|
-
const wb = new exceljs_1.default.Workbook();
|
|
22
|
-
const ws = wb.addWorksheet(name);
|
|
23
|
-
let header = [
|
|
24
|
-
{ header: 'id', key: 'id', width: 5 },
|
|
25
|
-
...records.header.map(column => {
|
|
26
|
-
return {
|
|
27
|
-
header: column.header || '',
|
|
28
|
-
key: column.key || '',
|
|
29
|
-
width: column.width ? column.width : column.header.length < 12 ? 12 : column.header.length,
|
|
30
|
-
rowCount: column.rowCount || false
|
|
31
|
-
};
|
|
32
|
-
})
|
|
33
|
-
];
|
|
34
|
-
var headerObjStructure = records.header.reduce(function (obj, item) {
|
|
35
|
-
obj[item.key] = '';
|
|
36
|
-
return obj;
|
|
37
|
-
}, {});
|
|
38
|
-
ws.columns = header;
|
|
39
|
-
ws._rows[0]._cells.map((cell, index) => {
|
|
40
|
-
cell.name = header[index].key;
|
|
41
|
-
//Set Header Cell Fill
|
|
42
|
-
cell.fill = {
|
|
43
|
-
type: 'pattern',
|
|
44
|
-
pattern: 'solid',
|
|
45
|
-
fgColor: { argb: 'FF0C5394' }
|
|
46
|
-
};
|
|
47
|
-
//Set Header Cell Font style
|
|
48
|
-
cell.font = {
|
|
49
|
-
name: 'Arial',
|
|
50
|
-
color: { argb: 'FFFFFFFF' },
|
|
51
|
-
family: 1,
|
|
52
|
-
size: 12,
|
|
53
|
-
bold: true
|
|
54
|
-
};
|
|
55
|
-
//Set Header Cell Alignment
|
|
56
|
-
cell.alignment = {
|
|
57
|
-
vertical: 'middle',
|
|
58
|
-
horizontal: 'center'
|
|
59
|
-
};
|
|
60
|
-
});
|
|
61
|
-
let [alternateA, alternateB] = ['FFFFFF', 'F3F3F3'];
|
|
62
|
-
let printData = JSON.parse(JSON.stringify(records.data));
|
|
63
|
-
printData = printData.map(data => {
|
|
64
|
-
return Object.assign(Object.assign({}, headerObjStructure), data);
|
|
65
|
-
});
|
|
66
|
-
if (!!records.groups && records.groups.length > 0) {
|
|
67
|
-
printData = multiGroupTree(printData, records.groups.map(itm => itm.column), records.groups, records.totals, header);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
printData = printData.map(row => {
|
|
71
|
-
;
|
|
72
|
-
[alternateA, alternateB] = [alternateB, alternateA];
|
|
73
|
-
return {
|
|
74
|
-
data: row,
|
|
75
|
-
style: {
|
|
76
|
-
row: {
|
|
77
|
-
//Set alternate Cell Fill
|
|
78
|
-
fill: {
|
|
79
|
-
type: 'pattern',
|
|
80
|
-
pattern: 'solid',
|
|
81
|
-
fgColor: { argb: alternateA }
|
|
82
|
-
},
|
|
83
|
-
border: {
|
|
84
|
-
bottom: { style: 'thin' }
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
//Set each cell's design
|
|
92
|
-
printData.forEach((row, index) => {
|
|
93
|
-
ws.addRow(row.data);
|
|
94
|
-
if (!!row.style) {
|
|
95
|
-
ws._rows[index + 1]._cells.forEach(cell => {
|
|
96
|
-
let cellStyle = row.style[cell._column._key] || {};
|
|
97
|
-
cell.style = Object.assign(Object.assign(Object.assign({}, cell.style), row.style.row), cellStyle);
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
if (printData.length == 0) {
|
|
102
|
-
ws.addRow({ id: '' });
|
|
103
|
-
}
|
|
104
|
-
ws.getColumn('id').hidden = true;
|
|
105
|
-
// Cell Type: [ list, whole, decimal, textLength, date ]
|
|
106
|
-
records.header
|
|
107
|
-
.filter(column => column.type === 'array' && column.arrData && column.arrData.length > 0 && column.arrData instanceof Array)
|
|
108
|
-
.map(async (column) => {
|
|
109
|
-
let dataWs = {};
|
|
110
|
-
if (!wb.getWorksheet(column.key)) {
|
|
111
|
-
dataWs = wb.addWorksheet(column.key);
|
|
112
|
-
let header = Object.keys(column.arrData[0]).map(column => {
|
|
113
|
-
return {
|
|
114
|
-
header: column || '',
|
|
115
|
-
key: column || ''
|
|
116
|
-
};
|
|
117
|
-
});
|
|
118
|
-
dataWs.columns = header;
|
|
119
|
-
dataWs.addRows(column.arrData);
|
|
120
|
-
dataWs._rows[0]._cells.map((cell, index) => {
|
|
121
|
-
cell.name = header[index].key;
|
|
122
|
-
});
|
|
123
|
-
dataWs.state = 'veryHidden';
|
|
124
|
-
await dataWs.protect(Math.random().toString(36).substring(2), {
|
|
125
|
-
selectLockedCells: false,
|
|
126
|
-
selectUnlockedCells: false
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
dataWs = wb.getWorksheet(column.key);
|
|
131
|
-
}
|
|
132
|
-
let charColumnCode = String.fromCharCode(97 + dataWs.columns.findIndex(ind => ind._key === 'name')).toUpperCase();
|
|
133
|
-
ws.getColumn(column.key).eachCell(function (cell, rowNumber) {
|
|
134
|
-
if (rowNumber !== 1)
|
|
135
|
-
cell.dataValidation = {
|
|
136
|
-
type: 'list',
|
|
137
|
-
allowBlank: true,
|
|
138
|
-
formulae: [
|
|
139
|
-
dataWs.name + '!$' + charColumnCode + '$2:$' + charColumnCode + '$' + dataWs.rowCount.toString()
|
|
140
|
-
]
|
|
141
|
-
};
|
|
142
|
-
});
|
|
143
|
-
});
|
|
144
|
-
records.header
|
|
145
|
-
.filter(column => column.type === 'int')
|
|
146
|
-
.map(column => {
|
|
147
|
-
ws.getColumn(column.key).eachCell(function (cell, rowNumber) {
|
|
148
|
-
if (rowNumber !== 1)
|
|
149
|
-
cell.dataValidation = {
|
|
150
|
-
type: 'whole',
|
|
151
|
-
allowBlank: true
|
|
152
|
-
};
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
records.header
|
|
156
|
-
.filter(column => column.type === 'float')
|
|
157
|
-
.map(column => {
|
|
158
|
-
ws.getColumn(column.key).eachCell(function (cell, rowNumber) {
|
|
159
|
-
if (rowNumber !== 1)
|
|
160
|
-
cell.dataValidation = {
|
|
161
|
-
type: 'decimal',
|
|
162
|
-
allowBlank: true
|
|
163
|
-
};
|
|
164
|
-
});
|
|
165
|
-
});
|
|
166
|
-
records.header
|
|
167
|
-
.filter(column => column.type === 'date')
|
|
168
|
-
.map(column => {
|
|
169
|
-
ws.getColumn(column.key).eachCell(function (cell, rowNumber) {
|
|
170
|
-
if (rowNumber !== 1) {
|
|
171
|
-
cell.dataValidation = {
|
|
172
|
-
type: 'date',
|
|
173
|
-
allowBlank: true
|
|
174
|
-
};
|
|
175
|
-
cell.value = cell.value ? new Date(parseInt(cell.value)) : '';
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
});
|
|
179
|
-
return await wb.xlsx.writeBuffer(EXCEL_FORMATS);
|
|
180
|
-
}
|
|
181
|
-
catch (e) {
|
|
182
|
-
throw e;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
exports.objDataToExcel = objDataToExcel;
|
|
186
|
-
function multiGroupTree(array, groups, groupsRaw, totals, header) {
|
|
187
|
-
if (!groups) {
|
|
188
|
-
return array;
|
|
189
|
-
}
|
|
190
|
-
const currentGroup = groups[0];
|
|
191
|
-
const restGroups = [...groups.slice(1, groups.length)];
|
|
192
|
-
let grouping = (0, lodash_1.groupBy)(array, currentGroup);
|
|
193
|
-
if (!restGroups.length) {
|
|
194
|
-
let rows = [];
|
|
195
|
-
Object.keys(grouping).forEach(itm => {
|
|
196
|
-
let currentGroupSetting = groupsRaw.filter(x => x.column === currentGroup)[0];
|
|
197
|
-
let [alternateA, alternateB] = ['F3F3F3', 'FFFFFF'];
|
|
198
|
-
grouping[itm] = grouping[itm].map((itm, index) => {
|
|
199
|
-
if (index != 0)
|
|
200
|
-
itm[currentGroup] = '';
|
|
201
|
-
[alternateA, alternateB] = [alternateB, alternateA];
|
|
202
|
-
return {
|
|
203
|
-
data: itm,
|
|
204
|
-
style: {
|
|
205
|
-
row: {
|
|
206
|
-
fill: {
|
|
207
|
-
type: 'pattern',
|
|
208
|
-
pattern: 'solid',
|
|
209
|
-
fgColor: { argb: alternateA }
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
});
|
|
215
|
-
let newRow = [];
|
|
216
|
-
if (currentGroupSetting.title) {
|
|
217
|
-
let sumData = stripObject(grouping[itm][0]);
|
|
218
|
-
sumData.data[currentGroup] = currentGroupSetting.title;
|
|
219
|
-
totals.forEach(total => {
|
|
220
|
-
sumData.data[total] = grouping[itm].reduce((acc, obj) => {
|
|
221
|
-
var _a;
|
|
222
|
-
acc = acc + ((((_a = header.find(x => x.key == total)) === null || _a === void 0 ? void 0 : _a.rowCount) ? 1 : parseFloat(obj === null || obj === void 0 ? void 0 : obj.data[total])) || 0);
|
|
223
|
-
return acc;
|
|
224
|
-
}, 0);
|
|
225
|
-
});
|
|
226
|
-
sumData.style = getGroupRowStyle([currentGroup]);
|
|
227
|
-
newRow = [sumData];
|
|
228
|
-
}
|
|
229
|
-
rows = [...grouping[itm], ...newRow, ...rows];
|
|
230
|
-
});
|
|
231
|
-
return rows;
|
|
232
|
-
}
|
|
233
|
-
let result = (0, lodash_1.transform)(grouping, (result, value, key) => {
|
|
234
|
-
let rows = multiGroupTree(value, restGroups, groupsRaw, totals, header);
|
|
235
|
-
let currentGroupSetting = groupsRaw.filter(x => x.column === currentGroup)[0];
|
|
236
|
-
rows.map((itm, index) => {
|
|
237
|
-
if (index != 0)
|
|
238
|
-
itm.data[currentGroup] = '';
|
|
239
|
-
return itm;
|
|
240
|
-
});
|
|
241
|
-
let newRow = [];
|
|
242
|
-
if (currentGroupSetting.title) {
|
|
243
|
-
let sumData = stripObject(rows[0]);
|
|
244
|
-
sumData.data[currentGroup] = currentGroupSetting.title;
|
|
245
|
-
totals.forEach(total => {
|
|
246
|
-
sumData.data[total] = value.reduce((acc, obj) => {
|
|
247
|
-
acc = acc + parseFloat(obj[total]) || 0;
|
|
248
|
-
return acc;
|
|
249
|
-
}, 0);
|
|
250
|
-
});
|
|
251
|
-
sumData.style = getGroupRowStyle([currentGroup]);
|
|
252
|
-
newRow = [sumData];
|
|
253
|
-
}
|
|
254
|
-
rows = [...rows, ...newRow];
|
|
255
|
-
if (groupsRaw.findIndex(x => x.column == currentGroupSetting.column) === 0) {
|
|
256
|
-
rows.forEach((row, index) => {
|
|
257
|
-
row.style = Object.assign(Object.assign({}, row.style), { [currentGroupSetting.column]: {
|
|
258
|
-
fill: {
|
|
259
|
-
type: 'pattern',
|
|
260
|
-
pattern: 'solid',
|
|
261
|
-
fgColor: { argb: 'FFCFE2F3' }
|
|
262
|
-
},
|
|
263
|
-
font: {
|
|
264
|
-
name: 'Arial',
|
|
265
|
-
color: { argb: 'FF000000' },
|
|
266
|
-
family: 1,
|
|
267
|
-
bold: true
|
|
268
|
-
}
|
|
269
|
-
} });
|
|
270
|
-
if (index != rows.length - 1) {
|
|
271
|
-
row.style = Object.assign(Object.assign({}, row.style), { [currentGroupSetting.column]: Object.assign(Object.assign({}, row.style[currentGroupSetting.column]), { border: {
|
|
272
|
-
top: { style: '' },
|
|
273
|
-
bottom: { style: '' }
|
|
274
|
-
} }) });
|
|
275
|
-
}
|
|
276
|
-
});
|
|
277
|
-
rows[rows.length - 1].style = Object.assign(Object.assign({}, rows[rows.length - 1].style), { row: Object.assign(Object.assign({}, rows[rows.length - 1].style.row), { border: {
|
|
278
|
-
bottom: { style: 'thin' }
|
|
279
|
-
} }) });
|
|
280
|
-
}
|
|
281
|
-
rows.map(row => result.push(row));
|
|
282
|
-
}, []);
|
|
283
|
-
return result;
|
|
284
|
-
}
|
|
285
|
-
function stripObject(source) {
|
|
286
|
-
var o = Array.isArray(source) ? [] : {};
|
|
287
|
-
for (var key in source) {
|
|
288
|
-
if (source.hasOwnProperty(key)) {
|
|
289
|
-
var t = typeof source[key];
|
|
290
|
-
o[key] =
|
|
291
|
-
source[key] === null
|
|
292
|
-
? null
|
|
293
|
-
: t == 'object'
|
|
294
|
-
? stripObject(source[key])
|
|
295
|
-
: { string: '', number: '', boolean: '' }[t];
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
return o;
|
|
299
|
-
}
|
|
300
|
-
function getGroupRowStyle(groupColumnName) {
|
|
301
|
-
return {
|
|
302
|
-
[groupColumnName]: {
|
|
303
|
-
alignment: {
|
|
304
|
-
horizontal: 'center'
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
row: {
|
|
308
|
-
border: {
|
|
309
|
-
top: { style: 'thin' },
|
|
310
|
-
bottom: { style: 'thin' }
|
|
311
|
-
},
|
|
312
|
-
fill: {
|
|
313
|
-
type: 'pattern',
|
|
314
|
-
pattern: 'solid',
|
|
315
|
-
fgColor: { argb: 'FFEEF7FF' }
|
|
316
|
-
},
|
|
317
|
-
font: {
|
|
318
|
-
name: 'Arial',
|
|
319
|
-
color: { argb: 'FF000000' },
|
|
320
|
-
family: 1,
|
|
321
|
-
bold: true
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
//# sourceMappingURL=excel-converter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"excel-converter.js","sourceRoot":"","sources":["../../server/controllers/excel-converter.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA2B;AAC3B,mCAA2C;AAEpC,KAAK,UAAU,cAAc,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE;IAC5D,IAAI;QACF,MAAM,OAAO,GAAG,OAAO,IAAI,IAAI,UAAU,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;QACpE,IAAI,CAAC,OAAO,CAAC,MAAM,EA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