@things-factory/codelingua 7.0.1-beta.9 → 7.0.1-rc.1

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.
Files changed (62) hide show
  1. package/dist-client/tsconfig.tsbuildinfo +1 -1
  2. package/dist-server/controllers/api-doc-completion.d.ts +4 -0
  3. package/dist-server/controllers/api-doc-completion.js +1 -2
  4. package/dist-server/controllers/api-doc-completion.js.map +1 -1
  5. package/dist-server/controllers/chat-completion.d.ts +3 -0
  6. package/dist-server/controllers/chat-completion.js +1 -2
  7. package/dist-server/controllers/chat-completion.js.map +1 -1
  8. package/dist-server/controllers/decipher-code.d.ts +5 -0
  9. package/dist-server/controllers/decipher-code.js +1 -2
  10. package/dist-server/controllers/decipher-code.js.map +1 -1
  11. package/dist-server/controllers/decipher-error-code.d.ts +5 -0
  12. package/dist-server/controllers/decipher-error-code.js +1 -2
  13. package/dist-server/controllers/decipher-error-code.js.map +1 -1
  14. package/dist-server/controllers/i18n-completion.d.ts +3 -0
  15. package/dist-server/controllers/i18n-completion.js +1 -2
  16. package/dist-server/controllers/i18n-completion.js.map +1 -1
  17. package/dist-server/controllers/image-completion.d.ts +5 -0
  18. package/dist-server/controllers/image-completion.js +1 -2
  19. package/dist-server/controllers/image-completion.js.map +1 -1
  20. package/dist-server/controllers/index.d.ts +7 -0
  21. package/dist-server/controllers/openai-connection.d.ts +2 -0
  22. package/dist-server/controllers/openai-connection.js.map +1 -1
  23. package/dist-server/index.d.ts +3 -0
  24. package/dist-server/routes.d.ts +1 -0
  25. package/dist-server/service/api-doc-completion/api-doc-completion-resolver.d.ts +5 -0
  26. package/dist-server/service/api-doc-completion/api-doc-completion-resolver.js +2 -2
  27. package/dist-server/service/api-doc-completion/api-doc-completion-resolver.js.map +1 -1
  28. package/dist-server/service/api-doc-completion/api-doc-completion-type.d.ts +7 -0
  29. package/dist-server/service/api-doc-completion/api-doc-completion-type.js +4 -4
  30. package/dist-server/service/api-doc-completion/api-doc-completion-type.js.map +1 -1
  31. package/dist-server/service/api-doc-completion/index.d.ts +4 -0
  32. package/dist-server/service/chat-completion/chat-completion-resolver.d.ts +5 -0
  33. package/dist-server/service/chat-completion/chat-completion-resolver.js +2 -2
  34. package/dist-server/service/chat-completion/chat-completion-resolver.js.map +1 -1
  35. package/dist-server/service/chat-completion/chat-completion-type.d.ts +6 -0
  36. package/dist-server/service/chat-completion/chat-completion-type.js +4 -4
  37. package/dist-server/service/chat-completion/chat-completion-type.js.map +1 -1
  38. package/dist-server/service/chat-completion/index.d.ts +4 -0
  39. package/dist-server/service/code-decipher/code-decipher-resolver.d.ts +6 -0
  40. package/dist-server/service/code-decipher/code-decipher-resolver.js +2 -2
  41. package/dist-server/service/code-decipher/code-decipher-resolver.js.map +1 -1
  42. package/dist-server/service/code-decipher/code-decipher-type.d.ts +8 -0
  43. package/dist-server/service/code-decipher/code-decipher-type.js +4 -4
  44. package/dist-server/service/code-decipher/code-decipher-type.js.map +1 -1
  45. package/dist-server/service/code-decipher/index.d.ts +4 -0
  46. package/dist-server/service/i18n-completion/i18n-completion-resolver.d.ts +5 -0
  47. package/dist-server/service/i18n-completion/i18n-completion-resolver.js +2 -2
  48. package/dist-server/service/i18n-completion/i18n-completion-resolver.js.map +1 -1
  49. package/dist-server/service/i18n-completion/i18n-completion-type.d.ts +6 -0
  50. package/dist-server/service/i18n-completion/i18n-completion-type.js +4 -4
  51. package/dist-server/service/i18n-completion/i18n-completion-type.js.map +1 -1
  52. package/dist-server/service/i18n-completion/index.d.ts +4 -0
  53. package/dist-server/service/image-completion/image-completion-resolver.d.ts +5 -0
  54. package/dist-server/service/image-completion/image-completion-resolver.js +2 -2
  55. package/dist-server/service/image-completion/image-completion-resolver.js.map +1 -1
  56. package/dist-server/service/image-completion/image-completion-type.d.ts +8 -0
  57. package/dist-server/service/image-completion/image-completion-type.js +4 -4
  58. package/dist-server/service/image-completion/image-completion-type.js.map +1 -1
  59. package/dist-server/service/image-completion/index.d.ts +4 -0
  60. package/dist-server/service/index.d.ts +4 -0
  61. package/dist-server/tsconfig.tsbuildinfo +1 -1
  62. package/package.json +7 -7
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/lerna/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/lerna/node_modules/typescript/lib/lib.esnext.intl.d.ts","../client/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/index.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/sea.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/@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},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true},"b67f9c5d42e7770ddf8b6d1747b531275c44617e8071d2602a2cffd2932ad95e","53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6",{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true},"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","3bb6e21a9f30417c0a059e240b3f8f70c8af9c4cb6f2fd1bc2db594c647e285f","7483ef24249f6a3e24eb3d8136ec7fe0633cd6f8ffe752e2a8d99412aff35bb7","d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"3e7dd0014ec3594783dc83ba8c06c13f191931a93e4d1b743371b2e7150cb9d4","affectsGlobalScope":true},"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900",{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true},"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927",{"version":"abe61b580e030f1ca3ee548c8fd7b40fc686a97a056d5d1481f34c39c637345f","affectsGlobalScope":true},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0",{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true},"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"ac14eb65c59722f0333e776a73e6a02cea23b5aa857a749ea176daf4e960e872","affectsGlobalScope":true},"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"noImplicitAny":false,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":4,"useDefineForClassFields":false},"fileIdsList":[[135],[137,140],[45],[81],[82,87,116],[83,88,94,95,102,113,124],[83,84,94,102],[85,125],[86,87,95,103],[87,113,121],[88,90,94,102],[81,89],[90,91],[94],[92,94],[81,94],[94,95,96,113,124],[94,95,96,109,113,116],[79,82,129],[90,94,97,102,113,124],[94,95,97,98,102,113,121,124],[97,99,113,121,124],[45,46,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131],[94,100],[101,124,129],[90,94,102,113],[103],[104],[81,105],[102,103,106,123,129],[107],[108],[94,109,110],[109,111,125,127],[82,94,113,114,115,116],[82,113,115],[113,114],[116],[117],[81,113],[94,119,120],[119,120],[87,102,113,121],[122],[102,123],[82,97,108,124],[87,125],[113,126],[101,127],[128],[82,87,94,96,105,113,124,127,129],[113,130],[133,139],[137],[134,138],[136],[56,60,124],[56,113,124],[51],[53,56,121,124],[102,121],[132],[51,132],[53,56,102,124],[48,49,52,55,82,94,113,124],[48,54],[52,56,82,116,124,132],[82,132],[72,82,132],[50,51,132],[56],[50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78],[56,63,64],[54,56,64,65],[55],[48,51,56],[56,60,64,65],[60],[54,56,59,124],[48,53,54,56,60,63],[82,113],[51,56,72,82,129,132]],"referencedMap":[[136,1],[141,2],[45,3],[46,3],[81,4],[82,5],[83,6],[84,7],[85,8],[86,9],[87,10],[88,11],[89,12],[90,13],[91,13],[93,14],[92,15],[94,16],[95,17],[96,18],[80,19],[97,20],[98,21],[99,22],[132,23],[100,24],[101,25],[102,26],[103,27],[104,28],[105,29],[106,30],[107,31],[108,32],[109,33],[110,33],[111,34],[113,35],[115,36],[114,37],[116,38],[117,39],[118,40],[119,41],[120,42],[121,43],[122,44],[123,45],[124,46],[125,47],[126,48],[127,49],[128,50],[129,51],[130,52],[140,53],[138,54],[139,55],[137,56],[63,57],[70,58],[62,57],[77,59],[54,60],[53,61],[76,62],[71,63],[74,64],[56,65],[55,66],[51,67],[50,68],[73,69],[52,70],[57,71],[61,71],[79,72],[78,71],[65,73],[66,74],[68,75],[64,76],[67,77],[72,62],[59,78],[60,79],[69,80],[49,81],[75,82]],"exportedModulesMap":[[136,1],[141,2],[45,3],[46,3],[81,4],[82,5],[83,6],[84,7],[85,8],[86,9],[87,10],[88,11],[89,12],[90,13],[91,13],[93,14],[92,15],[94,16],[95,17],[96,18],[80,19],[97,20],[98,21],[99,22],[132,23],[100,24],[101,25],[102,26],[103,27],[104,28],[105,29],[106,30],[107,31],[108,32],[109,33],[110,33],[111,34],[113,35],[115,36],[114,37],[116,38],[117,39],[118,40],[119,41],[120,42],[121,43],[122,44],[123,45],[124,46],[125,47],[126,48],[127,49],[128,50],[129,51],[130,52],[140,53],[138,54],[139,55],[137,56],[63,57],[70,58],[62,57],[77,59],[54,60],[53,61],[76,62],[71,63],[74,64],[56,65],[55,66],[51,67],[50,68],[73,69],[52,70],[57,71],[61,71],[79,72],[78,71],[65,73],[66,74],[68,75],[64,76],[67,77],[72,62],[59,78],[60,79],[69,80],[49,81],[75,82]],"semanticDiagnosticsPerFile":[133,136,135,141,45,46,81,82,83,84,85,86,87,88,89,90,91,93,92,94,95,96,80,131,97,98,99,132,100,101,102,103,104,105,106,107,108,109,110,111,112,113,115,114,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,47,134,140,138,139,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,137,63,70,62,77,54,53,76,71,74,56,55,51,50,73,52,57,58,61,48,79,78,65,66,68,64,67,72,59,60,69,49,75,44]},"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.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.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/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../client/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/file.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/filereader.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/index.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/sea.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/@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":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"9c00a480825408b6a24c63c1b71362232927247595d7c97659bc24dc68ae0757","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"e7be367719c613d580d4b27fdf8fe64c9736f48217f4b322c0d63b2971460918","affectsGlobalScope":true},"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true},"62f1c00d3d246e0e3cf0224f91e122d560428ec1ccc36bb51d4574a84f1dbad0","53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6",{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true},"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","0364f8bb461d6e84252412d4e5590feda4eb582f77d47f7a024a7a9ff105dfdc","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"1493cc4d72bfaabe2ac13e987d026a5fc99a816f6289bfca7192834a396205cf","affectsGlobalScope":true},"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900",{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true},"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927",{"version":"abe61b580e030f1ca3ee548c8fd7b40fc686a97a056d5d1481f34c39c637345f","affectsGlobalScope":true},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0",{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true},"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"8704423bf338bff381ebc951ed819935d0252d90cd6de7dffe5b0a5debb65d07","affectsGlobalScope":true},"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true}],"root":[48],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"noImplicitAny":false,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":4,"useDefineForClassFields":false},"fileIdsList":[[139],[141,144],[49],[85],[86,91,120],[87,92,98,99,106,117,128],[87,88,98,106],[89,129],[90,91,99,107],[91,117,125],[92,94,98,106],[85,93],[94,95],[98],[96,98],[85,98],[98,99,100,117,128],[98,99,100,113,117,120],[83,86,133],[94,98,101,106,117,128],[98,99,101,102,106,117,125,128],[101,103,117,125,128],[49,50,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135],[98,104],[105,128,133],[94,98,106,117],[107],[108],[85,109],[106,107,110,127,133],[111],[112],[98,113,114],[113,115,129,131],[86,98,117,118,119,120],[86,117,119],[117,118],[120],[121],[85,117],[98,123,124],[123,124],[91,106,117,125],[126],[106,127],[86,101,112,128],[91,129],[117,130],[105,131],[132],[86,91,98,100,109,117,128,131,133],[117,134],[137,143],[141],[138,142],[140],[60,64,128],[60,117,128],[55],[57,60,125,128],[106,125],[136],[55,136],[57,60,106,128],[52,53,56,59,86,98,117,128],[52,58],[56,60,86,120,128,136],[86,136],[76,86,136],[54,55,136],[60],[54,55,56,57,58,59,60,61,62,64,65,66,67,68,69,70,71,72,73,74,75,77,78,79,80,81,82],[60,67,68],[58,60,68,69],[59],[52,55,60],[60,64,68,69],[64],[58,60,63,128],[52,57,58,60,64,67],[86,117],[55,60,76,86,133,136]],"referencedMap":[[140,1],[145,2],[49,3],[50,3],[85,4],[86,5],[87,6],[88,7],[89,8],[90,9],[91,10],[92,11],[93,12],[94,13],[95,13],[97,14],[96,15],[98,16],[99,17],[100,18],[84,19],[101,20],[102,21],[103,22],[136,23],[104,24],[105,25],[106,26],[107,27],[108,28],[109,29],[110,30],[111,31],[112,32],[113,33],[114,33],[115,34],[117,35],[119,36],[118,37],[120,38],[121,39],[122,40],[123,41],[124,42],[125,43],[126,44],[127,45],[128,46],[129,47],[130,48],[131,49],[132,50],[133,51],[134,52],[144,53],[142,54],[143,55],[141,56],[67,57],[74,58],[66,57],[81,59],[58,60],[57,61],[80,62],[75,63],[78,64],[60,65],[59,66],[55,67],[54,68],[77,69],[56,70],[61,71],[65,71],[83,72],[82,71],[69,73],[70,74],[72,75],[68,76],[71,77],[76,62],[63,78],[64,79],[73,80],[53,81],[79,82]]},"version":"5.5.2"}
@@ -0,0 +1,4 @@
1
+ export declare function apiDocCompletion({ code, language }: {
2
+ code: string;
3
+ language?: string;
4
+ }): Promise<string>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.apiDocCompletion = void 0;
3
+ exports.apiDocCompletion = apiDocCompletion;
4
4
  const openai_connection_1 = require("./openai-connection");
