Initial commit
This commit is contained in:
		
						commit
						99d823e15a
					
				
					 23 changed files with 927 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.editorconfig
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,10 @@
 | 
				
			||||||
 | 
					root = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[*]
 | 
				
			||||||
 | 
					end_of_line = lf
 | 
				
			||||||
 | 
					insert_final_newline = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[*.{js,json,yml}]
 | 
				
			||||||
 | 
					charset = utf-8
 | 
				
			||||||
 | 
					indent_style = space
 | 
				
			||||||
 | 
					indent_size = 2
 | 
				
			||||||
							
								
								
									
										4
									
								
								.gitattributes
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.gitattributes
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					/.yarn/**            linguist-vendored
 | 
				
			||||||
 | 
					/.yarn/releases/*    binary
 | 
				
			||||||
 | 
					/.yarn/plugins/**/*  binary
 | 
				
			||||||
 | 
					/.pnp.*              binary linguist-generated
 | 
				
			||||||
							
								
								
									
										256
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										256
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,256 @@
 | 
				
			||||||
 | 
					.yarn/*
 | 
				
			||||||
 | 
					!.yarn/patches
 | 
				
			||||||
 | 
					!.yarn/plugins
 | 
				
			||||||
 | 
					!.yarn/releases
 | 
				
			||||||
 | 
					!.yarn/sdks
 | 
				
			||||||
 | 
					!.yarn/versions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Swap the comments on the following lines if you don't wish to use zero-installs
 | 
				
			||||||
 | 
					# Documentation here: https://yarnpkg.com/features/zero-installs
 | 
				
			||||||
 | 
					!.yarn/cache
 | 
				
			||||||
 | 
					#.pnp.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Created by https://www.toptal.com/developers/gitignore/api/node,rider,visualstudiocode
 | 
				
			||||||
 | 
					# Edit at https://www.toptal.com/developers/gitignore?templates=node,rider,visualstudiocode
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Node ###
 | 
				
			||||||
 | 
					# Logs
 | 
				
			||||||
 | 
					logs
 | 
				
			||||||
 | 
					*.log
 | 
				
			||||||
 | 
					npm-debug.log*
 | 
				
			||||||
 | 
					yarn-debug.log*
 | 
				
			||||||
 | 
					yarn-error.log*
 | 
				
			||||||
 | 
					lerna-debug.log*
 | 
				
			||||||
 | 
					.pnpm-debug.log*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Diagnostic reports (https://nodejs.org/api/report.html)
 | 
				
			||||||
 | 
					report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Runtime data
 | 
				
			||||||
 | 
					pids
 | 
				
			||||||
 | 
					*.pid
 | 
				
			||||||
 | 
					*.seed
 | 
				
			||||||
 | 
					*.pid.lock
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Directory for instrumented libs generated by jscoverage/JSCover
 | 
				
			||||||
 | 
					lib-cov
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Coverage directory used by tools like istanbul
 | 
				
			||||||
 | 
					coverage
 | 
				
			||||||
 | 
					*.lcov
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# nyc test coverage
 | 
				
			||||||
 | 
					.nyc_output
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
 | 
				
			||||||
 | 
					.grunt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Bower dependency directory (https://bower.io/)
 | 
				
			||||||
 | 
					bower_components
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# node-waf configuration
 | 
				
			||||||
 | 
					.lock-wscript
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Compiled binary addons (https://nodejs.org/api/addons.html)
 | 
				
			||||||
 | 
					build/Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Dependency directories
 | 
				
			||||||
 | 
					node_modules/
 | 
				
			||||||
 | 
					jspm_packages/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Snowpack dependency directory (https://snowpack.dev/)
 | 
				
			||||||
 | 
					web_modules/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TypeScript cache
 | 
				
			||||||
 | 
					*.tsbuildinfo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Optional npm cache directory
 | 
				
			||||||
 | 
					.npm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Optional eslint cache
 | 
				
			||||||
 | 
					.eslintcache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Optional stylelint cache
 | 
				
			||||||
 | 
					.stylelintcache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Microbundle cache
 | 
				
			||||||
 | 
					.rpt2_cache/
 | 
				
			||||||
 | 
					.rts2_cache_cjs/
 | 
				
			||||||
 | 
					.rts2_cache_es/
 | 
				
			||||||
 | 
					.rts2_cache_umd/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Optional REPL history
 | 
				
			||||||
 | 
					.node_repl_history
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Output of 'npm pack'
 | 
				
			||||||
 | 
					*.tgz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Yarn Integrity file
 | 
				
			||||||
 | 
					.yarn-integrity
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# dotenv environment variable files
 | 
				
			||||||
 | 
					.env
 | 
				
			||||||
 | 
					.env.development.local
 | 
				
			||||||
 | 
					.env.test.local
 | 
				
			||||||
 | 
					.env.production.local
 | 
				
			||||||
 | 
					.env.local
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# parcel-bundler cache (https://parceljs.org/)
 | 
				
			||||||
 | 
					.cache
 | 
				
			||||||
 | 
					.parcel-cache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Next.js build output
 | 
				
			||||||
 | 
					.next
 | 
				
			||||||
 | 
					out
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Nuxt.js build / generate output
 | 
				
			||||||
 | 
					.nuxt
 | 
				
			||||||
 | 
					dist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Gatsby files
 | 
				
			||||||
 | 
					.cache/
 | 
				
			||||||
 | 
					# Comment in the public line in if your project uses Gatsby and not Next.js
 | 
				
			||||||
 | 
					# https://nextjs.org/blog/next-9-1#public-directory-support
 | 
				
			||||||
 | 
					# public
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# vuepress build output
 | 
				
			||||||
 | 
					.vuepress/dist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# vuepress v2.x temp and cache directory
 | 
				
			||||||
 | 
					.temp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Docusaurus cache and generated files
 | 
				
			||||||
 | 
					.docusaurus
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Serverless directories
 | 
				
			||||||
 | 
					.serverless/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# FuseBox cache
 | 
				
			||||||
 | 
					.fusebox/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DynamoDB Local files
 | 
				
			||||||
 | 
					.dynamodb/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TernJS port file
 | 
				
			||||||
 | 
					.tern-port
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Stores VSCode versions used for testing VSCode extensions
 | 
				
			||||||
 | 
					.vscode-test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# yarn v2
 | 
				
			||||||
 | 
					.yarn/cache
 | 
				
			||||||
 | 
					.yarn/unplugged
 | 
				
			||||||
 | 
					.yarn/build-state.yml
 | 
				
			||||||
 | 
					.yarn/install-state.gz
 | 
				
			||||||
 | 
					.pnp.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Node Patch ###
 | 
				
			||||||
 | 
					# Serverless Webpack directories
 | 
				
			||||||
 | 
					.webpack/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Optional stylelint cache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# SvelteKit build / generate output
 | 
				
			||||||
 | 
					.svelte-kit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Rider ###
 | 
				
			||||||
 | 
					# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
 | 
				
			||||||
 | 
					# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# User-specific stuff
 | 
				
			||||||
 | 
					.idea/**/workspace.xml
 | 
				
			||||||
 | 
					.idea/**/tasks.xml
 | 
				
			||||||
 | 
					.idea/**/usage.statistics.xml
 | 
				
			||||||
 | 
					.idea/**/dictionaries
 | 
				
			||||||
 | 
					.idea/**/shelf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# AWS User-specific
 | 
				
			||||||
 | 
					.idea/**/aws.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Generated files
 | 
				
			||||||
 | 
					.idea/**/contentModel.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Sensitive or high-churn files
 | 
				
			||||||
 | 
					.idea/**/dataSources/
 | 
				
			||||||
 | 
					.idea/**/dataSources.ids
 | 
				
			||||||
 | 
					.idea/**/dataSources.local.xml
 | 
				
			||||||
 | 
					.idea/**/sqlDataSources.xml
 | 
				
			||||||
 | 
					.idea/**/dynamic.xml
 | 
				
			||||||
 | 
					.idea/**/uiDesigner.xml
 | 
				
			||||||
 | 
					.idea/**/dbnavigator.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Gradle
 | 
				
			||||||
 | 
					.idea/**/gradle.xml
 | 
				
			||||||
 | 
					.idea/**/libraries
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Gradle and Maven with auto-import
 | 
				
			||||||
 | 
					# When using Gradle or Maven with auto-import, you should exclude module files,
 | 
				
			||||||
 | 
					# since they will be recreated, and may cause churn.  Uncomment if using
 | 
				
			||||||
 | 
					# auto-import.
 | 
				
			||||||
 | 
					# .idea/artifacts
 | 
				
			||||||
 | 
					# .idea/compiler.xml
 | 
				
			||||||
 | 
					# .idea/jarRepositories.xml
 | 
				
			||||||
 | 
					# .idea/modules.xml
 | 
				
			||||||
 | 
					# .idea/*.iml
 | 
				
			||||||
 | 
					# .idea/modules
 | 
				
			||||||
 | 
					# *.iml
 | 
				
			||||||
 | 
					# *.ipr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# CMake
 | 
				
			||||||
 | 
					cmake-build-*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Mongo Explorer plugin
 | 
				
			||||||
 | 
					.idea/**/mongoSettings.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# File-based project format
 | 
				
			||||||
 | 
					*.iws
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# IntelliJ
 | 
				
			||||||
 | 
					out/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# mpeltonen/sbt-idea plugin
 | 
				
			||||||
 | 
					.idea_modules/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# JIRA plugin
 | 
				
			||||||
 | 
					atlassian-ide-plugin.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Cursive Clojure plugin
 | 
				
			||||||
 | 
					.idea/replstate.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# SonarLint plugin
 | 
				
			||||||
 | 
					.idea/sonarlint/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Crashlytics plugin (for Android Studio and IntelliJ)
 | 
				
			||||||
 | 
					com_crashlytics_export_strings.xml
 | 
				
			||||||
 | 
					crashlytics.properties
 | 
				
			||||||
 | 
					crashlytics-build.properties
 | 
				
			||||||
 | 
					fabric.properties
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Editor-based Rest Client
 | 
				
			||||||
 | 
					.idea/httpRequests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Android studio 3.1+ serialized cache file
 | 
				
			||||||
 | 
					.idea/caches/build_file_checksums.ser
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### VisualStudioCode ###
 | 
				
			||||||
 | 
					.vscode/*
 | 
				
			||||||
 | 
					!.vscode/settings.json
 | 
				
			||||||
 | 
					!.vscode/tasks.json
 | 
				
			||||||
 | 
					!.vscode/launch.json
 | 
				
			||||||
 | 
					!.vscode/extensions.json
 | 
				
			||||||
 | 
					!.vscode/*.code-snippets
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Local History for Visual Studio Code
 | 
				
			||||||
 | 
					.history/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Built Visual Studio Code Extensions
 | 
				
			||||||
 | 
					*.vsix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### VisualStudioCode Patch ###
 | 
				
			||||||
 | 
					# Ignore all local history of files
 | 
				
			||||||
 | 
					.history
 | 
				
			||||||
 | 
					.ionide
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# End of https://www.toptal.com/developers/gitignore/api/node,rider,visualstudiocode
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					packages/telegram/config.json
 | 
				
			||||||
							
								
								
									
										13
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/.gitignore
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/.gitignore
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,13 @@
 | 
				
			||||||
 | 
					# Default ignored files
 | 
				
			||||||
 | 
					/shelf/
 | 
				
			||||||
 | 
					/workspace.xml
 | 
				
			||||||
 | 
					# Rider ignored files
 | 
				
			||||||
 | 
					/projectSettingsUpdater.xml
 | 
				
			||||||
 | 
					/modules.xml
 | 
				
			||||||
 | 
					/contentModel.xml
 | 
				
			||||||
 | 
					/.idea.sakuya-deployment-bot.iml
 | 
				
			||||||
 | 
					# Editor-based HTTP Client requests
 | 
				
			||||||
 | 
					/httpRequests/
 | 
				
			||||||
 | 
					# Datasource local storage ignored files
 | 
				
			||||||
 | 
					/dataSources/
 | 
				
			||||||
 | 
					/dataSources.local.xml
 | 
				
			||||||
							
								
								
									
										58
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/codeStyles/Project.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/codeStyles/Project.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,58 @@
 | 
				
			||||||
 | 
					<component name="ProjectCodeStyleConfiguration">
 | 
				
			||||||
 | 
					  <code_scheme name="Project" version="173">
 | 
				
			||||||
 | 
					    <HTMLCodeStyleSettings>
 | 
				
			||||||
 | 
					      <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
 | 
				
			||||||
 | 
					      <option name="HTML_ENFORCE_QUOTES" value="true" />
 | 
				
			||||||
 | 
					    </HTMLCodeStyleSettings>
 | 
				
			||||||
 | 
					    <JSCodeStyleSettings version="0">
 | 
				
			||||||
 | 
					      <option name="FORCE_SEMICOLON_STYLE" value="true" />
 | 
				
			||||||
 | 
					      <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
 | 
				
			||||||
 | 
					      <option name="FORCE_QUOTE_STYlE" value="true" />
 | 
				
			||||||
 | 
					      <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
 | 
				
			||||||
 | 
					      <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
 | 
				
			||||||
 | 
					      <option name="SPACES_WITHIN_IMPORTS" value="true" />
 | 
				
			||||||
 | 
					    </JSCodeStyleSettings>
 | 
				
			||||||
 | 
					    <TypeScriptCodeStyleSettings version="0">
 | 
				
			||||||
 | 
					      <option name="FORCE_SEMICOLON_STYLE" value="true" />
 | 
				
			||||||
 | 
					      <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
 | 
				
			||||||
 | 
					      <option name="FORCE_QUOTE_STYlE" value="true" />
 | 
				
			||||||
 | 
					      <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
 | 
				
			||||||
 | 
					      <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
 | 
				
			||||||
 | 
					      <option name="SPACES_WITHIN_IMPORTS" value="true" />
 | 
				
			||||||
 | 
					    </TypeScriptCodeStyleSettings>
 | 
				
			||||||
 | 
					    <VueCodeStyleSettings>
 | 
				
			||||||
 | 
					      <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
 | 
				
			||||||
 | 
					      <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
 | 
				
			||||||
 | 
					    </VueCodeStyleSettings>
 | 
				
			||||||
 | 
					    <codeStyleSettings language="HTML">
 | 
				
			||||||
 | 
					      <option name="SOFT_MARGINS" value="120" />
 | 
				
			||||||
 | 
					      <indentOptions>
 | 
				
			||||||
 | 
					        <option name="INDENT_SIZE" value="2" />
 | 
				
			||||||
 | 
					        <option name="CONTINUATION_INDENT_SIZE" value="2" />
 | 
				
			||||||
 | 
					        <option name="TAB_SIZE" value="2" />
 | 
				
			||||||
 | 
					      </indentOptions>
 | 
				
			||||||
 | 
					    </codeStyleSettings>
 | 
				
			||||||
 | 
					    <codeStyleSettings language="JavaScript">
 | 
				
			||||||
 | 
					      <option name="SOFT_MARGINS" value="120" />
 | 
				
			||||||
 | 
					      <indentOptions>
 | 
				
			||||||
 | 
					        <option name="INDENT_SIZE" value="2" />
 | 
				
			||||||
 | 
					        <option name="CONTINUATION_INDENT_SIZE" value="2" />
 | 
				
			||||||
 | 
					        <option name="TAB_SIZE" value="2" />
 | 
				
			||||||
 | 
					      </indentOptions>
 | 
				
			||||||
 | 
					    </codeStyleSettings>
 | 
				
			||||||
 | 
					    <codeStyleSettings language="TypeScript">
 | 
				
			||||||
 | 
					      <option name="SOFT_MARGINS" value="120" />
 | 
				
			||||||
 | 
					      <indentOptions>
 | 
				
			||||||
 | 
					        <option name="INDENT_SIZE" value="2" />
 | 
				
			||||||
 | 
					        <option name="CONTINUATION_INDENT_SIZE" value="2" />
 | 
				
			||||||
 | 
					        <option name="TAB_SIZE" value="2" />
 | 
				
			||||||
 | 
					      </indentOptions>
 | 
				
			||||||
 | 
					    </codeStyleSettings>
 | 
				
			||||||
 | 
					    <codeStyleSettings language="Vue">
 | 
				
			||||||
 | 
					      <option name="SOFT_MARGINS" value="120" />
 | 
				
			||||||
 | 
					      <indentOptions>
 | 
				
			||||||
 | 
					        <option name="CONTINUATION_INDENT_SIZE" value="2" />
 | 
				
			||||||
 | 
					      </indentOptions>
 | 
				
			||||||
 | 
					    </codeStyleSettings>
 | 
				
			||||||
 | 
					  </code_scheme>
 | 
				
			||||||
 | 
					</component>
 | 
				
			||||||
							
								
								
									
										5
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/codeStyles/codeStyleConfig.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/codeStyles/codeStyleConfig.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,5 @@
 | 
				
			||||||
 | 
					<component name="ProjectCodeStyleConfiguration">
 | 
				
			||||||
 | 
					  <state>
 | 
				
			||||||
 | 
					    <option name="USE_PER_PROJECT_SETTINGS" value="true" />
 | 
				
			||||||
 | 
					  </state>
 | 
				
			||||||
 | 
					</component>
 | 
				
			||||||
							
								
								
									
										4
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/encodings.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/encodings.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<project version="4">
 | 
				
			||||||
 | 
					  <component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
							
								
								
									
										8
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/indexLayout.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/indexLayout.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<project version="4">
 | 
				
			||||||
 | 
					  <component name="UserContentModel">
 | 
				
			||||||
 | 
					    <attachedFolders />
 | 
				
			||||||
 | 
					    <explicitIncludes />
 | 
				
			||||||
 | 
					    <explicitExcludes />
 | 
				
			||||||
 | 
					  </component>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
							
								
								
									
										6
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/jsLibraryMappings.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/jsLibraryMappings.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<project version="4">
 | 
				
			||||||
 | 
					  <component name="JavaScriptLibraryMappings">
 | 
				
			||||||
 | 
					    <includedPredefinedLibrary name="Node.js Core" />
 | 
				
			||||||
 | 
					  </component>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
							
								
								
									
										7
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/prettier.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/prettier.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<project version="4">
 | 
				
			||||||
 | 
					  <component name="PrettierConfiguration">
 | 
				
			||||||
 | 
					    <option name="myConfigurationMode" value="AUTOMATIC" />
 | 
				
			||||||
 | 
					    <option name="myRunOnSave" value="true" />
 | 
				
			||||||
 | 
					  </component>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
							
								
								
									
										6
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/vcs.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.idea/.idea.sakuya-deployment-bot.dir/.idea/vcs.xml
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<project version="4">
 | 
				
			||||||
 | 
					  <component name="VcsDirectoryMappings">
 | 
				
			||||||
 | 
					    <mapping directory="" vcs="Git" />
 | 
				
			||||||
 | 
					  </component>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
							
								
								
									
										3
									
								
								.prettierrc.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.prettierrc.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,3 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "printWidth": 120
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										1
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					# sakuya-deployment-bot
 | 
				
			||||||
							
								
								
									
										22
									
								
								package.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								package.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,22 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "name": "sakuya-deployment-bot",
 | 
				
			||||||
 | 
					  "packageManager": "yarn@3.6.1",
 | 
				
			||||||
 | 
					  "private": true,
 | 
				
			||||||
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "debug-bot": "yarn workspace telegram run start",
 | 
				
			||||||
 | 
					    "build-bot": "yarn workspace telegram run build"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "devDependencies": {
 | 
				
			||||||
 | 
					    "@types/node": "18.17.4",
 | 
				
			||||||
 | 
					    "@types/lodash": "4.14.197",
 | 
				
			||||||
 | 
					    "ts-node": "10.9.1",
 | 
				
			||||||
 | 
					    "prettier": "3.0.1"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "lodash": "4.17.21",
 | 
				
			||||||
 | 
					    "typescript": "5.1.6"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "workspaces": [
 | 
				
			||||||
 | 
					    "./packages/**/*"
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										7
									
								
								packages/config-loader/package.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								packages/config-loader/package.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "name": "config-loader",
 | 
				
			||||||
 | 
					  "version": "1.0.0",
 | 
				
			||||||
 | 
					  "main": "src/index.ts",
 | 
				
			||||||
 | 
					  "license": "MIT",
 | 
				
			||||||
 | 
					  "private": true
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										32
									
								
								packages/config-loader/src/index.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								packages/config-loader/src/index.ts
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,32 @@
 | 
				
			||||||
 | 
					import { readFileSync, existsSync } from "fs";
 | 
				
			||||||
 | 
					import { isObject, isString, isEmpty } from "lodash";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export type BotConfig = {
 | 
				
			||||||
 | 
					  token: string;
 | 
				
			||||||
 | 
					  channelId: string;
 | 
				
			||||||
 | 
					  adminChatId: string;
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export type BotConfigRaw = Partial<BotConfig>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const DEFAULT_CONFIG_PATH = "config.json";
 | 
				
			||||||
 | 
					const isValidString = (x: unknown) => isString(x) && !isEmpty(x);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const ensureIsObject = (x?: any): x is BotConfigRaw => isObject(x);
 | 
				
			||||||
 | 
					const ValidateConfig = (config?: any): config is BotConfig => {
 | 
				
			||||||
 | 
					  if (!ensureIsObject(config)) return false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const { token, channelId, adminChatId } = config;
 | 
				
			||||||
 | 
					  return isValidString(token) && isValidString(channelId) && isValidString(adminChatId);
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export const loadBotConfig = (configPath = DEFAULT_CONFIG_PATH): BotConfig => {
 | 
				
			||||||
 | 
					  if (!existsSync(configPath)) throw new Error(`Missing ${configPath} file`);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const configFileString = readFileSync(configPath).toString();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  const parsedConfig: any = JSON.parse(configFileString);
 | 
				
			||||||
 | 
					  if (ValidateConfig(parsedConfig)) return parsedConfig;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  throw new Error("Config is invalid");
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
							
								
								
									
										109
									
								
								packages/config-loader/tsconfig.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										109
									
								
								packages/config-loader/tsconfig.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,109 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "compilerOptions": {
 | 
				
			||||||
 | 
					    /* Visit https://aka.ms/tsconfig to read more about this file */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Projects */
 | 
				
			||||||
 | 
					    // "incremental": true,                              /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
 | 
				
			||||||
 | 
					    // "composite": true,                                /* Enable constraints that allow a TypeScript project to be used with project references. */
 | 
				
			||||||
 | 
					    // "tsBuildInfoFile": "./.tsbuildinfo",              /* Specify the path to .tsbuildinfo incremental compilation file. */
 | 
				
			||||||
 | 
					    // "disableSourceOfProjectReferenceRedirect": true,  /* Disable preferring source files instead of declaration files when referencing composite projects. */
 | 
				
			||||||
 | 
					    // "disableSolutionSearching": true,                 /* Opt a project out of multi-project reference checking when editing. */
 | 
				
			||||||
 | 
					    // "disableReferencedProjectLoad": true,             /* Reduce the number of projects loaded automatically by TypeScript. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Language and Environment */
 | 
				
			||||||
 | 
					    "target": "es2016",                                  /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
 | 
				
			||||||
 | 
					    // "lib": [],                                        /* Specify a set of bundled library declaration files that describe the target runtime environment. */
 | 
				
			||||||
 | 
					    // "jsx": "preserve",                                /* Specify what JSX code is generated. */
 | 
				
			||||||
 | 
					    // "experimentalDecorators": true,                   /* Enable experimental support for legacy experimental decorators. */
 | 
				
			||||||
 | 
					    // "emitDecoratorMetadata": true,                    /* Emit design-type metadata for decorated declarations in source files. */
 | 
				
			||||||
 | 
					    // "jsxFactory": "",                                 /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
 | 
				
			||||||
 | 
					    // "jsxFragmentFactory": "",                         /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
 | 
				
			||||||
 | 
					    // "jsxImportSource": "",                            /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
 | 
				
			||||||
 | 
					    // "reactNamespace": "",                             /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
 | 
				
			||||||
 | 
					    // "noLib": true,                                    /* Disable including any library files, including the default lib.d.ts. */
 | 
				
			||||||
 | 
					    // "useDefineForClassFields": true,                  /* Emit ECMAScript-standard-compliant class fields. */
 | 
				
			||||||
 | 
					    // "moduleDetection": "auto",                        /* Control what method is used to detect module-format JS files. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Modules */
 | 
				
			||||||
 | 
					    "module": "commonjs",                                /* Specify what module code is generated. */
 | 
				
			||||||
 | 
					    // "rootDir": "./",                                  /* Specify the root folder within your source files. */
 | 
				
			||||||
 | 
					    // "moduleResolution": "node10",                     /* Specify how TypeScript looks up a file from a given module specifier. */
 | 
				
			||||||
 | 
					    // "baseUrl": "./",                                  /* Specify the base directory to resolve non-relative module names. */
 | 
				
			||||||
 | 
					    // "paths": {},                                      /* Specify a set of entries that re-map imports to additional lookup locations. */
 | 
				
			||||||
 | 
					    // "rootDirs": [],                                   /* Allow multiple folders to be treated as one when resolving modules. */
 | 
				
			||||||
 | 
					    // "typeRoots": [],                                  /* Specify multiple folders that act like './node_modules/@types'. */
 | 
				
			||||||
 | 
					    // "types": [],                                      /* Specify type package names to be included without being referenced in a source file. */
 | 
				
			||||||
 | 
					    // "allowUmdGlobalAccess": true,                     /* Allow accessing UMD globals from modules. */
 | 
				
			||||||
 | 
					    // "moduleSuffixes": [],                             /* List of file name suffixes to search when resolving a module. */
 | 
				
			||||||
 | 
					    // "allowImportingTsExtensions": true,               /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
 | 
				
			||||||
 | 
					    // "resolvePackageJsonExports": true,                /* Use the package.json 'exports' field when resolving package imports. */
 | 
				
			||||||
 | 
					    // "resolvePackageJsonImports": true,                /* Use the package.json 'imports' field when resolving imports. */
 | 
				
			||||||
 | 
					    // "customConditions": [],                           /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
 | 
				
			||||||
 | 
					    // "resolveJsonModule": true,                        /* Enable importing .json files. */
 | 
				
			||||||
 | 
					    // "allowArbitraryExtensions": true,                 /* Enable importing files with any extension, provided a declaration file is present. */
 | 
				
			||||||
 | 
					    // "noResolve": true,                                /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* JavaScript Support */
 | 
				
			||||||
 | 
					    // "allowJs": true,                                  /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
 | 
				
			||||||
 | 
					    // "checkJs": true,                                  /* Enable error reporting in type-checked JavaScript files. */
 | 
				
			||||||
 | 
					    // "maxNodeModuleJsDepth": 1,                        /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Emit */
 | 
				
			||||||
 | 
					    // "declaration": true,                              /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
 | 
				
			||||||
 | 
					    // "declarationMap": true,                           /* Create sourcemaps for d.ts files. */
 | 
				
			||||||
 | 
					    // "emitDeclarationOnly": true,                      /* Only output d.ts files and not JavaScript files. */
 | 
				
			||||||
 | 
					    // "sourceMap": true,                                /* Create source map files for emitted JavaScript files. */
 | 
				
			||||||
 | 
					    // "inlineSourceMap": true,                          /* Include sourcemap files inside the emitted JavaScript. */
 | 
				
			||||||
 | 
					    // "outFile": "./",                                  /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
 | 
				
			||||||
 | 
					     "outDir": "./dist",                                   /* Specify an output folder for all emitted files. */
 | 
				
			||||||
 | 
					    // "removeComments": true,                           /* Disable emitting comments. */
 | 
				
			||||||
 | 
					    // "noEmit": true,                                   /* Disable emitting files from a compilation. */
 | 
				
			||||||
 | 
					    // "importHelpers": true,                            /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
 | 
				
			||||||
 | 
					    // "importsNotUsedAsValues": "remove",               /* Specify emit/checking behavior for imports that are only used for types. */
 | 
				
			||||||
 | 
					    // "downlevelIteration": true,                       /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
 | 
				
			||||||
 | 
					    // "sourceRoot": "",                                 /* Specify the root path for debuggers to find the reference source code. */
 | 
				
			||||||
 | 
					    // "mapRoot": "",                                    /* Specify the location where debugger should locate map files instead of generated locations. */
 | 
				
			||||||
 | 
					    // "inlineSources": true,                            /* Include source code in the sourcemaps inside the emitted JavaScript. */
 | 
				
			||||||
 | 
					    // "emitBOM": true,                                  /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
 | 
				
			||||||
 | 
					    // "newLine": "crlf",                                /* Set the newline character for emitting files. */
 | 
				
			||||||
 | 
					    // "stripInternal": true,                            /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
 | 
				
			||||||
 | 
					    // "noEmitHelpers": true,                            /* Disable generating custom helper functions like '__extends' in compiled output. */
 | 
				
			||||||
 | 
					    // "noEmitOnError": true,                            /* Disable emitting files if any type checking errors are reported. */
 | 
				
			||||||
 | 
					    // "preserveConstEnums": true,                       /* Disable erasing 'const enum' declarations in generated code. */
 | 
				
			||||||
 | 
					    // "declarationDir": "./",                           /* Specify the output directory for generated declaration files. */
 | 
				
			||||||
 | 
					    // "preserveValueImports": true,                     /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Interop Constraints */
 | 
				
			||||||
 | 
					    // "isolatedModules": true,                          /* Ensure that each file can be safely transpiled without relying on other imports. */
 | 
				
			||||||
 | 
					    // "verbatimModuleSyntax": true,                     /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
 | 
				
			||||||
 | 
					    // "allowSyntheticDefaultImports": true,             /* Allow 'import x from y' when a module doesn't have a default export. */
 | 
				
			||||||
 | 
					    "esModuleInterop": true,                             /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
 | 
				
			||||||
 | 
					    // "preserveSymlinks": true,                         /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
 | 
				
			||||||
 | 
					    "forceConsistentCasingInFileNames": true,            /* Ensure that casing is correct in imports. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Type Checking */
 | 
				
			||||||
 | 
					    "strict": true,                                      /* Enable all strict type-checking options. */
 | 
				
			||||||
 | 
					    // "noImplicitAny": true,                            /* Enable error reporting for expressions and declarations with an implied 'any' type. */
 | 
				
			||||||
 | 
					    // "strictNullChecks": true,                         /* When type checking, take into account 'null' and 'undefined'. */
 | 
				
			||||||
 | 
					    // "strictFunctionTypes": true,                      /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
 | 
				
			||||||
 | 
					    // "strictBindCallApply": true,                      /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
 | 
				
			||||||
 | 
					    // "strictPropertyInitialization": true,             /* Check for class properties that are declared but not set in the constructor. */
 | 
				
			||||||
 | 
					    // "noImplicitThis": true,                           /* Enable error reporting when 'this' is given the type 'any'. */
 | 
				
			||||||
 | 
					    // "useUnknownInCatchVariables": true,               /* Default catch clause variables as 'unknown' instead of 'any'. */
 | 
				
			||||||
 | 
					    // "alwaysStrict": true,                             /* Ensure 'use strict' is always emitted. */
 | 
				
			||||||
 | 
					    // "noUnusedLocals": true,                           /* Enable error reporting when local variables aren't read. */
 | 
				
			||||||
 | 
					    // "noUnusedParameters": true,                       /* Raise an error when a function parameter isn't read. */
 | 
				
			||||||
 | 
					    // "exactOptionalPropertyTypes": true,               /* Interpret optional property types as written, rather than adding 'undefined'. */
 | 
				
			||||||
 | 
					    // "noImplicitReturns": true,                        /* Enable error reporting for codepaths that do not explicitly return in a function. */
 | 
				
			||||||
 | 
					    // "noFallthroughCasesInSwitch": true,               /* Enable error reporting for fallthrough cases in switch statements. */
 | 
				
			||||||
 | 
					    // "noUncheckedIndexedAccess": true,                 /* Add 'undefined' to a type when accessed using an index. */
 | 
				
			||||||
 | 
					    // "noImplicitOverride": true,                       /* Ensure overriding members in derived classes are marked with an override modifier. */
 | 
				
			||||||
 | 
					    // "noPropertyAccessFromIndexSignature": true,       /* Enforces using indexed accessors for keys declared using an indexed type. */
 | 
				
			||||||
 | 
					    // "allowUnusedLabels": true,                        /* Disable error reporting for unused labels. */
 | 
				
			||||||
 | 
					    // "allowUnreachableCode": true,                     /* Disable error reporting for unreachable code. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Completeness */
 | 
				
			||||||
 | 
					    // "skipDefaultLibCheck": true,                      /* Skip type checking .d.ts files that are included with TypeScript. */
 | 
				
			||||||
 | 
					    "skipLibCheck": true                                 /* Skip type checking all .d.ts files. */
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										5
									
								
								packages/telegram/config.example.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								packages/telegram/config.example.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,5 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "token": "REPLACEME",
 | 
				
			||||||
 | 
					  "channelId": "REPLACEME",
 | 
				
			||||||
 | 
					  "adminChatId": "REPLACEME"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										14
									
								
								packages/telegram/package.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								packages/telegram/package.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "name": "telegram",
 | 
				
			||||||
 | 
					  "version": "1.0.0",
 | 
				
			||||||
 | 
					  "main": "dist/index.js",
 | 
				
			||||||
 | 
					  "license": "MIT",
 | 
				
			||||||
 | 
					  "private": true,
 | 
				
			||||||
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "build": "tsc -b",
 | 
				
			||||||
 | 
					    "start": "ts-node src/index.ts"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "telegraf": "4.12.2"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										4
									
								
								packages/telegram/src/index.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								packages/telegram/src/index.ts
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					import { loadBotConfig } from "config-loader";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const config = loadBotConfig();
 | 
				
			||||||
 | 
					console.log(JSON.stringify(config));
 | 
				
			||||||
							
								
								
									
										109
									
								
								packages/telegram/tsconfig.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										109
									
								
								packages/telegram/tsconfig.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,109 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "compilerOptions": {
 | 
				
			||||||
 | 
					    /* Visit https://aka.ms/tsconfig to read more about this file */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Projects */
 | 
				
			||||||
 | 
					    // "incremental": true,                              /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
 | 
				
			||||||
 | 
					    // "composite": true,                                /* Enable constraints that allow a TypeScript project to be used with project references. */
 | 
				
			||||||
 | 
					    // "tsBuildInfoFile": "./.tsbuildinfo",              /* Specify the path to .tsbuildinfo incremental compilation file. */
 | 
				
			||||||
 | 
					    // "disableSourceOfProjectReferenceRedirect": true,  /* Disable preferring source files instead of declaration files when referencing composite projects. */
 | 
				
			||||||
 | 
					    // "disableSolutionSearching": true,                 /* Opt a project out of multi-project reference checking when editing. */
 | 
				
			||||||
 | 
					    // "disableReferencedProjectLoad": true,             /* Reduce the number of projects loaded automatically by TypeScript. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Language and Environment */
 | 
				
			||||||
 | 
					    "target": "es2016",                                  /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
 | 
				
			||||||
 | 
					    // "lib": [],                                        /* Specify a set of bundled library declaration files that describe the target runtime environment. */
 | 
				
			||||||
 | 
					    // "jsx": "preserve",                                /* Specify what JSX code is generated. */
 | 
				
			||||||
 | 
					    // "experimentalDecorators": true,                   /* Enable experimental support for legacy experimental decorators. */
 | 
				
			||||||
 | 
					    // "emitDecoratorMetadata": true,                    /* Emit design-type metadata for decorated declarations in source files. */
 | 
				
			||||||
 | 
					    // "jsxFactory": "",                                 /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
 | 
				
			||||||
 | 
					    // "jsxFragmentFactory": "",                         /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
 | 
				
			||||||
 | 
					    // "jsxImportSource": "",                            /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
 | 
				
			||||||
 | 
					    // "reactNamespace": "",                             /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
 | 
				
			||||||
 | 
					    // "noLib": true,                                    /* Disable including any library files, including the default lib.d.ts. */
 | 
				
			||||||
 | 
					    // "useDefineForClassFields": true,                  /* Emit ECMAScript-standard-compliant class fields. */
 | 
				
			||||||
 | 
					    // "moduleDetection": "auto",                        /* Control what method is used to detect module-format JS files. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Modules */
 | 
				
			||||||
 | 
					    "module": "commonjs",                                /* Specify what module code is generated. */
 | 
				
			||||||
 | 
					    // "rootDir": "./",                                  /* Specify the root folder within your source files. */
 | 
				
			||||||
 | 
					    // "moduleResolution": "node10",                     /* Specify how TypeScript looks up a file from a given module specifier. */
 | 
				
			||||||
 | 
					    // "baseUrl": "./",                                  /* Specify the base directory to resolve non-relative module names. */
 | 
				
			||||||
 | 
					    // "paths": {},                                      /* Specify a set of entries that re-map imports to additional lookup locations. */
 | 
				
			||||||
 | 
					    // "rootDirs": [],                                   /* Allow multiple folders to be treated as one when resolving modules. */
 | 
				
			||||||
 | 
					    // "typeRoots": [],                                  /* Specify multiple folders that act like './node_modules/@types'. */
 | 
				
			||||||
 | 
					    // "types": [],                                      /* Specify type package names to be included without being referenced in a source file. */
 | 
				
			||||||
 | 
					    // "allowUmdGlobalAccess": true,                     /* Allow accessing UMD globals from modules. */
 | 
				
			||||||
 | 
					    // "moduleSuffixes": [],                             /* List of file name suffixes to search when resolving a module. */
 | 
				
			||||||
 | 
					    // "allowImportingTsExtensions": true,               /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
 | 
				
			||||||
 | 
					    // "resolvePackageJsonExports": true,                /* Use the package.json 'exports' field when resolving package imports. */
 | 
				
			||||||
 | 
					    // "resolvePackageJsonImports": true,                /* Use the package.json 'imports' field when resolving imports. */
 | 
				
			||||||
 | 
					    // "customConditions": [],                           /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
 | 
				
			||||||
 | 
					    // "resolveJsonModule": true,                        /* Enable importing .json files. */
 | 
				
			||||||
 | 
					    // "allowArbitraryExtensions": true,                 /* Enable importing files with any extension, provided a declaration file is present. */
 | 
				
			||||||
 | 
					    // "noResolve": true,                                /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* JavaScript Support */
 | 
				
			||||||
 | 
					    // "allowJs": true,                                  /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
 | 
				
			||||||
 | 
					    // "checkJs": true,                                  /* Enable error reporting in type-checked JavaScript files. */
 | 
				
			||||||
 | 
					    // "maxNodeModuleJsDepth": 1,                        /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Emit */
 | 
				
			||||||
 | 
					    // "declaration": true,                              /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
 | 
				
			||||||
 | 
					    // "declarationMap": true,                           /* Create sourcemaps for d.ts files. */
 | 
				
			||||||
 | 
					    // "emitDeclarationOnly": true,                      /* Only output d.ts files and not JavaScript files. */
 | 
				
			||||||
 | 
					    // "sourceMap": true,                                /* Create source map files for emitted JavaScript files. */
 | 
				
			||||||
 | 
					    // "inlineSourceMap": true,                          /* Include sourcemap files inside the emitted JavaScript. */
 | 
				
			||||||
 | 
					    // "outFile": "./",                                  /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
 | 
				
			||||||
 | 
					     "outDir": "./dist",                                   /* Specify an output folder for all emitted files. */
 | 
				
			||||||
 | 
					    // "removeComments": true,                           /* Disable emitting comments. */
 | 
				
			||||||
 | 
					    // "noEmit": true,                                   /* Disable emitting files from a compilation. */
 | 
				
			||||||
 | 
					    // "importHelpers": true,                            /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
 | 
				
			||||||
 | 
					    // "importsNotUsedAsValues": "remove",               /* Specify emit/checking behavior for imports that are only used for types. */
 | 
				
			||||||
 | 
					    // "downlevelIteration": true,                       /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
 | 
				
			||||||
 | 
					    // "sourceRoot": "",                                 /* Specify the root path for debuggers to find the reference source code. */
 | 
				
			||||||
 | 
					    // "mapRoot": "",                                    /* Specify the location where debugger should locate map files instead of generated locations. */
 | 
				
			||||||
 | 
					    // "inlineSources": true,                            /* Include source code in the sourcemaps inside the emitted JavaScript. */
 | 
				
			||||||
 | 
					    // "emitBOM": true,                                  /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
 | 
				
			||||||
 | 
					    // "newLine": "crlf",                                /* Set the newline character for emitting files. */
 | 
				
			||||||
 | 
					    // "stripInternal": true,                            /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
 | 
				
			||||||
 | 
					    // "noEmitHelpers": true,                            /* Disable generating custom helper functions like '__extends' in compiled output. */
 | 
				
			||||||
 | 
					    // "noEmitOnError": true,                            /* Disable emitting files if any type checking errors are reported. */
 | 
				
			||||||
 | 
					    // "preserveConstEnums": true,                       /* Disable erasing 'const enum' declarations in generated code. */
 | 
				
			||||||
 | 
					    // "declarationDir": "./",                           /* Specify the output directory for generated declaration files. */
 | 
				
			||||||
 | 
					    // "preserveValueImports": true,                     /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Interop Constraints */
 | 
				
			||||||
 | 
					    // "isolatedModules": true,                          /* Ensure that each file can be safely transpiled without relying on other imports. */
 | 
				
			||||||
 | 
					    // "verbatimModuleSyntax": true,                     /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
 | 
				
			||||||
 | 
					    // "allowSyntheticDefaultImports": true,             /* Allow 'import x from y' when a module doesn't have a default export. */
 | 
				
			||||||
 | 
					    "esModuleInterop": true,                             /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
 | 
				
			||||||
 | 
					    // "preserveSymlinks": true,                         /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
 | 
				
			||||||
 | 
					    "forceConsistentCasingInFileNames": true,            /* Ensure that casing is correct in imports. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Type Checking */
 | 
				
			||||||
 | 
					    "strict": true,                                      /* Enable all strict type-checking options. */
 | 
				
			||||||
 | 
					    // "noImplicitAny": true,                            /* Enable error reporting for expressions and declarations with an implied 'any' type. */
 | 
				
			||||||
 | 
					    // "strictNullChecks": true,                         /* When type checking, take into account 'null' and 'undefined'. */
 | 
				
			||||||
 | 
					    // "strictFunctionTypes": true,                      /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
 | 
				
			||||||
 | 
					    // "strictBindCallApply": true,                      /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
 | 
				
			||||||
 | 
					    // "strictPropertyInitialization": true,             /* Check for class properties that are declared but not set in the constructor. */
 | 
				
			||||||
 | 
					    // "noImplicitThis": true,                           /* Enable error reporting when 'this' is given the type 'any'. */
 | 
				
			||||||
 | 
					    // "useUnknownInCatchVariables": true,               /* Default catch clause variables as 'unknown' instead of 'any'. */
 | 
				
			||||||
 | 
					    // "alwaysStrict": true,                             /* Ensure 'use strict' is always emitted. */
 | 
				
			||||||
 | 
					    // "noUnusedLocals": true,                           /* Enable error reporting when local variables aren't read. */
 | 
				
			||||||
 | 
					    // "noUnusedParameters": true,                       /* Raise an error when a function parameter isn't read. */
 | 
				
			||||||
 | 
					    // "exactOptionalPropertyTypes": true,               /* Interpret optional property types as written, rather than adding 'undefined'. */
 | 
				
			||||||
 | 
					    // "noImplicitReturns": true,                        /* Enable error reporting for codepaths that do not explicitly return in a function. */
 | 
				
			||||||
 | 
					    // "noFallthroughCasesInSwitch": true,               /* Enable error reporting for fallthrough cases in switch statements. */
 | 
				
			||||||
 | 
					    // "noUncheckedIndexedAccess": true,                 /* Add 'undefined' to a type when accessed using an index. */
 | 
				
			||||||
 | 
					    // "noImplicitOverride": true,                       /* Ensure overriding members in derived classes are marked with an override modifier. */
 | 
				
			||||||
 | 
					    // "noPropertyAccessFromIndexSignature": true,       /* Enforces using indexed accessors for keys declared using an indexed type. */
 | 
				
			||||||
 | 
					    // "allowUnusedLabels": true,                        /* Disable error reporting for unused labels. */
 | 
				
			||||||
 | 
					    // "allowUnreachableCode": true,                     /* Disable error reporting for unreachable code. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* Completeness */
 | 
				
			||||||
 | 
					    // "skipDefaultLibCheck": true,                      /* Skip type checking .d.ts files that are included with TypeScript. */
 | 
				
			||||||
 | 
					    "skipLibCheck": true                                 /* Skip type checking all .d.ts files. */
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										4
									
								
								packages/telegram/yarn.lock
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								packages/telegram/yarn.lock
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
 | 
				
			||||||
 | 
					# yarn lockfile v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										240
									
								
								yarn.lock
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										240
									
								
								yarn.lock
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,240 @@
 | 
				
			||||||
 | 
					# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
 | 
				
			||||||
 | 
					# yarn lockfile v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@cspotcode/source-map-support@^0.8.0":
 | 
				
			||||||
 | 
					  version "0.8.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
 | 
				
			||||||
 | 
					  integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    "@jridgewell/trace-mapping" "0.3.9"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@jridgewell/resolve-uri@^3.0.3":
 | 
				
			||||||
 | 
					  version "3.1.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721"
 | 
				
			||||||
 | 
					  integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@jridgewell/sourcemap-codec@^1.4.10":
 | 
				
			||||||
 | 
					  version "1.4.15"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
 | 
				
			||||||
 | 
					  integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@jridgewell/trace-mapping@0.3.9":
 | 
				
			||||||
 | 
					  version "0.3.9"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9"
 | 
				
			||||||
 | 
					  integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    "@jridgewell/resolve-uri" "^3.0.3"
 | 
				
			||||||
 | 
					    "@jridgewell/sourcemap-codec" "^1.4.10"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@tsconfig/node10@^1.0.7":
 | 
				
			||||||
 | 
					  version "1.0.9"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2"
 | 
				
			||||||
 | 
					  integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@tsconfig/node12@^1.0.7":
 | 
				
			||||||
 | 
					  version "1.0.11"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d"
 | 
				
			||||||
 | 
					  integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@tsconfig/node14@^1.0.0":
 | 
				
			||||||
 | 
					  version "1.0.3"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1"
 | 
				
			||||||
 | 
					  integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@tsconfig/node16@^1.0.2":
 | 
				
			||||||
 | 
					  version "1.0.4"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9"
 | 
				
			||||||
 | 
					  integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@types/lodash@4.14.197":
 | 
				
			||||||
 | 
					  version "4.14.197"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.197.tgz#e95c5ddcc814ec3e84c891910a01e0c8a378c54b"
 | 
				
			||||||
 | 
					  integrity sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"@types/node@18.17.4":
 | 
				
			||||||
 | 
					  version "18.17.4"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/@types/node/-/node-18.17.4.tgz#bf8ae9875528929cc9930dc3f066cd0481fe1231"
 | 
				
			||||||
 | 
					  integrity sha512-ATL4WLgr7/W40+Sp1WnNTSKbgVn6Pvhc/2RHAdt8fl6NsQyp4oPCi2eKcGOvA494bwf1K/W6nGgZ9TwDqvpjdw==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					abort-controller@^3.0.0:
 | 
				
			||||||
 | 
					  version "3.0.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"
 | 
				
			||||||
 | 
					  integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    event-target-shim "^5.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					acorn-walk@^8.1.1:
 | 
				
			||||||
 | 
					  version "8.2.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
 | 
				
			||||||
 | 
					  integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					acorn@^8.4.1:
 | 
				
			||||||
 | 
					  version "8.10.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5"
 | 
				
			||||||
 | 
					  integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					arg@^4.1.0:
 | 
				
			||||||
 | 
					  version "4.1.3"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089"
 | 
				
			||||||
 | 
					  integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					buffer-alloc-unsafe@^1.1.0:
 | 
				
			||||||
 | 
					  version "1.1.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0"
 | 
				
			||||||
 | 
					  integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					buffer-alloc@^1.2.0:
 | 
				
			||||||
 | 
					  version "1.2.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/buffer-alloc/-/buffer-alloc-1.2.0.tgz#890dd90d923a873e08e10e5fd51a57e5b7cce0ec"
 | 
				
			||||||
 | 
					  integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    buffer-alloc-unsafe "^1.1.0"
 | 
				
			||||||
 | 
					    buffer-fill "^1.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					buffer-fill@^1.0.0:
 | 
				
			||||||
 | 
					  version "1.0.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c"
 | 
				
			||||||
 | 
					  integrity sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					create-require@^1.1.0:
 | 
				
			||||||
 | 
					  version "1.1.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
 | 
				
			||||||
 | 
					  integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					debug@^4.3.4:
 | 
				
			||||||
 | 
					  version "4.3.4"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
 | 
				
			||||||
 | 
					  integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    ms "2.1.2"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					diff@^4.0.1:
 | 
				
			||||||
 | 
					  version "4.0.2"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
 | 
				
			||||||
 | 
					  integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					event-target-shim@^5.0.0:
 | 
				
			||||||
 | 
					  version "5.0.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"
 | 
				
			||||||
 | 
					  integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					lodash@4.17.21:
 | 
				
			||||||
 | 
					  version "4.17.21"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
 | 
				
			||||||
 | 
					  integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					make-error@^1.1.1:
 | 
				
			||||||
 | 
					  version "1.3.6"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
 | 
				
			||||||
 | 
					  integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					mri@^1.2.0:
 | 
				
			||||||
 | 
					  version "1.2.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b"
 | 
				
			||||||
 | 
					  integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ms@2.1.2:
 | 
				
			||||||
 | 
					  version "2.1.2"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
 | 
				
			||||||
 | 
					  integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node-fetch@^2.6.8:
 | 
				
			||||||
 | 
					  version "2.6.12"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba"
 | 
				
			||||||
 | 
					  integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    whatwg-url "^5.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					p-timeout@^4.1.0:
 | 
				
			||||||
 | 
					  version "4.1.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-4.1.0.tgz#788253c0452ab0ffecf18a62dff94ff1bd09ca0a"
 | 
				
			||||||
 | 
					  integrity sha512-+/wmHtzJuWii1sXn3HCuH/FTwGhrp4tmJTxSKJbfS+vkipci6osxXM5mY0jUiRzWKMTgUT8l7HFbeSwZAynqHw==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					prettier@3.0.1:
 | 
				
			||||||
 | 
					  version "3.0.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.1.tgz#65271fc9320ce4913c57747a70ce635b30beaa40"
 | 
				
			||||||
 | 
					  integrity sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					safe-compare@^1.1.4:
 | 
				
			||||||
 | 
					  version "1.1.4"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/safe-compare/-/safe-compare-1.1.4.tgz#5e0128538a82820e2e9250cd78e45da6786ba593"
 | 
				
			||||||
 | 
					  integrity sha512-b9wZ986HHCo/HbKrRpBJb2kqXMK9CEWIE1egeEvZsYn69ay3kdfl9nG3RyOcR+jInTDf7a86WQ1d4VJX7goSSQ==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    buffer-alloc "^1.2.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sandwich-stream@^2.0.2:
 | 
				
			||||||
 | 
					  version "2.0.2"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/sandwich-stream/-/sandwich-stream-2.0.2.tgz#6d1feb6cf7e9fe9fadb41513459a72c2e84000fa"
 | 
				
			||||||
 | 
					  integrity sha512-jLYV0DORrzY3xaz/S9ydJL6Iz7essZeAfnAavsJ+zsJGZ1MOnsS52yRjU3uF3pJa/lla7+wisp//fxOwOH8SKQ==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					telegraf@4.12.2:
 | 
				
			||||||
 | 
					  version "4.12.2"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/telegraf/-/telegraf-4.12.2.tgz#1cf4f38c275e04416f1282f3581833994870f0bc"
 | 
				
			||||||
 | 
					  integrity sha512-PgwqI4wD86cMqVfFtEM9JkGGnMHgvgLJbReZMmwW4z35QeOi4DvbdItONld4bPnYn3A1jcO0SRKs0BXmR+x+Ew==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    abort-controller "^3.0.0"
 | 
				
			||||||
 | 
					    debug "^4.3.4"
 | 
				
			||||||
 | 
					    mri "^1.2.0"
 | 
				
			||||||
 | 
					    node-fetch "^2.6.8"
 | 
				
			||||||
 | 
					    p-timeout "^4.1.0"
 | 
				
			||||||
 | 
					    safe-compare "^1.1.4"
 | 
				
			||||||
 | 
					    sandwich-stream "^2.0.2"
 | 
				
			||||||
 | 
					    typegram "^4.3.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					tr46@~0.0.3:
 | 
				
			||||||
 | 
					  version "0.0.3"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
 | 
				
			||||||
 | 
					  integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ts-node@10.9.1:
 | 
				
			||||||
 | 
					  version "10.9.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
 | 
				
			||||||
 | 
					  integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    "@cspotcode/source-map-support" "^0.8.0"
 | 
				
			||||||
 | 
					    "@tsconfig/node10" "^1.0.7"
 | 
				
			||||||
 | 
					    "@tsconfig/node12" "^1.0.7"
 | 
				
			||||||
 | 
					    "@tsconfig/node14" "^1.0.0"
 | 
				
			||||||
 | 
					    "@tsconfig/node16" "^1.0.2"
 | 
				
			||||||
 | 
					    acorn "^8.4.1"
 | 
				
			||||||
 | 
					    acorn-walk "^8.1.1"
 | 
				
			||||||
 | 
					    arg "^4.1.0"
 | 
				
			||||||
 | 
					    create-require "^1.1.0"
 | 
				
			||||||
 | 
					    diff "^4.0.1"
 | 
				
			||||||
 | 
					    make-error "^1.1.1"
 | 
				
			||||||
 | 
					    v8-compile-cache-lib "^3.0.1"
 | 
				
			||||||
 | 
					    yn "3.1.1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typegram@^4.3.0:
 | 
				
			||||||
 | 
					  version "4.3.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/typegram/-/typegram-4.3.0.tgz#690ec1287f771608070e149c92de4fca42e54db0"
 | 
				
			||||||
 | 
					  integrity sha512-pS4STyOZoJ++Mwa9GPMTNjOwEzMkxFfFt1By6IbMOJfheP0utMP/H1ga6J9R4DTjAYBr0UDn4eQg++LpWBvcAg==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typescript@5.1.6:
 | 
				
			||||||
 | 
					  version "5.1.6"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
 | 
				
			||||||
 | 
					  integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					v8-compile-cache-lib@^3.0.1:
 | 
				
			||||||
 | 
					  version "3.0.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
 | 
				
			||||||
 | 
					  integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					webidl-conversions@^3.0.0:
 | 
				
			||||||
 | 
					  version "3.0.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
 | 
				
			||||||
 | 
					  integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					whatwg-url@^5.0.0:
 | 
				
			||||||
 | 
					  version "5.0.0"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
 | 
				
			||||||
 | 
					  integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
 | 
				
			||||||
 | 
					  dependencies:
 | 
				
			||||||
 | 
					    tr46 "~0.0.3"
 | 
				
			||||||
 | 
					    webidl-conversions "^3.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					yn@3.1.1:
 | 
				
			||||||
 | 
					  version "3.1.1"
 | 
				
			||||||
 | 
					  resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
 | 
				
			||||||
 | 
					  integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue