-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #530 from bandada-infra/feat/many-credentials
Support Groups with multiple credentials and logical operators
- Loading branch information
Showing
11 changed files
with
1,237 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
import { IsString, IsOptional } from "class-validator" | ||
import { IsArray, ArrayNotEmpty, IsOptional } from "class-validator" | ||
|
||
export class AddMemberDto { | ||
@IsString() | ||
readonly oAuthState: string | ||
@IsArray() | ||
@ArrayNotEmpty() | ||
readonly oAuthState: string[] | ||
|
||
@IsOptional() | ||
@IsString() | ||
readonly oAuthCode: string | ||
@IsArray() | ||
@ArrayNotEmpty() | ||
readonly oAuthCode: string[] | ||
|
||
@IsOptional() | ||
@IsString() | ||
readonly address: string | ||
@IsArray() | ||
@ArrayNotEmpty() | ||
readonly address: string[] | ||
} |
Oops, something went wrong.