5
5
  async function apiDocCompletion({ code, language = 'en-US' }) {
6
6
  try {
@@ -29,5 +29,4 @@ async function apiDocCompletion({ code, language = 'en-US' }) {
29
29
  return 'The Code Lingua service is currently unavailable. Please contact your system administrator.';
30
30
  }
31
31
  }
32
- exports.apiDocCompletion = apiDocCompletion;
33
32
  //# sourceMappingURL=api-doc-completion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-doc-completion.js","sourceRoot":"","sources":["../../server/controllers/api-doc-completion.ts"],"names":[],"mappings":";;;AAAA,2DAA4C;AAErC,KAAK,UAAU,gBAAgB,CAAC,EACrC,IAAI,EACJ,QAAQ,GAAG,OAAO,EAInB;IACC,IAAI;QACF,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE;oJACiI;iBAC3I;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,uBAAuB,IAAI,2FAA2F;iBAChI;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,oEAAoE,QAAQ,IAAI;iBAC1F;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;KAClD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;KACrG;AACH,CAAC;AAhCD,4CAgCC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function apiDocCompletion({\n code,\n language = 'en-US'\n}: {\n code: string\n language?: string\n}): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: `You are an assistant that takes in JavaScript or TypeScript code and generates detailed developer documentation in markdown format.\n And you provides pure and direct data in response to user requests. The responses should contain no additional explanations or details.`\n },\n {\n role: 'user',\n content: `Here is some code: [${code}]. Can you help generate a detailed explanation and markdown documentation for this code?`\n },\n {\n role: 'assistant',\n content: `Please generate the documentation according to this locale code \"${language}\".`\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
1
+ {"version":3,"file":"api-doc-completion.js","sourceRoot":"","sources":["../../server/controllers/api-doc-completion.ts"],"names":[],"mappings":";;AAEA,4CAgCC;AAlCD,2DAA4C;AAErC,KAAK,UAAU,gBAAgB,CAAC,EACrC,IAAI,EACJ,QAAQ,GAAG,OAAO,EAInB;IACC,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE;oJACiI;iBAC3I;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,uBAAuB,IAAI,2FAA2F;iBAChI;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,oEAAoE,QAAQ,IAAI;iBAC1F;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;IACnD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;IACtG,CAAC;AACH,CAAC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function apiDocCompletion({\n code,\n language = 'en-US'\n}: {\n code: string\n language?: string\n}): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: `You are an assistant that takes in JavaScript or TypeScript code and generates detailed developer documentation in markdown format.\n And you provides pure and direct data in response to user requests. The responses should contain no additional explanations or details.`\n },\n {\n role: 'user',\n content: `Here is some code: [${code}]. Can you help generate a detailed explanation and markdown documentation for this code?`\n },\n {\n role: 'assistant',\n content: `Please generate the documentation according to this locale code \"${language}\".`\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export declare function chatCompletion({ content }: {
2
+ content: string;
3
+ }): Promise<string>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.chatCompletion = void 0;
3
+ exports.chatCompletion = chatCompletion;
4
4
  const openai_connection_1 = require("./openai-connection");
