zammad/zammad

View on GitHub
app/frontend/shared/graphql/types.ts

Summary

Maintainability
F
4 mos
Test Coverage

File types.ts has 2436 lines of code (exceeds 250 allowed). Consider refactoring.
Open

export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
Severity: Major
Found in app/frontend/shared/graphql/types.ts - About 6 days to fix

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type TicketCustomerUpdateMutation = { __typename?: 'Mutations', ticketCustomerUpdate?: { __typename?: 'TicketCustomerUpdatePayload', ticket?: { __typename?: 'Ticket', id: string, internalId: number, number: string, title: string, createdAt: string, escalationAt?: string | null, updatedAt: string, pendingTime?: string | null, tags?: Array<string> | null, timeUnit?: number | null, subscribed?: boolean | null, preferences?: any | null, stateColorCode: EnumTicketStateColorCode, firstResponseEscalationAt?: string | null, closeEscalationAt?: string | null, updateEscalationAt?: string | null, initialChannel?: EnumChannelArea | null, owner: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null }, customer: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, phone?: string | null, image?: string | null, vip?: boolean | null, active?: boolean | null, outOfOffice?: boolean | null, email?: string | null, hasSecondaryOrganizations?: boolean | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null, policy: { __typename?: 'PolicyDefault', update: boolean } }, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, vip?: boolean | null, active?: boolean | null } | null, state: { __typename?: 'TicketState', id: string, name: string, stateType: { __typename?: 'TicketStateType', name: string } }, group: { __typename?: 'Group', id: string, name?: string | null, emailAddress?: { __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null } | null }, priority: { __typename?: 'TicketPriority', id: string, name: string, defaultCreate: boolean, uiColor?: string | null }, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, policy: { __typename?: 'PolicyTicket', update: boolean, agentReadAccess: boolean }, timeUnitsPerType?: Array<{ __typename?: 'TicketTimeAccountingTypeSum', name: string, timeUnit: number }> | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 days to fix
    app/frontend/shared/graphql/types.ts on lines 3692..3692
    app/frontend/shared/graphql/types.ts on lines 3717..3717

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 986.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type TicketUpdateMutation = { __typename?: 'Mutations', ticketUpdate?: { __typename?: 'TicketUpdatePayload', ticket?: { __typename?: 'Ticket', id: string, internalId: number, number: string, title: string, createdAt: string, escalationAt?: string | null, updatedAt: string, pendingTime?: string | null, tags?: Array<string> | null, timeUnit?: number | null, subscribed?: boolean | null, preferences?: any | null, stateColorCode: EnumTicketStateColorCode, firstResponseEscalationAt?: string | null, closeEscalationAt?: string | null, updateEscalationAt?: string | null, initialChannel?: EnumChannelArea | null, owner: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null }, customer: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, phone?: string | null, image?: string | null, vip?: boolean | null, active?: boolean | null, outOfOffice?: boolean | null, email?: string | null, hasSecondaryOrganizations?: boolean | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null, policy: { __typename?: 'PolicyDefault', update: boolean } }, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, vip?: boolean | null, active?: boolean | null } | null, state: { __typename?: 'TicketState', id: string, name: string, stateType: { __typename?: 'TicketStateType', name: string } }, group: { __typename?: 'Group', id: string, name?: string | null, emailAddress?: { __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null } | null }, priority: { __typename?: 'TicketPriority', id: string, name: string, defaultCreate: boolean, uiColor?: string | null }, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, policy: { __typename?: 'PolicyTicket', update: boolean, agentReadAccess: boolean }, timeUnitsPerType?: Array<{ __typename?: 'TicketTimeAccountingTypeSum', name: string, timeUnit: number }> | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 days to fix
    app/frontend/shared/graphql/types.ts on lines 3692..3692
    app/frontend/shared/graphql/types.ts on lines 4010..4010

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 986.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type TicketCreateMutation = { __typename?: 'Mutations', ticketCreate?: { __typename?: 'TicketCreatePayload', ticket?: { __typename?: 'Ticket', id: string, internalId: number, number: string, title: string, createdAt: string, escalationAt?: string | null, updatedAt: string, pendingTime?: string | null, tags?: Array<string> | null, timeUnit?: number | null, subscribed?: boolean | null, preferences?: any | null, stateColorCode: EnumTicketStateColorCode, firstResponseEscalationAt?: string | null, closeEscalationAt?: string | null, updateEscalationAt?: string | null, initialChannel?: EnumChannelArea | null, owner: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null }, customer: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, phone?: string | null, image?: string | null, vip?: boolean | null, active?: boolean | null, outOfOffice?: boolean | null, email?: string | null, hasSecondaryOrganizations?: boolean | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null, policy: { __typename?: 'PolicyDefault', update: boolean } }, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, vip?: boolean | null, active?: boolean | null } | null, state: { __typename?: 'TicketState', id: string, name: string, stateType: { __typename?: 'TicketStateType', name: string } }, group: { __typename?: 'Group', id: string, name?: string | null, emailAddress?: { __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null } | null }, priority: { __typename?: 'TicketPriority', id: string, name: string, defaultCreate: boolean, uiColor?: string | null }, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, policy: { __typename?: 'PolicyTicket', update: boolean, agentReadAccess: boolean }, timeUnitsPerType?: Array<{ __typename?: 'TicketTimeAccountingTypeSum', name: string, timeUnit: number }> | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 days to fix
    app/frontend/shared/graphql/types.ts on lines 3717..3717
    app/frontend/shared/graphql/types.ts on lines 4010..4010

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 986.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketArticlesQuery = { __typename?: 'Queries', description?: { __typename?: 'TicketArticleConnection', edges: Array<{ __typename?: 'TicketArticleEdge', node: { __typename?: 'TicketArticle', id: string, internalId: number, messageId?: string | null, subject?: string | null, messageIdMd5?: string | null, inReplyTo?: string | null, contentType: string, references?: string | null, preferences?: any | null, bodyWithUrls: string, internal: boolean, createdAt: string, from?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, to?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, cc?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, replyTo?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, attachmentsWithoutInline: Array<{ __typename?: 'StoredFile', internalId: number, name: string, size?: number | null, type?: string | null, preferences?: any | null }>, author: { __typename?: 'User', id: string, fullname?: string | null, firstname?: string | null, lastname?: string | null, email?: string | null, active?: boolean | null, image?: string | null, vip?: boolean | null, outOfOffice?: boolean | null, authorizations?: Array<{ __typename?: 'Authorization', provider: string, uid: string, username?: string | null }> | null }, type?: { __typename?: 'TicketArticleType', name?: string | null, communication?: boolean | null } | null, sender?: { __typename?: 'TicketArticleSender', name?: string | null } | null, securityState?: { __typename?: 'TicketArticleSecurityState', encryptionMessage?: string | null, encryptionSuccess?: boolean | null, signingMessage?: string | null, signingSuccess?: boolean | null, type?: EnumSecurityStateType | null } | null, mediaErrorState?: { __typename?: 'TicketArticleMediaErrorState', error?: boolean | null } | null } }> }, articles: { __typename?: 'TicketArticleConnection', totalCount: number, edges: Array<{ __typename?: 'TicketArticleEdge', cursor: string, node: { __typename?: 'TicketArticle', id: string, internalId: number, messageId?: string | null, subject?: string | null, messageIdMd5?: string | null, inReplyTo?: string | null, contentType: string, references?: string | null, preferences?: any | null, bodyWithUrls: string, internal: boolean, createdAt: string, from?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, to?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, cc?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, replyTo?: { __typename?: 'AddressesField', raw: string, parsed?: Array<{ __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null, isSystemAddress: boolean }> | null } | null, attachmentsWithoutInline: Array<{ __typename?: 'StoredFile', internalId: number, name: string, size?: number | null, type?: string | null, preferences?: any | null }>, author: { __typename?: 'User', id: string, fullname?: string | null, firstname?: string | null, lastname?: string | null, email?: string | null, active?: boolean | null, image?: string | null, vip?: boolean | null, outOfOffice?: boolean | null, authorizations?: Array<{ __typename?: 'Authorization', provider: string, uid: string, username?: string | null }> | null }, type?: { __typename?: 'TicketArticleType', name?: string | null, communication?: boolean | null } | null, sender?: { __typename?: 'TicketArticleSender', name?: string | null } | null, securityState?: { __typename?: 'TicketArticleSecurityState', encryptionMessage?: string | null, encryptionSuccess?: boolean | null, signingMessage?: string | null, signingSuccess?: boolean | null, type?: EnumSecurityStateType | null } | null, mediaErrorState?: { __typename?: 'TicketArticleMediaErrorState', error?: boolean | null } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor?: string | null, startCursor?: string | null, hasPreviousPage: boolean } } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 4 days to fix
    app/frontend/shared/graphql/types.ts on lines 3747..3747

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 832.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchAgentQuery = { __typename?: 'Queries', autocompleteSearchAgent: Array<{ __typename?: 'AutocompleteSearchUserEntry', value: number, label: string, labelPlaceholder?: Array<string> | null, heading?: string | null, headingPlaceholder?: Array<string> | null, disabled?: boolean | null, icon?: string | null, user: { __typename?: 'User', vip?: boolean | null, outOfOffice?: boolean | null, active?: boolean | null, id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, outOfOfficeStartAt?: string | null, outOfOfficeEndAt?: string | null, preferences?: any | null, hasSecondaryOrganizations?: boolean | null, outOfOfficeReplacement?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, login?: string | null, phone?: string | null, email?: string | null } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null } }> };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 days to fix
    app/frontend/shared/graphql/types.ts on lines 3806..3806

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 560.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchUserQuery = { __typename?: 'Queries', autocompleteSearchUser: Array<{ __typename?: 'AutocompleteSearchUserEntry', value: number, label: string, labelPlaceholder?: Array<string> | null, heading?: string | null, headingPlaceholder?: Array<string> | null, disabled?: boolean | null, icon?: string | null, user: { __typename?: 'User', vip?: boolean | null, outOfOffice?: boolean | null, active?: boolean | null, id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, outOfOfficeStartAt?: string | null, outOfOfficeEndAt?: string | null, preferences?: any | null, hasSecondaryOrganizations?: boolean | null, outOfOfficeReplacement?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, login?: string | null, phone?: string | null, email?: string | null } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null } }> };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 days to fix
    app/frontend/shared/graphql/types.ts on lines 3799..3799

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 560.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UserUpdateMutation = { __typename?: 'Mutations', userUpdate?: { __typename?: 'UserUpdatePayload', user?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, outOfOffice?: boolean | null, outOfOfficeStartAt?: string | null, outOfOfficeEndAt?: string | null, preferences?: any | null, hasSecondaryOrganizations?: boolean | null, outOfOfficeReplacement?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, login?: string | null, phone?: string | null, email?: string | null } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 days to fix
    app/frontend/shared/graphql/types.ts on lines 4047..4047

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 507.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UserAddMutation = { __typename?: 'Mutations', userAdd?: { __typename?: 'UserAddPayload', user?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, outOfOffice?: boolean | null, outOfOfficeStartAt?: string | null, outOfOfficeEndAt?: string | null, preferences?: any | null, hasSecondaryOrganizations?: boolean | null, outOfOfficeReplacement?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, login?: string | null, phone?: string | null, email?: string | null } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 days to fix
    app/frontend/shared/graphql/types.ts on lines 3792..3792

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 507.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UserDetailAttributesFragment = { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, email?: string | null, web?: string | null, vip?: boolean | null, phone?: string | null, mobile?: string | null, fax?: string | null, note?: string | null, active?: boolean | null, hasSecondaryOrganizations?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, vip?: boolean | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null } | null, secondaryOrganizations?: { __typename?: 'OrganizationConnection', totalCount: number, edges: Array<{ __typename?: 'OrganizationEdge', node: { __typename?: 'Organization', id: string, internalId: number, active?: boolean | null, name?: string | null } }> } | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 days to fix
    app/frontend/shared/graphql/types.ts on lines 4160..4160

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 465.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UserUpdatesSubscription = { __typename?: 'Subscriptions', userUpdates: { __typename?: 'UserUpdatesPayload', user?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, email?: string | null, web?: string | null, vip?: boolean | null, phone?: string | null, mobile?: string | null, fax?: string | null, note?: string | null, active?: boolean | null, hasSecondaryOrganizations?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, vip?: boolean | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null } | null, secondaryOrganizations?: { __typename?: 'OrganizationConnection', totalCount: number, edges: Array<{ __typename?: 'OrganizationEdge', node: { __typename?: 'Organization', id: string, internalId: number, active?: boolean | null, name?: string | null } }> } | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null } | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 days to fix
    app/frontend/shared/graphql/types.ts on lines 4061..4061

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 465.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type CurrentUserQuery = { __typename?: 'Queries', currentUser: { __typename?: 'User', email?: string | null, id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, outOfOffice?: boolean | null, outOfOfficeStartAt?: string | null, outOfOfficeEndAt?: string | null, preferences?: any | null, hasSecondaryOrganizations?: boolean | null, permissions?: { __typename?: 'UserPermission', names: Array<string> } | null, outOfOfficeReplacement?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, login?: string | null, phone?: string | null, email?: string | null } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 days to fix
    app/frontend/shared/graphql/types.ts on lines 4049..4049

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 461.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type CurrentUserAttributesFragment = { __typename?: 'User', email?: string | null, id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, image?: string | null, outOfOffice?: boolean | null, outOfOfficeStartAt?: string | null, outOfOfficeEndAt?: string | null, preferences?: any | null, hasSecondaryOrganizations?: boolean | null, permissions?: { __typename?: 'UserPermission', names: Array<string> } | null, outOfOfficeReplacement?: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, login?: string | null, phone?: string | null, email?: string | null } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 days to fix
    app/frontend/shared/graphql/types.ts on lines 4102..4102

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 461.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketOverviewsQuery = { __typename?: 'Queries', ticketOverviews: { __typename?: 'OverviewConnection', edges: Array<{ __typename?: 'OverviewEdge', cursor: string, node: { __typename?: 'Overview', id: string, name: string, link: string, prio: number, orderBy: string, orderDirection: EnumOrderDirection, active: boolean, ticketCount?: number, viewColumns: Array<{ __typename?: 'KeyValue', key: string, value?: string | null }>, orderColumns: Array<{ __typename?: 'KeyValue', key: string, value?: string | null }> } }>, pageInfo: { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage: boolean } } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 3654..3654

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 230.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketOverviewUpdatesSubscription = { __typename?: 'Subscriptions', ticketOverviewUpdates: { __typename?: 'TicketOverviewUpdatesPayload', ticketOverviews?: { __typename?: 'OverviewConnection', edges: Array<{ __typename?: 'OverviewEdge', cursor: string, node: { __typename?: 'Overview', id: string, name: string, link: string, prio: number, orderBy: string, orderDirection: EnumOrderDirection, active: boolean, ticketCount?: number, viewColumns: Array<{ __typename?: 'KeyValue', key: string, value?: string | null }>, orderColumns: Array<{ __typename?: 'KeyValue', key: string, value?: string | null }> } }>, pageInfo: { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage: boolean } } | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 4039..4039

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 230.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type AutocompleteSearchMergeTicketEntry = {
      __typename?: 'AutocompleteSearchMergeTicketEntry';
      disabled?: Maybe<Scalars['Boolean']['output']>;
      heading?: Maybe<Scalars['String']['output']>;
      headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 222..232
    app/frontend/shared/graphql/types.ts on lines 245..255
    app/frontend/shared/graphql/types.ts on lines 270..280

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 220.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type AutocompleteSearchOrganizationEntry = {
      __typename?: 'AutocompleteSearchOrganizationEntry';
      disabled?: Maybe<Scalars['Boolean']['output']>;
      heading?: Maybe<Scalars['String']['output']>;
      headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 185..195
    app/frontend/shared/graphql/types.ts on lines 245..255
    app/frontend/shared/graphql/types.ts on lines 270..280

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 220.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type AutocompleteSearchUserEntry = {
      __typename?: 'AutocompleteSearchUserEntry';
      disabled?: Maybe<Scalars['Boolean']['output']>;
      heading?: Maybe<Scalars['String']['output']>;
      headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 185..195
    app/frontend/shared/graphql/types.ts on lines 222..232
    app/frontend/shared/graphql/types.ts on lines 245..255

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 220.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type AutocompleteSearchRecipientEntry = {
      __typename?: 'AutocompleteSearchRecipientEntry';
      disabled?: Maybe<Scalars['Boolean']['output']>;
      heading?: Maybe<Scalars['String']['output']>;
      headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 185..195
    app/frontend/shared/graphql/types.ts on lines 222..232
    app/frontend/shared/graphql/types.ts on lines 270..280

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 220.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchEntry = {
      __typename?: 'AutocompleteSearchEntry';
      disabled?: Maybe<Scalars['Boolean']['output']>;
      heading?: Maybe<Scalars['String']['output']>;
      headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 165..174

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 211.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchExternalDataSourceEntry = {
      __typename?: 'AutocompleteSearchExternalDataSourceEntry';
      disabled?: Maybe<Scalars['Boolean']['output']>;
      heading?: Maybe<Scalars['String']['output']>;
      headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 153..162

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 211.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type OrganizationAttributesFragment = { __typename?: 'Organization', id: string, internalId: number, name?: string | null, shared?: boolean | null, domain?: string | null, domainAssignment?: boolean | null, active?: boolean | null, note?: string | null, vip?: boolean | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 3853..3853

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 207.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchOrganizationQuery = { __typename?: 'Queries', autocompleteSearchOrganization: Array<{ __typename?: 'AutocompleteSearchOrganizationEntry', value: number, label: string, labelPlaceholder?: Array<string> | null, heading?: string | null, headingPlaceholder?: Array<string> | null, disabled?: boolean | null, icon?: string | null, organization: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, shared?: boolean | null, domain?: string | null, domainAssignment?: boolean | null, active?: boolean | null, note?: string | null, vip?: boolean | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } }> };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 day to fix
    app/frontend/shared/graphql/types.ts on lines 3615..3615

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 207.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketUpdatesSubscription = { __typename?: 'Subscriptions', ticketUpdates: { __typename?: 'TicketUpdatesPayload', ticket?: { __typename?: 'Ticket', id: string, internalId: number, number: string, title: string, createdAt: string, escalationAt?: string | null, updatedAt: string, pendingTime?: string | null, tags?: Array<string> | null, timeUnit?: number | null, subscribed?: boolean | null, preferences?: any | null, stateColorCode: EnumTicketStateColorCode, firstResponseEscalationAt?: string | null, closeEscalationAt?: string | null, updateEscalationAt?: string | null, initialChannel?: EnumChannelArea | null, mentions?: { __typename?: 'MentionConnection', totalCount: number, edges: Array<{ __typename?: 'MentionEdge', cursor: string, node: { __typename?: 'Mention', user: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, vip?: boolean | null, outOfOffice?: boolean | null, active?: boolean | null, image?: string | null } } }> } | null, owner: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null }, customer: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, phone?: string | null, image?: string | null, vip?: boolean | null, active?: boolean | null, outOfOffice?: boolean | null, email?: string | null, hasSecondaryOrganizations?: boolean | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null, policy: { __typename?: 'PolicyDefault', update: boolean } }, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, vip?: boolean | null, active?: boolean | null } | null, state: { __typename?: 'TicketState', id: string, name: string, stateType: { __typename?: 'TicketStateType', name: string } }, group: { __typename?: 'Group', id: string, name?: string | null, emailAddress?: { __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null } | null }, priority: { __typename?: 'TicketPriority', id: string, name: string, defaultCreate: boolean, uiColor?: string | null }, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, policy: { __typename?: 'PolicyTicket', update: boolean, agentReadAccess: boolean }, timeUnitsPerType?: Array<{ __typename?: 'TicketTimeAccountingTypeSum', name: string, timeUnit: number }> | null } | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 7 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3734..3734

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 175.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketQuery = { __typename?: 'Queries', ticket: { __typename?: 'Ticket', id: string, internalId: number, number: string, title: string, createdAt: string, escalationAt?: string | null, updatedAt: string, pendingTime?: string | null, tags?: Array<string> | null, timeUnit?: number | null, subscribed?: boolean | null, preferences?: any | null, stateColorCode: EnumTicketStateColorCode, firstResponseEscalationAt?: string | null, closeEscalationAt?: string | null, updateEscalationAt?: string | null, initialChannel?: EnumChannelArea | null, createArticleType?: { __typename?: 'TicketArticleType', id: string, name?: string | null } | null, mentions?: { __typename?: 'MentionConnection', totalCount: number, edges: Array<{ __typename?: 'MentionEdge', cursor: string, node: { __typename?: 'Mention', user: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, vip?: boolean | null, outOfOffice?: boolean | null, active?: boolean | null, image?: string | null } } }> } | null, owner: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null }, customer: { __typename?: 'User', id: string, internalId: number, firstname?: string | null, lastname?: string | null, fullname?: string | null, phone?: string | null, image?: string | null, vip?: boolean | null, active?: boolean | null, outOfOffice?: boolean | null, email?: string | null, hasSecondaryOrganizations?: boolean | null, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, active?: boolean | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null } | null, policy: { __typename?: 'PolicyDefault', update: boolean } }, organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, vip?: boolean | null, active?: boolean | null } | null, state: { __typename?: 'TicketState', id: string, name: string, stateType: { __typename?: 'TicketStateType', name: string } }, group: { __typename?: 'Group', id: string, name?: string | null, emailAddress?: { __typename?: 'EmailAddressParsed', name?: string | null, emailAddress?: string | null } | null }, priority: { __typename?: 'TicketPriority', id: string, name: string, defaultCreate: boolean, uiColor?: string | null }, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, policy: { __typename?: 'PolicyTicket', update: boolean, agentReadAccess: boolean }, timeUnitsPerType?: Array<{ __typename?: 'TicketTimeAccountingTypeSum', name: string, timeUnit: number }> | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 7 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3784..3784

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 175.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketLiveUserAttributesFragment = { __typename?: 'TicketLiveUser', user: { __typename?: 'User', id: string, firstname?: string | null, lastname?: string | null, fullname?: string | null, email?: string | null, vip?: boolean | null, outOfOffice?: boolean | null, active?: boolean | null, image?: string | null }, apps: Array<{ __typename?: 'TicketLiveUserApp', name: EnumTaskbarApp, editing: boolean, lastInteraction: string }> };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 6 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3770..3770

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 161.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketLiveUserUpdatesSubscription = { __typename?: 'Subscriptions', ticketLiveUserUpdates: { __typename?: 'TicketLiveUserUpdatesPayload', liveUsers?: Array<{ __typename?: 'TicketLiveUser', user: { __typename?: 'User', id: string, firstname?: string | null, lastname?: string | null, fullname?: string | null, email?: string | null, vip?: boolean | null, outOfOffice?: boolean | null, active?: boolean | null, image?: string | null }, apps: Array<{ __typename?: 'TicketLiveUserApp', name: EnumTaskbarApp, editing: boolean, lastInteraction: string }> }> | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 6 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3679..3679

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 161.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 3 locations. Consider refactoring.
    Open

    export type OrganizationQuery = { __typename?: 'Queries', organization: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, shared?: boolean | null, domain?: string | null, domainAssignment?: boolean | null, active?: boolean | null, note?: string | null, vip?: boolean | null, policy: { __typename?: 'PolicyDefault', update: boolean }, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, members?: { __typename?: 'UserConnection', totalCount: number, edges: Array<{ __typename?: 'UserEdge', node: { __typename?: 'User', id: string, internalId: number, image?: string | null, firstname?: string | null, lastname?: string | null, fullname?: string | null, outOfOffice?: boolean | null, active?: boolean | null, vip?: boolean | null } }> } | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3617..3617
    app/frontend/shared/graphql/types.ts on lines 3642..3642

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 151.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 3 locations. Consider refactoring.
    Open

    export type OrganizationMembersFragment = { __typename?: 'Organization', members?: { __typename?: 'UserConnection', totalCount: number, edges: Array<{ __typename?: 'UserEdge', node: { __typename?: 'User', id: string, internalId: number, image?: string | null, firstname?: string | null, lastname?: string | null, fullname?: string | null, outOfOffice?: boolean | null, active?: boolean | null, vip?: boolean | null } }> } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3634..3634
    app/frontend/shared/graphql/types.ts on lines 3642..3642

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 151.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 3 locations. Consider refactoring.
    Open

    export type OrganizationUpdatesSubscription = { __typename?: 'Subscriptions', organizationUpdates: { __typename?: 'OrganizationUpdatesPayload', organization?: { __typename?: 'Organization', id: string, internalId: number, name?: string | null, shared?: boolean | null, domain?: string | null, domainAssignment?: boolean | null, active?: boolean | null, note?: string | null, vip?: boolean | null, ticketsCount?: { __typename?: 'TicketCount', open: number, closed: number } | null, objectAttributeValues?: Array<{ __typename?: 'ObjectAttributeValue', value?: any | null, renderedLink?: string | null, attribute: { __typename?: 'ObjectManagerFrontendAttribute', name: string, display: string } }> | null, members?: { __typename?: 'UserConnection', totalCount: number, edges: Array<{ __typename?: 'UserEdge', node: { __typename?: 'User', id: string, internalId: number, image?: string | null, firstname?: string | null, lastname?: string | null, fullname?: string | null, outOfOffice?: boolean | null, active?: boolean | null, vip?: boolean | null } }> } | null } | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3617..3617
    app/frontend/shared/graphql/types.ts on lines 3634..3634

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 151.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type UserAddFirstAdminMutation = { __typename?: 'Mutations', userAddFirstAdmin?: { __typename?: 'UserAddFirstAdminPayload', session?: { __typename?: 'Session', id: string, afterAuth?: { __typename?: 'SessionAfterAuth', type: EnumAfterAuthType, data?: any | null } | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3499..3499
    app/frontend/shared/graphql/types.ts on lines 3532..3532

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 147.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type UserSignupVerifyMutation = { __typename?: 'Mutations', userSignupVerify?: { __typename?: 'UserSignupVerifyPayload', session?: { __typename?: 'Session', id: string, afterAuth?: { __typename?: 'SessionAfterAuth', type: EnumAfterAuthType, data?: any | null } | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3532..3532
    app/frontend/shared/graphql/types.ts on lines 3546..3546

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 147.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type SystemSetupRunAutoWizardMutation = { __typename?: 'Mutations', systemSetupRunAutoWizard?: { __typename?: 'SystemSetupRunAutoWizardPayload', session?: { __typename?: 'Session', id: string, afterAuth?: { __typename?: 'SessionAfterAuth', type: EnumAfterAuthType, data?: any | null } | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 5 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3499..3499
    app/frontend/shared/graphql/types.ts on lines 3546..3546

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 147.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

    export type TicketOverviewUpdatesPayloadTicketOverviewsArgs = {
      after?: InputMaybe<Scalars['String']['input']>;
      before?: InputMaybe<Scalars['String']['input']>;
      first?: InputMaybe<Scalars['Int']['input']>;
      last?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 6 other locations - About 4 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1783..1788
    app/frontend/shared/graphql/types.ts on lines 2135..2140
    app/frontend/shared/graphql/types.ts on lines 2187..2192
    app/frontend/shared/graphql/types.ts on lines 2538..2543
    app/frontend/shared/graphql/types.ts on lines 2616..2621
    app/frontend/shared/graphql/types.ts on lines 3194..3199

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

    export type TextModuleGroupsArgs = {
      after?: InputMaybe<Scalars['String']['input']>;
      before?: InputMaybe<Scalars['String']['input']>;
      first?: InputMaybe<Scalars['Int']['input']>;
      last?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 6 other locations - About 4 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1783..1788
    app/frontend/shared/graphql/types.ts on lines 2135..2140
    app/frontend/shared/graphql/types.ts on lines 2187..2192
    app/frontend/shared/graphql/types.ts on lines 2616..2621
    app/frontend/shared/graphql/types.ts on lines 2978..2983
    app/frontend/shared/graphql/types.ts on lines 3194..3199

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

    export type TicketMentionsArgs = {
      after?: InputMaybe<Scalars['String']['input']>;
      before?: InputMaybe<Scalars['String']['input']>;
      first?: InputMaybe<Scalars['Int']['input']>;
      last?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 6 other locations - About 4 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1783..1788
    app/frontend/shared/graphql/types.ts on lines 2135..2140
    app/frontend/shared/graphql/types.ts on lines 2187..2192
    app/frontend/shared/graphql/types.ts on lines 2538..2543
    app/frontend/shared/graphql/types.ts on lines 2978..2983
    app/frontend/shared/graphql/types.ts on lines 3194..3199

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

    export type QueriesOnlineNotificationsArgs = {
      after?: InputMaybe<Scalars['String']['input']>;
      before?: InputMaybe<Scalars['String']['input']>;
      first?: InputMaybe<Scalars['Int']['input']>;
      last?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 6 other locations - About 4 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1783..1788
    app/frontend/shared/graphql/types.ts on lines 2187..2192
    app/frontend/shared/graphql/types.ts on lines 2538..2543
    app/frontend/shared/graphql/types.ts on lines 2616..2621
    app/frontend/shared/graphql/types.ts on lines 2978..2983
    app/frontend/shared/graphql/types.ts on lines 3194..3199

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

    export type UserSecondaryOrganizationsArgs = {
      after?: InputMaybe<Scalars['String']['input']>;
      before?: InputMaybe<Scalars['String']['input']>;
      first?: InputMaybe<Scalars['Int']['input']>;
      last?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 6 other locations - About 4 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1783..1788
    app/frontend/shared/graphql/types.ts on lines 2135..2140
    app/frontend/shared/graphql/types.ts on lines 2187..2192
    app/frontend/shared/graphql/types.ts on lines 2538..2543
    app/frontend/shared/graphql/types.ts on lines 2616..2621
    app/frontend/shared/graphql/types.ts on lines 2978..2983

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

    export type OrganizationMembersArgs = {
      after?: InputMaybe<Scalars['String']['input']>;
      before?: InputMaybe<Scalars['String']['input']>;
      first?: InputMaybe<Scalars['Int']['input']>;
      last?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 6 other locations - About 4 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 2135..2140
    app/frontend/shared/graphql/types.ts on lines 2187..2192
    app/frontend/shared/graphql/types.ts on lines 2538..2543
    app/frontend/shared/graphql/types.ts on lines 2616..2621
    app/frontend/shared/graphql/types.ts on lines 2978..2983
    app/frontend/shared/graphql/types.ts on lines 3194..3199

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

    export type QueriesTicketOverviewsArgs = {
      after?: InputMaybe<Scalars['String']['input']>;
      before?: InputMaybe<Scalars['String']['input']>;
      first?: InputMaybe<Scalars['Int']['input']>;
      last?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 6 other locations - About 4 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1783..1788
    app/frontend/shared/graphql/types.ts on lines 2135..2140
    app/frontend/shared/graphql/types.ts on lines 2538..2543
    app/frontend/shared/graphql/types.ts on lines 2616..2621
    app/frontend/shared/graphql/types.ts on lines 2978..2983
    app/frontend/shared/graphql/types.ts on lines 3194..3199

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchRecipientQuery = { __typename?: 'Queries', autocompleteSearchRecipient: Array<{ __typename?: 'AutocompleteSearchRecipientEntry', value: string, label: string, labelPlaceholder?: Array<string> | null, heading?: string | null, headingPlaceholder?: Array<string> | null, disabled?: boolean | null, icon?: string | null }> };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/apps/mobile/components/Form/fields/FieldRecipient/__tests__/FieldRecipient.spec.ts on lines 27..39

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 114.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type EmailAddressParsed = {
      __typename?: 'EmailAddressParsed';
      /** Email address. */
      emailAddress?: Maybe<Scalars['String']['output']>;
      /** Is email added as system EmailAddress? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3103..3111

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 109.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TranslationsPayload = {
      __typename?: 'TranslationsPayload';
      /** Cache key that the front end should use to cache the new translation data. */
      cacheKey?: Maybe<Scalars['String']['output']>;
      /** If this is true, then the front end's translation cache is still valid and should be used, cacheKey and translation will not be returned. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 558..566

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 109.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchOrganizationInput = {
      /** Customer ID to filter the organizations by */
      customerId?: InputMaybe<Scalars['ID']['input']>;
      /** Limit for the amount of entries */
      limit?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 283..290

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 98.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchUserInput = {
      /** Optional user ID to be filtered out from results */
      exceptInternalId?: InputMaybe<Scalars['Int']['input']>;
      /** Limit for the amount of entries */
      limit?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 235..242

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 98.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UploadFileInput = {
      /** File content */
      content?: InputMaybe<Scalars['BinaryString']['input']>;
      /** File name. */
      name: Scalars['String']['input'];
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 198..205

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 98.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AutocompleteSearchMergeTicketInput = {
      /** Limit for the amount of entries */
      limit?: InputMaybe<Scalars['Int']['input']>;
      /** Query from the autocomplete field */
      query: Scalars['String']['input'];
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3136..3143

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 98.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type OrganizationQueryVariables = Exact<{
      organizationId?: InputMaybe<Scalars['ID']['input']>;
      organizationInternalId?: InputMaybe<Scalars['Int']['input']>;
      membersCount?: InputMaybe<Scalars['Int']['input']>;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3656..3660

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 96.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UserQueryVariables = Exact<{
      userId?: InputMaybe<Scalars['ID']['input']>;
      userInternalId?: InputMaybe<Scalars['Int']['input']>;
      secondaryOrganizationsCount?: InputMaybe<Scalars['Int']['input']>;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 3 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3627..3631

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 96.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type ChannelEmailSetNotificationConfigurationMutation = { __typename?: 'Mutations', channelEmailSetNotificationConfiguration?: { __typename?: 'ChannelEmailSetNotificationConfigurationPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AdminPasswordAuthSendMutation = { __typename?: 'Mutations', adminPasswordAuthSend?: { __typename?: 'AdminPasswordAuthSendPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type UserPasswordResetSendMutation = { __typename?: 'Mutations', userPasswordResetSend?: { __typename?: 'UserPasswordResetSendPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type UserSignupMutation = { __typename?: 'Mutations', userSignup?: { __typename?: 'UserSignupPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type SystemSetupUnlockMutation = { __typename?: 'Mutations', systemSetupUnlock?: { __typename?: 'SystemSetupUnlockPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type TicketArticleRetryMediaDownloadMutation = { __typename?: 'Mutations', ticketArticleRetryMediaDownload?: { __typename?: 'TicketArticleRetryMediaDownloadPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type MentionUnsubscribeMutation = { __typename?: 'Mutations', mentionUnsubscribe?: { __typename?: 'MentionUnsubscribePayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type TagAssignmentUpdateMutation = { __typename?: 'Mutations', tagAssignmentUpdate?: { __typename?: 'TagAssignmentUpdatePayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type GuidedSetupSetSystemInformationMutation = { __typename?: 'Mutations', guidedSetupSetSystemInformation?: { __typename?: 'GuidedSetupSetSystemInformationPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AccountOutOfOfficeMutation = { __typename?: 'Mutations', accountOutOfOffice?: { __typename?: 'AccountOutOfOfficePayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type UserPasswordResetVerifyMutation = { __typename?: 'Mutations', userPasswordResetVerify?: { __typename?: 'UserPasswordResetVerifyPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type UserPasswordResetUpdateMutation = { __typename?: 'Mutations', userPasswordResetUpdate?: { __typename?: 'UserPasswordResetUpdatePayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AccountChangePasswordMutation = { __typename?: 'Mutations', accountChangePassword?: { __typename?: 'AccountChangePasswordPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type MentionSubscribeMutation = { __typename?: 'Mutations', mentionSubscribe?: { __typename?: 'MentionSubscribePayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3492..3492
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type UserSignupResendMutation = { __typename?: 'Mutations', userSignupResend?: { __typename?: 'UserSignupResendPayload', success?: boolean | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3411..3411
    app/frontend/shared/graphql/types.ts on lines 3449..3449
    app/frontend/shared/graphql/types.ts on lines 3463..3463
    app/frontend/shared/graphql/types.ts on lines 3471..3471
    app/frontend/shared/graphql/types.ts on lines 3478..3478
    app/frontend/shared/graphql/types.ts on lines 3485..3485
    app/frontend/shared/graphql/types.ts on lines 3506..3506
    app/frontend/shared/graphql/types.ts on lines 3539..3539
    app/frontend/shared/graphql/types.ts on lines 3578..3578
    app/frontend/shared/graphql/types.ts on lines 3585..3585
    app/frontend/shared/graphql/types.ts on lines 3954..3954
    app/frontend/shared/graphql/types.ts on lines 3993..3993
    app/frontend/shared/graphql/types.ts on lines 4025..4025
    app/frontend/shared/graphql/types.ts on lines 4032..4032

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 91.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AccountAvatarListQuery = { __typename?: 'Queries', accountAvatarList?: Array<{ __typename?: 'Avatar', id: string, default: boolean, deletable: boolean, initial: boolean, imageHash?: string | null, createdAt: string, updatedAt: string }> | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3597..3597

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 90.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AccountAvatarUpdatesSubscription = { __typename?: 'Subscriptions', accountAvatarUpdates: { __typename?: 'AccountAvatarUpdatesPayload', avatars?: Array<{ __typename?: 'Avatar', id: string, default: boolean, deletable: boolean, initial: boolean, imageHash?: string | null, createdAt: string, updatedAt: string }> | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3590..3590

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 90.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type AccountAvatarSelectMutation = { __typename?: 'Mutations', accountAvatarSelect?: { __typename?: 'AccountAvatarSelectPayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type AccountAvatarDeleteMutation = { __typename?: 'Mutations', accountAvatarDelete?: { __typename?: 'AccountAvatarDeletePayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type OnlineNotificationSeenMutation = { __typename?: 'Mutations', onlineNotificationSeen?: { __typename?: 'OnlineNotificationSeenPayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type SystemImportConfigurationMutation = { __typename?: 'Mutations', systemImportConfiguration?: { __typename?: 'SystemImportConfigurationPayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type AccountAppearanceMutation = { __typename?: 'Mutations', accountAppearance?: { __typename?: 'AccountAppearancePayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type TicketLiveUserDeleteMutation = { __typename?: 'Mutations', ticketLiveUserDelete?: { __typename?: 'TicketLiveUserDeletePayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type OnlineNotificationDeleteMutation = { __typename?: 'Mutations', onlineNotificationDelete?: { __typename?: 'OnlineNotificationDeletePayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type AccountLocaleMutation = { __typename?: 'Mutations', accountLocale?: { __typename?: 'AccountLocalePayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type TicketLiveUserUpsertMutation = { __typename?: 'Mutations', ticketLiveUserUpsert?: { __typename?: 'TicketLiveUserUpsertPayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type ChannelEmailValidateConfigurationRoundtripMutation = { __typename?: 'Mutations', channelEmailValidateConfigurationRoundtrip?: { __typename?: 'ChannelEmailValidateConfigurationRoundtripPayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type ChannelEmailValidateConfigurationOutboundMutation = { __typename?: 'Mutations', channelEmailValidateConfigurationOutbound?: { __typename?: 'ChannelEmailValidateConfigurationOutboundPayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type SystemImportStartMutation = { __typename?: 'Mutations', systemImportStart?: { __typename?: 'SystemImportStartPayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920
    app/frontend/shared/graphql/types.ts on lines 3978..3978

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 13 locations. Consider refactoring.
    Open

    export type TicketArticleDeleteMutation = { __typename?: 'Mutations', ticketArticleDelete?: { __typename?: 'TicketArticleDeletePayload', success: boolean, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 12 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3426..3426
    app/frontend/shared/graphql/types.ts on lines 3435..3435
    app/frontend/shared/graphql/types.ts on lines 3513..3513
    app/frontend/shared/graphql/types.ts on lines 3518..3518
    app/frontend/shared/graphql/types.ts on lines 3563..3563
    app/frontend/shared/graphql/types.ts on lines 3570..3570
    app/frontend/shared/graphql/types.ts on lines 3700..3700
    app/frontend/shared/graphql/types.ts on lines 3709..3709
    app/frontend/shared/graphql/types.ts on lines 3885..3885
    app/frontend/shared/graphql/types.ts on lines 3892..3892
    app/frontend/shared/graphql/types.ts on lines 3906..3906
    app/frontend/shared/graphql/types.ts on lines 3920..3920

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type LoginPayload = {
      __typename?: 'LoginPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The current session, if the login was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 2959..2967

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 85.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketMergePayload = {
      __typename?: 'TicketMergePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The source ticket after merging. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1084..1092

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 85.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TagAssignmentUpdateMutationVariables = Exact<{
      objectId: Scalars['ID']['input'];
      tags: Array<Scalars['String']['input']> | Scalars['String']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3607..3610

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 80.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type FormUploadCacheRemoveMutationVariables = Exact<{
      formId: Scalars['FormId']['input'];
      fileIds: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3948..3951

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 80.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type TicketConnection = {
      __typename?: 'TicketConnection';
      /** A list of edges. */
      edges: Array<TicketEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 829..837
    app/frontend/shared/graphql/types.ts on lines 1124..1132
    app/frontend/shared/graphql/types.ts on lines 1700..1708
    app/frontend/shared/graphql/types.ts on lines 1791..1799
    app/frontend/shared/graphql/types.ts on lines 1885..1893
    app/frontend/shared/graphql/types.ts on lines 2679..2687
    app/frontend/shared/graphql/types.ts on lines 3220..3228

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type UserConnection = {
      __typename?: 'UserConnection';
      /** A list of edges. */
      edges: Array<UserEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 829..837
    app/frontend/shared/graphql/types.ts on lines 1124..1132
    app/frontend/shared/graphql/types.ts on lines 1700..1708
    app/frontend/shared/graphql/types.ts on lines 1791..1799
    app/frontend/shared/graphql/types.ts on lines 1885..1893
    app/frontend/shared/graphql/types.ts on lines 2679..2687
    app/frontend/shared/graphql/types.ts on lines 2838..2846

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type OverviewConnection = {
      __typename?: 'OverviewConnection';
      /** A list of edges. */
      edges: Array<OverviewEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 829..837
    app/frontend/shared/graphql/types.ts on lines 1124..1132
    app/frontend/shared/graphql/types.ts on lines 1700..1708
    app/frontend/shared/graphql/types.ts on lines 1791..1799
    app/frontend/shared/graphql/types.ts on lines 2679..2687
    app/frontend/shared/graphql/types.ts on lines 2838..2846
    app/frontend/shared/graphql/types.ts on lines 3220..3228

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type OrganizationConnection = {
      __typename?: 'OrganizationConnection';
      /** A list of edges. */
      edges: Array<OrganizationEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 829..837
    app/frontend/shared/graphql/types.ts on lines 1124..1132
    app/frontend/shared/graphql/types.ts on lines 1700..1708
    app/frontend/shared/graphql/types.ts on lines 1885..1893
    app/frontend/shared/graphql/types.ts on lines 2679..2687
    app/frontend/shared/graphql/types.ts on lines 2838..2846
    app/frontend/shared/graphql/types.ts on lines 3220..3228

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type GroupConnection = {
      __typename?: 'GroupConnection';
      /** A list of edges. */
      edges: Array<GroupEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 1124..1132
    app/frontend/shared/graphql/types.ts on lines 1700..1708
    app/frontend/shared/graphql/types.ts on lines 1791..1799
    app/frontend/shared/graphql/types.ts on lines 1885..1893
    app/frontend/shared/graphql/types.ts on lines 2679..2687
    app/frontend/shared/graphql/types.ts on lines 2838..2846
    app/frontend/shared/graphql/types.ts on lines 3220..3228

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type OnlineNotificationConnection = {
      __typename?: 'OnlineNotificationConnection';
      /** A list of edges. */
      edges: Array<OnlineNotificationEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 829..837
    app/frontend/shared/graphql/types.ts on lines 1124..1132
    app/frontend/shared/graphql/types.ts on lines 1791..1799
    app/frontend/shared/graphql/types.ts on lines 1885..1893
    app/frontend/shared/graphql/types.ts on lines 2679..2687
    app/frontend/shared/graphql/types.ts on lines 2838..2846
    app/frontend/shared/graphql/types.ts on lines 3220..3228

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type MentionConnection = {
      __typename?: 'MentionConnection';
      /** A list of edges. */
      edges: Array<MentionEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 829..837
    app/frontend/shared/graphql/types.ts on lines 1700..1708
    app/frontend/shared/graphql/types.ts on lines 1791..1799
    app/frontend/shared/graphql/types.ts on lines 1885..1893
    app/frontend/shared/graphql/types.ts on lines 2679..2687
    app/frontend/shared/graphql/types.ts on lines 2838..2846
    app/frontend/shared/graphql/types.ts on lines 3220..3228

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type TicketArticleConnection = {
      __typename?: 'TicketArticleConnection';
      /** A list of edges. */
      edges: Array<TicketArticleEdge>;
      /** Information to aid in pagination. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 829..837
    app/frontend/shared/graphql/types.ts on lines 1124..1132
    app/frontend/shared/graphql/types.ts on lines 1700..1708
    app/frontend/shared/graphql/types.ts on lines 1791..1799
    app/frontend/shared/graphql/types.ts on lines 1885..1893
    app/frontend/shared/graphql/types.ts on lines 2838..2846
    app/frontend/shared/graphql/types.ts on lines 3220..3228

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 79.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type SystemSetupUnlockPayload = {
      __typename?: 'SystemSetupUnlockPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Success. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type AccountChangePasswordPayload = {
      __typename?: 'AccountChangePasswordPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** This indicates if changing the password was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type TagAssignmentRemovePayload = {
      __typename?: 'TagAssignmentRemovePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the mutation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type MentionUnsubscribePayload = {
      __typename?: 'MentionUnsubscribePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the mutation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type AccountOutOfOfficePayload = {
      __typename?: 'AccountOutOfOfficePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Profile out of office settings updated successfully? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type UserPasswordResetUpdatePayload = {
      __typename?: 'UserPasswordResetUpdatePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** This indicates if the password update was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type TagAssignmentAddPayload = {
      __typename?: 'TagAssignmentAddPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the mutation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type AdminPasswordAuthSendPayload = {
      __typename?: 'AdminPasswordAuthSendPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** This indicates if sending the token was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type UserPasswordResetVerifyPayload = {
      __typename?: 'UserPasswordResetVerifyPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** This indicates if the password reset token is valid. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type AdminPasswordAuthVerifyPayload = {
      __typename?: 'AdminPasswordAuthVerifyPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Login of the user */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type TagAssignmentUpdatePayload = {
      __typename?: 'TagAssignmentUpdatePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the mutation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type MentionSubscribePayload = {
      __typename?: 'MentionSubscribePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the mutation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type UserSignupPayload = {
      __typename?: 'UserSignupPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** This indicates if creating the user and sending the token was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type ChannelEmailSetNotificationConfigurationPayload = {
      __typename?: 'ChannelEmailSetNotificationConfigurationPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the operation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type UserPasswordResetSendPayload = {
      __typename?: 'UserPasswordResetSendPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** This indicates if sending of the password reset link was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type UserSignupResendPayload = {
      __typename?: 'UserSignupResendPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** This indicates if sending of the token via email was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 849..855
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 17 locations. Consider refactoring.
    Open

    export type GuidedSetupSetSystemInformationPayload = {
      __typename?: 'GuidedSetupSetSystemInformationPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** System setup information updated successfully? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 16 other locations - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 68..74
    app/frontend/shared/graphql/types.ts on lines 86..92
    app/frontend/shared/graphql/types.ts on lines 107..113
    app/frontend/shared/graphql/types.ts on lines 116..122
    app/frontend/shared/graphql/types.ts on lines 474..480
    app/frontend/shared/graphql/types.ts on lines 1144..1150
    app/frontend/shared/graphql/types.ts on lines 1153..1159
    app/frontend/shared/graphql/types.ts on lines 2460..2466
    app/frontend/shared/graphql/types.ts on lines 2469..2475
    app/frontend/shared/graphql/types.ts on lines 2478..2484
    app/frontend/shared/graphql/types.ts on lines 2487..2493
    app/frontend/shared/graphql/types.ts on lines 3291..3297
    app/frontend/shared/graphql/types.ts on lines 3300..3306
    app/frontend/shared/graphql/types.ts on lines 3309..3315
    app/frontend/shared/graphql/types.ts on lines 3341..3347
    app/frontend/shared/graphql/types.ts on lines 3350..3356

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 78.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type PublicLinkUpdatesSubscription = { __typename?: 'Subscriptions', publicLinkUpdates: { __typename?: 'PublicLinkUpdatesPayload', publicLinks?: Array<{ __typename?: 'PublicLink', id: string, link: string, title: string, description?: string | null, newTab: boolean }> | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3939..3939

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 76.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type PublicLinksQuery = { __typename?: 'Queries', publicLinks?: Array<{ __typename?: 'PublicLink', id: string, link: string, title: string, description?: string | null, newTab: boolean }> | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 2 hrs to fix
    app/frontend/shared/graphql/types.ts on lines 3946..3946

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 76.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type LocatorOrganizationInput = {
      /** Organization ID */
      organizationId?: InputMaybe<Scalars['ID']['input']>;
      /** Organization internalId */
      organizationInternalId?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1062..1067

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 73.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type LocatorUserInput = {
      /** User ID */
      userId?: InputMaybe<Scalars['ID']['input']>;
      /** User internalId */
      userInternalId?: InputMaybe<Scalars['Int']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1044..1049

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 73.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AccountLocalePayload = {
      __typename?: 'AccountLocalePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the update successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type ChannelEmailValidateConfigurationOutboundPayload = {
      __typename?: 'ChannelEmailValidateConfigurationOutboundPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the validation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type OnlineNotificationDeletePayload = {
      __typename?: 'OnlineNotificationDeletePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the notification deletion successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AccountAvatarSelectPayload = {
      __typename?: 'AccountAvatarSelectPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the avatar selection successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AccountAvatarDeletePayload = {
      __typename?: 'AccountAvatarDeletePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the avatar deletion successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type OnlineNotificationSeenPayload = {
      __typename?: 'OnlineNotificationSeenPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Did we successfully set the online notification to seen? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type TicketArticleDeletePayload = {
      __typename?: 'TicketArticleDeletePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the ticket article deletion successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type TicketLiveUserUpsertPayload = {
      __typename?: 'TicketLiveUserUpsertPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Did we succeed to insert/update the live user entry? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AddressesField = {
      __typename?: 'AddressesField';
      /** If email addresses were found and parseable, this will hold the parsed result. */
      parsed?: Maybe<Array<EmailAddressParsed>>;
      /** Unparsed content of the addresses field. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type AccountAppearancePayload = {
      __typename?: 'AccountAppearancePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Profile appearance settings updated successfully? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type ChannelEmailValidateConfigurationRoundtripPayload = {
      __typename?: 'ChannelEmailValidateConfigurationRoundtripPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the validation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type SystemImportConfigurationPayload = {
      __typename?: 'SystemImportConfigurationPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Is the configuration valid? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type FormUploadCacheRemovePayload = {
      __typename?: 'FormUploadCacheRemovePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the mutation successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketArticleRetrySecurityProcessMutation = { __typename?: 'Mutations', ticketArticleRetrySecurityProcess?: { __typename?: 'TicketArticleRetrySecurityProcessPayload', retryResult?: { __typename?: 'TicketArticleSecurityState', type?: EnumSecurityStateType | null, signingSuccess?: boolean | null, signingMessage?: string | null, encryptionSuccess?: boolean | null, encryptionMessage?: string | null } | null, article?: { __typename?: 'TicketArticle', id: string, securityState?: { __typename?: 'TicketArticleSecurityState', type?: EnumSecurityStateType | null, signingSuccess?: boolean | null, signingMessage?: string | null, encryptionSuccess?: boolean | null, encryptionMessage?: string | null } | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 4000..4000

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type SystemImportStartPayload = {
      __typename?: 'SystemImportStartPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the start successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2934..2940
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 15 locations. Consider refactoring.
    Open

    export type TicketLiveUserDeletePayload = {
      __typename?: 'TicketLiveUserDeletePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Was the live user entry deletion successful? */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 14 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 25..31
    app/frontend/shared/graphql/types.ts on lines 43..49
    app/frontend/shared/graphql/types.ts on lines 52..58
    app/frontend/shared/graphql/types.ts on lines 77..83
    app/frontend/shared/graphql/types.ts on lines 98..104
    app/frontend/shared/graphql/types.ts on lines 494..500
    app/frontend/shared/graphql/types.ts on lines 503..509
    app/frontend/shared/graphql/types.ts on lines 798..804
    app/frontend/shared/graphql/types.ts on lines 1711..1717
    app/frontend/shared/graphql/types.ts on lines 1738..1744
    app/frontend/shared/graphql/types.ts on lines 2399..2405
    app/frontend/shared/graphql/types.ts on lines 2408..2414
    app/frontend/shared/graphql/types.ts on lines 2690..2696
    app/frontend/shared/graphql/types.ts on lines 2950..2956

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 72.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type ObjectManagerScreenAttributes = {
      __typename?: 'ObjectManagerScreenAttributes';
      attributes: Array<Scalars['String']['output']>;
      name: Scalars['String']['output'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3240..3244

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 70.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UserError = {
      __typename?: 'UserError';
      field?: Maybe<Scalars['String']['output']>;
      message: Scalars['String']['output'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1672..1676

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 70.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type KeyComplexValue = {
      __typename?: 'KeyComplexValue';
      key: Scalars['String']['output'];
      value?: Maybe<Scalars['JSON']['output']>;
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 883..887

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 70.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type KeyValue = {
      __typename?: 'KeyValue';
      key: Scalars['String']['output'];
      value?: Maybe<Scalars['String']['output']>;
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 876..880

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 70.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type ObjectAttributeValueInput = {
      /** The name of the current object's attribute */
      name: Scalars['String']['input'];
      /** The value of the current object's object attribute */
      value?: InputMaybe<Scalars['JSON']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 2891..2896

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 67.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketCustomerUpdateInput = {
      /** The customer of the ticket. */
      customerId: Scalars['ID']['input'];
      /** The organization of the ticket (only needed if the customer belongs to several organizations). */
      organizationId?: InputMaybe<Scalars['ID']['input']>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1639..1644

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 67.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type UserAddFirstAdminPayload = {
      __typename?: 'UserAddFirstAdminPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The current session, if the user was successfully created. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type UserSignupVerifyPayload = {
      __typename?: 'UserSignupVerifyPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The current session, if the verification was successful. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type UserUpdatePayload = {
      __typename?: 'UserUpdatePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The created user. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type SystemSetupRunAutoWizardPayload = {
      __typename?: 'SystemSetupRunAutoWizardPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The current session, if the auto wizard was successfully executed. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type OrganizationUpdatePayload = {
      __typename?: 'OrganizationUpdatePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The updated organization. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type TicketCreatePayload = {
      __typename?: 'TicketCreatePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The created ticket. If this is present but empty, the mutation was successful but the user has no rights to view the new ticket. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type TicketCustomerUpdatePayload = {
      __typename?: 'TicketCustomerUpdatePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The updated ticket. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type FormUploadCacheAddPayload = {
      __typename?: 'FormUploadCacheAddPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** Information about the uploaded files. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type TicketUpdatePayload = {
      __typename?: 'TicketUpdatePayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The updated ticket. If this is present but empty, the mutation was successful but the user has no rights to view the updated ticket. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3211..3217
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type UserAddPayload = {
      __typename?: 'UserAddPayload';
      /** Errors encountered during execution of the mutation. */
      errors?: Maybe<Array<UserError>>;
      /** The created user. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 789..795
    app/frontend/shared/graphql/types.ts on lines 1829..1835
    app/frontend/shared/graphql/types.ts on lines 2451..2457
    app/frontend/shared/graphql/types.ts on lines 2882..2888
    app/frontend/shared/graphql/types.ts on lines 2899..2905
    app/frontend/shared/graphql/types.ts on lines 3087..3093
    app/frontend/shared/graphql/types.ts on lines 3202..3208
    app/frontend/shared/graphql/types.ts on lines 3359..3365
    app/frontend/shared/graphql/types.ts on lines 3376..3382

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketLiveUserUpdatesSubscriptionVariables = Exact<{
      userId: Scalars['ID']['input'];
      key: Scalars['String']['input'];
      app: EnumTaskbarApp;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 4075..4079

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type ChannelEmailAddPayload = {
      __typename?: 'ChannelEmailAddPayload';
      /** The new channel object */
      channel?: Maybe<Channel>;
      /** Errors encountered during execution of the mutation. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 34..40
    app/frontend/shared/graphql/types.ts on lines 2670..2676

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type AccountAvatarAddPayload = {
      __typename?: 'AccountAvatarAddPayload';
      /** The newly created avatar. */
      avatar?: Maybe<Avatar>;
      /** Errors encountered during execution of the mutation. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 359..365
    app/frontend/shared/graphql/types.ts on lines 2670..2676

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TwoFactorMethodInitiateAuthenticationMutationVariables = Exact<{
      login: Scalars['String']['input'];
      password: Scalars['String']['input'];
      twoFactorMethod: EnumTwoFactorAuthenticationMethod;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3763..3767

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type TicketArticleChangeVisibilityPayload = {
      __typename?: 'TicketArticleChangeVisibilityPayload';
      /** The updated ticket article */
      article?: Maybe<TicketArticle>;
      /** Errors encountered during execution of the mutation. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 34..40
    app/frontend/shared/graphql/types.ts on lines 359..365

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 66.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketTimeAccountingTypeSum = {
      __typename?: 'TicketTimeAccountingTypeSum';
      name: Scalars['String']['output'];
      timeUnit: Scalars['Float']['output'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 2849..2853

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 64.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type MutationsTicketLiveUserUpsertArgs = {
      app: EnumTaskbarApp;
      editing: Scalars['Boolean']['input'];
      id: Scalars['ID']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 2366..2370

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 64.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type TicketCount = {
      __typename?: 'TicketCount';
      closed: Scalars['Int']['output'];
      open: Scalars['Int']['output'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3056..3060

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 64.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type SubscriptionsTicketLiveUserUpdatesArgs = {
      app: EnumTaskbarApp;
      key: Scalars['String']['input'];
      userId: Scalars['ID']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1542..1546

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 64.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type OrganizationUpdatesSubscriptionVariables = Exact<{
      organizationId: Scalars['ID']['input'];
      membersCount?: InputMaybe<Scalars['Int']['input']>;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 4116..4119
    app/frontend/shared/graphql/types.ts on lines 4124..4127
    app/frontend/shared/graphql/types.ts on lines 4154..4157

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 63.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type UserUpdatesSubscriptionVariables = Exact<{
      userId: Scalars['ID']['input'];
      secondaryOrganizationsCount?: InputMaybe<Scalars['Int']['input']>;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3636..3639
    app/frontend/shared/graphql/types.ts on lines 4116..4119
    app/frontend/shared/graphql/types.ts on lines 4124..4127

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 63.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type TicketSignatureQueryVariables = Exact<{
      groupId: Scalars['ID']['input'];
      ticketId?: InputMaybe<Scalars['ID']['input']>;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3636..3639
    app/frontend/shared/graphql/types.ts on lines 4124..4127
    app/frontend/shared/graphql/types.ts on lines 4154..4157

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 63.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

    export type TranslationsQueryVariables = Exact<{
      locale: Scalars['String']['input'];
      cacheKey?: InputMaybe<Scalars['String']['input']>;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 3 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3636..3639
    app/frontend/shared/graphql/types.ts on lines 4116..4119
    app/frontend/shared/graphql/types.ts on lines 4154..4157

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 63.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type QueriesTextModuleSuggestionsArgs = {
      limit?: InputMaybe<Scalars['Int']['input']>;
      query: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1382..1385
    app/frontend/shared/graphql/types.ts on lines 2215..2218

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 61.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type QueriesTranslationsArgs = {
      cacheKey?: InputMaybe<Scalars['String']['input']>;
      locale: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1382..1385
    app/frontend/shared/graphql/types.ts on lines 2164..2167

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 61.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type MutationsTagAssignmentUpdateArgs = {
      objectId: Scalars['ID']['input'];
      tags: Array<Scalars['String']['input']>;
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 2196..2199

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 61.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type QueriesTicketSignatureArgs = {
      groupId: Scalars['ID']['input'];
      ticketId?: InputMaybe<Scalars['ID']['input']>;
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1483..1486

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 61.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type MutationsFormUploadCacheRemoveArgs = {
      fileIds: Array<Scalars['ID']['input']>;
      formId: Scalars['FormId']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 2164..2167
    app/frontend/shared/graphql/types.ts on lines 2215..2218

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 61.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type TicketArticleEdge = {
      __typename?: 'TicketArticleEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 840..846
    app/frontend/shared/graphql/types.ts on lines 1135..1141
    app/frontend/shared/graphql/types.ts on lines 1720..1726
    app/frontend/shared/graphql/types.ts on lines 1802..1808
    app/frontend/shared/graphql/types.ts on lines 1896..1902
    app/frontend/shared/graphql/types.ts on lines 2908..2914
    app/frontend/shared/graphql/types.ts on lines 3231..3237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type OverviewEdge = {
      __typename?: 'OverviewEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 840..846
    app/frontend/shared/graphql/types.ts on lines 1135..1141
    app/frontend/shared/graphql/types.ts on lines 1720..1726
    app/frontend/shared/graphql/types.ts on lines 1802..1808
    app/frontend/shared/graphql/types.ts on lines 2699..2705
    app/frontend/shared/graphql/types.ts on lines 2908..2914
    app/frontend/shared/graphql/types.ts on lines 3231..3237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type TicketEdge = {
      __typename?: 'TicketEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 840..846
    app/frontend/shared/graphql/types.ts on lines 1135..1141
    app/frontend/shared/graphql/types.ts on lines 1720..1726
    app/frontend/shared/graphql/types.ts on lines 1802..1808
    app/frontend/shared/graphql/types.ts on lines 1896..1902
    app/frontend/shared/graphql/types.ts on lines 2699..2705
    app/frontend/shared/graphql/types.ts on lines 3231..3237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type OnlineNotificationEdge = {
      __typename?: 'OnlineNotificationEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 840..846
    app/frontend/shared/graphql/types.ts on lines 1135..1141
    app/frontend/shared/graphql/types.ts on lines 1802..1808
    app/frontend/shared/graphql/types.ts on lines 1896..1902
    app/frontend/shared/graphql/types.ts on lines 2699..2705
    app/frontend/shared/graphql/types.ts on lines 2908..2914
    app/frontend/shared/graphql/types.ts on lines 3231..3237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type GroupEdge = {
      __typename?: 'GroupEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1135..1141
    app/frontend/shared/graphql/types.ts on lines 1720..1726
    app/frontend/shared/graphql/types.ts on lines 1802..1808
    app/frontend/shared/graphql/types.ts on lines 1896..1902
    app/frontend/shared/graphql/types.ts on lines 2699..2705
    app/frontend/shared/graphql/types.ts on lines 2908..2914
    app/frontend/shared/graphql/types.ts on lines 3231..3237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type UserEdge = {
      __typename?: 'UserEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 840..846
    app/frontend/shared/graphql/types.ts on lines 1135..1141
    app/frontend/shared/graphql/types.ts on lines 1720..1726
    app/frontend/shared/graphql/types.ts on lines 1802..1808
    app/frontend/shared/graphql/types.ts on lines 1896..1902
    app/frontend/shared/graphql/types.ts on lines 2699..2705
    app/frontend/shared/graphql/types.ts on lines 2908..2914

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type OrganizationEdge = {
      __typename?: 'OrganizationEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 840..846
    app/frontend/shared/graphql/types.ts on lines 1135..1141
    app/frontend/shared/graphql/types.ts on lines 1720..1726
    app/frontend/shared/graphql/types.ts on lines 1896..1902
    app/frontend/shared/graphql/types.ts on lines 2699..2705
    app/frontend/shared/graphql/types.ts on lines 2908..2914
    app/frontend/shared/graphql/types.ts on lines 3231..3237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type MentionEdge = {
      __typename?: 'MentionEdge';
      /** A cursor for use in pagination. */
      cursor: Scalars['String']['output'];
      /** The item at the end of the edge. */
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 840..846
    app/frontend/shared/graphql/types.ts on lines 1720..1726
    app/frontend/shared/graphql/types.ts on lines 1802..1808
    app/frontend/shared/graphql/types.ts on lines 1896..1902
    app/frontend/shared/graphql/types.ts on lines 2699..2705
    app/frontend/shared/graphql/types.ts on lines 2908..2914
    app/frontend/shared/graphql/types.ts on lines 3231..3237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 60.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type SessionQuery = { __typename?: 'Queries', session: { __typename?: 'Session', id: string, afterAuth?: { __typename?: 'SessionAfterAuth', type: EnumAfterAuthType, data?: any | null } | null } };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 4057..4057

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 58.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type SessionFragment = { __typename?: 'Session', id: string, afterAuth?: { __typename?: 'SessionAfterAuth', type: EnumAfterAuthType, data?: any | null } | null };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 4114..4114

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 58.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type KnowledgeBaseAnswerSuggestionContentTransformMutationVariables = Exact<{
      translationId: Scalars['ID']['input'];
      formId: Scalars['FormId']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3398..3401
    app/frontend/shared/graphql/types.ts on lines 3465..3468
    app/frontend/shared/graphql/types.ts on lines 3572..3575
    app/frontend/shared/graphql/types.ts on lines 3823..3826
    app/frontend/shared/graphql/types.ts on lines 3965..3968
    app/frontend/shared/graphql/types.ts on lines 3980..3983
    app/frontend/shared/graphql/types.ts on lines 4012..4015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type AccountChangePasswordMutationVariables = Exact<{
      currentPassword: Scalars['String']['input'];
      newPassword: Scalars['String']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3398..3401
    app/frontend/shared/graphql/types.ts on lines 3465..3468
    app/frontend/shared/graphql/types.ts on lines 3808..3811
    app/frontend/shared/graphql/types.ts on lines 3823..3826
    app/frontend/shared/graphql/types.ts on lines 3965..3968
    app/frontend/shared/graphql/types.ts on lines 3980..3983
    app/frontend/shared/graphql/types.ts on lines 4012..4015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type MentionSuggestionsQueryVariables = Exact<{
      query: Scalars['String']['input'];
      groupId: Scalars['ID']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3398..3401
    app/frontend/shared/graphql/types.ts on lines 3465..3468
    app/frontend/shared/graphql/types.ts on lines 3572..3575
    app/frontend/shared/graphql/types.ts on lines 3808..3811
    app/frontend/shared/graphql/types.ts on lines 3965..3968
    app/frontend/shared/graphql/types.ts on lines 3980..3983
    app/frontend/shared/graphql/types.ts on lines 4012..4015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type TicketArticleChangeVisibilityMutationVariables = Exact<{
      articleId: Scalars['ID']['input'];
      internal: Scalars['Boolean']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3398..3401
    app/frontend/shared/graphql/types.ts on lines 3465..3468
    app/frontend/shared/graphql/types.ts on lines 3572..3575
    app/frontend/shared/graphql/types.ts on lines 3808..3811
    app/frontend/shared/graphql/types.ts on lines 3823..3826
    app/frontend/shared/graphql/types.ts on lines 3980..3983
    app/frontend/shared/graphql/types.ts on lines 4012..4015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type TicketArticleEmailForwardReplyMutationVariables = Exact<{
      articleId: Scalars['ID']['input'];
      formId: Scalars['FormId']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3398..3401
    app/frontend/shared/graphql/types.ts on lines 3465..3468
    app/frontend/shared/graphql/types.ts on lines 3572..3575
    app/frontend/shared/graphql/types.ts on lines 3808..3811
    app/frontend/shared/graphql/types.ts on lines 3823..3826
    app/frontend/shared/graphql/types.ts on lines 3965..3968
    app/frontend/shared/graphql/types.ts on lines 4012..4015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type UserPasswordResetUpdateMutationVariables = Exact<{
      token: Scalars['String']['input'];
      password: Scalars['String']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3398..3401
    app/frontend/shared/graphql/types.ts on lines 3572..3575
    app/frontend/shared/graphql/types.ts on lines 3808..3811
    app/frontend/shared/graphql/types.ts on lines 3823..3826
    app/frontend/shared/graphql/types.ts on lines 3965..3968
    app/frontend/shared/graphql/types.ts on lines 3980..3983
    app/frontend/shared/graphql/types.ts on lines 4012..4015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type ChannelEmailGuessConfigurationMutationVariables = Exact<{
      emailAddress: Scalars['String']['input'];
      password: Scalars['String']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3465..3468
    app/frontend/shared/graphql/types.ts on lines 3572..3575
    app/frontend/shared/graphql/types.ts on lines 3808..3811
    app/frontend/shared/graphql/types.ts on lines 3823..3826
    app/frontend/shared/graphql/types.ts on lines 3965..3968
    app/frontend/shared/graphql/types.ts on lines 3980..3983
    app/frontend/shared/graphql/types.ts on lines 4012..4015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 8 locations. Consider refactoring.
    Open

    export type TicketMergeMutationVariables = Exact<{
      sourceTicketId: Scalars['ID']['input'];
      targetTicketId: Scalars['ID']['input'];
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 7 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3398..3401
    app/frontend/shared/graphql/types.ts on lines 3465..3468
    app/frontend/shared/graphql/types.ts on lines 3572..3575
    app/frontend/shared/graphql/types.ts on lines 3808..3811
    app/frontend/shared/graphql/types.ts on lines 3823..3826
    app/frontend/shared/graphql/types.ts on lines 3965..3968
    app/frontend/shared/graphql/types.ts on lines 3980..3983

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 57.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type QueriesMentionSuggestionsArgs = {
      groupId: Scalars['ID']['input'];
      query: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsChannelEmailGuessConfigurationArgs = {
      emailAddress: Scalars['String']['input'];
      password: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsTicketMergeArgs = {
      sourceTicketId: Scalars['ID']['input'];
      targetTicketId: Scalars['ID']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsKnowledgeBaseAnswerSuggestionContentTransformArgs = {
      formId: Scalars['FormId']['input'];
      translationId: Scalars['ID']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsTagAssignmentRemoveArgs = {
      objectId: Scalars['ID']['input'];
      tag: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsAccountChangePasswordArgs = {
      currentPassword: Scalars['String']['input'];
      newPassword: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsTicketArticleEmailForwardReplyArgs = {
      articleId: Scalars['ID']['input'];
      formId: Scalars['FormId']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsUserPasswordResetUpdateArgs = {
      password: Scalars['String']['input'];
      token: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsTagAssignmentAddArgs = {
      objectId: Scalars['ID']['input'];
      tag: Scalars['String']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1490..1493
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 10 locations. Consider refactoring.
    Open

    export type MutationsTicketArticleChangeVisibilityArgs = {
      articleId: Scalars['ID']['input'];
      internal: Scalars['Boolean']['input'];
    };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 9 other locations - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 1304..1307
    app/frontend/shared/graphql/types.ts on lines 1341..1344
    app/frontend/shared/graphql/types.ts on lines 1395..1398
    app/frontend/shared/graphql/types.ts on lines 1469..1472
    app/frontend/shared/graphql/types.ts on lines 1476..1479
    app/frontend/shared/graphql/types.ts on lines 1503..1506
    app/frontend/shared/graphql/types.ts on lines 1550..1553
    app/frontend/shared/graphql/types.ts on lines 1591..1594
    app/frontend/shared/graphql/types.ts on lines 2122..2125

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type UserGroupPermissionEntry = {
      /** Assigned access levels for the user in the group */
      accessType: Array<EnumPermissionAccess>;
      /** Internal ID of the group */
      groupInternalId: Scalars['Int']['input'];
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 132..137

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 5..5

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 4..4

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    export type AttachmentInput = {
      /** The attached files. */
      files: Array<UploadFileInput>;
      /** FormID for the attached files. */
      formId: Scalars['FormId']['input'];
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 1 hr to fix
    app/frontend/shared/graphql/types.ts on lines 3247..3252

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 55.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type ChannelEmailGuessConfigurationMutation = { __typename?: 'Mutations', channelEmailGuessConfiguration?: { __typename?: 'ChannelEmailGuessConfigurationPayload', result: { __typename?: 'ChannelEmailGuessConfigurationResult', inboundConfiguration?: { __typename?: 'ChannelEmailInboundConfiguration', adapter: EnumChannelEmailInboundAdapter, host?: string | null, port?: number | null, ssl?: EnumChannelEmailSsl | null, user?: string | null, password?: string | null, sslVerify?: boolean | null, folder?: string | null } | null, outboundConfiguration?: { __typename?: 'ChannelEmailOutboundConfiguration', adapter: EnumChannelEmailOutboundAdapter, host?: string | null, port?: number | null, user?: string | null, password?: string | null, sslVerify?: boolean | null } | null, mailboxStats?: { __typename?: 'ChannelEmailInboundMailboxStats', contentMessages?: number | null, archivePossible?: boolean | null, archiveWeekRange?: number | null } | null }, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Minor
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 45 mins to fix
    app/frontend/shared/graphql/types.ts on lines 3418..3418

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    export type ChannelEmailValidateConfigurationInboundMutation = { __typename?: 'Mutations', channelEmailValidateConfigurationInbound?: { __typename?: 'ChannelEmailValidateConfigurationInboundPayload', success?: boolean | null, mailboxStats?: { __typename?: 'ChannelEmailInboundMailboxStats', contentMessages?: number | null, archivePossible?: boolean | null, archiveWeekRange?: number | null } | null, errors?: Array<{ __typename?: 'UserError', message: string, field?: string | null }> | null } | null };
    Severity: Minor
    Found in app/frontend/shared/graphql/types.ts and 1 other location - About 45 mins to fix
    app/frontend/shared/graphql/types.ts on lines 3404..3404

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 50.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type AccountAvatarUpdatesPayload = {
      __typename?: 'AccountAvatarUpdatesPayload';
      /** List of avatars for the user */
      avatars?: Maybe<Array<Avatar>>;
    };
    Severity: Minor
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 35 mins to fix
    app/frontend/shared/graphql/types.ts on lines 1962..1966
    app/frontend/shared/graphql/types.ts on lines 2943..2947

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 47.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type PublicLinkUpdatesPayload = {
      __typename?: 'PublicLinkUpdatesPayload';
      /** Current available public links */
      publicLinks?: Maybe<Array<PublicLink>>;
    };
    Severity: Minor
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 35 mins to fix
    app/frontend/shared/graphql/types.ts on lines 61..65
    app/frontend/shared/graphql/types.ts on lines 2943..2947

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 47.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

    export type TicketLiveUserUpdatesPayload = {
      __typename?: 'TicketLiveUserUpdatesPayload';
      /** Current live users from the ticket. */
      liveUsers?: Maybe<Array<TicketLiveUser>>;
    };
    Severity: Minor
    Found in app/frontend/shared/graphql/types.ts and 2 other locations - About 35 mins to fix
    app/frontend/shared/graphql/types.ts on lines 61..65
    app/frontend/shared/graphql/types.ts on lines 1962..1966

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 47.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    export type OrganizationUpdateMutationVariables = Exact<{
      id: Scalars['ID']['input'];
      input: OrganizationInput;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 4 other locations - About 30 mins to fix
    app/frontend/shared/graphql/types.ts on lines 3694..3697
    app/frontend/shared/graphql/types.ts on lines 3711..3714
    app/frontend/shared/graphql/types.ts on lines 3786..3789
    app/frontend/shared/graphql/types.ts on lines 4004..4007

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 45.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    export type TicketUpdateMutationVariables = Exact<{
      ticketId: Scalars['ID']['input'];
      input: TicketUpdateInput;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 4 other locations - About 30 mins to fix
    app/frontend/shared/graphql/types.ts on lines 3619..3622
    app/frontend/shared/graphql/types.ts on lines 3694..3697
    app/frontend/shared/graphql/types.ts on lines 3786..3789
    app/frontend/shared/graphql/types.ts on lines 4004..4007

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 45.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    export type UserUpdateMutationVariables = Exact<{
      id: Scalars['ID']['input'];
      input: UserInput;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 4 other locations - About 30 mins to fix
    app/frontend/shared/graphql/types.ts on lines 3619..3622
    app/frontend/shared/graphql/types.ts on lines 3694..3697
    app/frontend/shared/graphql/types.ts on lines 3711..3714
    app/frontend/shared/graphql/types.ts on lines 4004..4007

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 45.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    export type TicketLiveUserDeleteMutationVariables = Exact<{
      id: Scalars['ID']['input'];
      app: EnumTaskbarApp;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 4 other locations - About 30 mins to fix
    app/frontend/shared/graphql/types.ts on lines 3619..3622
    app/frontend/shared/graphql/types.ts on lines 3711..3714
    app/frontend/shared/graphql/types.ts on lines 3786..3789
    app/frontend/shared/graphql/types.ts on lines 4004..4007

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 45.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    export type TicketCustomerUpdateMutationVariables = Exact<{
      ticketId: Scalars['ID']['input'];
      input: TicketCustomerUpdateInput;
    }>;
    Severity: Major
    Found in app/frontend/shared/graphql/types.ts and 4 other locations - About 30 mins to fix
    app/frontend/shared/graphql/types.ts on lines 3619..3622
    app/frontend/shared/graphql/types.ts on lines 3694..3697
    app/frontend/shared/graphql/types.ts on lines 3711..3714
    app/frontend/shared/graphql/types.ts on lines 3786..3789

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 45.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    There are no issues that match your filters.

    Category
    Status