-
Notifications
You must be signed in to change notification settings - Fork 16
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
refactor: API response #344
Conversation
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
…factor-api-response
@pranalidhanavade Check the sonar cloud issue. |
@pranalidhanavade Check the sonar cloud issue |
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
…factor-api-response
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
…factor-api-response
supabaseUserId?: string, | ||
userOrgRoles?: object | ||
export interface UInvitation { | ||
orgRoles?: OrgRole[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every parameter in an interface can not be optional. Please have mandatory parameters by removing "?"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
} | ||
export interface UpdateUserProfile { | ||
id: string, | ||
export interface UserI { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use meaningful names for interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
userOrgRoles?: object; | ||
} | ||
|
||
export interface InvitationsI { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use meaningful names for interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
password: string; | ||
} | ||
|
||
export interface UserWhereUniqueInput { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use meaningful names for interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
id?: string; | ||
} | ||
|
||
export interface UserWhereInput { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use meaningful names for interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
lastName: string; | ||
isPublic: boolean; | ||
} | ||
export interface PlatformSettingsI { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's follow consistency in Interface naming convention. Please remove "I" at the end of interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
@@ -0,0 +1,9 @@ | |||
export interface User_Activity { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's follow consistency in Interface naming convention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.
@pranalidhanavade , @nishad-ayanworks Let's stick to standard naming conventions. |
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
…factor-api-response
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 1 New issue |
What