5
5
  async function chatCompletion({ content }) {
6
6
  try {
@@ -28,5 +28,4 @@ async function chatCompletion({ content }) {
28
28
  return 'The Code Lingua service is currently unavailable. Please contact your system administrator.';
29
29
  }
30
30
  }
31
- exports.chatCompletion = chatCompletion;
32
31
  //# sourceMappingURL=chat-completion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion.js","sourceRoot":"","sources":["../../server/controllers/chat-completion.ts"],"names":[],"mappings":";;;AAAA,2DAA4C;AAErC,KAAK,UAAU,cAAc,CAAC,EAAE,OAAO,EAAuB;IACnE,IAAI;QACF,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,gOAAgO;iBAC1O;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO;iBACR;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,oDAAoD;iBAC9D;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;KAClD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;KACrG;AACH,CAAC;AAzBD,wCAyBC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function chatCompletion({ content }: { content: string }): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: `You are an assistant that generates detailed information in response to user requests. And you provides pure and direct data in response to user requests. The responses should contain no additional explanations or details.`\n },\n {\n role: 'user',\n content\n },\n {\n role: 'assistant',\n content: 'Sure, please fetch the information in JSON format.'\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
1
+ {"version":3,"file":"chat-completion.js","sourceRoot":"","sources":["../../server/controllers/chat-completion.ts"],"names":[],"mappings":";;AAEA,wCAyBC;AA3BD,2DAA4C;AAErC,KAAK,UAAU,cAAc,CAAC,EAAE,OAAO,EAAuB;IACnE,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,gOAAgO;iBAC1O;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO;iBACR;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,oDAAoD;iBAC9D;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;IACnD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;IACtG,CAAC;AACH,CAAC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function chatCompletion({ content }: { content: string }): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: `You are an assistant that generates detailed information in response to user requests. And you provides pure and direct data in response to user requests. The responses should contain no additional explanations or details.`\n },\n {\n role: 'user',\n content\n },\n {\n role: 'assistant',\n content: 'Sure, please fetch the information in JSON format.'\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare function decipherCode({ code, system, language }: {
2
+ code: string;
3
+ system?: string;
4
+ language?: string;
5
+ }): Promise<string>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.decipherCode = void 0;
3
+ exports.decipherCode = decipherCode;
4
4
  const openai_connection_1 = require("./openai-connection");
5
5
  async function decipherCode({ code, system, language = 'en-US' }) {
6
6
  try {
@@ -30,5 +30,4 @@ async function decipherCode({ code, system, language = 'en-US' }) {
30
30
  return 'The Code Lingua service is currently unavailable. Please contact your system administrator.';
31
31
  }
32
32
  }
33
- exports.decipherCode = decipherCode;
34
33
  //# sourceMappingURL=decipher-code.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"decipher-code.js","sourceRoot":"","sources":["../../server/controllers/decipher-code.ts"],"names":[],"mappings":";;;AAAA,2DAA4C;AAErC,KAAK,UAAU,YAAY,CAAC,EACjC,IAAI,EACJ,MAAM,EACN,QAAQ,GAAG,OAAO,EAKnB;IACC,IAAI;QACF,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,8FAA8F;iBACxG;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,MAAM;wBACb,CAAC,CAAC,mCAAmC,MAAM,4BAA4B,IAAI,GAAG;wBAC9E,CAAC,CAAC,mBAAmB,IAAI,GAAG;iBAC/B;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,4DAA4D,QAAQ,IAAI;iBAClF;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;KAClD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;KACrG;AACH,CAAC;AAnCD,oCAmCC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function decipherCode({\n code,\n system,\n language = 'en-US'\n}: {\n code: string\n system?: string\n language?: string\n}): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: 'You are a helpful assistant that translates system messages into user-friendly explanations.'\n },\n {\n role: 'user',\n content: system\n ? `We received an message from the ${system} system. The message is: ${code}.`\n : `The message is: ${code}.`\n },\n {\n role: 'system',\n content: `Translate the explanation according to this locale code \"${language}\".`\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
1
+ {"version":3,"file":"decipher-code.js","sourceRoot":"","sources":["../../server/controllers/decipher-code.ts"],"names":[],"mappings":";;AAEA,oCAmCC;AArCD,2DAA4C;AAErC,KAAK,UAAU,YAAY,CAAC,EACjC,IAAI,EACJ,MAAM,EACN,QAAQ,GAAG,OAAO,EAKnB;IACC,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,8FAA8F;iBACxG;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,MAAM;wBACb,CAAC,CAAC,mCAAmC,MAAM,4BAA4B,IAAI,GAAG;wBAC9E,CAAC,CAAC,mBAAmB,IAAI,GAAG;iBAC/B;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,4DAA4D,QAAQ,IAAI;iBAClF;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;IACnD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;IACtG,CAAC;AACH,CAAC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function decipherCode({\n code,\n system,\n language = 'en-US'\n}: {\n code: string\n system?: string\n language?: string\n}): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: 'You are a helpful assistant that translates system messages into user-friendly explanations.'\n },\n {\n role: 'user',\n content: system\n ? `We received an message from the ${system} system. The message is: ${code}.`\n : `The message is: ${code}.`\n },\n {\n role: 'system',\n content: `Translate the explanation according to this locale code \"${language}\".`\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare function decipherErrorCode({ code, system, language }: {
2
+ code: string;
3
+ system?: string;
4
+ language?: string;
5
+ }): Promise<string>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.decipherErrorCode = void 0;
3
+ exports.decipherErrorCode = decipherErrorCode;
4
4
  const openai_connection_1 = require("./openai-connection");
