Skip to content

Commit c0e5a47

Browse files
committed
2.0 Release
1 parent 4767a43 commit c0e5a47

File tree

171 files changed

+1659
-1387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+1659
-1387
lines changed

.eslintrc.json

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,62 @@
11
{
2-
"env": {
3-
"browser": false,
4-
"commonjs": true,
5-
"es2020": true
6-
},
2+
"root": true,
73
"extends": [
84
"eslint:recommended",
9-
"plugin:@typescript-eslint/recommended"
5+
"plugin:@typescript-eslint/recommended",
6+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
107
],
118
"parser": "@typescript-eslint/parser",
129
"parserOptions": {
13-
"ecmaVersion": 11
10+
"ecmaVersion": 13,
11+
"project": [ "./tsconfig.json" ]
1412
},
1513
"plugins": [
1614
"@typescript-eslint"
1715
],
1816
"rules": {
19-
"semi": ["error", "always"],
20-
"quotes": ["error", "double"]
17+
"indent": [
18+
"error",
19+
4
20+
],
21+
"linebreak-style": [
22+
"error",
23+
"unix"
24+
],
25+
"quotes": [
26+
"error",
27+
"single"
28+
],
29+
"semi": [
30+
"error",
31+
"always"
32+
],
33+
"@typescript-eslint/type-annotation-spacing": [
34+
"error",
35+
{
36+
"before": true,
37+
"after": true,
38+
"overrides": {
39+
"colon": {
40+
"before": false,
41+
"after": true
42+
}
43+
}
44+
}
45+
],
46+
"@typescript-eslint/no-unsafe-member-access": [
47+
"off"
48+
],
49+
"@typescript-eslint/no-unsafe-argument": [
50+
"off"
51+
],
52+
"@typescript-eslint/no-unsafe-return": [
53+
"off"
54+
],
55+
"@typescript-eslint/no-unsafe-assignment": [
56+
"off"
57+
],
58+
"@typescript-eslint/no-unsafe-call": [
59+
"off"
60+
]
2161
}
2262
}

.gitignore

