Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion to Typescript #6

Open
wants to merge 94 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
54e80cf
Initial code before tests
shaunpersad Jun 4, 2021
792fa6c
remove JSDoc annotations
shaunpersad Jun 4, 2021
c1cfd1a
explicit return type
shaunpersad Jun 4, 2021
c08fadc
helper request types
shaunpersad Jun 4, 2021
aecf47b
cleanup
shaunpersad Jun 4, 2021
2bdd026
fixing docs
shaunpersad Jun 4, 2021
2e09643
fixing docs
shaunpersad Jun 4, 2021
229a60c
fixing docs
shaunpersad Jun 4, 2021
7d4de59
fixing docs
shaunpersad Jun 4, 2021
97c68c9
fixing docs
shaunpersad Jun 4, 2021
015c9eb
fixing docs
shaunpersad Jun 4, 2021
39da2e1
fixing docs
shaunpersad Jun 4, 2021
d8fa581
fixing docs
shaunpersad Jun 4, 2021
a7d8339
fixing docs
shaunpersad Jun 4, 2021
5338e75
fixing docs
shaunpersad Jun 4, 2021
af53dd2
fixing docs
shaunpersad Jun 4, 2021
fbf2ead
fixing docs
shaunpersad Jun 4, 2021
981d571
fixing docs
shaunpersad Jun 4, 2021
84b4667
fixing docs
shaunpersad Jun 4, 2021
d2a4136
fixing docs
shaunpersad Jun 4, 2021
a7acad5
fixing docs
shaunpersad Jun 4, 2021
f50d6c5
fixing docs
shaunpersad Jun 4, 2021
db5b958
fixing docs
shaunpersad Jun 4, 2021
cd208f9
fixing docs
shaunpersad Jun 4, 2021
11f594b
added categories
shaunpersad Jun 11, 2021
7f53677
reorganizing
shaunpersad Jun 11, 2021
48073ad
adding links
shaunpersad Jun 12, 2021
4506a1f
adding links
shaunpersad Jun 12, 2021
b26deae
added API resources back
shaunpersad Jun 12, 2021
c0e2fd5
added API resources back
shaunpersad Jun 12, 2021
883a970
working on test factories and some extra types
shaunpersad Jun 12, 2021
5115782
docs
shaunpersad Jun 13, 2021
6f08a82
docs
shaunpersad Jun 13, 2021
410ee70
simplified validation handler
shaunpersad Jun 13, 2021
94bc1ac
better naming
shaunpersad Jun 15, 2021
6e47419
publishing beta package
shaunpersad Jun 22, 2021
25db6b4
added location event support
shaunpersad Jul 7, 2021
4494c11
exposing factories
shaunpersad Jul 24, 2021
15ee246
exposing factories
shaunpersad Jul 24, 2021
97debdd
exposing factories
shaunpersad Jul 24, 2021
6e03dfd
increment version number
shaunpersad Jul 24, 2021
08d82d3
rollback version number
shaunpersad Jul 24, 2021
c901f06
new release
shaunpersad Jul 24, 2021
10bee35
back to 2
shaunpersad Jul 24, 2021
38ebe61
Using dotenv-flow instead to get automatic switching of env variables…
shaunpersad Jul 24, 2021
ccbdbf4
Making building up test configs easier
shaunpersad Jul 24, 2021
d52fe53
Exposing all factory types
shaunpersad Jul 24, 2021
4f273f6
Separated protect and visitors factory options.
shaunpersad Jul 25, 2021
830be1b
Made configs partial during testing
shaunpersad Jul 25, 2021
75c22a0
Change job mock method name
shaunpersad Jul 25, 2021
f216cd1
Partial match bug
shaunpersad Jul 25, 2021
9c29ff4
Some bugs
shaunpersad Aug 23, 2021
12e2cc8
Casting the min and max to numbers
shaunpersad Nov 17, 2021
f93b765
added a factory for invite events
shaunpersad Dec 6, 2021
5fa86e1
forgot to export invite factory options.
shaunpersad Dec 13, 2021
75ea2c8
Added the list storage API to the SDK. Necessary for the lambda adapt…
shaunpersad Dec 14, 2021
efd601b
added and fixed resources
shaunpersad Jan 19, 2022
bcdd58a
added and fixed resources
shaunpersad Jan 19, 2022
513e2c3
increment
shaunpersad Jan 19, 2022
5f90d9a
add approval-status to EntryPayload (#8)
skalum Jan 26, 2022
18be8c2
add options to sign in field model (#9)
shaunpersad Feb 2, 2022
7630cc1
increment version
shaunpersad Feb 2, 2022
a578bc0
DEVP-1456: Add tenant relationship
anthonyFloccari Aug 11, 2022
b5dd698
version bump
anthonyFloccari Aug 11, 2022
395d97e
Merge pull request #12 from envoy/DEVP-1456-add-tenant-relationship-t…
anthonyFloccari Aug 11, 2022
de14296
Added axios loggers for easy logging of requests, responses and errors
ryanflynndev Jan 19, 2023
274bbab
Changing version number
ryanflynndev Jan 19, 2023
2d8ae36
Export Loggers
ryanflynndev Jan 19, 2023
1419f4e
Need to export loggers
ryanflynndev Jan 19, 2023
7f771bd
Fix `EnvoyPluginStorage.ts` method failsafe typing
Stephen-Arsenault May 8, 2023
457478b
Update EnvoyPluginStorage.ts
Stephen-Arsenault May 8, 2023
41bcc1a
bump version
Stephen-Arsenault May 8, 2023
9f13714
fix(security): scrub AxiosError sensitive fields (#28)
ahmed-envoy Jun 27, 2023
860a068
fix: use correct axios config import (#29)
ahmed-envoy Jun 27, 2023
162234f
fix: export createAxiosclient (#30)
ahmed-envoy Jun 27, 2023
5721bec
fix: return safe error (#34)
ahmed-envoy Jun 29, 2023
18d17f6
fix: return some fields for response (#38)
ahmed-envoy Jul 10, 2023
2501074
fix: include some error.request fields (#39)
ahmed-envoy Jul 11, 2023
240c43d
fix: add sanitize axios err func (#40)
ahmed-envoy Jul 13, 2023
db176ac
fix: upgrade axios
ryanflynndev Jul 17, 2023
f4ad045
fix: need to throw err
ryanflynndev Oct 11, 2023
cb4e3af
Merge pull request #42 from envoy/fix-err-logger-throw
ryanflynndev Oct 11, 2023
ab304f8
add scope
manuenvoy Apr 9, 2024
cb4cb05
Merge pull request #54 from envoy/manuenvoy/new_login_functions
manuenvoy Apr 9, 2024
34ed7fb
sanitizeAxiosError should return another AxiosError so it doesn't bre…
alexenvoy Jun 5, 2024
591936e
fix: bump jsonwebtoken to address vulnerability (#57)
ahmed-envoy Aug 21, 2024
6b18dae
Add EnvoyMetaZone (#58)
brianswko Aug 29, 2024
963524b
Bump to 2.1.0 (#59)
brianswko Aug 29, 2024
ae766ce
Filter flows by enabled attribute (#60)
kamal Sep 9, 2024
fdbfef7
Add missing chalk dependency (#61)
kamal Sep 9, 2024
15bd602
2.2.0 (#62)
kamal Sep 9, 2024
56c6719
Fix types relating to invite creation (#63)
kamal Sep 12, 2024
c352580
2.2.1 (#64)
kamal Sep 12, 2024
f0f3f60
feat: Adding `createReservations` function to the `EnvoyUserAPI` (#66)
ArvindEnvoy Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules

49 changes: 21 additions & 28 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,46 +1,39 @@
module.exports = {
env: {
commonjs: true,
es6: true,
node: true,
},
extends: 'airbnb-base',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
extends: [
'airbnb-typescript/base',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2018,
project: './tsconfig.json',
},
rules: {
'no-trailing-spaces': 'off',
'padded-blocks': 'off',
'no-console': 'off',
'arrow-parens': 'off',
'no-return-assign': 'off',
'no-empty': 'off',
'no-param-reassign': 'off',
'no-void': 'off',
'max-len': ["error", { "code": 120 }],
'consistent-return': 'off',
'no-shadow': 'off',
'no-plusplus': 'off',
'no-case-declarations': 'off',
'class-methods-use-this': 'off'
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
},
overrides: [
{
files: [
'tests/**/*.test.js'
'test/**/*.ts'
],
env: {
mocha: true
},
rules: {
'prefer-arrow-callback': 'off',
'func-names': 'off',
'no-loop-func': 'off',
'no-await-in-loop': 'off',
'no-restricted-syntax': 'off',
'max-len': 'off'
'func-names': 'off'
}
}
]
],
ignorePatterns: ["*.js"]
};
Loading