5
5
  async function decipherErrorCode({ code, system, language = 'en-US' }) {
6
6
  try {
@@ -30,5 +30,4 @@ async function decipherErrorCode({ code, system, language = 'en-US' }) {
30
30
  return 'The Code Lingua service is currently unavailable. Please contact your system administrator.';
31
31
  }
32
32
  }
33
- exports.decipherErrorCode = decipherErrorCode;
34
33
  //# sourceMappingURL=decipher-error-code.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"decipher-error-code.js","sourceRoot":"","sources":["../../server/controllers/decipher-error-code.ts"],"names":[],"mappings":";;;AAAA,2DAA4C;AAErC,KAAK,UAAU,iBAAiB,CAAC,EACtC,IAAI,EACJ,MAAM,EACN,QAAQ,GAAG,OAAO,EAKnB;IACC,IAAI;QACF,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,6FAA6F;iBACvG;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,MAAM;wBACb,CAAC,CAAC,iCAAiC,MAAM,kCAAkC,IAAI,GAAG;wBAClF,CAAC,CAAC,yBAAyB,IAAI,GAAG;iBACrC;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,4DAA4D,QAAQ,IAAI;iBAClF;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;KAClD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;KACrG;AACH,CAAC;AAnCD,8CAmCC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function decipherErrorCode({\n code,\n system,\n language = 'en-US'\n}: {\n code: string\n system?: string\n language?: string\n}): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: 'You are a helpful assistant that translates error messages into user-friendly explanations.'\n },\n {\n role: 'user',\n content: system\n ? `We received an error from the ${system} system. The error message is: ${code}.`\n : `The error message is: ${code}.`\n },\n {\n role: 'system',\n content: `Translate the explanation according to this locale code \"${language}\".`\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
1
+ {"version":3,"file":"decipher-error-code.js","sourceRoot":"","sources":["../../server/controllers/decipher-error-code.ts"],"names":[],"mappings":";;AAEA,8CAmCC;AArCD,2DAA4C;AAErC,KAAK,UAAU,iBAAiB,CAAC,EACtC,IAAI,EACJ,MAAM,EACN,QAAQ,GAAG,OAAO,EAKnB;IACC,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,6FAA6F;iBACvG;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,MAAM;wBACb,CAAC,CAAC,iCAAiC,MAAM,kCAAkC,IAAI,GAAG;wBAClF,CAAC,CAAC,yBAAyB,IAAI,GAAG;iBACrC;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,4DAA4D,QAAQ,IAAI;iBAClF;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;IACnD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;IACtG,CAAC;AACH,CAAC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function decipherErrorCode({\n code,\n system,\n language = 'en-US'\n}: {\n code: string\n system?: string\n language?: string\n}): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: 'You are a helpful assistant that translates error messages into user-friendly explanations.'\n },\n {\n role: 'user',\n content: system\n ? `We received an error from the ${system} system. The error message is: ${code}.`\n : `The error message is: ${code}.`\n },\n {\n role: 'system',\n content: `Translate the explanation according to this locale code \"${language}\".`\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export declare function i18nCompletion({ json }: {
2
+ json: string;
3
+ }): Promise<string>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.i18nCompletion = void 0;
3
+ exports.i18nCompletion = i18nCompletion;
4
4
  const openai_connection_1 = require("./openai-connection");
5
5
  async function i18nCompletion({ json }) {
6
6
  try {
@@ -29,5 +29,4 @@ async function i18nCompletion({ json }) {
29
29
  return 'The Code Lingua service is currently unavailable. Please contact your system administrator.';
30
30
  }
31
31
  }
32
- exports.i18nCompletion = i18nCompletion;
33
32
  //# sourceMappingURL=i18n-completion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18n-completion.js","sourceRoot":"","sources":["../../server/controllers/i18n-completion.ts"],"names":[],"mappings":";;;AAAA,2DAA4C;AAErC,KAAK,UAAU,cAAc,CAAC,EAAE,IAAI,EAAoB;IAC7D,IAAI;QACF,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE;oJACiI;iBAC3I;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,mCAAmC,IAAI,8GAA8G;iBAC/J;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,2FAA2F;iBACrG;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;KAClD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;KACrG;AACH,CAAC;AA1BD,wCA0BC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function i18nCompletion({ json }: { json: string }): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: `You are an assistant that takes a JSON file of key-value pairs in one language and generates equivalent JSON files in other languages.\n And you provides pure and direct data in response to user requests. The responses should contain no additional explanations or details.`\n },\n {\n role: 'user',\n content: `Here is a JSON file in Korean: [${json}]. Can you help generate equivalent JSON files in these languages: English, Japanese, Chinese and Malaysian?`\n },\n {\n role: 'assistant',\n content: \"Please generate the translations according to these locale codes: 'en', 'ja', 'zh', 'ms'.\"\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
1
+ {"version":3,"file":"i18n-completion.js","sourceRoot":"","sources":["../../server/controllers/i18n-completion.ts"],"names":[],"mappings":";;AAEA,wCA0BC;AA5BD,2DAA4C;AAErC,KAAK,UAAU,cAAc,CAAC,EAAE,IAAI,EAAoB;IAC7D,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE;oJACiI;iBAC3I;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE,mCAAmC,IAAI,8GAA8G;iBAC/J;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,OAAO,EAAE,2FAA2F;iBACrG;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;IACnD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;IACtG,CAAC;AACH,CAAC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function i18nCompletion({ json }: { json: string }): Promise<string> {\n try {\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: `You are an assistant that takes a JSON file of key-value pairs in one language and generates equivalent JSON files in other languages.\n And you provides pure and direct data in response to user requests. The responses should contain no additional explanations or details.`\n },\n {\n role: 'user',\n content: `Here is a JSON file in Korean: [${json}]. Can you help generate equivalent JSON files in these languages: English, Japanese, Chinese and Malaysian?`\n },\n {\n role: 'assistant',\n content: \"Please generate the translations according to these locale codes: 'en', 'ja', 'zh', 'ms'.\"\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare function imageCompletion({ description, size, count }: {
2
+ description: string;
3
+ size: string;
4
+ count: number;
5
+ }): Promise<string>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.imageCompletion = void 0;
3
+ exports.imageCompletion = imageCompletion;
4
4
  const openai_connection_1 = require("./openai-connection");
