Skip to content

Commit

Permalink
Feature/mixed verification method (#63)
Browse files Browse the repository at this point in the history
* feat: added mixed verification method

* feat: added mixed verification method
  • Loading branch information
leo1994 authored Mar 20, 2024
1 parent e1b7771 commit 8f2fa11
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*out
*logs
*actions
*notifications
*tools
plugins
user_trunk.yaml
user.yaml
10 changes: 10 additions & 0 deletions .trunk/configs/.markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Autoformatter friendly markdownlint config (all formatting rules disabled)
default: true
blank_lines: false
bullet: false
html: false
indentation: false
line_length: false
spaces: false
url: false
whitespace: false
10 changes: 10 additions & 0 deletions .trunk/configs/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
rules:
quoted-strings:
required: only-when-needed
extra-allowed: ["{|}"]
empty-values:
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
key-duplicates: {}
octal-values:
forbid-implicit-octal: true
36 changes: 36 additions & 0 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.18.1
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.4.5
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- [email protected]
- [email protected]
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- [email protected]
- [email protected]
- [email protected]
- git-diff-check
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
actions:
disabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- trunk-upgrade-available
3 changes: 2 additions & 1 deletion build/src/enums.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export declare enum InputFormatEnum {
export declare enum CredentialVerificationMethodEnum {
SELF_ATTESTED = "self_attested",
PHONE_CARRIER = "phone_carrier",
OTP = "otp"
OTP = "otp",
MIXED = "mixed"
}
export declare enum UserIdentifierTypeEnum {
EMAIL = "EMAIL",
Expand Down
2 changes: 1 addition & 1 deletion build/src/enums.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/src/enums.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/src/enums.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export enum InputFormatEnum {
export enum CredentialVerificationMethodEnum {
SELF_ATTESTED = 'self_attested',
PHONE_CARRIER = 'phone_carrier',
OTP = 'otp'
OTP = 'otp',
MIXED = 'mixed'
}

export enum UserIdentifierTypeEnum {
Expand Down

0 comments on commit 8f2fa11

Please sign in to comment.