Lines changed: 2 additions & 252 deletions
Original file line numberDiff line numberDiff line change
@@ -1,254 +1,4 @@
1-
2-
# Created by https://www.toptal.com/developers/gitignore/api/node,webstorm,yarn,windows
3-
# Edit at https://www.toptal.com/developers/gitignore?templates=node,webstorm,yarn,windows
4-
5-
### Node ###
6-
# Logs
7-
logs
8-
*.log
9-
npm-debug.log*
10-
yarn-debug.log*
11-
yarn-error.log*
12-
lerna-debug.log*
13-
14-
# Diagnostic reports (https://nodejs.org/api/report.html)
15-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
16-
17-
# Runtime data
18-
pids
19-
*.pid
20-
*.seed
21-
*.pid.lock
22-
23-
# Directory for instrumented libs generated by jscoverage/JSCover
24-
lib-cov
25-
26-
# Coverage directory used by tools like istanbul
27-
coverage
28-
*.lcov
29-
30-
# nyc test coverage
31-
.nyc_output
32-
33-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
34-
.grunt
35-
36-
# Bower dependency directory (https://bower.io/)
37-
bower_components
38-
39-
# node-waf configuration
40-
.lock-wscript
41-
42-
# Compiled binary addons (https://nodejs.org/api/addons.html)
43-
build/Release
44-
45-
# Dependency directories
1+
.idea/
462
node_modules/
47-
jspm_packages/
48-
49-
# TypeScript v1 declaration files
50-
typings/
51-
52-
# TypeScript cache
53-
*.tsbuildinfo
54-
55-
# Optional npm cache directory
56-
.npm
57-
58-
# Optional eslint cache
59-
.eslintcache
60-
61-
# Microbundle cache
62-
.rpt2_cache/
63-
.rts2_cache_cjs/
64-
.rts2_cache_es/
65-
.rts2_cache_umd/
66-
67-
# Optional REPL history
68-
.node_repl_history
69-
70-
# Output of 'npm pack'
71-
*.tgz
72-
73-
# Yarn Integrity file
74-
.yarn-integrity
75-
76-
# dotenv environment variables file
77-
.env
78-
.env.test
79-
80-
# parcel-bundler cache (https://parceljs.org/)
81-
.cache
82-
83-
# Next.js build output
84-
.next
85-
86-
# Nuxt.js build / generate output
87-
.nuxt
88-
89-
# Gatsby files
90-
.cache/
91-
# Comment in the public line in if your project uses Gatsby and not Next.js
92-
# https://nextjs.org/blog/next-9-1#public-directory-support
93-
# public
94-
95-
# vuepress build output
96-
.vuepress/dist
97-
98-
# Serverless directories
99-
.serverless/
100-
101-
# FuseBox cache
102-
.fusebox/
103-
104-
# DynamoDB Local files
105-
.dynamodb/
106-
107-
# TernJS port file
108-
.tern-port
109-
110-
# Stores VSCode versions used for testing VSCode extensions
111-
.vscode-test
112-
113-
# NPM lock file
1143
package-lock.json
115-
116-
### WebStorm ###
117-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
118-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
119-
120-
# User-specific stuff
121-
.idea/
122-
.idea/**/workspace.xml
123-
.idea/**/tasks.xml
124-
.idea/**/usage.statistics.xml
125-
.idea/**/dictionaries
126-
.idea/**/shelf
127-
128-
# Generated files
129-
.idea/**/contentModel.xml
130-
131-
# Sensitive or high-churn files
132-
.idea/**/dataSources/
133-
.idea/**/dataSources.ids
134-
.idea/**/dataSources.local.xml
135-
.idea/**/sqlDataSources.xml
136-
.idea/**/dynamic.xml
137-
.idea/**/uiDesigner.xml
138-
.idea/**/dbnavigator.xml
139-
140-
# Gradle
141-
.idea/**/gradle.xml
142-
.idea/**/libraries
143-
144-
# Gradle and Maven with auto-import
145-
# When using Gradle or Maven with auto-import, you should exclude module files,
146-
# since they will be recreated, and may cause churn. Uncomment if using
147-
# auto-import.
148-
# .idea/artifacts
149-
# .idea/compiler.xml
150-
# .idea/jarRepositories.xml
151-
# .idea/modules.xml
152-
# .idea/*.iml
153-
# .idea/modules
154-
# *.iml
155-
# *.ipr
156-
157-
# CMake
158-
cmake-build-*/
159-
160-
# Mongo Explorer plugin
161-
.idea/**/mongoSettings.xml
162-
163-
# File-based project format
164-
*.iws
165-
166-
# IntelliJ
167-
out/
168-
169-
# mpeltonen/sbt-idea plugin
170-
.idea_modules/
171-
172-
# JIRA plugin
173-
atlassian-ide-plugin.xml
174-
175-
# Cursive Clojure plugin
176-
.idea/replstate.xml
177-
178-
# Crashlytics plugin (for Android Studio and IntelliJ)
179-
com_crashlytics_export_strings.xml
180-
crashlytics.properties
181-
crashlytics-build.properties
182-
fabric.properties
183-
184-
# Editor-based Rest Client
185-
.idea/httpRequests
186-
187-
# Android studio 3.1+ serialized cache file
188-
.idea/caches/build_file_checksums.ser
189-
190-
### WebStorm Patch ###
191-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
192-
193-
# *.iml
194-
# modules.xml
195-
# .idea/misc.xml
196-
# *.ipr
197-
198-
# Sonarlint plugin
199-
.idea/**/sonarlint/
200-
201-
# SonarQube Plugin
202-
.idea/**/sonarIssues.xml
203-
204-
# Markdown Navigator plugin
205-
.idea/**/markdown-navigator.xml
206-
.idea/**/markdown-navigator-enh.xml
207-
.idea/**/markdown-navigator/
208-
209-
# Cache file creation bug
210-
# See https://youtrack.jetbrains.com/issue/JBR-2257
211-
.idea/$CACHE_FILE$
212-
213-
### Windows ###
214-
# Windows thumbnail cache files
215-
Thumbs.db
216-
Thumbs.db:encryptable
217-
ehthumbs.db
218-
ehthumbs_vista.db
219-
220-
# Dump file
221-
*.stackdump
222-
223-
# Folder config file
224-
[Dd]esktop.ini
225-
226-
# Recycle Bin used on file shares
227-
$RECYCLE.BIN/
228-
229-
# Windows Installer files
230-
*.cab
231-
*.msi
232-
*.msix
233-
*.msm
234-
*.msp
235-
236-
# Windows shortcuts
237-
*.lnk
238-
239-
### yarn ###
240-
# https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored
241-
242-
# .yarn/unplugged and .yarn/build-state.yml should likely always be ignored since
243-
# they typically hold machine-specific build artifacts. Ignoring them might however
244-
# prevent Zero-Installs from working (to prevent this, set enableScripts to false).
245-
.yarn/unplugged
246-
.yarn/build-state.yml
247-
248-
# .yarn/cache and .pnp.* may be safely ignored, but you'll need to run yarn install
249-
# to regenerate them between each branch switch.
250-
# Uncomment the following lines if you're not using Zero-Installs:
251-
# .yarn/cache
252-
# .pnp.*
253-
254-
# End of https://www.toptal.com/developers/gitignore/api/node,webstorm,yarn,windows
4+
yarn.lock

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 SimPay.pl
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

dist/lib/index.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

dist/lib/index.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/lib/model/db/db.commission.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/lib/model/db/db.service.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/lib/model/db/db.transaction.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/lib/model/db/db.transaction.limit.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/lib/model/db/db.transaction.limit.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/lib/model/db/requests/db.generate.request.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/lib/model/db/requests/db.generate.request.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/lib/model/db/requests/db.service.commission.request.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)