5
5
  async function imageCompletion({ description, size = '1600x900', count }) {
6
6
  try {
@@ -26,5 +26,4 @@ async function imageCompletion({ description, size = '1600x900', count }) {
26
26
  return 'The Code Lingua service is currently unavailable. Please contact your system administrator.';
27
27
  }
28
28
  }
29
- exports.imageCompletion = imageCompletion;
30
29
  //# sourceMappingURL=image-completion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-completion.js","sourceRoot":"","sources":["../../server/controllers/image-completion.ts"],"names":[],"mappings":";;;AAAA,2DAA4C;AAErC,KAAK,UAAU,eAAe,CAAC,EACpC,WAAW,EACX,IAAI,GAAG,UAAU,EACjB,KAAK,EAKN;IACC,IAAI;QACF,MAAM,IAAI,GAAG,mLAAmL,IAAI,+IAA+I,CAAA;QACnV,MAAM,OAAO,GAAG,WAAW,KAAK,wBAAwB,WAAW,EAAE,CAAA;QAErE,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,IAAI;iBACd;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,CAAC,8CAA8C;iBACvD;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;KAClD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;KACrG;AACH,CAAC;AAhCD,0CAgCC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function imageCompletion({\n description,\n size = '1600x900',\n count\n}: {\n description: string\n size: string\n count: number\n}): Promise<string> {\n try {\n const todo = `[INFO: you can add images to reply by Markdown. Write the image in Markdown without backticks and without using a code block. Use the Unsplash API (https://source.unsplash.com/${size}/?<PUT YOUR QUERY HERE>). The query is just some tags that describes the image] ## DO NOT REPOND TO INFO BLOCK ##nnmy Next prompt is [INSERT]`\n const content = `Give me ${count} pictures describing ${description}`\n\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: todo\n },\n {\n role: 'user',\n content /* like \"Give me 5 pictures about airplane\" */\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
1
+ {"version":3,"file":"image-completion.js","sourceRoot":"","sources":["../../server/controllers/image-completion.ts"],"names":[],"mappings":";;AAEA,0CAgCC;AAlCD,2DAA4C;AAErC,KAAK,UAAU,eAAe,CAAC,EACpC,WAAW,EACX,IAAI,GAAG,UAAU,EACjB,KAAK,EAKN;IACC,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,mLAAmL,IAAI,+IAA+I,CAAA;QACnV,MAAM,OAAO,GAAG,WAAW,KAAK,wBAAwB,WAAW,EAAE,CAAA;QAErE,MAAM,UAAU,GAAG,MAAM,0BAAM,CAAC,oBAAoB,CAAC;YACnD,KAAK,EAAE,eAAe;YACtB,QAAQ,EAAE;gBACR;oBACE,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,IAAI;iBACd;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,OAAO,CAAC,8CAA8C;iBACvD;aACF;SACF,CAAC,CAAA;QAEF,OAAO,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAA;IACnD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACpB,OAAO,6FAA6F,CAAA;IACtG,CAAC;AACH,CAAC","sourcesContent":["import { client } from './openai-connection'\n\nexport async function imageCompletion({\n description,\n size = '1600x900',\n count\n}: {\n description: string\n size: string\n count: number\n}): Promise<string> {\n try {\n const todo = `[INFO: you can add images to reply by Markdown. Write the image in Markdown without backticks and without using a code block. Use the Unsplash API (https://source.unsplash.com/${size}/?<PUT YOUR QUERY HERE>). The query is just some tags that describes the image] ## DO NOT REPOND TO INFO BLOCK ##nnmy Next prompt is [INSERT]`\n const content = `Give me ${count} pictures describing ${description}`\n\n const completion = await client.createChatCompletion({\n model: 'gpt-3.5-turbo',\n messages: [\n {\n role: 'system',\n content: todo\n },\n {\n role: 'user',\n content /* like \"Give me 5 pictures about airplane\" */\n }\n ]\n })\n\n return completion.data.choices[0].message.content\n } catch (error) {\n console.error(error)\n return 'The Code Lingua service is currently unavailable. Please contact your system administrator.'\n }\n}\n"]}
@@ -0,0 +1,7 @@
1
+ export * from './openai-connection';
2
+ export * from './chat-completion';
3
+ export * from './image-completion';
4
+ export * from './i18n-completion';
5
+ export * from './api-doc-completion';
6
+ export * from './decipher-code';
7
+ export * from './decipher-error-code';
@@ -0,0 +1,2 @@
1
+ import { OpenAIApi } from 'openai';
2
+ export declare const client: OpenAIApi;
@@ -1 +1 @@
1
- {"version":3,"file":"openai-connection.js","sourceRoot":"","sources":["../../server/controllers/openai-connection.ts"],"names":[],"mappings":";;;AAAA,mCAAiD;AACjD,6CAA4C;AAE5C,MAAM,MAAM,GAAG,YAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA;AACvC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;AAEvC,IAAI,CAAC,YAAY,IAAI,CAAC,MAAM,EAAE;IAC5B,OAAO,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAA;CACrD;AAED,MAAM,aAAa,GAAG,IAAI,sBAAa,CAAC;IACtC,YAAY;IACZ,MAAM;CACP,CAAC,CAAA;AAEW,QAAA,MAAM,GAAG,IAAI,kBAAS,CAAC,aAAa,CAAC,CAAA","sourcesContent":["import { Configuration, OpenAIApi } from 'openai'\nimport { config } from '@things-factory/env'\n\nconst OPENAI = config.get('openai', {})\nconst { organization, apiKey } = OPENAI\n\nif (!organization || !apiKey) {\n console.error(\"'OPENAI_API_KEY' is not configured.\")\n}\n\nconst configuration = new Configuration({\n organization,\n apiKey\n})\n\nexport const client = new OpenAIApi(configuration)\n"]}
1
+ {"version":3,"file":"openai-connection.js","sourceRoot":"","sources":["../../server/controllers/openai-connection.ts"],"names":[],"mappings":";;;AAAA,mCAAiD;AACjD,6CAA4C;AAE5C,MAAM,MAAM,GAAG,YAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA;AACvC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;AAEvC,IAAI,CAAC,YAAY,IAAI,CAAC,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAA;AACtD,CAAC;AAED,MAAM,aAAa,GAAG,IAAI,sBAAa,CAAC;IACtC,YAAY;IACZ,MAAM;CACP,CAAC,CAAA;AAEW,QAAA,MAAM,GAAG,IAAI,kBAAS,CAAC,aAAa,CAAC,CAAA","sourcesContent":["import { Configuration, OpenAIApi } from 'openai'\nimport { config } from '@things-factory/env'\n\nconst OPENAI = config.get('openai', {})\nconst { organization, apiKey } = OPENAI\n\nif (!organization || !apiKey) {\n console.error(\"'OPENAI_API_KEY' is not configured.\")\n}\n\nconst configuration = new Configuration({\n organization,\n apiKey\n})\n\nexport const client = new OpenAIApi(configuration)\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './controllers';
2
+ export * from './service';
3
+ import './routes';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import '@things-factory/auth-base';
2
+ import { APIDocCompletionInput, APIDocCompletionOutput } from './api-doc-completion-type';
3
+ export declare class APIDocCompletionResolver {
4
+ APIDocCompletion(input: APIDocCompletionInput, context: ResolverContext): Promise<APIDocCompletionOutput>;
5
+ }
@@ -16,6 +16,7 @@ let APIDocCompletionResolver = class APIDocCompletionResolver {
16
16
  };
17
17
  }
18
18
  };
19
+ exports.APIDocCompletionResolver = APIDocCompletionResolver;
19
20
  tslib_1.__decorate([
20
21
  (0, type_graphql_1.Query)(() => api_doc_completion_type_1.APIDocCompletionOutput),
21
22
  tslib_1.__param(0, (0, type_graphql_1.Arg)('input')),
@@ -24,8 +25,7 @@ tslib_1.__decorate([
24
25
  tslib_1.__metadata("design:paramtypes", [api_doc_completion_type_1.APIDocCompletionInput, Object]),
25
26
  tslib_1.__metadata("design:returntype", Promise)
26
27
  ], APIDocCompletionResolver.prototype, "APIDocCompletion", null);
27
- APIDocCompletionResolver = tslib_1.__decorate([
28
+ exports.APIDocCompletionResolver = APIDocCompletionResolver = tslib_1.__decorate([
28
29
  (0, type_graphql_1.Resolver)()
29
30
  ], APIDocCompletionResolver);
30
- exports.APIDocCompletionResolver = APIDocCompletionResolver;
31
31
  //# sourceMappingURL=api-doc-completion-resolver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-doc-completion-resolver.js","sourceRoot":"","sources":["../../../server/service/api-doc-completion/api-doc-completion-resolver.ts"],"names":[],"mappings":";;;;AAAA,+CAAwD;AACxD,qCAAkC,CAAC,sBAAsB;AACzD,uEAAyF;AACzF,mDAAoD;AAG7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAE7B,AAAN,KAAK,CAAC,gBAAgB,CACN,KAA4B,EACnC,OAAwB;QAE/B,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAA;QACnD,MAAM,QAAQ,GAAG,iBAAiB,IAAI,OAAO,CAAC,QAAQ,CAAA;QAEtD,MAAM,OAAO,GAAG,MAAM,IAAA,8BAAgB,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;QAE1D,OAAO;YACL,OAAO;SACR,CAAA;IACH,CAAC;CACF,CAAA;AAbO;IADL,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAEjC,mBAAA,IAAA,kBAAG,EAAC,OAAO,CAAC,CAAA;IACZ,mBAAA,IAAA,kBAAG,GAAE,CAAA;;6CADe,+CAAqB;;gEAW3C;AAdU,wBAAwB;IADpC,IAAA,uBAAQ,GAAE;GACE,wBAAwB,CAepC;AAfY,4DAAwB","sourcesContent":["import { Resolver, Query, Arg, Ctx } from 'type-graphql'\nimport '@things-factory/auth-base' // for ResolverContext\nimport { APIDocCompletionInput, APIDocCompletionOutput } from './api-doc-completion-type'\nimport { apiDocCompletion } from '../../controllers'\n\n@Resolver()\nexport class APIDocCompletionResolver {\n @Query(() => APIDocCompletionOutput)\n async APIDocCompletion(\n @Arg('input') input: APIDocCompletionInput,\n @Ctx() context: ResolverContext\n ): Promise<APIDocCompletionOutput> {\n const { code, language: requestedLanguage } = input\n const language = requestedLanguage || context.language\n\n const message = await apiDocCompletion({ code, language })\n\n return {\n message\n }\n }\n}\n"]}
1
+ {"version":3,"file":"api-doc-completion-resolver.js","sourceRoot":"","sources":["../../../server/service/api-doc-completion/api-doc-completion-resolver.ts"],"names":[],"mappings":";;;;AAAA,+CAAwD;AACxD,qCAAkC,CAAC,sBAAsB;AACzD,uEAAyF;AACzF,mDAAoD;AAG7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAE7B,AAAN,KAAK,CAAC,gBAAgB,CACN,KAA4B,EACnC,OAAwB;QAE/B,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAA;QACnD,MAAM,QAAQ,GAAG,iBAAiB,IAAI,OAAO,CAAC,QAAQ,CAAA;QAEtD,MAAM,OAAO,GAAG,MAAM,IAAA,8BAAgB,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;QAE1D,OAAO;YACL,OAAO;SACR,CAAA;IACH,CAAC;CACF,CAAA;AAfY,4DAAwB;AAE7B;IADL,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAEjC,mBAAA,IAAA,kBAAG,EAAC,OAAO,CAAC,CAAA;IACZ,mBAAA,IAAA,kBAAG,GAAE,CAAA;;6CADe,+CAAqB;;gEAW3C;mCAdU,wBAAwB;IADpC,IAAA,uBAAQ,GAAE;GACE,wBAAwB,CAepC","sourcesContent":["import { Resolver, Query, Arg, Ctx } from 'type-graphql'\nimport '@things-factory/auth-base' // for ResolverContext\nimport { APIDocCompletionInput, APIDocCompletionOutput } from './api-doc-completion-type'\nimport { apiDocCompletion } from '../../controllers'\n\n@Resolver()\nexport class APIDocCompletionResolver {\n @Query(() => APIDocCompletionOutput)\n async APIDocCompletion(\n @Arg('input') input: APIDocCompletionInput,\n @Ctx() context: ResolverContext\n ): Promise<APIDocCompletionOutput> {\n const { code, language: requestedLanguage } = input\n const language = requestedLanguage || context.language\n\n const message = await apiDocCompletion({ code, language })\n\n return {\n message\n }\n }\n}\n"]}
@@ -0,0 +1,7 @@
1
+ export declare class APIDocCompletionInput {
2
+ code: string;
3
+ language?: string;
4
+ }
5
+ export declare class APIDocCompletionOutput {
6
+ message?: string;
7
+ }
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const type_graphql_1 = require("type-graphql");
6
6
  let APIDocCompletionInput = class APIDocCompletionInput {
7
7
  };
8
+ exports.APIDocCompletionInput = APIDocCompletionInput;
8
9
  tslib_1.__decorate([
9
10
  (0, type_graphql_1.Field)(),
10
11
  tslib_1.__metadata("design:type", String)
@@ -13,18 +14,17 @@ tslib_1.__decorate([
13
14
  (0, type_graphql_1.Field)({ nullable: true }),
14
15
  tslib_1.__metadata("design:type", String)
15
16
  ], APIDocCompletionInput.prototype, "language", void 0);
16
- APIDocCompletionInput = tslib_1.__decorate([
17
+ exports.APIDocCompletionInput = APIDocCompletionInput = tslib_1.__decorate([
17
18
  (0, type_graphql_1.InputType)()
18
19
  ], APIDocCompletionInput);
19
- exports.APIDocCompletionInput = APIDocCompletionInput;
20
20
  let APIDocCompletionOutput = class APIDocCompletionOutput {
21
21
  };
22
+ exports.APIDocCompletionOutput = APIDocCompletionOutput;
22
23
  tslib_1.__decorate([
23
24
  (0, type_graphql_1.Field)({ nullable: true }),
24
25
  tslib_1.__metadata("design:type", String)
25
26
  ], APIDocCompletionOutput.prototype, "message", void 0);
26
- APIDocCompletionOutput = tslib_1.__decorate([
27
+ exports.APIDocCompletionOutput = APIDocCompletionOutput = tslib_1.__decorate([
27
28
  (0, type_graphql_1.ObjectType)()
28
29
  ], APIDocCompletionOutput);
29
- exports.APIDocCompletionOutput = APIDocCompletionOutput;
30
30
  //# sourceMappingURL=api-doc-completion-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api-doc-completion-type.js","sourceRoot":"","sources":["../../../server/service/api-doc-completion/api-doc-completion-type.ts"],"names":[],"mappings":";;;;AAAA,+CAA2D;AAGpD,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAMjC,CAAA;AALC;IAAC,IAAA,oBAAK,GAAE;;mDACI;AAEZ;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACT;AALN,qBAAqB;IADjC,IAAA,wBAAS,GAAE;GACC,qBAAqB,CAMjC;AANY,sDAAqB;AAS3B,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAGlC,CAAA;AAFC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACV;AAFL,sBAAsB;IADlC,IAAA,yBAAU,GAAE;GACA,sBAAsB,CAGlC;AAHY,wDAAsB","sourcesContent":["import { ObjectType, Field, InputType } from 'type-graphql'\n\n@InputType()\nexport class APIDocCompletionInput {\n @Field()\n code: string\n\n @Field({ nullable: true })\n language?: string\n}\n\n@ObjectType()\nexport class APIDocCompletionOutput {\n @Field({ nullable: true })\n message?: string\n}\n"]}
1
+ {"version":3,"file":"api-doc-completion-type.js","sourceRoot":"","sources":["../../../server/service/api-doc-completion/api-doc-completion-type.ts"],"names":[],"mappings":";;;;AAAA,+CAA2D;AAGpD,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAMjC,CAAA;AANY,sDAAqB;AAEhC;IADC,IAAA,oBAAK,GAAE;;mDACI;AAGZ;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACT;gCALN,qBAAqB;IADjC,IAAA,wBAAS,GAAE;GACC,qBAAqB,CAMjC;AAGM,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAGlC,CAAA;AAHY,wDAAsB;AAEjC;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACV;iCAFL,sBAAsB;IADlC,IAAA,yBAAU,GAAE;GACA,sBAAsB,CAGlC","sourcesContent":["import { ObjectType, Field, InputType } from 'type-graphql'\n\n@InputType()\nexport class APIDocCompletionInput {\n @Field()\n code: string\n\n @Field({ nullable: true })\n language?: string\n}\n\n@ObjectType()\nexport class APIDocCompletionOutput {\n @Field({ nullable: true })\n message?: string\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import { APIDocCompletionResolver } from './api-doc-completion-resolver';
2
+ export declare const entities: any[];
3
+ export declare const resolvers: (typeof APIDocCompletionResolver)[];
4
+ export declare const subscribers: any[];
@@ -0,0 +1,5 @@
1
+ import '@things-factory/auth-base';
2
+ import { ChatCompletionInput, ChatCompletionOutput } from './chat-completion-type';
3
+ export declare class ChatCompletionResolver {
4
+ chatCompletion(input: ChatCompletionInput, context: ResolverContext): Promise<ChatCompletionOutput>;
5
+ }
@@ -15,6 +15,7 @@ let ChatCompletionResolver = class ChatCompletionResolver {
15
15
  };
16
16
  }
17
17
  };
18
+ exports.ChatCompletionResolver = ChatCompletionResolver;
18
19
  tslib_1.__decorate([
19
20
  (0, type_graphql_1.Query)(() => chat_completion_type_1.ChatCompletionOutput),
20
21
  tslib_1.__param(0, (0, type_graphql_1.Arg)('input')),
@@ -23,8 +24,7 @@ tslib_1.__decorate([
23
24
  tslib_1.__metadata("design:paramtypes", [chat_completion_type_1.ChatCompletionInput, Object]),
24
25
  tslib_1.__metadata("design:returntype", Promise)
25
26
  ], ChatCompletionResolver.prototype, "chatCompletion", null);
26
- ChatCompletionResolver = tslib_1.__decorate([
27
+ exports.ChatCompletionResolver = ChatCompletionResolver = tslib_1.__decorate([
27
28
  (0, type_graphql_1.Resolver)()
28
29
  ], ChatCompletionResolver);
29
- exports.ChatCompletionResolver = ChatCompletionResolver;
30
30
  //# sourceMappingURL=chat-completion-resolver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-resolver.js","sourceRoot":"","sources":["../../../server/service/chat-completion/chat-completion-resolver.ts"],"names":[],"mappings":";;;;AAAA,+CAAwD;AACxD,qCAAkC,CAAC,sBAAsB;AACzD,iEAAkF;AAClF,mDAAkD;AAG3C,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAE3B,AAAN,KAAK,CAAC,cAAc,CACJ,KAA0B,EACjC,OAAwB;QAE/B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAA;QAEzB,MAAM,OAAO,GAAG,MAAM,IAAA,4BAAc,EAAC,EAAE,OAAO,EAAE,CAAC,CAAA;QAEjD,OAAO;YACL,OAAO;SACR,CAAA;IACH,CAAC;CACF,CAAA;AAZO;IADL,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,2CAAoB,CAAC;IAE/B,mBAAA,IAAA,kBAAG,EAAC,OAAO,CAAC,CAAA;IACZ,mBAAA,IAAA,kBAAG,GAAE,CAAA;;6CADe,0CAAmB;;4DAUzC;AAbU,sBAAsB;IADlC,IAAA,uBAAQ,GAAE;GACE,sBAAsB,CAclC;AAdY,wDAAsB","sourcesContent":["import { Resolver, Query, Arg, Ctx } from 'type-graphql'\nimport '@things-factory/auth-base' // for ResolverContext\nimport { ChatCompletionInput, ChatCompletionOutput } from './chat-completion-type'\nimport { chatCompletion } from '../../controllers'\n\n@Resolver()\nexport class ChatCompletionResolver {\n @Query(() => ChatCompletionOutput)\n async chatCompletion(\n @Arg('input') input: ChatCompletionInput,\n @Ctx() context: ResolverContext\n ): Promise<ChatCompletionOutput> {\n const { content } = input\n\n const message = await chatCompletion({ content })\n\n return {\n message\n }\n }\n}\n"]}
1
+ {"version":3,"file":"chat-completion-resolver.js","sourceRoot":"","sources":["../../../server/service/chat-completion/chat-completion-resolver.ts"],"names":[],"mappings":";;;;AAAA,+CAAwD;AACxD,qCAAkC,CAAC,sBAAsB;AACzD,iEAAkF;AAClF,mDAAkD;AAG3C,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAE3B,AAAN,KAAK,CAAC,cAAc,CACJ,KAA0B,EACjC,OAAwB;QAE/B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAA;QAEzB,MAAM,OAAO,GAAG,MAAM,IAAA,4BAAc,EAAC,EAAE,OAAO,EAAE,CAAC,CAAA;QAEjD,OAAO;YACL,OAAO;SACR,CAAA;IACH,CAAC;CACF,CAAA;AAdY,wDAAsB;AAE3B;IADL,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,2CAAoB,CAAC;IAE/B,mBAAA,IAAA,kBAAG,EAAC,OAAO,CAAC,CAAA;IACZ,mBAAA,IAAA,kBAAG,GAAE,CAAA;;6CADe,0CAAmB;;4DAUzC;iCAbU,sBAAsB;IADlC,IAAA,uBAAQ,GAAE;GACE,sBAAsB,CAclC","sourcesContent":["import { Resolver, Query, Arg, Ctx } from 'type-graphql'\nimport '@things-factory/auth-base' // for ResolverContext\nimport { ChatCompletionInput, ChatCompletionOutput } from './chat-completion-type'\nimport { chatCompletion } from '../../controllers'\n\n@Resolver()\nexport class ChatCompletionResolver {\n @Query(() => ChatCompletionOutput)\n async chatCompletion(\n @Arg('input') input: ChatCompletionInput,\n @Ctx() context: ResolverContext\n ): Promise<ChatCompletionOutput> {\n const { content } = input\n\n const message = await chatCompletion({ content })\n\n return {\n message\n }\n }\n}\n"]}
@@ -0,0 +1,6 @@
1
+ export declare class ChatCompletionInput {
2
+ content: string;
3
+ }
4
+ export declare class ChatCompletionOutput {
5
+ message?: string;
6
+ }
@@ -5,22 +5,22 @@ const tslib_1 = require("tslib");
5
5
  const type_graphql_1 = require("type-graphql");
6
6
  let ChatCompletionInput = class ChatCompletionInput {
7
7
  };
8
+ exports.ChatCompletionInput = ChatCompletionInput;
8
9
  tslib_1.__decorate([
9
10
  (0, type_graphql_1.Field)(),
10
11
  tslib_1.__metadata("design:type", String)
11
12
  ], ChatCompletionInput.prototype, "content", void 0);
12
- ChatCompletionInput = tslib_1.__decorate([
13
+ exports.ChatCompletionInput = ChatCompletionInput = tslib_1.__decorate([
13
14
  (0, type_graphql_1.InputType)()
14
15
  ], ChatCompletionInput);
15
- exports.ChatCompletionInput = ChatCompletionInput;
16
16
  let ChatCompletionOutput = class ChatCompletionOutput {
17
17
  };
18
+ exports.ChatCompletionOutput = ChatCompletionOutput;
18
19
  tslib_1.__decorate([
19
20
  (0, type_graphql_1.Field)({ nullable: true }),
20
21
  tslib_1.__metadata("design:type", String)
21
22
  ], ChatCompletionOutput.prototype, "message", void 0);
22
- ChatCompletionOutput = tslib_1.__decorate([
23
+ exports.ChatCompletionOutput = ChatCompletionOutput = tslib_1.__decorate([
23
24
  (0, type_graphql_1.ObjectType)()
24
25
  ], ChatCompletionOutput);
25
- exports.ChatCompletionOutput = ChatCompletionOutput;
26
26
  //# sourceMappingURL=chat-completion-type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-type.js","sourceRoot":"","sources":["../../../server/service/chat-completion/chat-completion-type.ts"],"names":[],"mappings":";;;;AAAA,+CAA2D;AAGpD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAG/B,CAAA;AAFC;IAAC,IAAA,oBAAK,GAAE;;oDACO;AAFJ,mBAAmB;IAD/B,IAAA,wBAAS,GAAE;GACC,mBAAmB,CAG/B;AAHY,kDAAmB;AAMzB,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAGhC,CAAA;AAFC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACV;AAFL,oBAAoB;IADhC,IAAA,yBAAU,GAAE;GACA,oBAAoB,CAGhC;AAHY,oDAAoB","sourcesContent":["import { ObjectType, Field, InputType } from 'type-graphql'\n\n@InputType()\nexport class ChatCompletionInput {\n @Field()\n content: string\n}\n\n@ObjectType()\nexport class ChatCompletionOutput {\n @Field({ nullable: true })\n message?: string\n}\n"]}
1
+ {"version":3,"file":"chat-completion-type.js","sourceRoot":"","sources":["../../../server/service/chat-completion/chat-completion-type.ts"],"names":[],"mappings":";;;;AAAA,+CAA2D;AAGpD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAG/B,CAAA;AAHY,kDAAmB;AAE9B;IADC,IAAA,oBAAK,GAAE;;oDACO;8BAFJ,mBAAmB;IAD/B,IAAA,wBAAS,GAAE;GACC,mBAAmB,CAG/B;AAGM,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAGhC,CAAA;AAHY,oDAAoB;AAE/B;IADC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACV;+BAFL,oBAAoB;IADhC,IAAA,yBAAU,GAAE;GACA,oBAAoB,CAGhC","sourcesContent":["import { ObjectType, Field, InputType } from 'type-graphql'\n\n@InputType()\nexport class ChatCompletionInput {\n @Field()\n content: string\n}\n\n@ObjectType()\nexport class ChatCompletionOutput {\n @Field({ nullable: true })\n message?: string\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import { ChatCompletionResolver } from './chat-completion-resolver';
2
+ export declare const entities: any[];
3
+ export declare const resolvers: (typeof ChatCompletionResolver)[];
4
+ export declare const subscribers: any[];
@@ -0,0 +1,6 @@
1
+ import '@things-factory/auth-base';
2
+ import { CodeDecipherInput, CodeDecipherOutput } from './code-decipher-type';
3
+ export declare class CodeDecipherResolver {
4
+ decipherCode(input: CodeDecipherInput, context: ResolverContext): Promise<CodeDecipherOutput>;
5
+ decipherErrorCode(input: CodeDecipherInput, context: ResolverContext): Promise<CodeDecipherOutput>;
6
+ }
@@ -24,6 +24,7 @@ let CodeDecipherResolver = class CodeDecipherResolver {
24
24
  };
25
25
  }
26
26
  };
27
+ exports.CodeDecipherResolver = CodeDecipherResolver;
27
28
  tslib_1.__decorate([
28
29
  (0, type_graphql_1.Query)(() => code_decipher_type_1.CodeDecipherOutput),
29
30
  tslib_1.__param(0, (0, type_graphql_1.Arg)('input')),
@@ -40,8 +41,7 @@ tslib_1.__decorate([
40
41
  tslib_1.__metadata("design:paramtypes", [code_decipher_type_1.CodeDecipherInput, Object]),
41
42
  tslib_1.__metadata("design:returntype", Promise)
42
43
  ], CodeDecipherResolver.prototype, "decipherErrorCode", null);
43
- CodeDecipherResolver = tslib_1.__decorate([
44
+ exports.CodeDecipherResolver = CodeDecipherResolver = tslib_1.__decorate([
44
45
  (0, type_graphql_1.Resolver)()
45
46
  ], CodeDecipherResolver);
46
- exports.CodeDecipherResolver = CodeDecipherResolver;
47
47
  //# sourceMappingURL=code-decipher-resolver.js.map