eduardomoroni/trading-card-manager

View on GitHub
packages/backend/db-migration/prisma/generated/prisma-client/index.ts

Summary

Maintainability
F
3 mos
Test Coverage

File index.ts has 3879 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// Code generated by Prisma (prisma@1.30.1). DO NOT EDIT.
// Please don't change this file manually but run `prisma generate` to update it.
// For more information, please read the docs: https://www.prisma.io/docs/prisma-client/

import { DocumentNode } from "graphql";

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

    export interface ForeignDataRestrictedWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 833..931

    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 1001.

    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 interface ForeignDataWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 506..604

    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 1001.

    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 interface RulingWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 612..650

    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 391.

    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 interface RulingRestrictedWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1447..1485

    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 391.

    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 interface SuperTypeScalarWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2045..2077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2408..2440
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2804..2836

    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 337.

    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 interface TypeScalarWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2045..2077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2408..2440
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2677..2709

    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 337.

    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 interface PrintingScalarWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2408..2440
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2677..2709
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2804..2836

    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 337.

    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 interface SubTypeScalarWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2045..2077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2677..2709
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2804..2836

    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 337.

    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 interface TypeWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 754..784
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1492..1522
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1529..1559

    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 305.

    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 interface SuperTypeWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 754..784
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 791..821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1492..1522

    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 305.

    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 interface SubTypeWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 791..821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1492..1522
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1529..1559

    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 305.

    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 interface PrintingWhereInput {
      id?: ID_Input;
      id_not?: ID_Input;
      id_in?: ID_Input[] | ID_Input;
      id_not_in?: ID_Input[] | ID_Input;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 754..784
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 791..821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1529..1559

    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 305.

    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 interface CardUpdateInput {
      set?: SetUpdateOneRequiredWithoutCardsInput;
      uuid?: String;
      artist?: String;
      colorIdentities?: CardUpdatecolorIdentitiesInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2291..2317

    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 234.

    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 interface CardCreateWithoutSetInput {
      id?: ID_Input;
      uuid: String;
      artist: String;
      colorIdentities?: CardCreatecolorIdentitiesInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 976..1002

    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 234.

    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 interface CardUpdateManyMutationInput {
      uuid?: String;
      artist?: String;
      colorIdentities?: CardUpdatecolorIdentitiesInput;
      colors?: CardUpdatecolorsInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1355..1374

    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 171.

    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 interface CardUpdateManyDataInput {
      uuid?: String;
      artist?: String;
      colorIdentities?: CardUpdatecolorIdentitiesInput;
      colors?: CardUpdatecolorsInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1574..1593

    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 171.

    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 6 locations. Consider refactoring.
    Open

    export interface SubTypeUpdateManyInput {
      create?: SubTypeCreateInput[] | SubTypeCreateInput;
      update?:
        | SubTypeUpdateWithWhereUniqueNestedInput[]
        | SubTypeUpdateWithWhereUniqueNestedInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1047..1063
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1420..1436
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1988..2004
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2614..2630
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2745..2761

    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 153.

    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 6 locations. Consider refactoring.
    Open

    export interface CardUpdateManyWithoutSetInput {
      create?: CardCreateWithoutSetInput[] | CardCreateWithoutSetInput;
      delete?: CardWhereUniqueInput[] | CardWhereUniqueInput;
      connect?: CardWhereUniqueInput[] | CardWhereUniqueInput;
      set?: CardWhereUniqueInput[] | CardWhereUniqueInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1047..1063
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1988..2004
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2319..2335
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2614..2630
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2745..2761

    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 153.

    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 6 locations. Consider refactoring.
    Open

    export interface PrintingUpdateManyInput {
      create?: PrintingCreateInput[] | PrintingCreateInput;
      update?:
        | PrintingUpdateWithWhereUniqueNestedInput[]
        | PrintingUpdateWithWhereUniqueNestedInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1047..1063
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1420..1436
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2319..2335
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2614..2630
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2745..2761

    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 153.

    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 6 locations. Consider refactoring.
    Open

    export interface SuperTypeUpdateManyInput {
      create?: SuperTypeCreateInput[] | SuperTypeCreateInput;
      update?:
        | SuperTypeUpdateWithWhereUniqueNestedInput[]
        | SuperTypeUpdateWithWhereUniqueNestedInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1047..1063
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1420..1436
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1988..2004
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2319..2335
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2745..2761

    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 153.

    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 6 locations. Consider refactoring.
    Open

    export interface TokenUpdateManyWithoutSetInput {
      create?: TokenCreateWithoutSetInput[] | TokenCreateWithoutSetInput;
      delete?: TokenWhereUniqueInput[] | TokenWhereUniqueInput;
      connect?: TokenWhereUniqueInput[] | TokenWhereUniqueInput;
      set?: TokenWhereUniqueInput[] | TokenWhereUniqueInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1420..1436
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1988..2004
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2319..2335
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2614..2630
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2745..2761

    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 153.

    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 6 locations. Consider refactoring.
    Open

    export interface TypeUpdateManyInput {
      create?: TypeCreateInput[] | TypeCreateInput;
      update?:
        | TypeUpdateWithWhereUniqueNestedInput[]
        | TypeUpdateWithWhereUniqueNestedInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1047..1063
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1420..1436
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1988..2004
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2319..2335
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2614..2630

    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 153.

    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 interface Token {
      id: ID_Output;
      artist: String;
      borderColor: BorderColor;
      colorIdentities: Color[];
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3884..3899

    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 139.

    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 interface TokenPreviousValues {
      id: ID_Output;
      artist: String;
      borderColor: BorderColor;
      colorIdentities: Color[];
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2962..2977

    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 139.

    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 interface TokenCreateWithoutSetInput {
      id?: ID_Input;
      artist: String;
      borderColor: BorderColor;
      colorIdentities?: TokenCreatecolorIdentitiesInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1119..1134

    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 135.

    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 interface TokenUpdateInput {
      set?: SetUpdateOneRequiredWithoutTokensInput;
      artist?: String;
      borderColor?: BorderColor;
      colorIdentities?: TokenUpdatecolorIdentitiesInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2371..2386

    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 135.

    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 interface SuperTypeSubscriptionPayloadSubscription
      extends Promise<AsyncIterator<SuperTypeSubscriptionPayload>>,
        Fragmentable {
      mutation: () => Promise<AsyncIterator<MutationType>>;
      node: <T = SuperTypeSubscription>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3199..3206
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3404..3411
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3553..3560
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3578..3585
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3695..3702
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3839..3846

    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 126.

    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 interface SubTypeSubscriptionPayloadSubscription
      extends Promise<AsyncIterator<SubTypeSubscriptionPayload>>,
        Fragmentable {
      mutation: () => Promise<AsyncIterator<MutationType>>;
      node: <T = SubTypeSubscription>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2937..2944
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3199..3206
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3404..3411
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3553..3560
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3578..3585
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3695..3702

    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 126.

    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 interface TokenSubscriptionPayloadSubscription
      extends Promise<AsyncIterator<TokenSubscriptionPayload>>,
        Fragmentable {
      mutation: () => Promise<AsyncIterator<MutationType>>;
      node: <T = TokenSubscription>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2937..2944
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3404..3411
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3553..3560
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3578..3585
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3695..3702
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3839..3846

    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 126.

    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 interface TokenUpdateManyMutationInput {
      artist?: String;
      borderColor?: BorderColor;
      colorIdentities?: TokenUpdatecolorIdentitiesInput;
      colors?: TokenUpdatecolorsInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 475..489
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1090..1104

    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 126.

    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 interface TokenUpdateWithoutSetDataInput {
      artist?: String;
      borderColor?: BorderColor;
      colorIdentities?: TokenUpdatecolorIdentitiesInput;
      colors?: TokenUpdatecolorsInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 475..489
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1074..1088

    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 126.

    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 interface SetSubscriptionPayloadSubscription
      extends Promise<AsyncIterator<SetSubscriptionPayload>>,
        Fragmentable {
      mutation: () => Promise<AsyncIterator<MutationType>>;
      node: <T = SetSubscription>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2937..2944
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3199..3206
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3404..3411
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3553..3560
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3578..3585
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3839..3846

    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 126.

    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 interface TypeSubscriptionPayloadSubscription
      extends Promise<AsyncIterator<TypeSubscriptionPayload>>,
        Fragmentable {
      mutation: () => Promise<AsyncIterator<MutationType>>;
      node: <T = TypeSubscription>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2937..2944
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3199..3206
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3404..3411
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3578..3585
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3695..3702
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3839..3846

    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 126.

    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 interface PrintingSubscriptionPayloadSubscription
      extends Promise<AsyncIterator<PrintingSubscriptionPayload>>,
        Fragmentable {
      mutation: () => Promise<AsyncIterator<MutationType>>;
      node: <T = PrintingSubscription>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2937..2944
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3199..3206
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3404..3411
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3553..3560
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3695..3702
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3839..3846

    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 126.

    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 interface TokenUpdateManyDataInput {
      artist?: String;
      borderColor?: BorderColor;
      colorIdentities?: TokenUpdatecolorIdentitiesInput;
      colors?: TokenUpdatecolorsInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1074..1088
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1090..1104

    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 126.

    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 interface CardSubscriptionPayloadSubscription
      extends Promise<AsyncIterator<CardSubscriptionPayload>>,
        Fragmentable {
      mutation: () => Promise<AsyncIterator<MutationType>>;
      node: <T = CardSubscription>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2937..2944
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3199..3206
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3553..3560
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3578..3585
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3695..3702
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3839..3846

    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 126.

    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 interface PrintingSubscriptionPayloadPromise
      extends Promise<PrintingSubscriptionPayload>,
        Fragmentable {
      mutation: () => Promise<MutationType>;
      node: <T = PrintingPromise>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2928..2935
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3190..3197
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3395..3402
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3544..3551
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3686..3693
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3830..3837

    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 108.

    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 interface TypeSubscriptionPayloadPromise
      extends Promise<TypeSubscriptionPayload>,
        Fragmentable {
      mutation: () => Promise<MutationType>;
      node: <T = TypePromise>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2928..2935
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3190..3197
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3395..3402
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3569..3576
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3686..3693
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3830..3837

    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 108.

    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 interface TokenSubscriptionPayloadPromise
      extends Promise<TokenSubscriptionPayload>,
        Fragmentable {
      mutation: () => Promise<MutationType>;
      node: <T = TokenPromise>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2928..2935
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3395..3402
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3544..3551
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3569..3576
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3686..3693
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3830..3837

    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 108.

    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 interface CardSubscriptionPayloadPromise
      extends Promise<CardSubscriptionPayload>,
        Fragmentable {
      mutation: () => Promise<MutationType>;
      node: <T = CardPromise>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2928..2935
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3190..3197
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3544..3551
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3569..3576
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3686..3693
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3830..3837

    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 108.

    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 interface SuperTypeSubscriptionPayloadPromise
      extends Promise<SuperTypeSubscriptionPayload>,
        Fragmentable {
      mutation: () => Promise<MutationType>;
      node: <T = SuperTypePromise>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3190..3197
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3395..3402
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3544..3551
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3569..3576
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3686..3693
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3830..3837

    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 108.

    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 interface SubTypeSubscriptionPayloadPromise
      extends Promise<SubTypeSubscriptionPayload>,
        Fragmentable {
      mutation: () => Promise<MutationType>;
      node: <T = SubTypePromise>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2928..2935
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3190..3197
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3395..3402
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3544..3551
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3569..3576
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3686..3693

    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 108.

    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 interface SetSubscriptionPayloadPromise
      extends Promise<SetSubscriptionPayload>,
        Fragmentable {
      mutation: () => Promise<MutationType>;
      node: <T = SetPromise>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2928..2935
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3190..3197
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3395..3402
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3544..3551
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3569..3576
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3830..3837

    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 108.

    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 6 locations. Consider refactoring.
    Open

    export interface TypeConnectionSubscription
      extends Promise<AsyncIterator<TypeConnection>>,
        Fragmentable {
      pageInfo: <T = PageInfoSubscription>() => T;
      edges: <T = Promise<AsyncIterator<TypeEdgeSubscription>>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2913..2919
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3158..3164
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3254..3260
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3426..3432
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3636..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 106.

    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 6 locations. Consider refactoring.
    Open

    export interface CardConnectionSubscription
      extends Promise<AsyncIterator<CardConnection>>,
        Fragmentable {
      pageInfo: <T = PageInfoSubscription>() => T;
      edges: <T = Promise<AsyncIterator<CardEdgeSubscription>>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2913..2919
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3137..3143
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3254..3260
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3426..3432
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3636..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 106.

    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 6 locations. Consider refactoring.
    Open

    export interface SetConnectionSubscription
      extends Promise<AsyncIterator<SetConnection>>,
        Fragmentable {
      pageInfo: <T = PageInfoSubscription>() => T;
      edges: <T = Promise<AsyncIterator<SetEdgeSubscription>>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2913..2919
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3137..3143
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3158..3164
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3254..3260
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3636..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 106.

    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 6 locations. Consider refactoring.
    Open

    export interface TokenConnectionSubscription
      extends Promise<AsyncIterator<TokenConnection>>,
        Fragmentable {
      pageInfo: <T = PageInfoSubscription>() => T;
      edges: <T = Promise<AsyncIterator<TokenEdgeSubscription>>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2913..2919
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3137..3143
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3158..3164
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3254..3260
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3426..3432

    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 106.

    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 6 locations. Consider refactoring.
    Open

    export interface PrintingConnectionSubscription
      extends Promise<AsyncIterator<PrintingConnection>>,
        Fragmentable {
      pageInfo: <T = PageInfoSubscription>() => T;
      edges: <T = Promise<AsyncIterator<PrintingEdgeSubscription>>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3137..3143
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3158..3164
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3254..3260
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3426..3432
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3636..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 106.

    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 6 locations. Consider refactoring.
    Open

    export interface SuperTypeConnectionSubscription
      extends Promise<AsyncIterator<SuperTypeConnection>>,
        Fragmentable {
      pageInfo: <T = PageInfoSubscription>() => T;
      edges: <T = Promise<AsyncIterator<SuperTypeEdgeSubscription>>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2913..2919
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3137..3143
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3158..3164
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3426..3432
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3636..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 106.

    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 interface ForeignDataUpdateManyInput {
      create?: ForeignDataCreateInput[] | ForeignDataCreateInput;
      update?:
        | ForeignDataUpdateWithWhereUniqueNestedInput[]
        | ForeignDataUpdateWithWhereUniqueNestedInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 947..960

    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 105.

    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 interface RulingUpdateManyInput {
      create?: RulingCreateInput[] | RulingCreateInput;
      update?:
        | RulingUpdateWithWhereUniqueNestedInput[]
        | RulingUpdateWithWhereUniqueNestedInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1395..1408

    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 105.

    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 6 locations. Consider refactoring.
    Open

      tokens: <T = Promise<AsyncIterator<TokenSubscription>>>(
        args?: {
          where?: TokenWhereInput;
          orderBy?: TokenOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3322..3332
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4056..4066
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4067..4077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4078..4088
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4089..4099

    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 103.

    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 6 locations. Consider refactoring.
    Open

      types: <T = Promise<AsyncIterator<TypeSubscription>>>(
        args?: {
          where?: TypeWhereInput;
          orderBy?: TypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3311..3321
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3322..3332
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4056..4066
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4067..4077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4078..4088

    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 103.

    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 6 locations. Consider refactoring.
    Open

      cards: <T = Promise<AsyncIterator<CardSubscription>>>(
        args?: {
          where?: CardWhereInput;
          orderBy?: CardOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3311..3321
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4056..4066
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4067..4077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4078..4088
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4089..4099

    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 103.

    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 6 locations. Consider refactoring.
    Open

      subTypes: <T = Promise<AsyncIterator<SubTypeSubscription>>>(
        args?: {
          where?: SubTypeWhereInput;
          orderBy?: SubTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3311..3321
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3322..3332
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4056..4066
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4078..4088
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4089..4099

    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 103.

    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 6 locations. Consider refactoring.
    Open

      printings: <T = Promise<AsyncIterator<PrintingSubscription>>>(
        args?: {
          where?: PrintingWhereInput;
          orderBy?: PrintingOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3311..3321
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3322..3332
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4067..4077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4078..4088
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4089..4099

    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 103.

    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 6 locations. Consider refactoring.
    Open

      superTypes: <T = Promise<AsyncIterator<SuperTypeSubscription>>>(
        args?: {
          where?: SuperTypeWhereInput;
          orderBy?: SuperTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3311..3321
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3322..3332
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4056..4066
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4067..4077
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4089..4099

    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 103.

    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 6 locations. Consider refactoring.
    Open

      tokens: <T = FragmentableArray<Token>>(
        args?: {
          where?: TokenWhereInput;
          orderBy?: TokenOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3289..3299
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3985..3995
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3996..4006
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4007..4017
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4018..4028

    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 97.

    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 6 locations. Consider refactoring.
    Open

      types: <T = FragmentableArray<Type>>(
        args?: {
          where?: TypeWhereInput;
          orderBy?: TypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3278..3288
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3289..3299
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3985..3995
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3996..4006
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4007..4017

    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 97.

    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 6 locations. Consider refactoring.
    Open

      superTypes: <T = FragmentableArray<SuperType>>(
        args?: {
          where?: SuperTypeWhereInput;
          orderBy?: SuperTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3278..3288
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3289..3299
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3985..3995
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3996..4006
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4018..4028

    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 97.

    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 6 locations. Consider refactoring.
    Open

      subTypes: <T = FragmentableArray<SubType>>(
        args?: {
          where?: SubTypeWhereInput;
          orderBy?: SubTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3278..3288
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3289..3299
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3985..3995
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4007..4017
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4018..4028

    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 97.

    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 6 locations. Consider refactoring.
    Open

      cards: <T = FragmentableArray<Card>>(
        args?: {
          where?: CardWhereInput;
          orderBy?: CardOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3278..3288
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3985..3995
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3996..4006
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4007..4017
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4018..4028

    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 97.

    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 6 locations. Consider refactoring.
    Open

      printings: <T = FragmentableArray<Printing>>(
        args?: {
          where?: PrintingWhereInput;
          orderBy?: PrintingOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3278..3288
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3289..3299
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3996..4006
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4007..4017
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4018..4028

    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 97.

    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 interface CardConnectionPromise
      extends Promise<CardConnection>,
        Fragmentable {
      pageInfo: <T = PageInfoPromise>() => T;
      edges: <T = FragmentableArray<CardEdge>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2905..2911
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3129..3135
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3246..3252
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3418..3424
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3628..3634
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4108..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 94.

    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 interface SuperTypeConnectionPromise
      extends Promise<SuperTypeConnection>,
        Fragmentable {
      pageInfo: <T = PageInfoPromise>() => T;
      edges: <T = FragmentableArray<SuperTypeEdge>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2905..2911
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3129..3135
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3150..3156
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3418..3424
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3628..3634
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4108..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 94.

    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 interface SubTypeConnectionPromise
      extends Promise<SubTypeConnection>,
        Fragmentable {
      pageInfo: <T = PageInfoPromise>() => T;
      edges: <T = FragmentableArray<SubTypeEdge>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2905..2911
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3129..3135
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3150..3156
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3246..3252
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3418..3424
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3628..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 94.

    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 interface SetConnectionPromise
      extends Promise<SetConnection>,
        Fragmentable {
      pageInfo: <T = PageInfoPromise>() => T;
      edges: <T = FragmentableArray<SetEdge>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2905..2911
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3129..3135
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3150..3156
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3246..3252
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3628..3634
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4108..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 94.

    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 interface TokenConnectionPromise
      extends Promise<TokenConnection>,
        Fragmentable {
      pageInfo: <T = PageInfoPromise>() => T;
      edges: <T = FragmentableArray<TokenEdge>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2905..2911
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3129..3135
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3150..3156
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3246..3252
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3418..3424
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4108..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 94.

    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 interface TypeConnectionPromise
      extends Promise<TypeConnection>,
        Fragmentable {
      pageInfo: <T = PageInfoPromise>() => T;
      edges: <T = FragmentableArray<TypeEdge>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2905..2911
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3150..3156
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3246..3252
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3418..3424
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3628..3634
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4108..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 94.

    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 interface PrintingConnectionPromise
      extends Promise<PrintingConnection>,
        Fragmentable {
      pageInfo: <T = PageInfoPromise>() => T;
      edges: <T = FragmentableArray<PrintingEdge>>() => T;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3129..3135
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3150..3156
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3246..3252
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3418..3424
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3628..3634
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 4108..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 94.

    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 interface CardSubscriptionWhereInput {
      mutation_in?: MutationType[] | MutationType;
      updatedFields_contains?: String;
      updatedFields_contains_every?: String[] | String;
      updatedFields_contains_some?: String[] | String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 967..974
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1004..1011
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1020..1027
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1038..1045
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1970..1977
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2727..2734

    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 7 locations. Consider refactoring.
    Open

    export interface SubTypeSubscriptionWhereInput {
      mutation_in?: MutationType[] | MutationType;
      updatedFields_contains?: String;
      updatedFields_contains_every?: String[] | String;
      updatedFields_contains_some?: String[] | String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 967..974
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1004..1011
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1038..1045
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1970..1977
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2727..2734
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2868..2875

    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 7 locations. Consider refactoring.
    Open

    export interface SetSubscriptionWhereInput {
      mutation_in?: MutationType[] | MutationType;
      updatedFields_contains?: String;
      updatedFields_contains_every?: String[] | String;
      updatedFields_contains_some?: String[] | String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 967..974
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1004..1011
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1020..1027
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1038..1045
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2727..2734
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2868..2875

    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 7 locations. Consider refactoring.
    Open

    export interface TokenSubscriptionWhereInput {
      mutation_in?: MutationType[] | MutationType;
      updatedFields_contains?: String;
      updatedFields_contains_every?: String[] | String;
      updatedFields_contains_some?: String[] | String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1004..1011
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1020..1027
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1038..1045
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1970..1977
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2727..2734
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2868..2875

    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 7 locations. Consider refactoring.
    Open

    export interface SuperTypeSubscriptionWhereInput {
      mutation_in?: MutationType[] | MutationType;
      updatedFields_contains?: String;
      updatedFields_contains_every?: String[] | String;
      updatedFields_contains_some?: String[] | String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 967..974
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1020..1027
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1038..1045
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1970..1977
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2727..2734
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2868..2875

    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 7 locations. Consider refactoring.
    Open

    export interface PrintingSubscriptionWhereInput {
      mutation_in?: MutationType[] | MutationType;
      updatedFields_contains?: String;
      updatedFields_contains_every?: String[] | String;
      updatedFields_contains_some?: String[] | String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 967..974
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1004..1011
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1020..1027
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1970..1977
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2727..2734
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2868..2875

    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 7 locations. Consider refactoring.
    Open

    export interface TypeSubscriptionWhereInput {
      mutation_in?: MutationType[] | MutationType;
      updatedFields_contains?: String;
      updatedFields_contains_every?: String[] | String;
      updatedFields_contains_some?: String[] | String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 967..974
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1004..1011
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1020..1027
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1038..1045
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1970..1977
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2868..2875

    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 7 locations. Consider refactoring.
    Open

      types: (
        args?: {
          where?: TypeWhereInput;
          orderBy?: TypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 46..56
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 69..79
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 92..102
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 115..125
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 138..148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 161..171

    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 89.

    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

      superTypes: (
        args?: {
          where?: SuperTypeWhereInput;
          orderBy?: SuperTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 46..56
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 69..79
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 92..102
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 115..125
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 161..171
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 184..194

    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 89.

    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

      tokens: (
        args?: {
          where?: TokenWhereInput;
          orderBy?: TokenOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 46..56
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 69..79
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 92..102
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 115..125
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 138..148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 184..194

    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 89.

    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

      printings: (
        args?: {
          where?: PrintingWhereInput;
          orderBy?: PrintingOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 46..56
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 92..102
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 115..125
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 138..148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 161..171
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 184..194

    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 89.

    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

      cards: (
        args?: {
          where?: CardWhereInput;
          orderBy?: CardOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 69..79
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 92..102
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 115..125
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 138..148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 161..171
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 184..194

    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 89.

    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

      subTypes: (
        args?: {
          where?: SubTypeWhereInput;
          orderBy?: SubTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 46..56
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 69..79
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 92..102
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 138..148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 161..171
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 184..194

    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 89.

    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

      sets: (
        args?: {
          where?: SetWhereInput;
          orderBy?: SetOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 46..56
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 69..79
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 115..125
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 138..148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 161..171
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 184..194

    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 89.

    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

      tokensConnection: (
        args?: {
          where?: TokenWhereInput;
          orderBy?: TokenOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 57..67
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 80..90
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 103..113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 126..136
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 149..159
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 195..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 83.

    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

      superTypesConnection: (
        args?: {
          where?: SuperTypeWhereInput;
          orderBy?: SuperTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 57..67
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 80..90
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 103..113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 126..136
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 172..182
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 195..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 83.

    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

      cardsConnection: (
        args?: {
          where?: CardWhereInput;
          orderBy?: CardOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 80..90
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 103..113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 126..136
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 149..159
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 172..182
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 195..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 83.

    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

      subTypesConnection: (
        args?: {
          where?: SubTypeWhereInput;
          orderBy?: SubTypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 57..67
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 80..90
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 103..113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 149..159
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 172..182
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 195..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 83.

    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

      printingsConnection: (
        args?: {
          where?: PrintingWhereInput;
          orderBy?: PrintingOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 57..67
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 103..113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 126..136
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 149..159
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 172..182
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 195..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 83.

    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

      typesConnection: (
        args?: {
          where?: TypeWhereInput;
          orderBy?: TypeOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 57..67
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 80..90
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 103..113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 126..136
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 149..159
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 172..182

    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 83.

    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

      setsConnection: (
        args?: {
          where?: SetWhereInput;
          orderBy?: SetOrderByInput;
          skip?: Int;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 57..67
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 80..90
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 126..136
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 149..159
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 172..182
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 195..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 83.

    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 interface ForeignData {
      id: ID_Output;
      multiverseId: Int;
      flavorText?: String;
      language: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2711..2720
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2853..2862

    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 81.

    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 interface SetCreateInput {
      id?: ID_Input;
      code: String;
      block?: String;
      name?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2711..2720
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3034..3043

    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 81.

    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 interface ForeignDataCreateInput {
      id?: ID_Input;
      multiverseId: Int;
      flavorText?: String;
      language: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2853..2862
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3034..3043

    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 81.

    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 interface SuperTypeSubscription
      extends Promise<AsyncIterator<SuperType>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2893..2898
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3234..3239
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3616..3621
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3656..3661
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3797..3802
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3816..3821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3858..3863

    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 interface PrintingPreviousValuesSubscription
      extends Promise<AsyncIterator<PrintingPreviousValues>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2893..2898
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3234..3239
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3530..3535
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3656..3661
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3797..3802
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3816..3821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3858..3863

    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 interface SuperTypePreviousValuesSubscription
      extends Promise<AsyncIterator<SuperTypePreviousValues>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2893..2898
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3234..3239
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3530..3535
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3616..3621
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3797..3802
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3816..3821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3858..3863

    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 interface TypePreviousValuesSubscription
      extends Promise<AsyncIterator<TypePreviousValues>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3234..3239
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3530..3535
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3616..3621
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3656..3661
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3797..3802
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3816..3821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3858..3863

    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 interface TypeSubscription
      extends Promise<AsyncIterator<Type>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2893..2898
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3530..3535
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3616..3621
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3656..3661
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3797..3802
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3816..3821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3858..3863

    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 interface PrintingSubscription
      extends Promise<AsyncIterator<Printing>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2893..2898
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3234..3239
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3530..3535
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3616..3621
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3656..3661
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3816..3821
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3858..3863

    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 interface SubTypePreviousValuesSubscription
      extends Promise<AsyncIterator<SubTypePreviousValues>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2893..2898
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3234..3239
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3530..3535
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3616..3621
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3656..3661
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3797..3802
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3858..3863

    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 interface SubTypeSubscription
      extends Promise<AsyncIterator<SubType>>,
        Fragmentable {
      id: () => Promise<AsyncIterator<ID_Output>>;
      name: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2893..2898
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3234..3239
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3530..3535
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3616..3621
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3656..3661
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3797..3802
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3816..3821

    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 7 locations. Consider refactoring.
    Open

    export interface SubTypeEdgeSubscription
      extends Promise<AsyncIterator<SubTypeEdge>>,
        Fragmentable {
      node: <T = SubTypeSubscription>() => T;
      cursor: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3027..3032
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3176..3181
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3597..3602
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3714..3719
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3764..3769
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3877..3882

    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 7 locations. Consider refactoring.
    Open

    export interface CardEdgeSubscription
      extends Promise<AsyncIterator<CardEdge>>,
        Fragmentable {
      node: <T = CardSubscription>() => T;
      cursor: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3176..3181
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3345..3350
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3597..3602
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3714..3719
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3764..3769
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3877..3882

    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 7 locations. Consider refactoring.
    Open

    export interface TokenEdgeSubscription
      extends Promise<AsyncIterator<TokenEdge>>,
        Fragmentable {
      node: <T = TokenSubscription>() => T;
      cursor: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3027..3032
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3345..3350
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3597..3602
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3714..3719
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3764..3769
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3877..3882

    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 7 locations. Consider refactoring.
    Open

    export interface TypeEdgeSubscription
      extends Promise<AsyncIterator<TypeEdge>>,
        Fragmentable {
      node: <T = TypeSubscription>() => T;
      cursor: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3027..3032
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3176..3181
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3345..3350
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3714..3719
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3764..3769
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3877..3882

    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 7 locations. Consider refactoring.
    Open

    export interface SetEdgeSubscription
      extends Promise<AsyncIterator<SetEdge>>,
        Fragmentable {
      node: <T = SetSubscription>() => T;
      cursor: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3027..3032
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3176..3181
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3345..3350
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3597..3602
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3764..3769
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3877..3882

    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 7 locations. Consider refactoring.
    Open

    export interface SuperTypeEdgeSubscription
      extends Promise<AsyncIterator<SuperTypeEdge>>,
        Fragmentable {
      node: <T = SuperTypeSubscription>() => T;
      cursor: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3027..3032
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3176..3181
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3345..3350
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3597..3602
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3714..3719
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3764..3769

    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 7 locations. Consider refactoring.
    Open

    export interface PrintingEdgeSubscription
      extends Promise<AsyncIterator<PrintingEdge>>,
        Fragmentable {
      node: <T = PrintingSubscription>() => T;
      cursor: () => Promise<AsyncIterator<String>>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3027..3032
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3176..3181
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3345..3350
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3597..3602
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3714..3719
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3877..3882

    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 5 locations. Consider refactoring.
    Open

    export interface SetUpdateInput {
      code?: String;
      block?: String;
      name?: String;
      releaseDate?: DateTimeInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 496..504
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 823..831
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1140..1148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2667..2675

    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 5 locations. Consider refactoring.
    Open

    export interface SetCreateWithoutTokensInput {
      id?: ID_Input;
      code: String;
      block?: String;
      name?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 496..504
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 823..831
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2651..2659
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2667..2675

    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 5 locations. Consider refactoring.
    Open

    export interface ForeignDataUpdateDataInput {
      multiverseId?: Int;
      flavorText?: String;
      language?: String;
      name?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 823..831
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1140..1148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2651..2659
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2667..2675

    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 5 locations. Consider refactoring.
    Open

    export interface ForeignDataUpdateManyDataInput {
      multiverseId?: Int;
      flavorText?: String;
      language?: String;
      name?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 496..504
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1140..1148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2651..2659
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2667..2675

    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 5 locations. Consider refactoring.
    Open

    export interface SetCreateWithoutCardsInput {
      id?: ID_Input;
      code: String;
      block?: String;
      name?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 496..504
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 823..831
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1140..1148
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2651..2659

    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 7 locations. Consider refactoring.
    Open

    export interface TokenEdgePromise extends Promise<TokenEdge>, Fragmentable {
      node: <T = TokenPromise>() => T;
      cursor: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3022..3025
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3340..3343
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3592..3595
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3709..3712
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3757..3762
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3870..3875

    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 7 locations. Consider refactoring.
    Open

    export interface SubTypeEdgePromise extends Promise<SubTypeEdge>, Fragmentable {
      node: <T = SubTypePromise>() => T;
      cursor: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3022..3025
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3171..3174
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3592..3595
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3709..3712
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3757..3762
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3870..3875

    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 7 locations. Consider refactoring.
    Open

    export interface PrintingEdgePromise
      extends Promise<PrintingEdge>,
        Fragmentable {
      node: <T = PrintingPromise>() => T;
      cursor: () => Promise<String>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3022..3025
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3171..3174
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3340..3343
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3592..3595
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3709..3712
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3870..3875

    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 7 locations. Consider refactoring.
    Open

    export interface TypeEdgePromise extends Promise<TypeEdge>, Fragmentable {
      node: <T = TypePromise>() => T;
      cursor: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3022..3025
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3171..3174
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3340..3343
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3709..3712
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3757..3762
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3870..3875

    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 7 locations. Consider refactoring.
    Open

    export interface SuperTypeEdgePromise
      extends Promise<SuperTypeEdge>,
        Fragmentable {
      node: <T = SuperTypePromise>() => T;
      cursor: () => Promise<String>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3022..3025
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3171..3174
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3340..3343
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3592..3595
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3709..3712
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3757..3762

    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 7 locations. Consider refactoring.
    Open

    export interface CardEdgePromise extends Promise<CardEdge>, Fragmentable {
      node: <T = CardPromise>() => T;
      cursor: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3171..3174
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3340..3343
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3592..3595
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3709..3712
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3757..3762
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3870..3875

    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 7 locations. Consider refactoring.
    Open

    export interface SetEdgePromise extends Promise<SetEdge>, Fragmentable {
      node: <T = SetPromise>() => T;
      cursor: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3022..3025
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3171..3174
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3340..3343
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3592..3595
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3757..3762
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3870..3875

    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 interface SetUpdateWithoutCardsDataInput {
      code?: String;
      block?: String;
      name?: String;
      releaseDate?: DateTimeInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1106..1113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3262..3269
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3721..3728

    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 interface Set {
      id: ID_Output;
      code: String;
      block?: String;
      name?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1029..1036
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1106..1113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3721..3728

    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 interface SetPreviousValues {
      id: ID_Output;
      code: String;
      block?: String;
      name?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1029..1036
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1106..1113
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3262..3269

    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 interface SetUpdateWithoutTokensDataInput {
      code?: String;
      block?: String;
      name?: String;
      releaseDate?: DateTimeInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1029..1036
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3262..3269
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3721..3728

    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 8 locations. Consider refactoring.
    Open

    export interface TypePreviousValuesPromise
      extends Promise<TypePreviousValues>,
        Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3229..3232
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3525..3528
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3609..3614
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3649..3654
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3792..3795
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3809..3814
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3853..3856

    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 62.

    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 interface TypePromise extends Promise<Type>, Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2886..2891
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3525..3528
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3609..3614
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3649..3654
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3792..3795
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3809..3814
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3853..3856

    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 62.

    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 interface SuperTypePromise extends Promise<SuperType>, Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2886..2891
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3229..3232
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3609..3614
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3649..3654
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3792..3795
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3809..3814
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3853..3856

    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 62.

    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 interface SubTypePromise extends Promise<SubType>, Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2886..2891
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3229..3232
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3525..3528
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3609..3614
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3649..3654
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3792..3795
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3809..3814

    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 62.

    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 interface PrintingPromise extends Promise<Printing>, Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2886..2891
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3229..3232
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3525..3528
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3609..3614
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3649..3654
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3809..3814
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3853..3856

    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 62.

    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 interface SuperTypePreviousValuesPromise
      extends Promise<SuperTypePreviousValues>,
        Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2886..2891
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3229..3232
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3525..3528
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3609..3614
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3792..3795
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3809..3814
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3853..3856

    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 62.

    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 interface SubTypePreviousValuesPromise
      extends Promise<SubTypePreviousValues>,
        Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2886..2891
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3229..3232
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3525..3528
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3609..3614
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3649..3654
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3792..3795
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3853..3856

    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 62.

    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 interface PrintingPreviousValuesPromise
      extends Promise<PrintingPreviousValues>,
        Fragmentable {
      id: () => Promise<ID_Output>;
      name: () => Promise<String>;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2886..2891
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3229..3232
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3525..3528
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3649..3654
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3792..3795
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3809..3814
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3853..3856

    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 62.

    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 interface AggregateSubTypeSubscription
      extends Promise<AsyncIterator<AggregateSubType>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Int>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2956..2960
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3079..3083
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3095..3099
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3218..3222
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3382..3386
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3514..3518
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3781..3785

    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 54.

    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 interface BatchPayloadSubscription
      extends Promise<AsyncIterator<BatchPayload>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Long>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2956..2960
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3095..3099
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3218..3222
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3382..3386
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3514..3518
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3673..3677
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3781..3785

    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 54.

    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 interface AggregateSuperTypeSubscription
      extends Promise<AsyncIterator<AggregateSuperType>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Int>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2956..2960
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3079..3083
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3095..3099
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3382..3386
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3514..3518
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3673..3677
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3781..3785

    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 54.

    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 interface AggregatePrintingSubscription
      extends Promise<AsyncIterator<AggregatePrinting>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Int>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2956..2960
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3079..3083
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3095..3099
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3218..3222
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3382..3386
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3673..3677
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3781..3785

    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 54.

    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 interface AggregateCardSubscription
      extends Promise<AsyncIterator<AggregateCard>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Int>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3079..3083
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3095..3099
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3218..3222
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3382..3386
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3514..3518
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3673..3677
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3781..3785

    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 54.

    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 interface AggregateTokenSubscription
      extends Promise<AsyncIterator<AggregateToken>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Int>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2956..2960
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3079..3083
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3095..3099
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3218..3222
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3382..3386
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3514..3518
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3673..3677

    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 54.

    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 interface AggregateTypeSubscription
      extends Promise<AsyncIterator<AggregateType>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Int>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2956..2960
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3079..3083
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3218..3222
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3382..3386
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3514..3518
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3673..3677
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3781..3785

    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 54.

    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 interface AggregateSetSubscription
      extends Promise<AsyncIterator<AggregateSet>>,
        Fragmentable {
      count: () => Promise<AsyncIterator<Int>>;
    }
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2956..2960
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3079..3083
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3095..3099
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3218..3222
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3514..3518
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3673..3677
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3781..3785

    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 54.

    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

      upsertSet: (
        args: {
          where: SetWhereUniqueInput;
          create: SetCreateInput;
          update: SetUpdateInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 219..225
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 235..241
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 267..273
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 286..292
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 302..308
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 318..324

    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 7 locations. Consider refactoring.
    Open

    export interface SetSubscriptionPayload {
      mutation: MutationType;
      node: Set;
      updatedFields: String[];
      previousValues: SetPreviousValues;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2921..2926
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3183..3188
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3388..3393
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3537..3542
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3562..3567
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3823..3828

    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 7 locations. Consider refactoring.
    Open

    export interface TypeSubscriptionPayload {
      mutation: MutationType;
      node: Type;
      updatedFields: String[];
      previousValues: TypePreviousValues;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2921..2926
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3183..3188
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3388..3393
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3562..3567
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3679..3684
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3823..3828

    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 7 locations. Consider refactoring.
    Open

    export interface TokenSubscriptionPayload {
      mutation: MutationType;
      node: Token;
      updatedFields: String[];
      previousValues: TokenPreviousValues;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2921..2926
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3388..3393
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3537..3542
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3562..3567
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3679..3684
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3823..3828

    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 7 locations. Consider refactoring.
    Open

    export interface SuperTypeSubscriptionPayload {
      mutation: MutationType;
      node: SuperType;
      updatedFields: String[];
      previousValues: SuperTypePreviousValues;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3183..3188
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3388..3393
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3537..3542
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3562..3567
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3679..3684
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3823..3828

    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 7 locations. Consider refactoring.
    Open

    export interface SubTypeSubscriptionPayload {
      mutation: MutationType;
      node: SubType;
      updatedFields: String[];
      previousValues: SubTypePreviousValues;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2921..2926
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3183..3188
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3388..3393
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3537..3542
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3562..3567
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3679..3684

    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 7 locations. Consider refactoring.
    Open

      upsertSuperType: (
        args: {
          where: SuperTypeWhereUniqueInput;
          create: SuperTypeCreateInput;
          update: SuperTypeUpdateInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 219..225
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 235..241
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 251..257
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 267..273
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 302..308
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 318..324

    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 7 locations. Consider refactoring.
    Open

      upsertToken: (
        args: {
          where: TokenWhereUniqueInput;
          create: TokenCreateInput;
          update: TokenUpdateInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 219..225
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 235..241
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 251..257
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 267..273
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 286..292
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 318..324

    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 7 locations. Consider refactoring.
    Open

      upsertCard: (
        args: {
          where: CardWhereUniqueInput;
          create: CardCreateInput;
          update: CardUpdateInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 235..241
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 251..257
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 267..273
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 286..292
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 302..308
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 318..324

    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 7 locations. Consider refactoring.
    Open

      upsertSubType: (
        args: {
          where: SubTypeWhereUniqueInput;
          create: SubTypeCreateInput;
          update: SubTypeUpdateInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 219..225
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 235..241
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 251..257
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 286..292
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 302..308
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 318..324

    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 7 locations. Consider refactoring.
    Open

    export interface CardSubscriptionPayload {
      mutation: MutationType;
      node: Card;
      updatedFields: String[];
      previousValues: CardPreviousValues;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2921..2926
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3183..3188
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3537..3542
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3562..3567
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3679..3684
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3823..3828

    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 7 locations. Consider refactoring.
    Open

      upsertPrinting: (
        args: {
          where: PrintingWhereUniqueInput;
          create: PrintingCreateInput;
          update: PrintingUpdateInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 219..225
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 251..257
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 267..273
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 286..292
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 302..308
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 318..324

    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 7 locations. Consider refactoring.
    Open

      upsertType: (
        args: {
          where: TypeWhereUniqueInput;
          create: TypeCreateInput;
          update: TypeUpdateInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 219..225
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 235..241
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 251..257
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 267..273
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 286..292
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 302..308

    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 7 locations. Consider refactoring.
    Open

    export interface PrintingSubscriptionPayload {
      mutation: MutationType;
      node: Printing;
      updatedFields: String[];
      previousValues: PrintingPreviousValues;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2921..2926
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3183..3188
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3388..3393
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3537..3542
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3679..3684
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3823..3828

    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 interface SetUpdateOneRequiredWithoutCardsInput {
      create?: SetCreateWithoutCardsInput;
      update?: SetUpdateWithoutCardsDataInput;
      upsert?: SetUpsertWithoutCardsInput;
      connect?: SetWhereUniqueInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2006..2011
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3101..3106

    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 3 locations. Consider refactoring.
    Open

    export interface SetUpdateOneRequiredWithoutTokensInput {
      create?: SetCreateWithoutTokensInput;
      update?: SetUpdateWithoutTokensDataInput;
      upsert?: SetUpsertWithoutTokensInput;
      connect?: SetWhereUniqueInput;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1013..1018
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 3101..3106

    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 3 locations. Consider refactoring.
    Open

    export interface PageInfo {
      hasNextPage: Boolean;
      hasPreviousPage: Boolean;
      startCursor?: String;
      endCursor?: String;
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 1013..1018
    packages/backend/db-migration/prisma/generated/prisma-client/index.ts on lines 2006..2011

    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