From 2395f791c891d81562c760d2dacd5fcb670932eb Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Fri, 2 Jun 2023 11:20:21 +0200 Subject: [PATCH] Add Pipelines models in server (#182) * Hide workspace and refresh token from schema * Add pipe models and migrations * Add seeds * Update FE graphql schema --- front/src/generated/graphql.tsx | 311 ++++-------------- infra/dev/Makefile | 2 - server/package.json | 5 +- .../comment-thread-count-aggregate.output.ts | 3 +- .../comment-thread-group-by.output.ts | 3 +- .../comment-thread-max-aggregate.output.ts | 3 +- .../comment-thread-min-aggregate.output.ts | 3 +- .../comment-thread/comment-thread.model.ts | 5 +- .../comment/comment-count-aggregate.output.ts | 3 +- .../comment/comment-group-by.output.ts | 3 +- .../comment/comment-max-aggregate.output.ts | 3 +- .../comment/comment-min-aggregate.output.ts | 3 +- .../api/@generated/comment/comment.model.ts | 5 +- .../company/company-count-aggregate.output.ts | 3 +- .../company/company-group-by.output.ts | 3 +- .../company/company-max-aggregate.output.ts | 3 +- .../company/company-min-aggregate.output.ts | 3 +- .../api/@generated/company/company.model.ts | 5 +- .../person/person-count-aggregate.output.ts | 3 +- .../person/person-group-by.output.ts | 3 +- .../person/person-max-aggregate.output.ts | 3 +- .../person/person-min-aggregate.output.ts | 3 +- .../src/api/@generated/person/person.model.ts | 5 +- .../aggregate-pipeline-association.output.ts | 17 + .../create-many-pipeline-association.args.ts | 14 + .../create-one-pipeline-association.args.ts | 11 + .../delete-many-pipeline-association.args.ts | 11 + .../delete-one-pipeline-association.args.ts | 11 + ...irst-pipeline-association-or-throw.args.ts | 32 ++ .../find-first-pipeline-association.args.ts | 32 ++ .../find-many-pipeline-association.args.ts | 32 ++ ...ique-pipeline-association-or-throw.args.ts | 11 + .../find-unique-pipeline-association.args.ts | 11 + .../pipeline-association-aggregate.args.ts | 40 +++ ...eline-association-count-aggregate.input.ts | 32 ++ ...line-association-count-aggregate.output.ts | 33 ++ ...ociation-count-order-by-aggregate.input.ts | 30 ++ ...eate-many-pipeline-input-envelope.input.ts | 16 + ...any-pipeline-stage-input-envelope.input.ts | 16 + ...iation-create-many-pipeline-stage.input.ts | 27 ++ ...-association-create-many-pipeline.input.ts | 27 ++ .../pipeline-association-create-many.input.ts | 30 ++ ...ested-many-without-pipeline-stage.input.ts | 32 ++ ...eate-nested-many-without-pipeline.input.ts | 32 ++ ...or-connect-without-pipeline-stage.input.ts | 18 + ...reate-or-connect-without-pipeline.input.ts | 18 + ...ion-create-without-pipeline-stage.input.ts | 30 ++ ...sociation-create-without-pipeline.input.ts | 30 ++ .../pipeline-association-create.input.ts | 36 ++ .../pipeline-association-group-by.args.ts | 46 +++ .../pipeline-association-group-by.output.ts | 42 +++ ...-association-list-relation-filter.input.ts | 15 + ...ipeline-association-max-aggregate.input.ts | 29 ++ ...peline-association-max-aggregate.output.ts | 30 ++ ...ssociation-max-order-by-aggregate.input.ts | 30 ++ ...ipeline-association-min-aggregate.input.ts | 29 ++ ...peline-association-min-aggregate.output.ts | 30 ++ ...ssociation-min-order-by-aggregate.input.ts | 30 ++ ...ation-order-by-relation-aggregate.input.ts | 9 + ...ciation-order-by-with-aggregation.input.ts | 44 +++ ...ssociation-order-by-with-relation.input.ts | 38 +++ .../pipeline-association-scalar-field.enum.ts | 17 + ...tion-scalar-where-with-aggregates.input.ts | 50 +++ ...pipeline-association-scalar-where.input.ts | 42 +++ ...ested-many-without-pipeline-stage.input.ts | 32 ++ ...eate-nested-many-without-pipeline.input.ts | 32 ++ ...ked-create-without-pipeline-stage.input.ts | 27 ++ ...unchecked-create-without-pipeline.input.ts | 27 ++ ...line-association-unchecked-create.input.ts | 30 ++ ...any-without-pipeline-associations.input.ts | 32 ++ ...date-many-without-pipeline-nested.input.ts | 70 ++++ ...any-without-pipeline-stage-nested.input.ts | 73 ++++ ...association-unchecked-update-many.input.ts | 35 ++ ...ked-update-without-pipeline-stage.input.ts | 32 ++ ...unchecked-update-without-pipeline.input.ts | 32 ++ ...line-association-unchecked-update.input.ts | 35 ++ ...-association-update-many-mutation.input.ts | 29 ++ ...with-where-without-pipeline-stage.input.ts | 16 + ...-many-with-where-without-pipeline.input.ts | 16 + ...date-many-without-pipeline-nested.input.ts | 70 ++++ ...any-without-pipeline-stage-nested.input.ts | 73 ++++ ...ere-unique-without-pipeline-stage.input.ts | 18 + ...ith-where-unique-without-pipeline.input.ts | 18 + ...ion-update-without-pipeline-stage.input.ts | 36 ++ ...sociation-update-without-pipeline.input.ts | 36 ++ .../pipeline-association-update.input.ts | 43 +++ ...ere-unique-without-pipeline-stage.input.ts | 25 ++ ...ith-where-unique-without-pipeline.input.ts | 25 ++ ...pipeline-association-where-unique.input.ts | 8 + .../pipeline-association-where.input.ts | 50 +++ .../pipeline-association.model.ts | 39 +++ .../update-many-pipeline-association.args.ts | 16 + .../update-one-pipeline-association.args.ts | 16 + .../upsert-one-pipeline-association.args.ts | 21 ++ .../aggregate-pipeline-stage.output.ts | 17 + .../create-many-pipeline-stage.args.ts | 14 + .../create-one-pipeline-stage.args.ts | 11 + .../delete-many-pipeline-stage.args.ts | 11 + .../delete-one-pipeline-stage.args.ts | 11 + ...find-first-pipeline-stage-or-throw.args.ts | 30 ++ .../find-first-pipeline-stage.args.ts | 30 ++ .../find-many-pipeline-stage.args.ts | 30 ++ ...ind-unique-pipeline-stage-or-throw.args.ts | 11 + .../find-unique-pipeline-stage.args.ts | 11 + .../pipeline-stage-aggregate.args.ts | 38 +++ .../pipeline-stage-count-aggregate.input.ts | 36 ++ .../pipeline-stage-count-aggregate.output.ts | 37 +++ ...ne-stage-count-order-by-aggregate.input.ts | 34 ++ .../pipeline-stage-count.output.ts | 9 + ...eate-many-pipeline-input-envelope.input.ts | 14 + ...peline-stage-create-many-pipeline.input.ts | 30 ++ ...ate-many-workspace-input-envelope.input.ts | 14 + ...eline-stage-create-many-workspace.input.ts | 29 ++ .../pipeline-stage-create-many.input.ts | 33 ++ ...eate-nested-many-without-pipeline.input.ts | 28 ++ ...ate-nested-many-without-workspace.input.ts | 30 ++ ...one-without-pipeline-associations.input.ts | 25 ++ ...ect-without-pipeline-associations.input.ts | 18 + ...reate-or-connect-without-pipeline.input.ts | 16 + ...eate-or-connect-without-workspace.input.ts | 16 + ...ate-without-pipeline-associations.input.ts | 37 +++ ...ine-stage-create-without-pipeline.input.ts | 37 +++ ...ne-stage-create-without-workspace.input.ts | 38 +++ .../pipeline-stage-create.input.ts | 43 +++ .../pipeline-stage-group-by.args.ts | 42 +++ .../pipeline-stage-group-by.output.ts | 45 +++ ...peline-stage-list-relation-filter.input.ts | 15 + .../pipeline-stage-max-aggregate.input.ts | 33 ++ .../pipeline-stage-max-aggregate.output.ts | 33 ++ ...line-stage-max-order-by-aggregate.input.ts | 34 ++ .../pipeline-stage-min-aggregate.input.ts | 33 ++ .../pipeline-stage-min-aggregate.output.ts | 33 ++ ...line-stage-min-order-by-aggregate.input.ts | 34 ++ ...stage-order-by-relation-aggregate.input.ts | 9 + ...e-stage-order-by-with-aggregation.input.ts | 46 +++ ...line-stage-order-by-with-relation.input.ts | 48 +++ .../pipeline-stage-relation-filter.input.ts | 12 + .../pipeline-stage-scalar-field.enum.ts | 18 + ...tage-scalar-where-with-aggregates.input.ts | 51 +++ .../pipeline-stage-scalar-where.input.ts | 45 +++ ...eate-nested-many-without-pipeline.input.ts | 28 ++ ...ate-nested-many-without-workspace.input.ts | 30 ++ ...ate-without-pipeline-associations.input.ts | 33 ++ ...unchecked-create-without-pipeline.input.ts | 37 +++ ...nchecked-create-without-workspace.input.ts | 36 ++ .../pipeline-stage-unchecked-create.input.ts | 40 +++ ...date-many-without-pipeline-nested.input.ts | 66 ++++ ...date-many-without-pipeline-stages.input.ts | 32 ++ ...ate-many-without-workspace-nested.input.ts | 68 ++++ ...eline-stage-unchecked-update-many.input.ts | 36 ++ ...ate-without-pipeline-associations.input.ts | 36 ++ ...unchecked-update-without-pipeline.input.ts | 40 +++ ...nchecked-update-without-workspace.input.ts | 39 +++ .../pipeline-stage-unchecked-update.input.ts | 43 +++ ...peline-stage-update-many-mutation.input.ts | 29 ++ ...-many-with-where-without-pipeline.input.ts | 16 + ...many-with-where-without-workspace.input.ts | 16 + ...date-many-without-pipeline-nested.input.ts | 66 ++++ ...ate-many-without-workspace-nested.input.ts | 68 ++++ ...hout-pipeline-associations-nested.input.ts | 39 +++ ...ith-where-unique-without-pipeline.input.ts | 16 + ...th-where-unique-without-workspace.input.ts | 16 + ...ate-without-pipeline-associations.input.ts | 40 +++ ...ine-stage-update-without-pipeline.input.ts | 40 +++ ...ne-stage-update-without-workspace.input.ts | 41 +++ .../pipeline-stage-update.input.ts | 46 +++ ...ith-where-unique-without-pipeline.input.ts | 21 ++ ...th-where-unique-without-workspace.input.ts | 21 ++ ...ert-without-pipeline-associations.input.ts | 20 ++ .../pipeline-stage-where-unique.input.ts | 8 + .../pipeline-stage-where.input.ts | 57 ++++ .../pipeline-stage/pipeline-stage.model.ts | 50 +++ .../update-many-pipeline-stage.args.ts | 16 + .../update-one-pipeline-stage.args.ts | 16 + .../upsert-one-pipeline-stage.args.ts | 21 ++ .../pipeline/aggregate-pipeline.output.ts | 17 + .../pipeline/create-many-pipeline.args.ts | 14 + .../pipeline/create-one-pipeline.args.ts | 11 + .../pipeline/delete-many-pipeline.args.ts | 11 + .../pipeline/delete-one-pipeline.args.ts | 11 + .../find-first-pipeline-or-throw.args.ts | 30 ++ .../pipeline/find-first-pipeline.args.ts | 30 ++ .../pipeline/find-many-pipeline.args.ts | 30 ++ .../find-unique-pipeline-or-throw.args.ts | 11 + .../pipeline/find-unique-pipeline.args.ts | 11 + .../pipeline/pipeline-aggregate.args.ts | 38 +++ .../pipeline/pipeline-associable-type.enum.ts | 11 + .../pipeline-count-aggregate.input.ts | 30 ++ .../pipeline-count-aggregate.output.ts | 31 ++ ...pipeline-count-order-by-aggregate.input.ts | 28 ++ .../pipeline/pipeline-count.output.ts | 12 + ...ate-many-workspace-input-envelope.input.ts | 14 + .../pipeline-create-many-workspace.input.ts | 23 ++ .../pipeline/pipeline-create-many.input.ts | 27 ++ ...ate-nested-many-without-workspace.input.ts | 28 ++ ...one-without-pipeline-associations.input.ts | 25 ++ ...ested-one-without-pipeline-stages.input.ts | 23 ++ ...ect-without-pipeline-associations.input.ts | 18 + ...r-connect-without-pipeline-stages.input.ts | 16 + ...eate-or-connect-without-workspace.input.ts | 16 + ...ate-without-pipeline-associations.input.ts | 34 ++ ...ne-create-without-pipeline-stages.input.ts | 34 ++ ...pipeline-create-without-workspace.input.ts | 35 ++ .../pipeline/pipeline-create.input.ts | 40 +++ .../pipeline/pipeline-group-by.args.ts | 42 +++ .../pipeline/pipeline-group-by.output.ts | 39 +++ .../pipeline-list-relation-filter.input.ts | 15 + .../pipeline/pipeline-max-aggregate.input.ts | 27 ++ .../pipeline/pipeline-max-aggregate.output.ts | 27 ++ .../pipeline-max-order-by-aggregate.input.ts | 28 ++ .../pipeline/pipeline-min-aggregate.input.ts | 27 ++ .../pipeline/pipeline-min-aggregate.output.ts | 27 ++ .../pipeline-min-order-by-aggregate.input.ts | 28 ++ ...eline-order-by-relation-aggregate.input.ts | 9 + ...ipeline-order-by-with-aggregation.input.ts | 40 +++ .../pipeline-order-by-with-relation.input.ts | 42 +++ .../pipeline-relation-filter.input.ts | 12 + .../pipeline/pipeline-scalar-field.enum.ts | 16 + ...line-scalar-where-with-aggregates.input.ts | 39 +++ .../pipeline/pipeline-scalar-where.input.ts | 39 +++ ...ate-nested-many-without-workspace.input.ts | 28 ++ ...ate-without-pipeline-associations.input.ts | 33 ++ ...ed-create-without-pipeline-stages.input.ts | 34 ++ ...nchecked-create-without-workspace.input.ts | 36 ++ .../pipeline-unchecked-create.input.ts | 40 +++ ...ked-update-many-without-pipelines.input.ts | 26 ++ ...ate-many-without-workspace-nested.input.ts | 66 ++++ .../pipeline-unchecked-update-many.input.ts | 30 ++ ...ate-without-pipeline-associations.input.ts | 36 ++ ...ed-update-without-pipeline-stages.input.ts | 37 +++ ...nchecked-update-without-workspace.input.ts | 39 +++ .../pipeline-unchecked-update.input.ts | 43 +++ .../pipeline-update-many-mutation.input.ts | 26 ++ ...many-with-where-without-workspace.input.ts | 16 + ...ate-many-without-workspace-nested.input.ts | 66 ++++ ...hout-pipeline-associations-nested.input.ts | 39 +++ ...ed-without-pipeline-stages-nested.input.ts | 33 ++ ...th-where-unique-without-workspace.input.ts | 16 + ...ate-without-pipeline-associations.input.ts | 37 +++ ...ne-update-without-pipeline-stages.input.ts | 37 +++ ...pipeline-update-without-workspace.input.ts | 38 +++ .../pipeline/pipeline-update.input.ts | 43 +++ ...th-where-unique-without-workspace.input.ts | 21 ++ ...ert-without-pipeline-associations.input.ts | 20 ++ ...ne-upsert-without-pipeline-stages.input.ts | 16 + .../pipeline/pipeline-where-unique.input.ts | 8 + .../pipeline/pipeline-where.input.ts | 51 +++ .../api/@generated/pipeline/pipeline.model.ts | 44 +++ .../pipeline/update-many-pipeline.args.ts | 16 + .../pipeline/update-one-pipeline.args.ts | 16 + .../pipeline/upsert-one-pipeline.args.ts | 21 ++ ...able-type-field-update-operations.input.ts | 9 + ...m-pipeline-associable-type-filter.input.ts | 19 ++ ...iable-type-with-aggregates-filter.input.ts | 32 ++ ...m-pipeline-associable-type-filter.input.ts | 18 + ...iable-type-with-aggregates-filter.input.ts | 31 ++ .../user-create-without-comments.input.ts | 7 +- .../user-create-without-companies.input.ts | 7 +- ...ser-create-without-refresh-tokens.input.ts | 5 +- ...r-create-without-workspace-member.input.ts | 3 +- .../api/@generated/user/user-create.input.ts | 7 +- .../user/user-order-by-with-relation.input.ts | 5 +- ...unchecked-create-without-comments.input.ts | 9 +- ...nchecked-create-without-companies.input.ts | 9 +- ...ked-create-without-refresh-tokens.input.ts | 5 +- ...d-create-without-workspace-member.input.ts | 5 +- .../user/user-unchecked-create.input.ts | 9 +- ...unchecked-update-without-comments.input.ts | 9 +- ...nchecked-update-without-companies.input.ts | 9 +- ...ked-update-without-refresh-tokens.input.ts | 5 +- ...d-update-without-workspace-member.input.ts | 5 +- .../user/user-unchecked-update.input.ts | 9 +- .../user-update-without-comments.input.ts | 7 +- .../user-update-without-companies.input.ts | 7 +- ...ser-update-without-refresh-tokens.input.ts | 5 +- ...r-update-without-workspace-member.input.ts | 3 +- .../api/@generated/user/user-update.input.ts | 7 +- .../api/@generated/user/user-where.input.ts | 5 +- server/src/api/@generated/user/user.model.ts | 3 +- ...workspace-member-count-aggregate.output.ts | 3 +- .../workspace-member-group-by.output.ts | 3 +- .../workspace-member-max-aggregate.output.ts | 3 +- .../workspace-member-min-aggregate.output.ts | 3 +- .../workspace-member.model.ts | 5 +- .../workspace/workspace-count.output.ts | 6 + ...ested-one-without-pipeline-stages.input.ts | 23 ++ ...eate-nested-one-without-pipelines.input.ts | 23 ++ ...r-connect-without-pipeline-stages.input.ts | 16 + ...eate-or-connect-without-pipelines.input.ts | 16 + ...ce-create-without-comment-threads.input.ts | 12 + ...workspace-create-without-comments.input.ts | 12 + ...orkspace-create-without-companies.input.ts | 12 + .../workspace-create-without-people.input.ts | 12 + ...ce-create-without-pipeline-stages.input.ts | 56 ++++ ...orkspace-create-without-pipelines.input.ts | 56 ++++ ...e-create-without-workspace-member.input.ts | 12 + .../workspace/workspace-create.input.ts | 12 + .../workspace-order-by-with-relation.input.ts | 8 + ...ed-create-without-comment-threads.input.ts | 12 + ...unchecked-create-without-comments.input.ts | 12 + ...nchecked-create-without-companies.input.ts | 12 + ...e-unchecked-create-without-people.input.ts | 12 + ...ed-create-without-pipeline-stages.input.ts | 62 ++++ ...nchecked-create-without-pipelines.input.ts | 62 ++++ ...d-create-without-workspace-member.input.ts | 12 + .../workspace-unchecked-create.input.ts | 12 + ...ed-update-without-comment-threads.input.ts | 12 + ...unchecked-update-without-comments.input.ts | 12 + ...nchecked-update-without-companies.input.ts | 12 + ...e-unchecked-update-without-people.input.ts | 12 + ...ed-update-without-pipeline-stages.input.ts | 66 ++++ ...nchecked-update-without-pipelines.input.ts | 66 ++++ ...d-update-without-workspace-member.input.ts | 12 + .../workspace-unchecked-update.input.ts | 12 + ...ed-without-pipeline-stages-nested.input.ts | 33 ++ ...required-without-pipelines-nested.input.ts | 33 ++ ...ce-update-without-comment-threads.input.ts | 12 + ...workspace-update-without-comments.input.ts | 12 + ...orkspace-update-without-companies.input.ts | 12 + .../workspace-update-without-people.input.ts | 12 + ...ce-update-without-pipeline-stages.input.ts | 60 ++++ ...orkspace-update-without-pipelines.input.ts | 60 ++++ ...e-update-without-workspace-member.input.ts | 12 + .../workspace/workspace-update.input.ts | 12 + ...ce-upsert-without-pipeline-stages.input.ts | 16 + ...orkspace-upsert-without-pipelines.input.ts | 16 + .../workspace/workspace-where.input.ts | 8 + .../@generated/workspace/workspace.model.ts | 8 + .../relations/company-relations.resolver.ts | 14 - .../relations/person-relations.resolver.ts | 14 - .../relations/user-relations.resolver.ts | 21 -- .../migration.sql | 59 ++++ server/src/database/schema.prisma | 90 ++++- server/src/database/seeds/index.ts | 2 + server/src/database/seeds/pipelines.ts | 214 ++++++++++++ 335 files changed, 8371 insertions(+), 428 deletions(-) create mode 100644 server/src/api/@generated/pipeline-association/aggregate-pipeline-association.output.ts create mode 100644 server/src/api/@generated/pipeline-association/create-many-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/create-one-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/delete-many-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/delete-one-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/find-first-pipeline-association-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline-association/find-first-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/find-many-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/find-unique-pipeline-association-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline-association/find-unique-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-aggregate.args.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-count-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-input-envelope.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage-input-envelope.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-many.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-create.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-group-by.args.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-group-by.output.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-list-relation-filter.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-max-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-min-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-order-by-relation-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-aggregation.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-relation.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-scalar-field.enum.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-scalar-where-with-aggregates.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-scalar-where.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-many-mutation.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-update.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-where-unique.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association-where.input.ts create mode 100644 server/src/api/@generated/pipeline-association/pipeline-association.model.ts create mode 100644 server/src/api/@generated/pipeline-association/update-many-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/update-one-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-association/upsert-one-pipeline-association.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/aggregate-pipeline-stage.output.ts create mode 100644 server/src/api/@generated/pipeline-stage/create-many-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/create-one-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/delete-many-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/delete-one-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/find-first-pipeline-stage-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/find-first-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/find-many-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-aggregate.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-count-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline-input-envelope.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace-input-envelope.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-many.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.output.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-list-relation-filter.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-max-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-min-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-relation-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-aggregation.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-relation-filter.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-field.enum.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where-with-aggregates.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-mutation.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-where-unique.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts create mode 100644 server/src/api/@generated/pipeline-stage/update-many-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/update-one-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/upsert-one-pipeline-stage.args.ts create mode 100644 server/src/api/@generated/pipeline/aggregate-pipeline.output.ts create mode 100644 server/src/api/@generated/pipeline/create-many-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/create-one-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/delete-many-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/delete-one-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/find-first-pipeline-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline/find-first-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/find-many-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/find-unique-pipeline-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline/find-unique-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-aggregate.args.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-associable-type.enum.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-count-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-count-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-count-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-count.output.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-many-workspace-input-envelope.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-many-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-many.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-nested-many-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-or-connect-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-group-by.args.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-group-by.output.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-list-relation-filter.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-max-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-max-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-max-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-min-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-min-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-min-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-order-by-relation-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-order-by-with-aggregation.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-relation-filter.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-scalar-field.enum.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-scalar-where-with-aggregates.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-scalar-where.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-create-nested-many-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-pipelines.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-workspace-nested.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update-many.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-many-mutation.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-many-with-where-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-many-without-workspace-nested.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-with-where-unique-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-upsert-with-where-unique-without-workspace.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-associations.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-where-unique.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-where.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline.model.ts create mode 100644 server/src/api/@generated/pipeline/update-many-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/update-one-pipeline.args.ts create mode 100644 server/src/api/@generated/pipeline/upsert-one-pipeline.args.ts create mode 100644 server/src/api/@generated/prisma/enum-pipeline-associable-type-field-update-operations.input.ts create mode 100644 server/src/api/@generated/prisma/enum-pipeline-associable-type-filter.input.ts create mode 100644 server/src/api/@generated/prisma/enum-pipeline-associable-type-with-aggregates-filter.input.ts create mode 100644 server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-filter.input.ts create mode 100644 server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-with-aggregates-filter.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-create-nested-one-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-create-nested-one-without-pipelines.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-create-or-connect-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-create-or-connect-without-pipelines.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-create-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-create-without-pipelines.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-unchecked-create-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-unchecked-create-without-pipelines.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-unchecked-update-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-unchecked-update-without-pipelines.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-update-one-required-without-pipeline-stages-nested.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-update-one-required-without-pipelines-nested.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-update-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-update-without-pipelines.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-upsert-without-pipeline-stages.input.ts create mode 100644 server/src/api/@generated/workspace/workspace-upsert-without-pipelines.input.ts create mode 100644 server/src/database/migrations/20230602085537_create_pipelines/migration.sql create mode 100644 server/src/database/seeds/pipelines.ts diff --git a/front/src/generated/graphql.tsx b/front/src/generated/graphql.tsx index b87484d93..327de6ea4 100644 --- a/front/src/generated/graphql.tsx +++ b/front/src/generated/graphql.tsx @@ -42,8 +42,6 @@ export type Comment = { deletedAt?: Maybe; id: Scalars['ID']; updatedAt: Scalars['DateTime']; - workspace: Workspace; - workspaceId: Scalars['String']; }; export type CommentCreateInput = { @@ -141,8 +139,6 @@ export type CommentThread = { deletedAt?: Maybe; id: Scalars['ID']; updatedAt: Scalars['DateTime']; - workspace: Workspace; - workspaceId: Scalars['String']; }; export type CommentThreadCount = { @@ -434,8 +430,6 @@ export type Company = { name: Scalars['String']; people?: Maybe>; updatedAt: Scalars['DateTime']; - workspace: Workspace; - workspaceId: Scalars['String']; }; export type CompanyCount = { @@ -803,8 +797,6 @@ export type Person = { lastname: Scalars['String']; phone: Scalars['String']; updatedAt: Scalars['DateTime']; - workspace: Workspace; - workspaceId: Scalars['String']; }; export type PersonCreateInput = { @@ -1003,6 +995,64 @@ export type PersonWhereUniqueInput = { id?: InputMaybe; }; +export type Pipeline = { + __typename?: 'Pipeline'; + _count: PipelineCount; + createdAt: Scalars['DateTime']; + deletedAt?: Maybe; + icon: Scalars['String']; + id: Scalars['ID']; + name: Scalars['String']; + pipelineAssociations?: Maybe>; + pipelineStages?: Maybe>; + updatedAt: Scalars['DateTime']; +}; + +export enum PipelineAssociableType { + Company = 'Company', + Person = 'Person' +} + +export type PipelineAssociation = { + __typename?: 'PipelineAssociation'; + associableId: Scalars['String']; + associableType: PipelineAssociableType; + createdAt: Scalars['DateTime']; + deletedAt?: Maybe; + id: Scalars['ID']; + pipeline: Pipeline; + pipelineId: Scalars['String']; + pipelineStage: PipelineStage; + pipelineStageId: Scalars['String']; + updatedAt: Scalars['DateTime']; +}; + +export type PipelineCount = { + __typename?: 'PipelineCount'; + pipelineAssociations: Scalars['Int']; + pipelineStages: Scalars['Int']; +}; + +export type PipelineStage = { + __typename?: 'PipelineStage'; + _count: PipelineStageCount; + color: Scalars['String']; + createdAt: Scalars['DateTime']; + deletedAt?: Maybe; + id: Scalars['ID']; + name: Scalars['String']; + pipeline: Pipeline; + pipelineAssociations?: Maybe>; + pipelineId: Scalars['String']; + type: Scalars['String']; + updatedAt: Scalars['DateTime']; +}; + +export type PipelineStageCount = { + __typename?: 'PipelineStageCount'; + pipelineAssociations: Scalars['Int']; +}; + export type Query = { __typename?: 'Query'; findManyCompany: Array; @@ -1045,154 +1095,6 @@ export enum QueryMode { Insensitive = 'insensitive' } -export type RefreshToken = { - __typename?: 'RefreshToken'; - createdAt: Scalars['DateTime']; - deletedAt?: Maybe; - id: Scalars['ID']; - refreshToken: Scalars['String']; - updatedAt: Scalars['DateTime']; - user: User; - userId: Scalars['String']; -}; - -export type RefreshTokenCreateManyUserInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id: Scalars['String']; - refreshToken: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type RefreshTokenCreateManyUserInputEnvelope = { - data: Array; - skipDuplicates?: InputMaybe; -}; - -export type RefreshTokenCreateNestedManyWithoutUserInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; -}; - -export type RefreshTokenCreateOrConnectWithoutUserInput = { - create: RefreshTokenCreateWithoutUserInput; - where: RefreshTokenWhereUniqueInput; -}; - -export type RefreshTokenCreateWithoutUserInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id: Scalars['String']; - refreshToken: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type RefreshTokenListRelationFilter = { - every?: InputMaybe; - none?: InputMaybe; - some?: InputMaybe; -}; - -export type RefreshTokenOrderByRelationAggregateInput = { - _count?: InputMaybe; -}; - -export type RefreshTokenOrderByWithRelationInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - refreshToken?: InputMaybe; - updatedAt?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -export enum RefreshTokenScalarFieldEnum { - CreatedAt = 'createdAt', - DeletedAt = 'deletedAt', - Id = 'id', - RefreshToken = 'refreshToken', - UpdatedAt = 'updatedAt', - UserId = 'userId' -} - -export type RefreshTokenScalarWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - refreshToken?: InputMaybe; - updatedAt?: InputMaybe; - userId?: InputMaybe; -}; - -export type RefreshTokenUpdateManyMutationInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - refreshToken?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type RefreshTokenUpdateManyWithWhereWithoutUserInput = { - data: RefreshTokenUpdateManyMutationInput; - where: RefreshTokenScalarWhereInput; -}; - -export type RefreshTokenUpdateManyWithoutUserNestedInput = { - connect?: InputMaybe>; - connectOrCreate?: InputMaybe>; - create?: InputMaybe>; - createMany?: InputMaybe; - delete?: InputMaybe>; - deleteMany?: InputMaybe>; - disconnect?: InputMaybe>; - set?: InputMaybe>; - update?: InputMaybe>; - updateMany?: InputMaybe>; - upsert?: InputMaybe>; -}; - -export type RefreshTokenUpdateWithWhereUniqueWithoutUserInput = { - data: RefreshTokenUpdateWithoutUserInput; - where: RefreshTokenWhereUniqueInput; -}; - -export type RefreshTokenUpdateWithoutUserInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - refreshToken?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type RefreshTokenUpsertWithWhereUniqueWithoutUserInput = { - create: RefreshTokenCreateWithoutUserInput; - update: RefreshTokenUpdateWithoutUserInput; - where: RefreshTokenWhereUniqueInput; -}; - -export type RefreshTokenWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - refreshToken?: InputMaybe; - updatedAt?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -export type RefreshTokenWhereUniqueInput = { - id?: InputMaybe; -}; - export enum SortOrder { Asc = 'asc', Desc = 'desc' @@ -1250,7 +1152,6 @@ export type User = { metadata?: Maybe; passwordHash?: Maybe; phoneNumber?: Maybe; - refreshTokens?: Maybe>; updatedAt: Scalars['DateTime']; workspaceMember?: Maybe; }; @@ -1265,16 +1166,6 @@ export type UserCompaniesArgs = { where?: InputMaybe; }; - -export type UserRefreshTokensArgs = { - cursor?: InputMaybe; - distinct?: InputMaybe>; - orderBy?: InputMaybe>; - skip?: InputMaybe; - take?: InputMaybe; - where?: InputMaybe; -}; - export type UserCount = { __typename?: 'UserCount'; comments: Scalars['Int']; @@ -1312,9 +1203,7 @@ export type UserCreateWithoutCompaniesInput = { metadata?: InputMaybe; passwordHash?: InputMaybe; phoneNumber?: InputMaybe; - refreshTokens?: InputMaybe; updatedAt?: InputMaybe; - workspaceMember?: InputMaybe; }; export type UserOrderByWithRelationInput = { @@ -1333,9 +1222,7 @@ export type UserOrderByWithRelationInput = { metadata?: InputMaybe; passwordHash?: InputMaybe; phoneNumber?: InputMaybe; - refreshTokens?: InputMaybe; updatedAt?: InputMaybe; - workspaceMember?: InputMaybe; }; export type UserRelationFilter = { @@ -1385,9 +1272,7 @@ export type UserUpdateWithoutCompaniesInput = { metadata?: InputMaybe; passwordHash?: InputMaybe; phoneNumber?: InputMaybe; - refreshTokens?: InputMaybe; updatedAt?: InputMaybe; - workspaceMember?: InputMaybe; }; export type UserUpsertWithoutCompaniesInput = { @@ -1414,9 +1299,7 @@ export type UserWhereInput = { metadata?: InputMaybe; passwordHash?: InputMaybe; phoneNumber?: InputMaybe; - refreshTokens?: InputMaybe; updatedAt?: InputMaybe; - workspaceMember?: InputMaybe; }; export type UserWhereUniqueInput = { @@ -1437,6 +1320,8 @@ export type Workspace = { id: Scalars['ID']; logo?: Maybe; people?: Maybe>; + pipelineStages?: Maybe>; + pipelines?: Maybe>; updatedAt: Scalars['DateTime']; workspaceMember?: Maybe>; }; @@ -1447,6 +1332,8 @@ export type WorkspaceCount = { comments: Scalars['Int']; companies: Scalars['Int']; people: Scalars['Int']; + pipelineStages: Scalars['Int']; + pipelines: Scalars['Int']; workspaceMember: Scalars['Int']; }; @@ -1459,78 +1346,6 @@ export type WorkspaceMember = { user: User; userId: Scalars['String']; workspace: Workspace; - workspaceId: Scalars['String']; -}; - -export type WorkspaceMemberCreateNestedOneWithoutUserInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; -}; - -export type WorkspaceMemberCreateOrConnectWithoutUserInput = { - create: WorkspaceMemberCreateWithoutUserInput; - where: WorkspaceMemberWhereUniqueInput; -}; - -export type WorkspaceMemberCreateWithoutUserInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id: Scalars['String']; - updatedAt?: InputMaybe; -}; - -export type WorkspaceMemberOrderByWithRelationInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -export type WorkspaceMemberRelationFilter = { - is?: InputMaybe; - isNot?: InputMaybe; -}; - -export type WorkspaceMemberUpdateOneWithoutUserNestedInput = { - connect?: InputMaybe; - connectOrCreate?: InputMaybe; - create?: InputMaybe; - delete?: InputMaybe; - disconnect?: InputMaybe; - update?: InputMaybe; - upsert?: InputMaybe; -}; - -export type WorkspaceMemberUpdateWithoutUserInput = { - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type WorkspaceMemberUpsertWithoutUserInput = { - create: WorkspaceMemberCreateWithoutUserInput; - update: WorkspaceMemberUpdateWithoutUserInput; -}; - -export type WorkspaceMemberWhereInput = { - AND?: InputMaybe>; - NOT?: InputMaybe>; - OR?: InputMaybe>; - createdAt?: InputMaybe; - deletedAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - user?: InputMaybe; - userId?: InputMaybe; -}; - -export type WorkspaceMemberWhereUniqueInput = { - id?: InputMaybe; - userId?: InputMaybe; }; export type GetCompaniesQueryVariables = Exact<{ @@ -2174,7 +1989,7 @@ export type SearchCompanyQueryQueryHookResult = ReturnType; export type SearchCompanyQueryQueryResult = Apollo.QueryResult; export const GetCurrentUserDocument = gql` - query getCurrentUser($uuid: String) { + query GetCurrentUser($uuid: String) { users: findManyUser(where: {id: {equals: $uuid}}) { id email diff --git a/infra/dev/Makefile b/infra/dev/Makefile index 43b6f364f..f63d69ccc 100644 --- a/infra/dev/Makefile +++ b/infra/dev/Makefile @@ -31,8 +31,6 @@ server-start: server-prisma-generate: @docker-compose exec twenty-dev sh -c "cd /app/server && npm run prisma:generate" - @echo "Linting generated files..." - @docker-compose exec twenty-dev sh -c "cd /app/server && npm run prisma:lint" server-prisma-migrate: @docker-compose exec twenty-dev sh -c "cd /app/server && npm run prisma:migrate" diff --git a/server/package.json b/server/package.json index f94a38884..4e0a13506 100644 --- a/server/package.json +++ b/server/package.json @@ -19,10 +19,9 @@ "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "jest --config ./test/jest-e2e.json", - "prisma:generate": "npx prisma generate", + "prisma:generate": "npx prisma generate && eslint \"src/api/@generated/**\" --fix", "prisma:migrate": "npx prisma migrate deploy", - "prisma:seed": "npx prisma db seed", - "prisma:lint": "eslint \"src/api/@generated/**\" --fix" + "prisma:seed": "npx prisma db seed" }, "dependencies": { "@nestjs/apollo": "^11.0.5", diff --git a/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.output.ts b/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.output.ts index b89394832..eaf1d0500 100644 --- a/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.output.ts +++ b/server/src/api/@generated/comment-thread/comment-thread-count-aggregate.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CommentThreadCountAggregate { @@ -16,7 +17,7 @@ export class CommentThreadCountAggregate { @Field(() => Int, { nullable: false }) deletedAt!: number; - @Field(() => Int, { nullable: false }) + @HideField() workspaceId!: number; @Field(() => Int, { nullable: false }) diff --git a/server/src/api/@generated/comment-thread/comment-thread-group-by.output.ts b/server/src/api/@generated/comment-thread/comment-thread-group-by.output.ts index 4c2e3879a..0ce1092e6 100644 --- a/server/src/api/@generated/comment-thread/comment-thread-group-by.output.ts +++ b/server/src/api/@generated/comment-thread/comment-thread-group-by.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { CommentThreadCountAggregate } from './comment-thread-count-aggregate.output'; import { CommentThreadMinAggregate } from './comment-thread-min-aggregate.output'; import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output'; @@ -18,7 +19,7 @@ export class CommentThreadGroupBy { @Field(() => Date, { nullable: true }) deletedAt?: Date | string; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => CommentThreadCountAggregate, { nullable: true }) diff --git a/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.output.ts b/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.output.ts index ea2561d69..b61bb5f8a 100644 --- a/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.output.ts +++ b/server/src/api/@generated/comment-thread/comment-thread-max-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CommentThreadMaxAggregate { @@ -15,6 +16,6 @@ export class CommentThreadMaxAggregate { @Field(() => Date, { nullable: true }) deletedAt?: Date | string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.output.ts b/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.output.ts index ddc05c1b7..7efb906f9 100644 --- a/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.output.ts +++ b/server/src/api/@generated/comment-thread/comment-thread-min-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CommentThreadMinAggregate { @@ -15,6 +16,6 @@ export class CommentThreadMinAggregate { @Field(() => Date, { nullable: true }) deletedAt?: Date | string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/comment-thread/comment-thread.model.ts b/server/src/api/@generated/comment-thread/comment-thread.model.ts index fdce00899..64430a246 100644 --- a/server/src/api/@generated/comment-thread/comment-thread.model.ts +++ b/server/src/api/@generated/comment-thread/comment-thread.model.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { CommentThreadTarget } from '../comment-thread-target/comment-thread-target.model'; import { Comment } from '../comment/comment.model'; import { Workspace } from '../workspace/workspace.model'; @@ -20,7 +21,7 @@ export class CommentThread { @Field(() => Date, { nullable: true }) deletedAt!: Date | null; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => [CommentThreadTarget], { nullable: true }) @@ -29,7 +30,7 @@ export class CommentThread { @Field(() => [Comment], { nullable: true }) comments?: Array; - @Field(() => Workspace, { nullable: false }) + @HideField() workspace?: Workspace; @Field(() => CommentThreadCount, { nullable: false }) diff --git a/server/src/api/@generated/comment/comment-count-aggregate.output.ts b/server/src/api/@generated/comment/comment-count-aggregate.output.ts index f4b6b7ce5..4f9132db3 100644 --- a/server/src/api/@generated/comment/comment-count-aggregate.output.ts +++ b/server/src/api/@generated/comment/comment-count-aggregate.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CommentCountAggregate { @@ -25,7 +26,7 @@ export class CommentCountAggregate { @Field(() => Int, { nullable: false }) commentThreadId!: number; - @Field(() => Int, { nullable: false }) + @HideField() workspaceId!: number; @Field(() => Int, { nullable: false }) diff --git a/server/src/api/@generated/comment/comment-group-by.output.ts b/server/src/api/@generated/comment/comment-group-by.output.ts index 79195d633..8c91db502 100644 --- a/server/src/api/@generated/comment/comment-group-by.output.ts +++ b/server/src/api/@generated/comment/comment-group-by.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { CommentCountAggregate } from './comment-count-aggregate.output'; import { CommentMinAggregate } from './comment-min-aggregate.output'; import { CommentMaxAggregate } from './comment-max-aggregate.output'; @@ -27,7 +28,7 @@ export class CommentGroupBy { @Field(() => String, { nullable: false }) commentThreadId!: string; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => CommentCountAggregate, { nullable: true }) diff --git a/server/src/api/@generated/comment/comment-max-aggregate.output.ts b/server/src/api/@generated/comment/comment-max-aggregate.output.ts index 2ecb7020c..9327b8340 100644 --- a/server/src/api/@generated/comment/comment-max-aggregate.output.ts +++ b/server/src/api/@generated/comment/comment-max-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CommentMaxAggregate { @@ -24,6 +25,6 @@ export class CommentMaxAggregate { @Field(() => String, { nullable: true }) commentThreadId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/comment/comment-min-aggregate.output.ts b/server/src/api/@generated/comment/comment-min-aggregate.output.ts index 382e399fd..2e0c4965a 100644 --- a/server/src/api/@generated/comment/comment-min-aggregate.output.ts +++ b/server/src/api/@generated/comment/comment-min-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CommentMinAggregate { @@ -24,6 +25,6 @@ export class CommentMinAggregate { @Field(() => String, { nullable: true }) commentThreadId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/comment/comment.model.ts b/server/src/api/@generated/comment/comment.model.ts index 7b933d524..79c5968bf 100644 --- a/server/src/api/@generated/comment/comment.model.ts +++ b/server/src/api/@generated/comment/comment.model.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { User } from '../user/user.model'; import { CommentThread } from '../comment-thread/comment-thread.model'; import { Workspace } from '../workspace/workspace.model'; @@ -28,7 +29,7 @@ export class Comment { @Field(() => String, { nullable: false }) commentThreadId!: string; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => User, { nullable: false }) @@ -37,6 +38,6 @@ export class Comment { @Field(() => CommentThread, { nullable: false }) commentThread?: CommentThread; - @Field(() => Workspace, { nullable: false }) + @HideField() workspace?: Workspace; } diff --git a/server/src/api/@generated/company/company-count-aggregate.output.ts b/server/src/api/@generated/company/company-count-aggregate.output.ts index 4e1c2d2c6..bad31b2c2 100644 --- a/server/src/api/@generated/company/company-count-aggregate.output.ts +++ b/server/src/api/@generated/company/company-count-aggregate.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CompanyCountAggregate { @@ -31,7 +32,7 @@ export class CompanyCountAggregate { @Field(() => Int, { nullable: false }) accountOwnerId!: number; - @Field(() => Int, { nullable: false }) + @HideField() workspaceId!: number; @Field(() => Int, { nullable: false }) diff --git a/server/src/api/@generated/company/company-group-by.output.ts b/server/src/api/@generated/company/company-group-by.output.ts index 906bcea85..0a19350ec 100644 --- a/server/src/api/@generated/company/company-group-by.output.ts +++ b/server/src/api/@generated/company/company-group-by.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { CompanyCountAggregate } from './company-count-aggregate.output'; import { CompanyAvgAggregate } from './company-avg-aggregate.output'; import { CompanySumAggregate } from './company-sum-aggregate.output'; @@ -36,7 +37,7 @@ export class CompanyGroupBy { @Field(() => String, { nullable: true }) accountOwnerId?: string; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => CompanyCountAggregate, { nullable: true }) diff --git a/server/src/api/@generated/company/company-max-aggregate.output.ts b/server/src/api/@generated/company/company-max-aggregate.output.ts index 47a53f33c..872519b7a 100644 --- a/server/src/api/@generated/company/company-max-aggregate.output.ts +++ b/server/src/api/@generated/company/company-max-aggregate.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CompanyMaxAggregate { @@ -31,6 +32,6 @@ export class CompanyMaxAggregate { @Field(() => String, { nullable: true }) accountOwnerId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/company/company-min-aggregate.output.ts b/server/src/api/@generated/company/company-min-aggregate.output.ts index 44df997af..8a5eae0fd 100644 --- a/server/src/api/@generated/company/company-min-aggregate.output.ts +++ b/server/src/api/@generated/company/company-min-aggregate.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class CompanyMinAggregate { @@ -31,6 +32,6 @@ export class CompanyMinAggregate { @Field(() => String, { nullable: true }) accountOwnerId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/company/company.model.ts b/server/src/api/@generated/company/company.model.ts index 13fa9fe73..f369c35e4 100644 --- a/server/src/api/@generated/company/company.model.ts +++ b/server/src/api/@generated/company/company.model.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { User } from '../user/user.model'; import { Person } from '../person/person.model'; import { Workspace } from '../workspace/workspace.model'; @@ -36,7 +37,7 @@ export class Company { @Field(() => String, { nullable: true }) accountOwnerId!: string | null; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => User, { nullable: true }) @@ -45,7 +46,7 @@ export class Company { @Field(() => [Person], { nullable: true }) people?: Array; - @Field(() => Workspace, { nullable: false }) + @HideField() workspace?: Workspace; @Field(() => CompanyCount, { nullable: false }) diff --git a/server/src/api/@generated/person/person-count-aggregate.output.ts b/server/src/api/@generated/person/person-count-aggregate.output.ts index 0a460eace..988fd988f 100644 --- a/server/src/api/@generated/person/person-count-aggregate.output.ts +++ b/server/src/api/@generated/person/person-count-aggregate.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class PersonCountAggregate { @@ -34,7 +35,7 @@ export class PersonCountAggregate { @Field(() => Int, { nullable: false }) companyId!: number; - @Field(() => Int, { nullable: false }) + @HideField() workspaceId!: number; @Field(() => Int, { nullable: false }) diff --git a/server/src/api/@generated/person/person-group-by.output.ts b/server/src/api/@generated/person/person-group-by.output.ts index 4203b9b81..ade98b7e3 100644 --- a/server/src/api/@generated/person/person-group-by.output.ts +++ b/server/src/api/@generated/person/person-group-by.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { PersonCountAggregate } from './person-count-aggregate.output'; import { PersonMinAggregate } from './person-min-aggregate.output'; import { PersonMaxAggregate } from './person-max-aggregate.output'; @@ -36,7 +37,7 @@ export class PersonGroupBy { @Field(() => String, { nullable: true }) companyId?: string; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => PersonCountAggregate, { nullable: true }) diff --git a/server/src/api/@generated/person/person-max-aggregate.output.ts b/server/src/api/@generated/person/person-max-aggregate.output.ts index 74d23ccc4..da44c3c28 100644 --- a/server/src/api/@generated/person/person-max-aggregate.output.ts +++ b/server/src/api/@generated/person/person-max-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class PersonMaxAggregate { @@ -33,6 +34,6 @@ export class PersonMaxAggregate { @Field(() => String, { nullable: true }) companyId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/person/person-min-aggregate.output.ts b/server/src/api/@generated/person/person-min-aggregate.output.ts index 1c76aac0b..155e325bd 100644 --- a/server/src/api/@generated/person/person-min-aggregate.output.ts +++ b/server/src/api/@generated/person/person-min-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class PersonMinAggregate { @@ -33,6 +34,6 @@ export class PersonMinAggregate { @Field(() => String, { nullable: true }) companyId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/person/person.model.ts b/server/src/api/@generated/person/person.model.ts index 1fa317fa8..d775aa9de 100644 --- a/server/src/api/@generated/person/person.model.ts +++ b/server/src/api/@generated/person/person.model.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { Company } from '../company/company.model'; import { Workspace } from '../workspace/workspace.model'; @@ -36,12 +37,12 @@ export class Person { @Field(() => String, { nullable: true }) companyId!: string | null; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => Company, { nullable: true }) company?: Company | null; - @Field(() => Workspace, { nullable: false }) + @HideField() workspace?: Workspace; } diff --git a/server/src/api/@generated/pipeline-association/aggregate-pipeline-association.output.ts b/server/src/api/@generated/pipeline-association/aggregate-pipeline-association.output.ts new file mode 100644 index 000000000..47b32c0e9 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/aggregate-pipeline-association.output.ts @@ -0,0 +1,17 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineAssociationCountAggregate } from './pipeline-association-count-aggregate.output'; +import { PipelineAssociationMinAggregate } from './pipeline-association-min-aggregate.output'; +import { PipelineAssociationMaxAggregate } from './pipeline-association-max-aggregate.output'; + +@ObjectType() +export class AggregatePipelineAssociation { + @Field(() => PipelineAssociationCountAggregate, { nullable: true }) + _count?: PipelineAssociationCountAggregate; + + @Field(() => PipelineAssociationMinAggregate, { nullable: true }) + _min?: PipelineAssociationMinAggregate; + + @Field(() => PipelineAssociationMaxAggregate, { nullable: true }) + _max?: PipelineAssociationMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline-association/create-many-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/create-many-pipeline-association.args.ts new file mode 100644 index 000000000..466188b5c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/create-many-pipeline-association.args.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationCreateManyInput } from './pipeline-association-create-many.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateManyPipelineAssociationArgs { + @Field(() => [PipelineAssociationCreateManyInput], { nullable: false }) + @Type(() => PipelineAssociationCreateManyInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-association/create-one-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/create-one-pipeline-association.args.ts new file mode 100644 index 000000000..1ad895e5c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/create-one-pipeline-association.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationCreateInput } from './pipeline-association-create.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateOnePipelineAssociationArgs { + @Field(() => PipelineAssociationCreateInput, { nullable: false }) + @Type(() => PipelineAssociationCreateInput) + data!: PipelineAssociationCreateInput; +} diff --git a/server/src/api/@generated/pipeline-association/delete-many-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/delete-many-pipeline-association.args.ts new file mode 100644 index 000000000..178dbde69 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/delete-many-pipeline-association.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteManyPipelineAssociationArgs { + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + @Type(() => PipelineAssociationWhereInput) + where?: PipelineAssociationWhereInput; +} diff --git a/server/src/api/@generated/pipeline-association/delete-one-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/delete-one-pipeline-association.args.ts new file mode 100644 index 000000000..cae80f6b4 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/delete-one-pipeline-association.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteOnePipelineAssociationArgs { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-association/find-first-pipeline-association-or-throw.args.ts b/server/src/api/@generated/pipeline-association/find-first-pipeline-association-or-throw.args.ts new file mode 100644 index 000000000..214c509ec --- /dev/null +++ b/server/src/api/@generated/pipeline-association/find-first-pipeline-association-or-throw.args.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineAssociationOrThrowArgs { + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + @Type(() => PipelineAssociationWhereInput) + where?: PipelineAssociationWhereInput; + + @Field(() => [PipelineAssociationOrderByWithRelationInput], { + nullable: true, + }) + orderBy?: Array; + + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: true }) + cursor?: PipelineAssociationWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/find-first-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/find-first-pipeline-association.args.ts new file mode 100644 index 000000000..2b8c23fa2 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/find-first-pipeline-association.args.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineAssociationArgs { + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + @Type(() => PipelineAssociationWhereInput) + where?: PipelineAssociationWhereInput; + + @Field(() => [PipelineAssociationOrderByWithRelationInput], { + nullable: true, + }) + orderBy?: Array; + + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: true }) + cursor?: PipelineAssociationWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/find-many-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/find-many-pipeline-association.args.ts new file mode 100644 index 000000000..d04a7a93c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/find-many-pipeline-association.args.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum'; + +@ArgsType() +export class FindManyPipelineAssociationArgs { + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + @Type(() => PipelineAssociationWhereInput) + where?: PipelineAssociationWhereInput; + + @Field(() => [PipelineAssociationOrderByWithRelationInput], { + nullable: true, + }) + orderBy?: Array; + + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: true }) + cursor?: PipelineAssociationWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/find-unique-pipeline-association-or-throw.args.ts b/server/src/api/@generated/pipeline-association/find-unique-pipeline-association-or-throw.args.ts new file mode 100644 index 000000000..18b0690a7 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/find-unique-pipeline-association-or-throw.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineAssociationOrThrowArgs { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-association/find-unique-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/find-unique-pipeline-association.args.ts new file mode 100644 index 000000000..be2ae4b7d --- /dev/null +++ b/server/src/api/@generated/pipeline-association/find-unique-pipeline-association.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineAssociationArgs { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-aggregate.args.ts b/server/src/api/@generated/pipeline-association/pipeline-association-aggregate.args.ts new file mode 100644 index 000000000..c06bc00de --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-aggregate.args.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineAssociationCountAggregateInput } from './pipeline-association-count-aggregate.input'; +import { PipelineAssociationMinAggregateInput } from './pipeline-association-min-aggregate.input'; +import { PipelineAssociationMaxAggregateInput } from './pipeline-association-max-aggregate.input'; + +@ArgsType() +export class PipelineAssociationAggregateArgs { + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + @Type(() => PipelineAssociationWhereInput) + where?: PipelineAssociationWhereInput; + + @Field(() => [PipelineAssociationOrderByWithRelationInput], { + nullable: true, + }) + orderBy?: Array; + + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: true }) + cursor?: PipelineAssociationWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineAssociationCountAggregateInput, { nullable: true }) + _count?: PipelineAssociationCountAggregateInput; + + @Field(() => PipelineAssociationMinAggregateInput, { nullable: true }) + _min?: PipelineAssociationMinAggregateInput; + + @Field(() => PipelineAssociationMaxAggregateInput, { nullable: true }) + _max?: PipelineAssociationMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.input.ts new file mode 100644 index 000000000..39bdd9378 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineAssociationCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineStageId?: true; + + @Field(() => Boolean, { nullable: true }) + associableType?: true; + + @Field(() => Boolean, { nullable: true }) + associableId?: true; + + @Field(() => Boolean, { nullable: true }) + _all?: true; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.output.ts b/server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.output.ts new file mode 100644 index 000000000..5909dce4a --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-count-aggregate.output.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { Int } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineAssociationCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; + + @Field(() => Int, { nullable: false }) + createdAt!: number; + + @Field(() => Int, { nullable: false }) + updatedAt!: number; + + @Field(() => Int, { nullable: false }) + deletedAt!: number; + + @Field(() => Int, { nullable: false }) + pipelineId!: number; + + @Field(() => Int, { nullable: false }) + pipelineStageId!: number; + + @Field(() => Int, { nullable: false }) + associableType!: number; + + @Field(() => Int, { nullable: false }) + associableId!: number; + + @Field(() => Int, { nullable: false }) + _all!: number; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-count-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-count-order-by-aggregate.input.ts new file mode 100644 index 000000000..87cf07fbc --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-count-order-by-aggregate.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineAssociationCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-input-envelope.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-input-envelope.input.ts new file mode 100644 index 000000000..06c53970c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-input-envelope.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateManyPipelineInput } from './pipeline-association-create-many-pipeline.input'; +import { Type } from 'class-transformer'; + +@InputType() +export class PipelineAssociationCreateManyPipelineInputEnvelope { + @Field(() => [PipelineAssociationCreateManyPipelineInput], { + nullable: false, + }) + @Type(() => PipelineAssociationCreateManyPipelineInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage-input-envelope.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage-input-envelope.input.ts new file mode 100644 index 000000000..2a6292be8 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage-input-envelope.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateManyPipelineStageInput } from './pipeline-association-create-many-pipeline-stage.input'; +import { Type } from 'class-transformer'; + +@InputType() +export class PipelineAssociationCreateManyPipelineStageInputEnvelope { + @Field(() => [PipelineAssociationCreateManyPipelineStageInput], { + nullable: false, + }) + @Type(() => PipelineAssociationCreateManyPipelineStageInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage.input.ts new file mode 100644 index 000000000..3dd1b225f --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline-stage.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class PipelineAssociationCreateManyPipelineStageInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline.input.ts new file mode 100644 index 000000000..d74e9631a --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-many-pipeline.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class PipelineAssociationCreateManyPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-many.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-many.input.ts new file mode 100644 index 000000000..3d677eb32 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-many.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class PipelineAssociationCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input.ts new file mode 100644 index 000000000..7bfa774f8 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input'; +import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; + +@InputType() +export class PipelineAssociationCreateNestedManyWithoutPipelineStageInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline.input.ts new file mode 100644 index 000000000..882a9abdb --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-nested-many-without-pipeline.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input'; +import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; + +@InputType() +export class PipelineAssociationCreateNestedManyWithoutPipelineInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline-stage.input.ts new file mode 100644 index 000000000..c37e5d69c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline-stage.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input'; + +@InputType() +export class PipelineAssociationCreateOrConnectWithoutPipelineStageInput { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; + + @Field(() => PipelineAssociationCreateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineStageInput) + create!: PipelineAssociationCreateWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline.input.ts new file mode 100644 index 000000000..f24076584 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-or-connect-without-pipeline.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input'; + +@InputType() +export class PipelineAssociationCreateOrConnectWithoutPipelineInput { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; + + @Field(() => PipelineAssociationCreateWithoutPipelineInput, { + nullable: false, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineInput) + create!: PipelineAssociationCreateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline-stage.input.ts new file mode 100644 index 000000000..6f6db8ec7 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline-stage.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { PipelineCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-associations.input'; + +@InputType() +export class PipelineAssociationCreateWithoutPipelineStageInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineAssociationsInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline.input.ts new file mode 100644 index 000000000..dee273522 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create-without-pipeline.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { PipelineStageCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input'; + +@InputType() +export class PipelineAssociationCreateWithoutPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineStageCreateNestedOneWithoutPipelineAssociationsInput, { + nullable: false, + }) + pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-create.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-create.input.ts new file mode 100644 index 000000000..b44d1b511 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-create.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { PipelineCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-associations.input'; +import { PipelineStageCreateNestedOneWithoutPipelineAssociationsInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input'; + +@InputType() +export class PipelineAssociationCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineAssociationsInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineAssociationsInput; + + @Field(() => PipelineStageCreateNestedOneWithoutPipelineAssociationsInput, { + nullable: false, + }) + pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-group-by.args.ts b/server/src/api/@generated/pipeline-association/pipeline-association-group-by.args.ts new file mode 100644 index 000000000..8e5616501 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-group-by.args.ts @@ -0,0 +1,46 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationOrderByWithAggregationInput } from './pipeline-association-order-by-with-aggregation.input'; +import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum'; +import { PipelineAssociationScalarWhereWithAggregatesInput } from './pipeline-association-scalar-where-with-aggregates.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineAssociationCountAggregateInput } from './pipeline-association-count-aggregate.input'; +import { PipelineAssociationMinAggregateInput } from './pipeline-association-min-aggregate.input'; +import { PipelineAssociationMaxAggregateInput } from './pipeline-association-max-aggregate.input'; + +@ArgsType() +export class PipelineAssociationGroupByArgs { + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + @Type(() => PipelineAssociationWhereInput) + where?: PipelineAssociationWhereInput; + + @Field(() => [PipelineAssociationOrderByWithAggregationInput], { + nullable: true, + }) + orderBy?: Array; + + @Field(() => [PipelineAssociationScalarFieldEnum], { nullable: false }) + by!: Array; + + @Field(() => PipelineAssociationScalarWhereWithAggregatesInput, { + nullable: true, + }) + having?: PipelineAssociationScalarWhereWithAggregatesInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineAssociationCountAggregateInput, { nullable: true }) + _count?: PipelineAssociationCountAggregateInput; + + @Field(() => PipelineAssociationMinAggregateInput, { nullable: true }) + _min?: PipelineAssociationMinAggregateInput; + + @Field(() => PipelineAssociationMaxAggregateInput, { nullable: true }) + _max?: PipelineAssociationMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-group-by.output.ts b/server/src/api/@generated/pipeline-association/pipeline-association-group-by.output.ts new file mode 100644 index 000000000..d78618a75 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-group-by.output.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { PipelineAssociationCountAggregate } from './pipeline-association-count-aggregate.output'; +import { PipelineAssociationMinAggregate } from './pipeline-association-min-aggregate.output'; +import { PipelineAssociationMaxAggregate } from './pipeline-association-max-aggregate.output'; + +@ObjectType() +export class PipelineAssociationGroupBy { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineAssociationCountAggregate, { nullable: true }) + _count?: PipelineAssociationCountAggregate; + + @Field(() => PipelineAssociationMinAggregate, { nullable: true }) + _min?: PipelineAssociationMinAggregate; + + @Field(() => PipelineAssociationMaxAggregate, { nullable: true }) + _max?: PipelineAssociationMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-list-relation-filter.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-list-relation-filter.input.ts new file mode 100644 index 000000000..a6756df91 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-list-relation-filter.input.ts @@ -0,0 +1,15 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; + +@InputType() +export class PipelineAssociationListRelationFilter { + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + every?: PipelineAssociationWhereInput; + + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + some?: PipelineAssociationWhereInput; + + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + none?: PipelineAssociationWhereInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.input.ts new file mode 100644 index 000000000..6f0c72879 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineAssociationMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineStageId?: true; + + @Field(() => Boolean, { nullable: true }) + associableType?: true; + + @Field(() => Boolean, { nullable: true }) + associableId?: true; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.output.ts b/server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.output.ts new file mode 100644 index 000000000..58067f861 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-max-aggregate.output.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@ObjectType() +export class PipelineAssociationMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + pipelineId?: string; + + @Field(() => String, { nullable: true }) + pipelineStageId?: string; + + @Field(() => PipelineAssociableType, { nullable: true }) + associableType?: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: true }) + associableId?: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-max-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-max-order-by-aggregate.input.ts new file mode 100644 index 000000000..b4f6fe7e3 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-max-order-by-aggregate.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineAssociationMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.input.ts new file mode 100644 index 000000000..e19efebc2 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineAssociationMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineStageId?: true; + + @Field(() => Boolean, { nullable: true }) + associableType?: true; + + @Field(() => Boolean, { nullable: true }) + associableId?: true; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.output.ts b/server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.output.ts new file mode 100644 index 000000000..a76a0eccf --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-min-aggregate.output.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@ObjectType() +export class PipelineAssociationMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + pipelineId?: string; + + @Field(() => String, { nullable: true }) + pipelineStageId?: string; + + @Field(() => PipelineAssociableType, { nullable: true }) + associableType?: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: true }) + associableId?: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-min-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-min-order-by-aggregate.input.ts new file mode 100644 index 000000000..9e37069e6 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-min-order-by-aggregate.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineAssociationMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-order-by-relation-aggregate.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-order-by-relation-aggregate.input.ts new file mode 100644 index 000000000..ac6a6e213 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-order-by-relation-aggregate.input.ts @@ -0,0 +1,9 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineAssociationOrderByRelationAggregateInput { + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-aggregation.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-aggregation.input.ts new file mode 100644 index 000000000..fa3080294 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-aggregation.input.ts @@ -0,0 +1,44 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { PipelineAssociationCountOrderByAggregateInput } from './pipeline-association-count-order-by-aggregate.input'; +import { PipelineAssociationMaxOrderByAggregateInput } from './pipeline-association-max-order-by-aggregate.input'; +import { PipelineAssociationMinOrderByAggregateInput } from './pipeline-association-min-order-by-aggregate.input'; + +@InputType() +export class PipelineAssociationOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; + + @Field(() => PipelineAssociationCountOrderByAggregateInput, { + nullable: true, + }) + _count?: PipelineAssociationCountOrderByAggregateInput; + + @Field(() => PipelineAssociationMaxOrderByAggregateInput, { nullable: true }) + _max?: PipelineAssociationMaxOrderByAggregateInput; + + @Field(() => PipelineAssociationMinOrderByAggregateInput, { nullable: true }) + _min?: PipelineAssociationMinOrderByAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-relation.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-relation.input.ts new file mode 100644 index 000000000..b41689496 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-order-by-with-relation.input.ts @@ -0,0 +1,38 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input'; +import { PipelineStageOrderByWithRelationInput } from '../pipeline-stage/pipeline-stage-order-by-with-relation.input'; + +@InputType() +export class PipelineAssociationOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; + + @Field(() => PipelineOrderByWithRelationInput, { nullable: true }) + pipeline?: PipelineOrderByWithRelationInput; + + @Field(() => PipelineStageOrderByWithRelationInput, { nullable: true }) + pipelineStage?: PipelineStageOrderByWithRelationInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-scalar-field.enum.ts b/server/src/api/@generated/pipeline-association/pipeline-association-scalar-field.enum.ts new file mode 100644 index 000000000..5dcf54e0f --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-scalar-field.enum.ts @@ -0,0 +1,17 @@ +import { registerEnumType } from '@nestjs/graphql'; + +export enum PipelineAssociationScalarFieldEnum { + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + pipelineId = 'pipelineId', + pipelineStageId = 'pipelineStageId', + associableType = 'associableType', + associableId = 'associableId', +} + +registerEnumType(PipelineAssociationScalarFieldEnum, { + name: 'PipelineAssociationScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-scalar-where-with-aggregates.input.ts new file mode 100644 index 000000000..b2b265823 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-scalar-where-with-aggregates.input.ts @@ -0,0 +1,50 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; +import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; +import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; +import { EnumPipelineAssociableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-associable-type-with-aggregates-filter.input'; + +@InputType() +export class PipelineAssociationScalarWhereWithAggregatesInput { + @Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], { + nullable: true, + }) + AND?: Array; + + @Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], { + nullable: true, + }) + OR?: Array; + + @Field(() => [PipelineAssociationScalarWhereWithAggregatesInput], { + nullable: true, + }) + NOT?: Array; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + pipelineId?: StringWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + pipelineStageId?: StringWithAggregatesFilter; + + @Field(() => EnumPipelineAssociableTypeWithAggregatesFilter, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + associableId?: StringWithAggregatesFilter; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-scalar-where.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-scalar-where.input.ts new file mode 100644 index 000000000..e8e5df65b --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-scalar-where.input.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { EnumPipelineAssociableTypeFilter } from '../prisma/enum-pipeline-associable-type-filter.input'; + +@InputType() +export class PipelineAssociationScalarWhereInput { + @Field(() => [PipelineAssociationScalarWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineAssociationScalarWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineAssociationScalarWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineId?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineStageId?: StringFilter; + + @Field(() => EnumPipelineAssociableTypeFilter, { nullable: true }) + associableType?: EnumPipelineAssociableTypeFilter; + + @Field(() => StringFilter, { nullable: true }) + associableId?: StringFilter; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input.ts new file mode 100644 index 000000000..ebf10331f --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input'; +import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; + +@InputType() +export class PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input.ts new file mode 100644 index 000000000..d61178623 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input'; +import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; + +@InputType() +export class PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline-stage.input.ts new file mode 100644 index 000000000..b83cb489e --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline-stage.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class PipelineAssociationUncheckedCreateWithoutPipelineStageInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline.input.ts new file mode 100644 index 000000000..3d5a0ddad --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create-without-pipeline.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class PipelineAssociationUncheckedCreateWithoutPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create.input.ts new file mode 100644 index 000000000..f1c12d594 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-create.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class PipelineAssociationUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-associations.input.ts new file mode 100644 index 000000000..8e8af8b5c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-associations.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; + +@InputType() +export class PipelineAssociationUncheckedUpdateManyWithoutPipelineAssociationsInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input.ts new file mode 100644 index 000000000..4a34ded9c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input.ts @@ -0,0 +1,70 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input'; +import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-association-upsert-with-where-unique-without-pipeline.input'; +import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-association-update-with-where-unique-without-pipeline.input'; +import { PipelineAssociationUpdateManyWithWhereWithoutPipelineInput } from './pipeline-association-update-many-with-where-without-pipeline.input'; +import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input'; + +@InputType() +export class PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput) + upsert?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput) + update?: Array; + + @Field(() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineInput) + updateMany?: Array; + + @Field(() => [PipelineAssociationScalarWhereInput], { nullable: true }) + @Type(() => PipelineAssociationScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input.ts new file mode 100644 index 000000000..86b1cb826 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input.ts @@ -0,0 +1,73 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input'; +import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-upsert-with-where-unique-without-pipeline-stage.input'; +import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-update-with-where-unique-without-pipeline-stage.input'; +import { PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-association-update-many-with-where-without-pipeline-stage.input'; +import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input'; + +@InputType() +export class PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field( + () => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput) + upsert?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; + + @Field( + () => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput) + update?: Array; + + @Field( + () => [PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput) + updateMany?: Array; + + @Field(() => [PipelineAssociationScalarWhereInput], { nullable: true }) + @Type(() => PipelineAssociationScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many.input.ts new file mode 100644 index 000000000..07a5e4159 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-many.input.ts @@ -0,0 +1,35 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; + +@InputType() +export class PipelineAssociationUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline-stage.input.ts new file mode 100644 index 000000000..53908554d --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline-stage.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; + +@InputType() +export class PipelineAssociationUncheckedUpdateWithoutPipelineStageInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline.input.ts new file mode 100644 index 000000000..311cd3eac --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update-without-pipeline.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; + +@InputType() +export class PipelineAssociationUncheckedUpdateWithoutPipelineInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update.input.ts new file mode 100644 index 000000000..9e05620f7 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-unchecked-update.input.ts @@ -0,0 +1,35 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; + +@InputType() +export class PipelineAssociationUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-many-mutation.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-mutation.input.ts new file mode 100644 index 000000000..13b98f495 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-mutation.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; + +@InputType() +export class PipelineAssociationUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline-stage.input.ts new file mode 100644 index 000000000..fb95228b6 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline-stage.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input'; + +@InputType() +export class PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput { + @Field(() => PipelineAssociationScalarWhereInput, { nullable: false }) + @Type(() => PipelineAssociationScalarWhereInput) + where!: PipelineAssociationScalarWhereInput; + + @Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineAssociationUpdateManyMutationInput) + data!: PipelineAssociationUpdateManyMutationInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline.input.ts new file mode 100644 index 000000000..b7ff18632 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-with-where-without-pipeline.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input'; + +@InputType() +export class PipelineAssociationUpdateManyWithWhereWithoutPipelineInput { + @Field(() => PipelineAssociationScalarWhereInput, { nullable: false }) + @Type(() => PipelineAssociationScalarWhereInput) + where!: PipelineAssociationScalarWhereInput; + + @Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineAssociationUpdateManyMutationInput) + data!: PipelineAssociationUpdateManyMutationInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-nested.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-nested.input.ts new file mode 100644 index 000000000..8d168bec1 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-nested.input.ts @@ -0,0 +1,70 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineInput } from './pipeline-association-create-or-connect-without-pipeline.input'; +import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-association-upsert-with-where-unique-without-pipeline.input'; +import { PipelineAssociationCreateManyPipelineInputEnvelope } from './pipeline-association-create-many-pipeline-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-association-update-with-where-unique-without-pipeline.input'; +import { PipelineAssociationUpdateManyWithWhereWithoutPipelineInput } from './pipeline-association-update-many-with-where-without-pipeline.input'; +import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input'; + +@InputType() +export class PipelineAssociationUpdateManyWithoutPipelineNestedInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput) + upsert?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput) + update?: Array; + + @Field(() => [PipelineAssociationUpdateManyWithWhereWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineInput) + updateMany?: Array; + + @Field(() => [PipelineAssociationScalarWhereInput], { nullable: true }) + @Type(() => PipelineAssociationScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input.ts new file mode 100644 index 000000000..75f958004 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input.ts @@ -0,0 +1,73 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateOrConnectWithoutPipelineStageInput } from './pipeline-association-create-or-connect-without-pipeline-stage.input'; +import { PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-upsert-with-where-unique-without-pipeline-stage.input'; +import { PipelineAssociationCreateManyPipelineStageInputEnvelope } from './pipeline-association-create-many-pipeline-stage-input-envelope.input'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-association-update-with-where-unique-without-pipeline-stage.input'; +import { PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-association-update-many-with-where-without-pipeline-stage.input'; +import { PipelineAssociationScalarWhereInput } from './pipeline-association-scalar-where.input'; + +@InputType() +export class PipelineAssociationUpdateManyWithoutPipelineStageNestedInput { + @Field(() => [PipelineAssociationCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineAssociationCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineAssociationCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field( + () => [PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput) + upsert?: Array; + + @Field(() => PipelineAssociationCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineAssociationCreateManyPipelineStageInputEnvelope) + createMany?: PipelineAssociationCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineAssociationWhereUniqueInput], { nullable: true }) + @Type(() => PipelineAssociationWhereUniqueInput) + connect?: Array; + + @Field( + () => [PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput) + update?: Array; + + @Field( + () => [PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineAssociationUpdateManyWithWhereWithoutPipelineStageInput) + updateMany?: Array; + + @Field(() => [PipelineAssociationScalarWhereInput], { nullable: true }) + @Type(() => PipelineAssociationScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline-stage.input.ts new file mode 100644 index 000000000..2afd574d5 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline-stage.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationUpdateWithoutPipelineStageInput } from './pipeline-association-update-without-pipeline-stage.input'; + +@InputType() +export class PipelineAssociationUpdateWithWhereUniqueWithoutPipelineStageInput { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; + + @Field(() => PipelineAssociationUpdateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineAssociationUpdateWithoutPipelineStageInput) + data!: PipelineAssociationUpdateWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline.input.ts new file mode 100644 index 000000000..ae6e2c63f --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-with-where-unique-without-pipeline.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationUpdateWithoutPipelineInput } from './pipeline-association-update-without-pipeline.input'; + +@InputType() +export class PipelineAssociationUpdateWithWhereUniqueWithoutPipelineInput { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; + + @Field(() => PipelineAssociationUpdateWithoutPipelineInput, { + nullable: false, + }) + @Type(() => PipelineAssociationUpdateWithoutPipelineInput) + data!: PipelineAssociationUpdateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline-stage.input.ts new file mode 100644 index 000000000..5ae37d7cc --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline-stage.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input'; + +@InputType() +export class PipelineAssociationUpdateWithoutPipelineStageInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput, + { nullable: true }, + ) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline.input.ts new file mode 100644 index 000000000..2ff450342 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update-without-pipeline.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; +import { PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input'; + +@InputType() +export class PipelineAssociationUpdateWithoutPipelineInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput, + { nullable: true }, + ) + pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-update.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-update.input.ts new file mode 100644 index 000000000..e9e895f81 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-update.input.ts @@ -0,0 +1,43 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineAssociableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-associable-type-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input'; +import { PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input'; + +@InputType() +export class PipelineAssociationUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineAssociableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineAssociableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput, + { nullable: true }, + ) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput; + + @Field( + () => PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput, + { nullable: true }, + ) + pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline-stage.input.ts new file mode 100644 index 000000000..c5e169090 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline-stage.input.ts @@ -0,0 +1,25 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationUpdateWithoutPipelineStageInput } from './pipeline-association-update-without-pipeline-stage.input'; +import { PipelineAssociationCreateWithoutPipelineStageInput } from './pipeline-association-create-without-pipeline-stage.input'; + +@InputType() +export class PipelineAssociationUpsertWithWhereUniqueWithoutPipelineStageInput { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; + + @Field(() => PipelineAssociationUpdateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineAssociationUpdateWithoutPipelineStageInput) + update!: PipelineAssociationUpdateWithoutPipelineStageInput; + + @Field(() => PipelineAssociationCreateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineStageInput) + create!: PipelineAssociationCreateWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline.input.ts new file mode 100644 index 000000000..cff5a107c --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-upsert-with-where-unique-without-pipeline.input.ts @@ -0,0 +1,25 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationUpdateWithoutPipelineInput } from './pipeline-association-update-without-pipeline.input'; +import { PipelineAssociationCreateWithoutPipelineInput } from './pipeline-association-create-without-pipeline.input'; + +@InputType() +export class PipelineAssociationUpsertWithWhereUniqueWithoutPipelineInput { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; + + @Field(() => PipelineAssociationUpdateWithoutPipelineInput, { + nullable: false, + }) + @Type(() => PipelineAssociationUpdateWithoutPipelineInput) + update!: PipelineAssociationUpdateWithoutPipelineInput; + + @Field(() => PipelineAssociationCreateWithoutPipelineInput, { + nullable: false, + }) + @Type(() => PipelineAssociationCreateWithoutPipelineInput) + create!: PipelineAssociationCreateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-where-unique.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-where-unique.input.ts new file mode 100644 index 000000000..583cc34de --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-where-unique.input.ts @@ -0,0 +1,8 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineAssociationWhereUniqueInput { + @Field(() => String, { nullable: true }) + id?: string; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association-where.input.ts b/server/src/api/@generated/pipeline-association/pipeline-association-where.input.ts new file mode 100644 index 000000000..9ee8f7477 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association-where.input.ts @@ -0,0 +1,50 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { EnumPipelineAssociableTypeFilter } from '../prisma/enum-pipeline-associable-type-filter.input'; +import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input'; +import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input'; + +@InputType() +export class PipelineAssociationWhereInput { + @Field(() => [PipelineAssociationWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineAssociationWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineAssociationWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineId?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineStageId?: StringFilter; + + @Field(() => EnumPipelineAssociableTypeFilter, { nullable: true }) + associableType?: EnumPipelineAssociableTypeFilter; + + @Field(() => StringFilter, { nullable: true }) + associableId?: StringFilter; + + @Field(() => PipelineRelationFilter, { nullable: true }) + pipeline?: PipelineRelationFilter; + + @Field(() => PipelineStageRelationFilter, { nullable: true }) + pipelineStage?: PipelineStageRelationFilter; +} diff --git a/server/src/api/@generated/pipeline-association/pipeline-association.model.ts b/server/src/api/@generated/pipeline-association/pipeline-association.model.ts new file mode 100644 index 000000000..ec0d03873 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/pipeline-association.model.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { ID } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { Pipeline } from '../pipeline/pipeline.model'; +import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; + +@ObjectType() +export class PipelineAssociation { + @Field(() => ID, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date; + + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineAssociableType, { nullable: false }) + associableType!: keyof typeof PipelineAssociableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => Pipeline, { nullable: false }) + pipeline?: Pipeline; + + @Field(() => PipelineStage, { nullable: false }) + pipelineStage?: PipelineStage; +} diff --git a/server/src/api/@generated/pipeline-association/update-many-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/update-many-pipeline-association.args.ts new file mode 100644 index 000000000..5b5d97a65 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/update-many-pipeline-association.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationUpdateManyMutationInput } from './pipeline-association-update-many-mutation.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationWhereInput } from './pipeline-association-where.input'; + +@ArgsType() +export class UpdateManyPipelineAssociationArgs { + @Field(() => PipelineAssociationUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineAssociationUpdateManyMutationInput) + data!: PipelineAssociationUpdateManyMutationInput; + + @Field(() => PipelineAssociationWhereInput, { nullable: true }) + @Type(() => PipelineAssociationWhereInput) + where?: PipelineAssociationWhereInput; +} diff --git a/server/src/api/@generated/pipeline-association/update-one-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/update-one-pipeline-association.args.ts new file mode 100644 index 000000000..69527a374 --- /dev/null +++ b/server/src/api/@generated/pipeline-association/update-one-pipeline-association.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationUpdateInput } from './pipeline-association-update.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; + +@ArgsType() +export class UpdateOnePipelineAssociationArgs { + @Field(() => PipelineAssociationUpdateInput, { nullable: false }) + @Type(() => PipelineAssociationUpdateInput) + data!: PipelineAssociationUpdateInput; + + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-association/upsert-one-pipeline-association.args.ts b/server/src/api/@generated/pipeline-association/upsert-one-pipeline-association.args.ts new file mode 100644 index 000000000..f5b76e70b --- /dev/null +++ b/server/src/api/@generated/pipeline-association/upsert-one-pipeline-association.args.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineAssociationCreateInput } from './pipeline-association-create.input'; +import { PipelineAssociationUpdateInput } from './pipeline-association-update.input'; + +@ArgsType() +export class UpsertOnePipelineAssociationArgs { + @Field(() => PipelineAssociationWhereUniqueInput, { nullable: false }) + @Type(() => PipelineAssociationWhereUniqueInput) + where!: PipelineAssociationWhereUniqueInput; + + @Field(() => PipelineAssociationCreateInput, { nullable: false }) + @Type(() => PipelineAssociationCreateInput) + create!: PipelineAssociationCreateInput; + + @Field(() => PipelineAssociationUpdateInput, { nullable: false }) + @Type(() => PipelineAssociationUpdateInput) + update!: PipelineAssociationUpdateInput; +} diff --git a/server/src/api/@generated/pipeline-stage/aggregate-pipeline-stage.output.ts b/server/src/api/@generated/pipeline-stage/aggregate-pipeline-stage.output.ts new file mode 100644 index 000000000..f9ef7e27d --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/aggregate-pipeline-stage.output.ts @@ -0,0 +1,17 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output'; +import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output'; +import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output'; + +@ObjectType() +export class AggregatePipelineStage { + @Field(() => PipelineStageCountAggregate, { nullable: true }) + _count?: PipelineStageCountAggregate; + + @Field(() => PipelineStageMinAggregate, { nullable: true }) + _min?: PipelineStageMinAggregate; + + @Field(() => PipelineStageMaxAggregate, { nullable: true }) + _max?: PipelineStageMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline-stage/create-many-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/create-many-pipeline-stage.args.ts new file mode 100644 index 000000000..31470712a --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/create-many-pipeline-stage.args.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageCreateManyInput } from './pipeline-stage-create-many.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateManyPipelineStageArgs { + @Field(() => [PipelineStageCreateManyInput], { nullable: false }) + @Type(() => PipelineStageCreateManyInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-stage/create-one-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/create-one-pipeline-stage.args.ts new file mode 100644 index 000000000..c939d40b8 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/create-one-pipeline-stage.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageCreateInput } from './pipeline-stage-create.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateOnePipelineStageArgs { + @Field(() => PipelineStageCreateInput, { nullable: false }) + @Type(() => PipelineStageCreateInput) + data!: PipelineStageCreateInput; +} diff --git a/server/src/api/@generated/pipeline-stage/delete-many-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/delete-many-pipeline-stage.args.ts new file mode 100644 index 000000000..fbb783efa --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/delete-many-pipeline-stage.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteManyPipelineStageArgs { + @Field(() => PipelineStageWhereInput, { nullable: true }) + @Type(() => PipelineStageWhereInput) + where?: PipelineStageWhereInput; +} diff --git a/server/src/api/@generated/pipeline-stage/delete-one-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/delete-one-pipeline-stage.args.ts new file mode 100644 index 000000000..b12fa710d --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/delete-one-pipeline-stage.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteOnePipelineStageArgs { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-stage/find-first-pipeline-stage-or-throw.args.ts b/server/src/api/@generated/pipeline-stage/find-first-pipeline-stage-or-throw.args.ts new file mode 100644 index 000000000..5477d1daf --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/find-first-pipeline-stage-or-throw.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; +import { Type } from 'class-transformer'; +import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineStageOrThrowArgs { + @Field(() => PipelineStageWhereInput, { nullable: true }) + @Type(() => PipelineStageWhereInput) + where?: PipelineStageWhereInput; + + @Field(() => [PipelineStageOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + cursor?: PipelineStageWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineStageScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/find-first-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/find-first-pipeline-stage.args.ts new file mode 100644 index 000000000..291a862ec --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/find-first-pipeline-stage.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; +import { Type } from 'class-transformer'; +import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineStageArgs { + @Field(() => PipelineStageWhereInput, { nullable: true }) + @Type(() => PipelineStageWhereInput) + where?: PipelineStageWhereInput; + + @Field(() => [PipelineStageOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + cursor?: PipelineStageWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineStageScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/find-many-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/find-many-pipeline-stage.args.ts new file mode 100644 index 000000000..48bcf5e43 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/find-many-pipeline-stage.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; +import { Type } from 'class-transformer'; +import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; + +@ArgsType() +export class FindManyPipelineStageArgs { + @Field(() => PipelineStageWhereInput, { nullable: true }) + @Type(() => PipelineStageWhereInput) + where?: PipelineStageWhereInput; + + @Field(() => [PipelineStageOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + cursor?: PipelineStageWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineStageScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage-or-throw.args.ts b/server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage-or-throw.args.ts new file mode 100644 index 000000000..48a277c4f --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage-or-throw.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineStageOrThrowArgs { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage.args.ts new file mode 100644 index 000000000..9aa283989 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/find-unique-pipeline-stage.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineStageArgs { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-aggregate.args.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-aggregate.args.ts new file mode 100644 index 000000000..99315d670 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-aggregate.args.ts @@ -0,0 +1,38 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; +import { Type } from 'class-transformer'; +import { PipelineStageOrderByWithRelationInput } from './pipeline-stage-order-by-with-relation.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input'; +import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input'; +import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input'; + +@ArgsType() +export class PipelineStageAggregateArgs { + @Field(() => PipelineStageWhereInput, { nullable: true }) + @Type(() => PipelineStageWhereInput) + where?: PipelineStageWhereInput; + + @Field(() => [PipelineStageOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + cursor?: PipelineStageWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineStageCountAggregateInput, { nullable: true }) + _count?: PipelineStageCountAggregateInput; + + @Field(() => PipelineStageMinAggregateInput, { nullable: true }) + _min?: PipelineStageMinAggregateInput; + + @Field(() => PipelineStageMaxAggregateInput, { nullable: true }) + _max?: PipelineStageMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.input.ts new file mode 100644 index 000000000..4313bdfe0 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + name?: true; + + @Field(() => Boolean, { nullable: true }) + type?: true; + + @Field(() => Boolean, { nullable: true }) + color?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @HideField() + workspaceId?: true; + + @Field(() => Boolean, { nullable: true }) + _all?: true; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.output.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.output.ts new file mode 100644 index 000000000..9d65a417b --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-count-aggregate.output.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineStageCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; + + @Field(() => Int, { nullable: false }) + createdAt!: number; + + @Field(() => Int, { nullable: false }) + updatedAt!: number; + + @Field(() => Int, { nullable: false }) + deletedAt!: number; + + @Field(() => Int, { nullable: false }) + name!: number; + + @Field(() => Int, { nullable: false }) + type!: number; + + @Field(() => Int, { nullable: false }) + color!: number; + + @Field(() => Int, { nullable: false }) + pipelineId!: number; + + @HideField() + workspaceId!: number; + + @Field(() => Int, { nullable: false }) + _all!: number; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-count-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-count-order-by-aggregate.input.ts new file mode 100644 index 000000000..3d137b2a7 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-count-order-by-aggregate.input.ts @@ -0,0 +1,34 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + type?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + color?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts new file mode 100644 index 000000000..c2c9f55ca --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts @@ -0,0 +1,9 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { Int } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineStageCount { + @Field(() => Int, { nullable: false }) + pipelineAssociations?: number; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline-input-envelope.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline-input-envelope.input.ts new file mode 100644 index 000000000..ae91ca530 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline-input-envelope.input.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateManyPipelineInput } from './pipeline-stage-create-many-pipeline.input'; +import { Type } from 'class-transformer'; + +@InputType() +export class PipelineStageCreateManyPipelineInputEnvelope { + @Field(() => [PipelineStageCreateManyPipelineInput], { nullable: false }) + @Type(() => PipelineStageCreateManyPipelineInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline.input.ts new file mode 100644 index 000000000..302227951 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-pipeline.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCreateManyPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @HideField() + workspaceId!: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace-input-envelope.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace-input-envelope.input.ts new file mode 100644 index 000000000..65f7ab8af --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace-input-envelope.input.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateManyWorkspaceInput } from './pipeline-stage-create-many-workspace.input'; +import { Type } from 'class-transformer'; + +@InputType() +export class PipelineStageCreateManyWorkspaceInputEnvelope { + @Field(() => [PipelineStageCreateManyWorkspaceInput], { nullable: false }) + @Type(() => PipelineStageCreateManyWorkspaceInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace.input.ts new file mode 100644 index 000000000..844fbb92a --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many-workspace.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCreateManyWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many.input.ts new file mode 100644 index 000000000..5b5d71351 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-many.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @HideField() + workspaceId!: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input.ts new file mode 100644 index 000000000..e43be6b60 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input.ts @@ -0,0 +1,28 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; +import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; + +@InputType() +export class PipelineStageCreateNestedManyWithoutPipelineInput { + @Field(() => [PipelineStageCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => PipelineStageCreateManyPipelineInputEnvelope, { nullable: true }) + @Type(() => PipelineStageCreateManyPipelineInputEnvelope) + createMany?: PipelineStageCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input.ts new file mode 100644 index 000000000..c6c797983 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; +import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; + +@InputType() +export class PipelineStageCreateNestedManyWithoutWorkspaceInput { + @Field(() => [PipelineStageCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) + createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input.ts new file mode 100644 index 000000000..899fcb2fc --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-associations.input.ts @@ -0,0 +1,25 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineAssociationsInput } from './pipeline-stage-create-without-pipeline-associations.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineAssociationsInput } from './pipeline-stage-create-or-connect-without-pipeline-associations.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; + +@InputType() +export class PipelineStageCreateNestedOneWithoutPipelineAssociationsInput { + @Field(() => PipelineStageCreateWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateWithoutPipelineAssociationsInput) + create?: PipelineStageCreateWithoutPipelineAssociationsInput; + + @Field(() => PipelineStageCreateOrConnectWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineAssociationsInput) + connectOrCreate?: PipelineStageCreateOrConnectWithoutPipelineAssociationsInput; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: PipelineStageWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-associations.input.ts new file mode 100644 index 000000000..9069383b9 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-associations.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateWithoutPipelineAssociationsInput } from './pipeline-stage-create-without-pipeline-associations.input'; + +@InputType() +export class PipelineStageCreateOrConnectWithoutPipelineAssociationsInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageCreateWithoutPipelineAssociationsInput, { + nullable: false, + }) + @Type(() => PipelineStageCreateWithoutPipelineAssociationsInput) + create!: PipelineStageCreateWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline.input.ts new file mode 100644 index 000000000..47d2ce503 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; + +@InputType() +export class PipelineStageCreateOrConnectWithoutPipelineInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageCreateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineStageCreateWithoutPipelineInput) + create!: PipelineStageCreateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-workspace.input.ts new file mode 100644 index 000000000..6e59229b5 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-workspace.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; + +@InputType() +export class PipelineStageCreateOrConnectWithoutWorkspaceInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineStageCreateWithoutWorkspaceInput) + create!: PipelineStageCreateWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-associations.input.ts new file mode 100644 index 000000000..8a01167d7 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-associations.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; +import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCreateWithoutPipelineAssociationsInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineStagesInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts new file mode 100644 index 000000000..e87c6c3a6 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input'; +import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCreateWithoutPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineStageInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineStageInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts new file mode 100644 index 000000000..5b3039f8a --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts @@ -0,0 +1,38 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; +import { PipelineAssociationCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input'; + +@InputType() +export class PipelineStageCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineStagesInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; + + @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineStageInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts new file mode 100644 index 000000000..1c198d899 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts @@ -0,0 +1,43 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; +import { PipelineAssociationCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input'; +import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineStagesInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; + + @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineStageInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineStageInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.args.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.args.ts new file mode 100644 index 000000000..7531cba10 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.args.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; +import { Type } from 'class-transformer'; +import { PipelineStageOrderByWithAggregationInput } from './pipeline-stage-order-by-with-aggregation.input'; +import { PipelineStageScalarFieldEnum } from './pipeline-stage-scalar-field.enum'; +import { PipelineStageScalarWhereWithAggregatesInput } from './pipeline-stage-scalar-where-with-aggregates.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineStageCountAggregateInput } from './pipeline-stage-count-aggregate.input'; +import { PipelineStageMinAggregateInput } from './pipeline-stage-min-aggregate.input'; +import { PipelineStageMaxAggregateInput } from './pipeline-stage-max-aggregate.input'; + +@ArgsType() +export class PipelineStageGroupByArgs { + @Field(() => PipelineStageWhereInput, { nullable: true }) + @Type(() => PipelineStageWhereInput) + where?: PipelineStageWhereInput; + + @Field(() => [PipelineStageOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => [PipelineStageScalarFieldEnum], { nullable: false }) + by!: Array; + + @Field(() => PipelineStageScalarWhereWithAggregatesInput, { nullable: true }) + having?: PipelineStageScalarWhereWithAggregatesInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineStageCountAggregateInput, { nullable: true }) + _count?: PipelineStageCountAggregateInput; + + @Field(() => PipelineStageMinAggregateInput, { nullable: true }) + _min?: PipelineStageMinAggregateInput; + + @Field(() => PipelineStageMaxAggregateInput, { nullable: true }) + _max?: PipelineStageMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.output.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.output.ts new file mode 100644 index 000000000..07ad250dc --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-group-by.output.ts @@ -0,0 +1,45 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageCountAggregate } from './pipeline-stage-count-aggregate.output'; +import { PipelineStageMinAggregate } from './pipeline-stage-min-aggregate.output'; +import { PipelineStageMaxAggregate } from './pipeline-stage-max-aggregate.output'; + +@ObjectType() +export class PipelineStageGroupBy { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @HideField() + workspaceId!: string; + + @Field(() => PipelineStageCountAggregate, { nullable: true }) + _count?: PipelineStageCountAggregate; + + @Field(() => PipelineStageMinAggregate, { nullable: true }) + _min?: PipelineStageMinAggregate; + + @Field(() => PipelineStageMaxAggregate, { nullable: true }) + _max?: PipelineStageMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-list-relation-filter.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-list-relation-filter.input.ts new file mode 100644 index 000000000..79d1d65fa --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-list-relation-filter.input.ts @@ -0,0 +1,15 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; + +@InputType() +export class PipelineStageListRelationFilter { + @Field(() => PipelineStageWhereInput, { nullable: true }) + every?: PipelineStageWhereInput; + + @Field(() => PipelineStageWhereInput, { nullable: true }) + some?: PipelineStageWhereInput; + + @Field(() => PipelineStageWhereInput, { nullable: true }) + none?: PipelineStageWhereInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.input.ts new file mode 100644 index 000000000..6960076c0 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + name?: true; + + @Field(() => Boolean, { nullable: true }) + type?: true; + + @Field(() => Boolean, { nullable: true }) + color?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @HideField() + workspaceId?: true; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.output.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.output.ts new file mode 100644 index 000000000..9831f2140 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-max-aggregate.output.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineStageMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + name?: string; + + @Field(() => String, { nullable: true }) + type?: string; + + @Field(() => String, { nullable: true }) + color?: string; + + @Field(() => String, { nullable: true }) + pipelineId?: string; + + @HideField() + workspaceId?: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-max-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-max-order-by-aggregate.input.ts new file mode 100644 index 000000000..d6fc34b99 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-max-order-by-aggregate.input.ts @@ -0,0 +1,34 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + type?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + color?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.input.ts new file mode 100644 index 000000000..8db7ebf8d --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + name?: true; + + @Field(() => Boolean, { nullable: true }) + type?: true; + + @Field(() => Boolean, { nullable: true }) + color?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @HideField() + workspaceId?: true; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.output.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.output.ts new file mode 100644 index 000000000..9853233fe --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-min-aggregate.output.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineStageMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + name?: string; + + @Field(() => String, { nullable: true }) + type?: string; + + @Field(() => String, { nullable: true }) + color?: string; + + @Field(() => String, { nullable: true }) + pipelineId?: string; + + @HideField() + workspaceId?: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-min-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-min-order-by-aggregate.input.ts new file mode 100644 index 000000000..4374932e0 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-min-order-by-aggregate.input.ts @@ -0,0 +1,34 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + type?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + color?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-relation-aggregate.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-relation-aggregate.input.ts new file mode 100644 index 000000000..6c7b98f0e --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-relation-aggregate.input.ts @@ -0,0 +1,9 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineStageOrderByRelationAggregateInput { + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-aggregation.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-aggregation.input.ts new file mode 100644 index 000000000..55377e44b --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-aggregation.input.ts @@ -0,0 +1,46 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageCountOrderByAggregateInput } from './pipeline-stage-count-order-by-aggregate.input'; +import { PipelineStageMaxOrderByAggregateInput } from './pipeline-stage-max-order-by-aggregate.input'; +import { PipelineStageMinOrderByAggregateInput } from './pipeline-stage-min-order-by-aggregate.input'; + +@InputType() +export class PipelineStageOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + type?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + color?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; + + @Field(() => PipelineStageCountOrderByAggregateInput, { nullable: true }) + _count?: PipelineStageCountOrderByAggregateInput; + + @Field(() => PipelineStageMaxOrderByAggregateInput, { nullable: true }) + _max?: PipelineStageMaxOrderByAggregateInput; + + @Field(() => PipelineStageMinOrderByAggregateInput, { nullable: true }) + _min?: PipelineStageMinOrderByAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts new file mode 100644 index 000000000..41456bcef --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts @@ -0,0 +1,48 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; +import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input'; +import { PipelineAssociationOrderByRelationAggregateInput } from '../pipeline-association/pipeline-association-order-by-relation-aggregate.input'; +import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; + +@InputType() +export class PipelineStageOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + type?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + color?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; + + @Field(() => PipelineOrderByWithRelationInput, { nullable: true }) + pipeline?: PipelineOrderByWithRelationInput; + + @Field(() => PipelineAssociationOrderByRelationAggregateInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationOrderByRelationAggregateInput; + + @HideField() + workspace?: WorkspaceOrderByWithRelationInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-relation-filter.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-relation-filter.input.ts new file mode 100644 index 000000000..c3c21b752 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-relation-filter.input.ts @@ -0,0 +1,12 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; + +@InputType() +export class PipelineStageRelationFilter { + @Field(() => PipelineStageWhereInput, { nullable: true }) + is?: PipelineStageWhereInput; + + @Field(() => PipelineStageWhereInput, { nullable: true }) + isNot?: PipelineStageWhereInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-field.enum.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-field.enum.ts new file mode 100644 index 000000000..429f680c5 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-field.enum.ts @@ -0,0 +1,18 @@ +import { registerEnumType } from '@nestjs/graphql'; + +export enum PipelineStageScalarFieldEnum { + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + name = 'name', + type = 'type', + color = 'color', + pipelineId = 'pipelineId', + workspaceId = 'workspaceId', +} + +registerEnumType(PipelineStageScalarFieldEnum, { + name: 'PipelineStageScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where-with-aggregates.input.ts new file mode 100644 index 000000000..c3216197b --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where-with-aggregates.input.ts @@ -0,0 +1,51 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; +import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; +import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageScalarWhereWithAggregatesInput { + @Field(() => [PipelineStageScalarWhereWithAggregatesInput], { + nullable: true, + }) + AND?: Array; + + @Field(() => [PipelineStageScalarWhereWithAggregatesInput], { + nullable: true, + }) + OR?: Array; + + @Field(() => [PipelineStageScalarWhereWithAggregatesInput], { + nullable: true, + }) + NOT?: Array; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + name?: StringWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + type?: StringWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + color?: StringWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + pipelineId?: StringWithAggregatesFilter; + + @HideField() + workspaceId?: StringWithAggregatesFilter; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where.input.ts new file mode 100644 index 000000000..81304fa31 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-scalar-where.input.ts @@ -0,0 +1,45 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageScalarWhereInput { + @Field(() => [PipelineStageScalarWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineStageScalarWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineStageScalarWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + name?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + type?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + color?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineId?: StringFilter; + + @HideField() + workspaceId?: StringFilter; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input.ts new file mode 100644 index 000000000..c5d2c2d69 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input.ts @@ -0,0 +1,28 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; +import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; + +@InputType() +export class PipelineStageUncheckedCreateNestedManyWithoutPipelineInput { + @Field(() => [PipelineStageCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => PipelineStageCreateManyPipelineInputEnvelope, { nullable: true }) + @Type(() => PipelineStageCreateManyPipelineInputEnvelope) + createMany?: PipelineStageCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input.ts new file mode 100644 index 000000000..9b90041b1 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; +import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; + +@InputType() +export class PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput { + @Field(() => [PipelineStageCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) + createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-associations.input.ts new file mode 100644 index 000000000..3d7b65549 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-associations.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUncheckedCreateWithoutPipelineAssociationsInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @HideField() + workspaceId!: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts new file mode 100644 index 000000000..cf216ab3c --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input'; + +@InputType() +export class PipelineStageUncheckedCreateWithoutPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @HideField() + workspaceId!: string; + + @Field( + () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts new file mode 100644 index 000000000..0d3172611 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input'; + +@InputType() +export class PipelineStageUncheckedCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field( + () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts new file mode 100644 index 000000000..ab65c0c80 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input'; + +@InputType() +export class PipelineStageUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @HideField() + workspaceId!: string; + + @Field( + () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input.ts new file mode 100644 index 000000000..bc6a09cc9 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input.ts @@ -0,0 +1,66 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; +import { PipelineStageUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-upsert-with-where-unique-without-pipeline.input'; +import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { PipelineStageUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-update-with-where-unique-without-pipeline.input'; +import { PipelineStageUpdateManyWithWhereWithoutPipelineInput } from './pipeline-stage-update-many-with-where-without-pipeline.input'; +import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; + +@InputType() +export class PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput { + @Field(() => [PipelineStageCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageUpsertWithWhereUniqueWithoutPipelineInput) + upsert?: Array; + + @Field(() => PipelineStageCreateManyPipelineInputEnvelope, { nullable: true }) + @Type(() => PipelineStageCreateManyPipelineInputEnvelope) + createMany?: PipelineStageCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateWithWhereUniqueWithoutPipelineInput) + update?: Array; + + @Field(() => [PipelineStageUpdateManyWithWhereWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateManyWithWhereWithoutPipelineInput) + updateMany?: Array; + + @Field(() => [PipelineStageScalarWhereInput], { nullable: true }) + @Type(() => PipelineStageScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-stages.input.ts new file mode 100644 index 000000000..5e06b34c6 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-stages.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; + +@InputType() +export class PipelineStageUncheckedUpdateManyWithoutPipelineStagesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input.ts new file mode 100644 index 000000000..832315080 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input.ts @@ -0,0 +1,68 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; +import { PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-upsert-with-where-unique-without-workspace.input'; +import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-update-with-where-unique-without-workspace.input'; +import { PipelineStageUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-stage-update-many-with-where-without-workspace.input'; +import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; + +@InputType() +export class PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [PipelineStageCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; + + @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) + createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; + + @Field(() => [PipelineStageUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; + + @Field(() => [PipelineStageScalarWhereInput], { nullable: true }) + @Type(() => PipelineStageScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many.input.ts new file mode 100644 index 000000000..a3f3f5f95 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-many.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-associations.input.ts new file mode 100644 index 000000000..6fd3c6ffc --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-associations.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUncheckedUpdateWithoutPipelineAssociationsInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts new file mode 100644 index 000000000..5fa75e700 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input'; + +@InputType() +export class PipelineStageUncheckedUpdateWithoutPipelineInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts new file mode 100644 index 000000000..90306dfe9 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input'; + +@InputType() +export class PipelineStageUncheckedUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts new file mode 100644 index 000000000..f01568905 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts @@ -0,0 +1,43 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input'; + +@InputType() +export class PipelineStageUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-mutation.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-mutation.input.ts new file mode 100644 index 000000000..010f2ea24 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-mutation.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; + +@InputType() +export class PipelineStageUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-pipeline.input.ts new file mode 100644 index 000000000..936b847b4 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-pipeline.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; +import { Type } from 'class-transformer'; +import { PipelineStageUpdateManyMutationInput } from './pipeline-stage-update-many-mutation.input'; + +@InputType() +export class PipelineStageUpdateManyWithWhereWithoutPipelineInput { + @Field(() => PipelineStageScalarWhereInput, { nullable: false }) + @Type(() => PipelineStageScalarWhereInput) + where!: PipelineStageScalarWhereInput; + + @Field(() => PipelineStageUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineStageUpdateManyMutationInput) + data!: PipelineStageUpdateManyMutationInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-workspace.input.ts new file mode 100644 index 000000000..0875802a2 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-with-where-without-workspace.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; +import { Type } from 'class-transformer'; +import { PipelineStageUpdateManyMutationInput } from './pipeline-stage-update-many-mutation.input'; + +@InputType() +export class PipelineStageUpdateManyWithWhereWithoutWorkspaceInput { + @Field(() => PipelineStageScalarWhereInput, { nullable: false }) + @Type(() => PipelineStageScalarWhereInput) + where!: PipelineStageScalarWhereInput; + + @Field(() => PipelineStageUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineStageUpdateManyMutationInput) + data!: PipelineStageUpdateManyMutationInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input.ts new file mode 100644 index 000000000..5f56f92df --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input.ts @@ -0,0 +1,66 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineInput } from './pipeline-stage-create-or-connect-without-pipeline.input'; +import { PipelineStageUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-upsert-with-where-unique-without-pipeline.input'; +import { PipelineStageCreateManyPipelineInputEnvelope } from './pipeline-stage-create-many-pipeline-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { PipelineStageUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-stage-update-with-where-unique-without-pipeline.input'; +import { PipelineStageUpdateManyWithWhereWithoutPipelineInput } from './pipeline-stage-update-many-with-where-without-pipeline.input'; +import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; + +@InputType() +export class PipelineStageUpdateManyWithoutPipelineNestedInput { + @Field(() => [PipelineStageCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageUpsertWithWhereUniqueWithoutPipelineInput) + upsert?: Array; + + @Field(() => PipelineStageCreateManyPipelineInputEnvelope, { nullable: true }) + @Type(() => PipelineStageCreateManyPipelineInputEnvelope) + createMany?: PipelineStageCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateWithWhereUniqueWithoutPipelineInput) + update?: Array; + + @Field(() => [PipelineStageUpdateManyWithWhereWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateManyWithWhereWithoutPipelineInput) + updateMany?: Array; + + @Field(() => [PipelineStageScalarWhereInput], { nullable: true }) + @Type(() => PipelineStageScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input.ts new file mode 100644 index 000000000..1c1c72c19 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input.ts @@ -0,0 +1,68 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutWorkspaceInput } from './pipeline-stage-create-or-connect-without-workspace.input'; +import { PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-upsert-with-where-unique-without-workspace.input'; +import { PipelineStageCreateManyWorkspaceInputEnvelope } from './pipeline-stage-create-many-workspace-input-envelope.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-stage-update-with-where-unique-without-workspace.input'; +import { PipelineStageUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-stage-update-many-with-where-without-workspace.input'; +import { PipelineStageScalarWhereInput } from './pipeline-stage-scalar-where.input'; + +@InputType() +export class PipelineStageUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [PipelineStageCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineStageCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineStageCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => [PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; + + @Field(() => PipelineStageCreateManyWorkspaceInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineStageCreateManyWorkspaceInputEnvelope) + createMany?: PipelineStageCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineStageWhereUniqueInput], { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; + + @Field(() => [PipelineStageUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineStageUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; + + @Field(() => [PipelineStageScalarWhereInput], { nullable: true }) + @Type(() => PipelineStageScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input.ts new file mode 100644 index 000000000..b7f99f6a2 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-associations-nested.input.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineAssociationsInput } from './pipeline-stage-create-without-pipeline-associations.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineAssociationsInput } from './pipeline-stage-create-or-connect-without-pipeline-associations.input'; +import { PipelineStageUpsertWithoutPipelineAssociationsInput } from './pipeline-stage-upsert-without-pipeline-associations.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { PipelineStageUpdateWithoutPipelineAssociationsInput } from './pipeline-stage-update-without-pipeline-associations.input'; + +@InputType() +export class PipelineStageUpdateOneRequiredWithoutPipelineAssociationsNestedInput { + @Field(() => PipelineStageCreateWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateWithoutPipelineAssociationsInput) + create?: PipelineStageCreateWithoutPipelineAssociationsInput; + + @Field(() => PipelineStageCreateOrConnectWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineAssociationsInput) + connectOrCreate?: PipelineStageCreateOrConnectWithoutPipelineAssociationsInput; + + @Field(() => PipelineStageUpsertWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineStageUpsertWithoutPipelineAssociationsInput) + upsert?: PipelineStageUpsertWithoutPipelineAssociationsInput; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageUpdateWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineStageUpdateWithoutPipelineAssociationsInput) + update?: PipelineStageUpdateWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-pipeline.input.ts new file mode 100644 index 000000000..e03e56fed --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-pipeline.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageUpdateWithoutPipelineInput } from './pipeline-stage-update-without-pipeline.input'; + +@InputType() +export class PipelineStageUpdateWithWhereUniqueWithoutPipelineInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageUpdateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineStageUpdateWithoutPipelineInput) + data!: PipelineStageUpdateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-workspace.input.ts new file mode 100644 index 000000000..3b316014e --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-with-where-unique-without-workspace.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageUpdateWithoutWorkspaceInput } from './pipeline-stage-update-without-workspace.input'; + +@InputType() +export class PipelineStageUpdateWithWhereUniqueWithoutWorkspaceInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineStageUpdateWithoutWorkspaceInput) + data!: PipelineStageUpdateWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-associations.input.ts new file mode 100644 index 000000000..f0dd35806 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-associations.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUpdateWithoutPipelineAssociationsInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput, { + nullable: true, + }) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts new file mode 100644 index 000000000..a417443d3 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineAssociationUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUpdateWithoutPipelineInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineAssociationUpdateManyWithoutPipelineStageNestedInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineStageNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts new file mode 100644 index 000000000..cd1f7c7f1 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts @@ -0,0 +1,41 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; +import { PipelineAssociationUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input'; + +@InputType() +export class PipelineStageUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput, { + nullable: true, + }) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; + + @Field(() => PipelineAssociationUpdateManyWithoutPipelineStageNestedInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineStageNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts new file mode 100644 index 000000000..e6f217201 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts @@ -0,0 +1,46 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; +import { PipelineAssociationUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput, { + nullable: true, + }) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; + + @Field(() => PipelineAssociationUpdateManyWithoutPipelineStageNestedInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineStageNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-pipeline.input.ts new file mode 100644 index 000000000..7b57eb32e --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-pipeline.input.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageUpdateWithoutPipelineInput } from './pipeline-stage-update-without-pipeline.input'; +import { PipelineStageCreateWithoutPipelineInput } from './pipeline-stage-create-without-pipeline.input'; + +@InputType() +export class PipelineStageUpsertWithWhereUniqueWithoutPipelineInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageUpdateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineStageUpdateWithoutPipelineInput) + update!: PipelineStageUpdateWithoutPipelineInput; + + @Field(() => PipelineStageCreateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineStageCreateWithoutPipelineInput) + create!: PipelineStageCreateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-workspace.input.ts new file mode 100644 index 000000000..36716928c --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-with-where-unique-without-workspace.input.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageUpdateWithoutWorkspaceInput } from './pipeline-stage-update-without-workspace.input'; +import { PipelineStageCreateWithoutWorkspaceInput } from './pipeline-stage-create-without-workspace.input'; + +@InputType() +export class PipelineStageUpsertWithWhereUniqueWithoutWorkspaceInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineStageUpdateWithoutWorkspaceInput) + update!: PipelineStageUpdateWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineStageCreateWithoutWorkspaceInput) + create!: PipelineStageCreateWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-associations.input.ts new file mode 100644 index 000000000..c35113d6c --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-associations.input.ts @@ -0,0 +1,20 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageUpdateWithoutPipelineAssociationsInput } from './pipeline-stage-update-without-pipeline-associations.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateWithoutPipelineAssociationsInput } from './pipeline-stage-create-without-pipeline-associations.input'; + +@InputType() +export class PipelineStageUpsertWithoutPipelineAssociationsInput { + @Field(() => PipelineStageUpdateWithoutPipelineAssociationsInput, { + nullable: false, + }) + @Type(() => PipelineStageUpdateWithoutPipelineAssociationsInput) + update!: PipelineStageUpdateWithoutPipelineAssociationsInput; + + @Field(() => PipelineStageCreateWithoutPipelineAssociationsInput, { + nullable: false, + }) + @Type(() => PipelineStageCreateWithoutPipelineAssociationsInput) + create!: PipelineStageCreateWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-where-unique.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-where-unique.input.ts new file mode 100644 index 000000000..00ec204df --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-where-unique.input.ts @@ -0,0 +1,8 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageWhereUniqueInput { + @Field(() => String, { nullable: true }) + id?: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts new file mode 100644 index 000000000..f74aea24f --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts @@ -0,0 +1,57 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input'; +import { PipelineAssociationListRelationFilter } from '../pipeline-association/pipeline-association-list-relation-filter.input'; +import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; + +@InputType() +export class PipelineStageWhereInput { + @Field(() => [PipelineStageWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineStageWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineStageWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + name?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + type?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + color?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineId?: StringFilter; + + @HideField() + workspaceId?: StringFilter; + + @Field(() => PipelineRelationFilter, { nullable: true }) + pipeline?: PipelineRelationFilter; + + @Field(() => PipelineAssociationListRelationFilter, { nullable: true }) + pipelineAssociations?: PipelineAssociationListRelationFilter; + + @HideField() + workspace?: WorkspaceRelationFilter; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts new file mode 100644 index 000000000..e0872f25d --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts @@ -0,0 +1,50 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { ID } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { Pipeline } from '../pipeline/pipeline.model'; +import { PipelineAssociation } from '../pipeline-association/pipeline-association.model'; +import { Workspace } from '../workspace/workspace.model'; +import { PipelineStageCount } from './pipeline-stage-count.output'; + +@ObjectType() +export class PipelineStage { + @Field(() => ID, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date; + + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @HideField() + workspaceId!: string; + + @Field(() => Pipeline, { nullable: false }) + pipeline?: Pipeline; + + @Field(() => [PipelineAssociation], { nullable: true }) + pipelineAssociations?: Array; + + @HideField() + workspace?: Workspace; + + @Field(() => PipelineStageCount, { nullable: false }) + _count?: PipelineStageCount; +} diff --git a/server/src/api/@generated/pipeline-stage/update-many-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/update-many-pipeline-stage.args.ts new file mode 100644 index 000000000..f4197cf70 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/update-many-pipeline-stage.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageUpdateManyMutationInput } from './pipeline-stage-update-many-mutation.input'; +import { Type } from 'class-transformer'; +import { PipelineStageWhereInput } from './pipeline-stage-where.input'; + +@ArgsType() +export class UpdateManyPipelineStageArgs { + @Field(() => PipelineStageUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineStageUpdateManyMutationInput) + data!: PipelineStageUpdateManyMutationInput; + + @Field(() => PipelineStageWhereInput, { nullable: true }) + @Type(() => PipelineStageWhereInput) + where?: PipelineStageWhereInput; +} diff --git a/server/src/api/@generated/pipeline-stage/update-one-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/update-one-pipeline-stage.args.ts new file mode 100644 index 000000000..8f523919d --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/update-one-pipeline-stage.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageUpdateInput } from './pipeline-stage-update.input'; +import { Type } from 'class-transformer'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; + +@ArgsType() +export class UpdateOnePipelineStageArgs { + @Field(() => PipelineStageUpdateInput, { nullable: false }) + @Type(() => PipelineStageUpdateInput) + data!: PipelineStageUpdateInput; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-stage/upsert-one-pipeline-stage.args.ts b/server/src/api/@generated/pipeline-stage/upsert-one-pipeline-stage.args.ts new file mode 100644 index 000000000..ccc7e6c64 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/upsert-one-pipeline-stage.args.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateInput } from './pipeline-stage-create.input'; +import { PipelineStageUpdateInput } from './pipeline-stage-update.input'; + +@ArgsType() +export class UpsertOnePipelineStageArgs { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageCreateInput, { nullable: false }) + @Type(() => PipelineStageCreateInput) + create!: PipelineStageCreateInput; + + @Field(() => PipelineStageUpdateInput, { nullable: false }) + @Type(() => PipelineStageUpdateInput) + update!: PipelineStageUpdateInput; +} diff --git a/server/src/api/@generated/pipeline/aggregate-pipeline.output.ts b/server/src/api/@generated/pipeline/aggregate-pipeline.output.ts new file mode 100644 index 000000000..17cde5de2 --- /dev/null +++ b/server/src/api/@generated/pipeline/aggregate-pipeline.output.ts @@ -0,0 +1,17 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineCountAggregate } from './pipeline-count-aggregate.output'; +import { PipelineMinAggregate } from './pipeline-min-aggregate.output'; +import { PipelineMaxAggregate } from './pipeline-max-aggregate.output'; + +@ObjectType() +export class AggregatePipeline { + @Field(() => PipelineCountAggregate, { nullable: true }) + _count?: PipelineCountAggregate; + + @Field(() => PipelineMinAggregate, { nullable: true }) + _min?: PipelineMinAggregate; + + @Field(() => PipelineMaxAggregate, { nullable: true }) + _max?: PipelineMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline/create-many-pipeline.args.ts b/server/src/api/@generated/pipeline/create-many-pipeline.args.ts new file mode 100644 index 000000000..7aee0128f --- /dev/null +++ b/server/src/api/@generated/pipeline/create-many-pipeline.args.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineCreateManyInput } from './pipeline-create-many.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateManyPipelineArgs { + @Field(() => [PipelineCreateManyInput], { nullable: false }) + @Type(() => PipelineCreateManyInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline/create-one-pipeline.args.ts b/server/src/api/@generated/pipeline/create-one-pipeline.args.ts new file mode 100644 index 000000000..9eb3f4555 --- /dev/null +++ b/server/src/api/@generated/pipeline/create-one-pipeline.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineCreateInput } from './pipeline-create.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateOnePipelineArgs { + @Field(() => PipelineCreateInput, { nullable: false }) + @Type(() => PipelineCreateInput) + data!: PipelineCreateInput; +} diff --git a/server/src/api/@generated/pipeline/delete-many-pipeline.args.ts b/server/src/api/@generated/pipeline/delete-many-pipeline.args.ts new file mode 100644 index 000000000..e8f62e9b5 --- /dev/null +++ b/server/src/api/@generated/pipeline/delete-many-pipeline.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteManyPipelineArgs { + @Field(() => PipelineWhereInput, { nullable: true }) + @Type(() => PipelineWhereInput) + where?: PipelineWhereInput; +} diff --git a/server/src/api/@generated/pipeline/delete-one-pipeline.args.ts b/server/src/api/@generated/pipeline/delete-one-pipeline.args.ts new file mode 100644 index 000000000..189f7d71e --- /dev/null +++ b/server/src/api/@generated/pipeline/delete-one-pipeline.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteOnePipelineArgs { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline/find-first-pipeline-or-throw.args.ts b/server/src/api/@generated/pipeline/find-first-pipeline-or-throw.args.ts new file mode 100644 index 000000000..93fba9e94 --- /dev/null +++ b/server/src/api/@generated/pipeline/find-first-pipeline-or-throw.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; +import { Type } from 'class-transformer'; +import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineOrThrowArgs { + @Field(() => PipelineWhereInput, { nullable: true }) + @Type(() => PipelineWhereInput) + where?: PipelineWhereInput; + + @Field(() => [PipelineOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + cursor?: PipelineWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline/find-first-pipeline.args.ts b/server/src/api/@generated/pipeline/find-first-pipeline.args.ts new file mode 100644 index 000000000..13aa6e5b1 --- /dev/null +++ b/server/src/api/@generated/pipeline/find-first-pipeline.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; +import { Type } from 'class-transformer'; +import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineArgs { + @Field(() => PipelineWhereInput, { nullable: true }) + @Type(() => PipelineWhereInput) + where?: PipelineWhereInput; + + @Field(() => [PipelineOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + cursor?: PipelineWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline/find-many-pipeline.args.ts b/server/src/api/@generated/pipeline/find-many-pipeline.args.ts new file mode 100644 index 000000000..d9ea1e74d --- /dev/null +++ b/server/src/api/@generated/pipeline/find-many-pipeline.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; +import { Type } from 'class-transformer'; +import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; + +@ArgsType() +export class FindManyPipelineArgs { + @Field(() => PipelineWhereInput, { nullable: true }) + @Type(() => PipelineWhereInput) + where?: PipelineWhereInput; + + @Field(() => [PipelineOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + cursor?: PipelineWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline/find-unique-pipeline-or-throw.args.ts b/server/src/api/@generated/pipeline/find-unique-pipeline-or-throw.args.ts new file mode 100644 index 000000000..20ff4f224 --- /dev/null +++ b/server/src/api/@generated/pipeline/find-unique-pipeline-or-throw.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineOrThrowArgs { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline/find-unique-pipeline.args.ts b/server/src/api/@generated/pipeline/find-unique-pipeline.args.ts new file mode 100644 index 000000000..528ae9bfb --- /dev/null +++ b/server/src/api/@generated/pipeline/find-unique-pipeline.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineArgs { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-aggregate.args.ts b/server/src/api/@generated/pipeline/pipeline-aggregate.args.ts new file mode 100644 index 000000000..15b72a09a --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-aggregate.args.ts @@ -0,0 +1,38 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; +import { Type } from 'class-transformer'; +import { PipelineOrderByWithRelationInput } from './pipeline-order-by-with-relation.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineCountAggregateInput } from './pipeline-count-aggregate.input'; +import { PipelineMinAggregateInput } from './pipeline-min-aggregate.input'; +import { PipelineMaxAggregateInput } from './pipeline-max-aggregate.input'; + +@ArgsType() +export class PipelineAggregateArgs { + @Field(() => PipelineWhereInput, { nullable: true }) + @Type(() => PipelineWhereInput) + where?: PipelineWhereInput; + + @Field(() => [PipelineOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + cursor?: PipelineWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineCountAggregateInput, { nullable: true }) + _count?: PipelineCountAggregateInput; + + @Field(() => PipelineMinAggregateInput, { nullable: true }) + _min?: PipelineMinAggregateInput; + + @Field(() => PipelineMaxAggregateInput, { nullable: true }) + _max?: PipelineMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-associable-type.enum.ts b/server/src/api/@generated/pipeline/pipeline-associable-type.enum.ts new file mode 100644 index 000000000..438864fc9 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-associable-type.enum.ts @@ -0,0 +1,11 @@ +import { registerEnumType } from '@nestjs/graphql'; + +export enum PipelineAssociableType { + Person = 'Person', + Company = 'Company', +} + +registerEnumType(PipelineAssociableType, { + name: 'PipelineAssociableType', + description: undefined, +}); diff --git a/server/src/api/@generated/pipeline/pipeline-count-aggregate.input.ts b/server/src/api/@generated/pipeline/pipeline-count-aggregate.input.ts new file mode 100644 index 000000000..5df638b27 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-count-aggregate.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + name?: true; + + @Field(() => Boolean, { nullable: true }) + icon?: true; + + @HideField() + workspaceId?: true; + + @Field(() => Boolean, { nullable: true }) + _all?: true; +} diff --git a/server/src/api/@generated/pipeline/pipeline-count-aggregate.output.ts b/server/src/api/@generated/pipeline/pipeline-count-aggregate.output.ts new file mode 100644 index 000000000..d1c04a268 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-count-aggregate.output.ts @@ -0,0 +1,31 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; + + @Field(() => Int, { nullable: false }) + createdAt!: number; + + @Field(() => Int, { nullable: false }) + updatedAt!: number; + + @Field(() => Int, { nullable: false }) + deletedAt!: number; + + @Field(() => Int, { nullable: false }) + name!: number; + + @Field(() => Int, { nullable: false }) + icon!: number; + + @HideField() + workspaceId!: number; + + @Field(() => Int, { nullable: false }) + _all!: number; +} diff --git a/server/src/api/@generated/pipeline/pipeline-count-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline/pipeline-count-order-by-aggregate.input.ts new file mode 100644 index 000000000..bdb1bfac9 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-count-order-by-aggregate.input.ts @@ -0,0 +1,28 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + icon?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline/pipeline-count.output.ts b/server/src/api/@generated/pipeline/pipeline-count.output.ts new file mode 100644 index 000000000..666c896bc --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-count.output.ts @@ -0,0 +1,12 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { Int } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineCount { + @Field(() => Int, { nullable: false }) + pipelineStages?: number; + + @Field(() => Int, { nullable: false }) + pipelineAssociations?: number; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-many-workspace-input-envelope.input.ts b/server/src/api/@generated/pipeline/pipeline-create-many-workspace-input-envelope.input.ts new file mode 100644 index 000000000..e09698fc3 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-many-workspace-input-envelope.input.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateManyWorkspaceInput } from './pipeline-create-many-workspace.input'; +import { Type } from 'class-transformer'; + +@InputType() +export class PipelineCreateManyWorkspaceInputEnvelope { + @Field(() => [PipelineCreateManyWorkspaceInput], { nullable: false }) + @Type(() => PipelineCreateManyWorkspaceInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-many-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-create-many-workspace.input.ts new file mode 100644 index 000000000..42d98aeb6 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-many-workspace.input.ts @@ -0,0 +1,23 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineCreateManyWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-many.input.ts b/server/src/api/@generated/pipeline/pipeline-create-many.input.ts new file mode 100644 index 000000000..09c7bdacd --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-many.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @HideField() + workspaceId!: string; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-create-nested-many-without-workspace.input.ts new file mode 100644 index 000000000..e41de388a --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-nested-many-without-workspace.input.ts @@ -0,0 +1,28 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; +import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; + +@InputType() +export class PipelineCreateNestedManyWithoutWorkspaceInput { + @Field(() => [PipelineCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => PipelineCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PipelineCreateManyWorkspaceInputEnvelope) + createMany?: PipelineCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-associations.input.ts new file mode 100644 index 000000000..235bacf2d --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-associations.input.ts @@ -0,0 +1,25 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutPipelineAssociationsInput } from './pipeline-create-without-pipeline-associations.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutPipelineAssociationsInput } from './pipeline-create-or-connect-without-pipeline-associations.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; + +@InputType() +export class PipelineCreateNestedOneWithoutPipelineAssociationsInput { + @Field(() => PipelineCreateWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineCreateWithoutPipelineAssociationsInput) + create?: PipelineCreateWithoutPipelineAssociationsInput; + + @Field(() => PipelineCreateOrConnectWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutPipelineAssociationsInput) + connectOrCreate?: PipelineCreateOrConnectWithoutPipelineAssociationsInput; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: PipelineWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-stages.input.ts new file mode 100644 index 000000000..7e6c2dbd8 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-stages.input.ts @@ -0,0 +1,23 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutPipelineStagesInput } from './pipeline-create-or-connect-without-pipeline-stages.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; + +@InputType() +export class PipelineCreateNestedOneWithoutPipelineStagesInput { + @Field(() => PipelineCreateWithoutPipelineStagesInput, { nullable: true }) + @Type(() => PipelineCreateWithoutPipelineStagesInput) + create?: PipelineCreateWithoutPipelineStagesInput; + + @Field(() => PipelineCreateOrConnectWithoutPipelineStagesInput, { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutPipelineStagesInput) + connectOrCreate?: PipelineCreateOrConnectWithoutPipelineStagesInput; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: PipelineWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-associations.input.ts new file mode 100644 index 000000000..82d5d00e0 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-associations.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateWithoutPipelineAssociationsInput } from './pipeline-create-without-pipeline-associations.input'; + +@InputType() +export class PipelineCreateOrConnectWithoutPipelineAssociationsInput { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; + + @Field(() => PipelineCreateWithoutPipelineAssociationsInput, { + nullable: false, + }) + @Type(() => PipelineCreateWithoutPipelineAssociationsInput) + create!: PipelineCreateWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-stages.input.ts new file mode 100644 index 000000000..b4fa6b94a --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-stages.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; + +@InputType() +export class PipelineCreateOrConnectWithoutPipelineStagesInput { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; + + @Field(() => PipelineCreateWithoutPipelineStagesInput, { nullable: false }) + @Type(() => PipelineCreateWithoutPipelineStagesInput) + create!: PipelineCreateWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-workspace.input.ts new file mode 100644 index 000000000..f48e6d589 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-workspace.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; + +@InputType() +export class PipelineCreateOrConnectWithoutWorkspaceInput { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; + + @Field(() => PipelineCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineCreateWithoutWorkspaceInput) + create!: PipelineCreateWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-associations.input.ts new file mode 100644 index 000000000..582a76101 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-associations.input.ts @@ -0,0 +1,34 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; +import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineCreateWithoutPipelineAssociationsInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @Field(() => PipelineStageCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts new file mode 100644 index 000000000..bebd5384c --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts @@ -0,0 +1,34 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociationCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline.input'; +import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineCreateWithoutPipelineStagesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts new file mode 100644 index 000000000..7b3ff7aae --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts @@ -0,0 +1,35 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; +import { PipelineAssociationCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline.input'; + +@InputType() +export class PipelineCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @Field(() => PipelineStageCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; + + @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create.input.ts b/server/src/api/@generated/pipeline/pipeline-create.input.ts new file mode 100644 index 000000000..138172246 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; +import { PipelineAssociationCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline.input'; +import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @Field(() => PipelineStageCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; + + @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-group-by.args.ts b/server/src/api/@generated/pipeline/pipeline-group-by.args.ts new file mode 100644 index 000000000..804495bbb --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-group-by.args.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; +import { Type } from 'class-transformer'; +import { PipelineOrderByWithAggregationInput } from './pipeline-order-by-with-aggregation.input'; +import { PipelineScalarFieldEnum } from './pipeline-scalar-field.enum'; +import { PipelineScalarWhereWithAggregatesInput } from './pipeline-scalar-where-with-aggregates.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineCountAggregateInput } from './pipeline-count-aggregate.input'; +import { PipelineMinAggregateInput } from './pipeline-min-aggregate.input'; +import { PipelineMaxAggregateInput } from './pipeline-max-aggregate.input'; + +@ArgsType() +export class PipelineGroupByArgs { + @Field(() => PipelineWhereInput, { nullable: true }) + @Type(() => PipelineWhereInput) + where?: PipelineWhereInput; + + @Field(() => [PipelineOrderByWithAggregationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => [PipelineScalarFieldEnum], { nullable: false }) + by!: Array; + + @Field(() => PipelineScalarWhereWithAggregatesInput, { nullable: true }) + having?: PipelineScalarWhereWithAggregatesInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineCountAggregateInput, { nullable: true }) + _count?: PipelineCountAggregateInput; + + @Field(() => PipelineMinAggregateInput, { nullable: true }) + _min?: PipelineMinAggregateInput; + + @Field(() => PipelineMaxAggregateInput, { nullable: true }) + _max?: PipelineMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-group-by.output.ts b/server/src/api/@generated/pipeline/pipeline-group-by.output.ts new file mode 100644 index 000000000..7ba784a69 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-group-by.output.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineCountAggregate } from './pipeline-count-aggregate.output'; +import { PipelineMinAggregate } from './pipeline-min-aggregate.output'; +import { PipelineMaxAggregate } from './pipeline-max-aggregate.output'; + +@ObjectType() +export class PipelineGroupBy { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @HideField() + workspaceId!: string; + + @Field(() => PipelineCountAggregate, { nullable: true }) + _count?: PipelineCountAggregate; + + @Field(() => PipelineMinAggregate, { nullable: true }) + _min?: PipelineMinAggregate; + + @Field(() => PipelineMaxAggregate, { nullable: true }) + _max?: PipelineMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline/pipeline-list-relation-filter.input.ts b/server/src/api/@generated/pipeline/pipeline-list-relation-filter.input.ts new file mode 100644 index 000000000..1a792f162 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-list-relation-filter.input.ts @@ -0,0 +1,15 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; + +@InputType() +export class PipelineListRelationFilter { + @Field(() => PipelineWhereInput, { nullable: true }) + every?: PipelineWhereInput; + + @Field(() => PipelineWhereInput, { nullable: true }) + some?: PipelineWhereInput; + + @Field(() => PipelineWhereInput, { nullable: true }) + none?: PipelineWhereInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-max-aggregate.input.ts b/server/src/api/@generated/pipeline/pipeline-max-aggregate.input.ts new file mode 100644 index 000000000..a7231f7b9 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-max-aggregate.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + name?: true; + + @Field(() => Boolean, { nullable: true }) + icon?: true; + + @HideField() + workspaceId?: true; +} diff --git a/server/src/api/@generated/pipeline/pipeline-max-aggregate.output.ts b/server/src/api/@generated/pipeline/pipeline-max-aggregate.output.ts new file mode 100644 index 000000000..2045de896 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-max-aggregate.output.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + name?: string; + + @Field(() => String, { nullable: true }) + icon?: string; + + @HideField() + workspaceId?: string; +} diff --git a/server/src/api/@generated/pipeline/pipeline-max-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline/pipeline-max-order-by-aggregate.input.ts new file mode 100644 index 000000000..b4756bb6c --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-max-order-by-aggregate.input.ts @@ -0,0 +1,28 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + icon?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline/pipeline-min-aggregate.input.ts b/server/src/api/@generated/pipeline/pipeline-min-aggregate.input.ts new file mode 100644 index 000000000..f703c06c8 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-min-aggregate.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + name?: true; + + @Field(() => Boolean, { nullable: true }) + icon?: true; + + @HideField() + workspaceId?: true; +} diff --git a/server/src/api/@generated/pipeline/pipeline-min-aggregate.output.ts b/server/src/api/@generated/pipeline/pipeline-min-aggregate.output.ts new file mode 100644 index 000000000..0d29da7ea --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-min-aggregate.output.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + name?: string; + + @Field(() => String, { nullable: true }) + icon?: string; + + @HideField() + workspaceId?: string; +} diff --git a/server/src/api/@generated/pipeline/pipeline-min-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline/pipeline-min-order-by-aggregate.input.ts new file mode 100644 index 000000000..5104ae2fe --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-min-order-by-aggregate.input.ts @@ -0,0 +1,28 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + icon?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline/pipeline-order-by-relation-aggregate.input.ts b/server/src/api/@generated/pipeline/pipeline-order-by-relation-aggregate.input.ts new file mode 100644 index 000000000..d1dc08d7c --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-order-by-relation-aggregate.input.ts @@ -0,0 +1,9 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineOrderByRelationAggregateInput { + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline/pipeline-order-by-with-aggregation.input.ts b/server/src/api/@generated/pipeline/pipeline-order-by-with-aggregation.input.ts new file mode 100644 index 000000000..99dfe6d08 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-order-by-with-aggregation.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; +import { PipelineCountOrderByAggregateInput } from './pipeline-count-order-by-aggregate.input'; +import { PipelineMaxOrderByAggregateInput } from './pipeline-max-order-by-aggregate.input'; +import { PipelineMinOrderByAggregateInput } from './pipeline-min-order-by-aggregate.input'; + +@InputType() +export class PipelineOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + icon?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; + + @Field(() => PipelineCountOrderByAggregateInput, { nullable: true }) + _count?: PipelineCountOrderByAggregateInput; + + @Field(() => PipelineMaxOrderByAggregateInput, { nullable: true }) + _max?: PipelineMaxOrderByAggregateInput; + + @Field(() => PipelineMinOrderByAggregateInput, { nullable: true }) + _min?: PipelineMinOrderByAggregateInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts b/server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts new file mode 100644 index 000000000..994004d6e --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageOrderByRelationAggregateInput } from '../pipeline-stage/pipeline-stage-order-by-relation-aggregate.input'; +import { PipelineAssociationOrderByRelationAggregateInput } from '../pipeline-association/pipeline-association-order-by-relation-aggregate.input'; +import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; + +@InputType() +export class PipelineOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + name?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + icon?: keyof typeof SortOrder; + + @HideField() + workspaceId?: keyof typeof SortOrder; + + @Field(() => PipelineStageOrderByRelationAggregateInput, { nullable: true }) + pipelineStages?: PipelineStageOrderByRelationAggregateInput; + + @Field(() => PipelineAssociationOrderByRelationAggregateInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationOrderByRelationAggregateInput; + + @HideField() + workspace?: WorkspaceOrderByWithRelationInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-relation-filter.input.ts b/server/src/api/@generated/pipeline/pipeline-relation-filter.input.ts new file mode 100644 index 000000000..1315288c7 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-relation-filter.input.ts @@ -0,0 +1,12 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereInput } from './pipeline-where.input'; + +@InputType() +export class PipelineRelationFilter { + @Field(() => PipelineWhereInput, { nullable: true }) + is?: PipelineWhereInput; + + @Field(() => PipelineWhereInput, { nullable: true }) + isNot?: PipelineWhereInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-scalar-field.enum.ts b/server/src/api/@generated/pipeline/pipeline-scalar-field.enum.ts new file mode 100644 index 000000000..06fe58077 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-scalar-field.enum.ts @@ -0,0 +1,16 @@ +import { registerEnumType } from '@nestjs/graphql'; + +export enum PipelineScalarFieldEnum { + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + name = 'name', + icon = 'icon', + workspaceId = 'workspaceId', +} + +registerEnumType(PipelineScalarFieldEnum, { + name: 'PipelineScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/pipeline/pipeline-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/pipeline/pipeline-scalar-where-with-aggregates.input.ts new file mode 100644 index 000000000..714ee58a3 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-scalar-where-with-aggregates.input.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; +import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; +import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineScalarWhereWithAggregatesInput { + @Field(() => [PipelineScalarWhereWithAggregatesInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineScalarWhereWithAggregatesInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineScalarWhereWithAggregatesInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + name?: StringWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + icon?: StringWithAggregatesFilter; + + @HideField() + workspaceId?: StringWithAggregatesFilter; +} diff --git a/server/src/api/@generated/pipeline/pipeline-scalar-where.input.ts b/server/src/api/@generated/pipeline/pipeline-scalar-where.input.ts new file mode 100644 index 000000000..17368b5d2 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-scalar-where.input.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineScalarWhereInput { + @Field(() => [PipelineScalarWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineScalarWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineScalarWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + name?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + icon?: StringFilter; + + @HideField() + workspaceId?: StringFilter; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create-nested-many-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create-nested-many-without-workspace.input.ts new file mode 100644 index 000000000..d6cde6db2 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create-nested-many-without-workspace.input.ts @@ -0,0 +1,28 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; +import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; + +@InputType() +export class PipelineUncheckedCreateNestedManyWithoutWorkspaceInput { + @Field(() => [PipelineCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => PipelineCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PipelineCreateManyWorkspaceInputEnvelope) + createMany?: PipelineCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-associations.input.ts new file mode 100644 index 000000000..26a93b692 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-associations.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; + +@InputType() +export class PipelineUncheckedCreateWithoutPipelineAssociationsInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @HideField() + workspaceId!: string; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts new file mode 100644 index 000000000..8fa5c8d12 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts @@ -0,0 +1,34 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input'; + +@InputType() +export class PipelineUncheckedCreateWithoutPipelineStagesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @HideField() + workspaceId!: string; + + @Field( + () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts new file mode 100644 index 000000000..e7daee68e --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; +import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input'; + +@InputType() +export class PipelineUncheckedCreateWithoutWorkspaceInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; + + @Field( + () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts new file mode 100644 index 000000000..df0ef743c --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; +import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input'; + +@InputType() +export class PipelineUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @HideField() + workspaceId!: string; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; + + @Field( + () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-pipelines.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-pipelines.input.ts new file mode 100644 index 000000000..ce660318f --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-pipelines.input.ts @@ -0,0 +1,26 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; + +@InputType() +export class PipelineUncheckedUpdateManyWithoutPipelinesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-workspace-nested.input.ts new file mode 100644 index 000000000..3dc0c4c95 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-many-without-workspace-nested.input.ts @@ -0,0 +1,66 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; +import { PipelineUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-upsert-with-where-unique-without-workspace.input'; +import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { PipelineUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-update-with-where-unique-without-workspace.input'; +import { PipelineUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-update-many-with-where-without-workspace.input'; +import { PipelineScalarWhereInput } from './pipeline-scalar-where.input'; + +@InputType() +export class PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [PipelineCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => [PipelineUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; + + @Field(() => PipelineCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PipelineCreateManyWorkspaceInputEnvelope) + createMany?: PipelineCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; + + @Field(() => [PipelineUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; + + @Field(() => [PipelineScalarWhereInput], { nullable: true }) + @Type(() => PipelineScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-many.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-many.input.ts new file mode 100644 index 000000000..151506864 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-many.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-associations.input.ts new file mode 100644 index 000000000..674dd37e0 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-associations.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; + +@InputType() +export class PipelineUncheckedUpdateWithoutPipelineAssociationsInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts new file mode 100644 index 000000000..bbffd7170 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input'; + +@InputType() +export class PipelineUncheckedUpdateWithoutPipelineStagesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts new file mode 100644 index 000000000..8390ba6df --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; +import { PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input'; + +@InputType() +export class PipelineUncheckedUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; + + @Field( + () => PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts new file mode 100644 index 000000000..62c11d8f9 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts @@ -0,0 +1,43 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; +import { PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input'; + +@InputType() +export class PipelineUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; + + @Field( + () => PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput, + { nullable: true }, + ) + pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-many-mutation.input.ts b/server/src/api/@generated/pipeline/pipeline-update-many-mutation.input.ts new file mode 100644 index 000000000..8d0a6a13e --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-many-mutation.input.ts @@ -0,0 +1,26 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; + +@InputType() +export class PipelineUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-many-with-where-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-update-many-with-where-without-workspace.input.ts new file mode 100644 index 000000000..2979c118e --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-many-with-where-without-workspace.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineScalarWhereInput } from './pipeline-scalar-where.input'; +import { Type } from 'class-transformer'; +import { PipelineUpdateManyMutationInput } from './pipeline-update-many-mutation.input'; + +@InputType() +export class PipelineUpdateManyWithWhereWithoutWorkspaceInput { + @Field(() => PipelineScalarWhereInput, { nullable: false }) + @Type(() => PipelineScalarWhereInput) + where!: PipelineScalarWhereInput; + + @Field(() => PipelineUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineUpdateManyMutationInput) + data!: PipelineUpdateManyMutationInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-many-without-workspace-nested.input.ts b/server/src/api/@generated/pipeline/pipeline-update-many-without-workspace-nested.input.ts new file mode 100644 index 000000000..e7a1e05f6 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-many-without-workspace-nested.input.ts @@ -0,0 +1,66 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutWorkspaceInput } from './pipeline-create-or-connect-without-workspace.input'; +import { PipelineUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-upsert-with-where-unique-without-workspace.input'; +import { PipelineCreateManyWorkspaceInputEnvelope } from './pipeline-create-many-workspace-input-envelope.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { PipelineUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-update-with-where-unique-without-workspace.input'; +import { PipelineUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-update-many-with-where-without-workspace.input'; +import { PipelineScalarWhereInput } from './pipeline-scalar-where.input'; + +@InputType() +export class PipelineUpdateManyWithoutWorkspaceNestedInput { + @Field(() => [PipelineCreateWithoutWorkspaceInput], { nullable: true }) + @Type(() => PipelineCreateWithoutWorkspaceInput) + create?: Array; + + @Field(() => [PipelineCreateOrConnectWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutWorkspaceInput) + connectOrCreate?: Array; + + @Field(() => [PipelineUpsertWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineUpsertWithWhereUniqueWithoutWorkspaceInput) + upsert?: Array; + + @Field(() => PipelineCreateManyWorkspaceInputEnvelope, { nullable: true }) + @Type(() => PipelineCreateManyWorkspaceInputEnvelope) + createMany?: PipelineCreateManyWorkspaceInputEnvelope; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineWhereUniqueInput], { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineUpdateWithWhereUniqueWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineUpdateWithWhereUniqueWithoutWorkspaceInput) + update?: Array; + + @Field(() => [PipelineUpdateManyWithWhereWithoutWorkspaceInput], { + nullable: true, + }) + @Type(() => PipelineUpdateManyWithWhereWithoutWorkspaceInput) + updateMany?: Array; + + @Field(() => [PipelineScalarWhereInput], { nullable: true }) + @Type(() => PipelineScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input.ts b/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input.ts new file mode 100644 index 000000000..385ee4cd7 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-associations-nested.input.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutPipelineAssociationsInput } from './pipeline-create-without-pipeline-associations.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutPipelineAssociationsInput } from './pipeline-create-or-connect-without-pipeline-associations.input'; +import { PipelineUpsertWithoutPipelineAssociationsInput } from './pipeline-upsert-without-pipeline-associations.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { PipelineUpdateWithoutPipelineAssociationsInput } from './pipeline-update-without-pipeline-associations.input'; + +@InputType() +export class PipelineUpdateOneRequiredWithoutPipelineAssociationsNestedInput { + @Field(() => PipelineCreateWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineCreateWithoutPipelineAssociationsInput) + create?: PipelineCreateWithoutPipelineAssociationsInput; + + @Field(() => PipelineCreateOrConnectWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutPipelineAssociationsInput) + connectOrCreate?: PipelineCreateOrConnectWithoutPipelineAssociationsInput; + + @Field(() => PipelineUpsertWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineUpsertWithoutPipelineAssociationsInput) + upsert?: PipelineUpsertWithoutPipelineAssociationsInput; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: PipelineWhereUniqueInput; + + @Field(() => PipelineUpdateWithoutPipelineAssociationsInput, { + nullable: true, + }) + @Type(() => PipelineUpdateWithoutPipelineAssociationsInput) + update?: PipelineUpdateWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input.ts b/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input.ts new file mode 100644 index 000000000..4b38972e3 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutPipelineStagesInput } from './pipeline-create-or-connect-without-pipeline-stages.input'; +import { PipelineUpsertWithoutPipelineStagesInput } from './pipeline-upsert-without-pipeline-stages.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { PipelineUpdateWithoutPipelineStagesInput } from './pipeline-update-without-pipeline-stages.input'; + +@InputType() +export class PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput { + @Field(() => PipelineCreateWithoutPipelineStagesInput, { nullable: true }) + @Type(() => PipelineCreateWithoutPipelineStagesInput) + create?: PipelineCreateWithoutPipelineStagesInput; + + @Field(() => PipelineCreateOrConnectWithoutPipelineStagesInput, { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutPipelineStagesInput) + connectOrCreate?: PipelineCreateOrConnectWithoutPipelineStagesInput; + + @Field(() => PipelineUpsertWithoutPipelineStagesInput, { nullable: true }) + @Type(() => PipelineUpsertWithoutPipelineStagesInput) + upsert?: PipelineUpsertWithoutPipelineStagesInput; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: PipelineWhereUniqueInput; + + @Field(() => PipelineUpdateWithoutPipelineStagesInput, { nullable: true }) + @Type(() => PipelineUpdateWithoutPipelineStagesInput) + update?: PipelineUpdateWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-update-with-where-unique-without-workspace.input.ts new file mode 100644 index 000000000..cb7f9ef56 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-with-where-unique-without-workspace.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineUpdateWithoutWorkspaceInput } from './pipeline-update-without-workspace.input'; + +@InputType() +export class PipelineUpdateWithWhereUniqueWithoutWorkspaceInput { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; + + @Field(() => PipelineUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineUpdateWithoutWorkspaceInput) + data!: PipelineUpdateWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-associations.input.ts new file mode 100644 index 000000000..2309e81dc --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-associations.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineUpdateWithoutPipelineAssociationsInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts new file mode 100644 index 000000000..410b288a1 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineAssociationUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineUpdateWithoutPipelineStagesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineAssociationUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts new file mode 100644 index 000000000..5dcc763d1 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts @@ -0,0 +1,38 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; +import { PipelineAssociationUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-nested.input'; + +@InputType() +export class PipelineUpdateWithoutWorkspaceInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; + + @Field(() => PipelineAssociationUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update.input.ts b/server/src/api/@generated/pipeline/pipeline-update.input.ts new file mode 100644 index 000000000..bf2dc9544 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update.input.ts @@ -0,0 +1,43 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; +import { PipelineAssociationUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; + + @Field(() => PipelineAssociationUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-upsert-with-where-unique-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-upsert-with-where-unique-without-workspace.input.ts new file mode 100644 index 000000000..c3a985e47 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-upsert-with-where-unique-without-workspace.input.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineUpdateWithoutWorkspaceInput } from './pipeline-update-without-workspace.input'; +import { PipelineCreateWithoutWorkspaceInput } from './pipeline-create-without-workspace.input'; + +@InputType() +export class PipelineUpsertWithWhereUniqueWithoutWorkspaceInput { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; + + @Field(() => PipelineUpdateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineUpdateWithoutWorkspaceInput) + update!: PipelineUpdateWithoutWorkspaceInput; + + @Field(() => PipelineCreateWithoutWorkspaceInput, { nullable: false }) + @Type(() => PipelineCreateWithoutWorkspaceInput) + create!: PipelineCreateWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-associations.input.ts b/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-associations.input.ts new file mode 100644 index 000000000..aead80967 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-associations.input.ts @@ -0,0 +1,20 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineUpdateWithoutPipelineAssociationsInput } from './pipeline-update-without-pipeline-associations.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateWithoutPipelineAssociationsInput } from './pipeline-create-without-pipeline-associations.input'; + +@InputType() +export class PipelineUpsertWithoutPipelineAssociationsInput { + @Field(() => PipelineUpdateWithoutPipelineAssociationsInput, { + nullable: false, + }) + @Type(() => PipelineUpdateWithoutPipelineAssociationsInput) + update!: PipelineUpdateWithoutPipelineAssociationsInput; + + @Field(() => PipelineCreateWithoutPipelineAssociationsInput, { + nullable: false, + }) + @Type(() => PipelineCreateWithoutPipelineAssociationsInput) + create!: PipelineCreateWithoutPipelineAssociationsInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-stages.input.ts new file mode 100644 index 000000000..dcafd115a --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-stages.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineUpdateWithoutPipelineStagesInput } from './pipeline-update-without-pipeline-stages.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateWithoutPipelineStagesInput } from './pipeline-create-without-pipeline-stages.input'; + +@InputType() +export class PipelineUpsertWithoutPipelineStagesInput { + @Field(() => PipelineUpdateWithoutPipelineStagesInput, { nullable: false }) + @Type(() => PipelineUpdateWithoutPipelineStagesInput) + update!: PipelineUpdateWithoutPipelineStagesInput; + + @Field(() => PipelineCreateWithoutPipelineStagesInput, { nullable: false }) + @Type(() => PipelineCreateWithoutPipelineStagesInput) + create!: PipelineCreateWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-where-unique.input.ts b/server/src/api/@generated/pipeline/pipeline-where-unique.input.ts new file mode 100644 index 000000000..672a9b663 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-where-unique.input.ts @@ -0,0 +1,8 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineWhereUniqueInput { + @Field(() => String, { nullable: true }) + id?: string; +} diff --git a/server/src/api/@generated/pipeline/pipeline-where.input.ts b/server/src/api/@generated/pipeline/pipeline-where.input.ts new file mode 100644 index 000000000..3118e6896 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-where.input.ts @@ -0,0 +1,51 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageListRelationFilter } from '../pipeline-stage/pipeline-stage-list-relation-filter.input'; +import { PipelineAssociationListRelationFilter } from '../pipeline-association/pipeline-association-list-relation-filter.input'; +import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; + +@InputType() +export class PipelineWhereInput { + @Field(() => [PipelineWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + name?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + icon?: StringFilter; + + @HideField() + workspaceId?: StringFilter; + + @Field(() => PipelineStageListRelationFilter, { nullable: true }) + pipelineStages?: PipelineStageListRelationFilter; + + @Field(() => PipelineAssociationListRelationFilter, { nullable: true }) + pipelineAssociations?: PipelineAssociationListRelationFilter; + + @HideField() + workspace?: WorkspaceRelationFilter; +} diff --git a/server/src/api/@generated/pipeline/pipeline.model.ts b/server/src/api/@generated/pipeline/pipeline.model.ts new file mode 100644 index 000000000..b3345161c --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline.model.ts @@ -0,0 +1,44 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { ID } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; +import { PipelineAssociation } from '../pipeline-association/pipeline-association.model'; +import { Workspace } from '../workspace/workspace.model'; +import { PipelineCount } from './pipeline-count.output'; + +@ObjectType() +export class Pipeline { + @Field(() => ID, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date; + + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @HideField() + workspaceId!: string; + + @Field(() => [PipelineStage], { nullable: true }) + pipelineStages?: Array; + + @Field(() => [PipelineAssociation], { nullable: true }) + pipelineAssociations?: Array; + + @HideField() + workspace?: Workspace; + + @Field(() => PipelineCount, { nullable: false }) + _count?: PipelineCount; +} diff --git a/server/src/api/@generated/pipeline/update-many-pipeline.args.ts b/server/src/api/@generated/pipeline/update-many-pipeline.args.ts new file mode 100644 index 000000000..1d010a7d8 --- /dev/null +++ b/server/src/api/@generated/pipeline/update-many-pipeline.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineUpdateManyMutationInput } from './pipeline-update-many-mutation.input'; +import { Type } from 'class-transformer'; +import { PipelineWhereInput } from './pipeline-where.input'; + +@ArgsType() +export class UpdateManyPipelineArgs { + @Field(() => PipelineUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineUpdateManyMutationInput) + data!: PipelineUpdateManyMutationInput; + + @Field(() => PipelineWhereInput, { nullable: true }) + @Type(() => PipelineWhereInput) + where?: PipelineWhereInput; +} diff --git a/server/src/api/@generated/pipeline/update-one-pipeline.args.ts b/server/src/api/@generated/pipeline/update-one-pipeline.args.ts new file mode 100644 index 000000000..b19f0b880 --- /dev/null +++ b/server/src/api/@generated/pipeline/update-one-pipeline.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineUpdateInput } from './pipeline-update.input'; +import { Type } from 'class-transformer'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; + +@ArgsType() +export class UpdateOnePipelineArgs { + @Field(() => PipelineUpdateInput, { nullable: false }) + @Type(() => PipelineUpdateInput) + data!: PipelineUpdateInput; + + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline/upsert-one-pipeline.args.ts b/server/src/api/@generated/pipeline/upsert-one-pipeline.args.ts new file mode 100644 index 000000000..1fd0cfcec --- /dev/null +++ b/server/src/api/@generated/pipeline/upsert-one-pipeline.args.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateInput } from './pipeline-create.input'; +import { PipelineUpdateInput } from './pipeline-update.input'; + +@ArgsType() +export class UpsertOnePipelineArgs { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; + + @Field(() => PipelineCreateInput, { nullable: false }) + @Type(() => PipelineCreateInput) + create!: PipelineCreateInput; + + @Field(() => PipelineUpdateInput, { nullable: false }) + @Type(() => PipelineUpdateInput) + update!: PipelineUpdateInput; +} diff --git a/server/src/api/@generated/prisma/enum-pipeline-associable-type-field-update-operations.input.ts b/server/src/api/@generated/prisma/enum-pipeline-associable-type-field-update-operations.input.ts new file mode 100644 index 000000000..7b30e00c3 --- /dev/null +++ b/server/src/api/@generated/prisma/enum-pipeline-associable-type-field-update-operations.input.ts @@ -0,0 +1,9 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class EnumPipelineAssociableTypeFieldUpdateOperationsInput { + @Field(() => PipelineAssociableType, { nullable: true }) + set?: keyof typeof PipelineAssociableType; +} diff --git a/server/src/api/@generated/prisma/enum-pipeline-associable-type-filter.input.ts b/server/src/api/@generated/prisma/enum-pipeline-associable-type-filter.input.ts new file mode 100644 index 000000000..e6c87341a --- /dev/null +++ b/server/src/api/@generated/prisma/enum-pipeline-associable-type-filter.input.ts @@ -0,0 +1,19 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { NestedEnumPipelineAssociableTypeFilter } from './nested-enum-pipeline-associable-type-filter.input'; + +@InputType() +export class EnumPipelineAssociableTypeFilter { + @Field(() => PipelineAssociableType, { nullable: true }) + equals?: keyof typeof PipelineAssociableType; + + @Field(() => [PipelineAssociableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineAssociableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineAssociableTypeFilter, { nullable: true }) + not?: NestedEnumPipelineAssociableTypeFilter; +} diff --git a/server/src/api/@generated/prisma/enum-pipeline-associable-type-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/enum-pipeline-associable-type-with-aggregates-filter.input.ts new file mode 100644 index 000000000..7b127e20d --- /dev/null +++ b/server/src/api/@generated/prisma/enum-pipeline-associable-type-with-aggregates-filter.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { NestedEnumPipelineAssociableTypeWithAggregatesFilter } from './nested-enum-pipeline-associable-type-with-aggregates-filter.input'; +import { NestedIntFilter } from './nested-int-filter.input'; +import { NestedEnumPipelineAssociableTypeFilter } from './nested-enum-pipeline-associable-type-filter.input'; + +@InputType() +export class EnumPipelineAssociableTypeWithAggregatesFilter { + @Field(() => PipelineAssociableType, { nullable: true }) + equals?: keyof typeof PipelineAssociableType; + + @Field(() => [PipelineAssociableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineAssociableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineAssociableTypeWithAggregatesFilter, { + nullable: true, + }) + not?: NestedEnumPipelineAssociableTypeWithAggregatesFilter; + + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; + + @Field(() => NestedEnumPipelineAssociableTypeFilter, { nullable: true }) + _min?: NestedEnumPipelineAssociableTypeFilter; + + @Field(() => NestedEnumPipelineAssociableTypeFilter, { nullable: true }) + _max?: NestedEnumPipelineAssociableTypeFilter; +} diff --git a/server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-filter.input.ts b/server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-filter.input.ts new file mode 100644 index 000000000..1341442ba --- /dev/null +++ b/server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-filter.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; + +@InputType() +export class NestedEnumPipelineAssociableTypeFilter { + @Field(() => PipelineAssociableType, { nullable: true }) + equals?: keyof typeof PipelineAssociableType; + + @Field(() => [PipelineAssociableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineAssociableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineAssociableTypeFilter, { nullable: true }) + not?: NestedEnumPipelineAssociableTypeFilter; +} diff --git a/server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-with-aggregates-filter.input.ts new file mode 100644 index 000000000..023869de9 --- /dev/null +++ b/server/src/api/@generated/prisma/nested-enum-pipeline-associable-type-with-aggregates-filter.input.ts @@ -0,0 +1,31 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum'; +import { NestedIntFilter } from './nested-int-filter.input'; +import { NestedEnumPipelineAssociableTypeFilter } from './nested-enum-pipeline-associable-type-filter.input'; + +@InputType() +export class NestedEnumPipelineAssociableTypeWithAggregatesFilter { + @Field(() => PipelineAssociableType, { nullable: true }) + equals?: keyof typeof PipelineAssociableType; + + @Field(() => [PipelineAssociableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineAssociableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineAssociableTypeWithAggregatesFilter, { + nullable: true, + }) + not?: NestedEnumPipelineAssociableTypeWithAggregatesFilter; + + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; + + @Field(() => NestedEnumPipelineAssociableTypeFilter, { nullable: true }) + _min?: NestedEnumPipelineAssociableTypeFilter; + + @Field(() => NestedEnumPipelineAssociableTypeFilter, { nullable: true }) + _max?: NestedEnumPipelineAssociableTypeFilter; +} diff --git a/server/src/api/@generated/user/user-create-without-comments.input.ts b/server/src/api/@generated/user/user-create-without-comments.input.ts index ecd2204c9..d996388a0 100644 --- a/server/src/api/@generated/user/user-create-without-comments.input.ts +++ b/server/src/api/@generated/user/user-create-without-comments.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input'; import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input'; @@ -49,9 +50,7 @@ export class UserCreateWithoutCommentsInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, { @@ -59,6 +58,6 @@ export class UserCreateWithoutCommentsInput { }) companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-create-without-companies.input.ts b/server/src/api/@generated/user/user-create-without-companies.input.ts index ca8b1f34f..6ffd8d4f9 100644 --- a/server/src/api/@generated/user/user-create-without-companies.input.ts +++ b/server/src/api/@generated/user/user-create-without-companies.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input'; import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; @@ -49,12 +50,10 @@ export class UserCreateWithoutCompaniesInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; - @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; @Field(() => CommentCreateNestedManyWithoutAuthorInput, { nullable: true }) diff --git a/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts index 2ceeb6425..739d3c031 100644 --- a/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-create-without-refresh-tokens.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input'; import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; @@ -49,9 +50,7 @@ export class UserCreateWithoutRefreshTokensInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, { diff --git a/server/src/api/@generated/user/user-create-without-workspace-member.input.ts b/server/src/api/@generated/user/user-create-without-workspace-member.input.ts index 558cfb512..22525151d 100644 --- a/server/src/api/@generated/user/user-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-create-without-workspace-member.input.ts @@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input'; import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; @InputType() @@ -54,7 +55,7 @@ export class UserCreateWithoutWorkspaceMemberInput { }) companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; @Field(() => CommentCreateNestedManyWithoutAuthorInput, { nullable: true }) diff --git a/server/src/api/@generated/user/user-create.input.ts b/server/src/api/@generated/user/user-create.input.ts index 3d7db9a34..a56df0cf3 100644 --- a/server/src/api/@generated/user/user-create.input.ts +++ b/server/src/api/@generated/user/user-create.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input'; import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input'; import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input'; @@ -50,9 +51,7 @@ export class UserCreateInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput; @Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, { @@ -60,7 +59,7 @@ export class UserCreateInput { }) companies?: CompanyCreateNestedManyWithoutAccountOwnerInput; - @Field(() => RefreshTokenCreateNestedManyWithoutUserInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput; @Field(() => CommentCreateNestedManyWithoutAuthorInput, { nullable: true }) diff --git a/server/src/api/@generated/user/user-order-by-with-relation.input.ts b/server/src/api/@generated/user/user-order-by-with-relation.input.ts index 19de494dd..c98cff704 100644 --- a/server/src/api/@generated/user/user-order-by-with-relation.input.ts +++ b/server/src/api/@generated/user/user-order-by-with-relation.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { SortOrder } from '../prisma/sort-order.enum'; import { WorkspaceMemberOrderByWithRelationInput } from '../workspace-member/workspace-member-order-by-with-relation.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyOrderByRelationAggregateInput } from '../company/company-order-by-relation-aggregate.input'; import { RefreshTokenOrderByRelationAggregateInput } from '../refresh-token/refresh-token-order-by-relation-aggregate.input'; import { CommentOrderByRelationAggregateInput } from '../comment/comment-order-by-relation-aggregate.input'; @@ -50,13 +51,13 @@ export class UserOrderByWithRelationInput { @Field(() => SortOrder, { nullable: true }) metadata?: keyof typeof SortOrder; - @Field(() => WorkspaceMemberOrderByWithRelationInput, { nullable: true }) + @HideField() workspaceMember?: WorkspaceMemberOrderByWithRelationInput; @Field(() => CompanyOrderByRelationAggregateInput, { nullable: true }) companies?: CompanyOrderByRelationAggregateInput; - @Field(() => RefreshTokenOrderByRelationAggregateInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenOrderByRelationAggregateInput; @Field(() => CommentOrderByRelationAggregateInput, { nullable: true }) diff --git a/server/src/api/@generated/user/user-unchecked-create-without-comments.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-comments.input.ts index ead84bd47..6b0beffb2 100644 --- a/server/src/api/@generated/user/user-unchecked-create-without-comments.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create-without-comments.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input'; import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input'; @@ -49,9 +50,7 @@ export class UserUncheckedCreateWithoutCommentsInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, { @@ -59,8 +58,6 @@ export class UserUncheckedCreateWithoutCommentsInput { }) companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; } diff --git a/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts index 2f40176a5..073d2c0bc 100644 --- a/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create-without-companies.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input'; import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; @@ -49,14 +50,10 @@ export class UserUncheckedCreateWithoutCompaniesInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; - @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, { diff --git a/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts index 7ace7a8db..1eff80b8c 100644 --- a/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create-without-refresh-tokens.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input'; import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; @@ -49,9 +50,7 @@ export class UserUncheckedCreateWithoutRefreshTokensInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, { diff --git a/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts b/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts index e8da0a013..f4051cf02 100644 --- a/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create-without-workspace-member.input.ts @@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input'; import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; @InputType() @@ -54,9 +55,7 @@ export class UserUncheckedCreateWithoutWorkspaceMemberInput { }) companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, { diff --git a/server/src/api/@generated/user/user-unchecked-create.input.ts b/server/src/api/@generated/user/user-unchecked-create.input.ts index 351bab644..e133e420d 100644 --- a/server/src/api/@generated/user/user-unchecked-create.input.ts +++ b/server/src/api/@generated/user/user-unchecked-create.input.ts @@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input'; import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input'; import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input'; @@ -50,9 +51,7 @@ export class UserUncheckedCreateInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput; @Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, { @@ -60,9 +59,7 @@ export class UserUncheckedCreateInput { }) companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput; - @Field(() => RefreshTokenUncheckedCreateNestedManyWithoutUserInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput; @Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, { diff --git a/server/src/api/@generated/user/user-unchecked-update-without-comments.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-comments.input.ts index 1cfbac99c..7b36954d5 100644 --- a/server/src/api/@generated/user/user-unchecked-update-without-comments.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-without-comments.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input'; import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input'; @@ -54,9 +55,7 @@ export class UserUncheckedUpdateWithoutCommentsInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, { @@ -64,8 +63,6 @@ export class UserUncheckedUpdateWithoutCommentsInput { }) companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts index b49ec7470..81ace32fa 100644 --- a/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-without-companies.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input'; import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input'; @@ -54,14 +55,10 @@ export class UserUncheckedUpdateWithoutCompaniesInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; - @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, { diff --git a/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts index 876fd46f4..321fc24de 100644 --- a/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-without-refresh-tokens.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input'; import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input'; @@ -54,9 +55,7 @@ export class UserUncheckedUpdateWithoutRefreshTokensInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, { diff --git a/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts b/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts index f535aa037..09d68471b 100644 --- a/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update-without-workspace-member.input.ts @@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str import { GraphQLJSON } from 'graphql-type-json'; import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input'; import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input'; @InputType() @@ -59,9 +60,7 @@ export class UserUncheckedUpdateWithoutWorkspaceMemberInput { }) companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, { diff --git a/server/src/api/@generated/user/user-unchecked-update.input.ts b/server/src/api/@generated/user/user-unchecked-update.input.ts index 16ed47bb6..032b603e8 100644 --- a/server/src/api/@generated/user/user-unchecked-update.input.ts +++ b/server/src/api/@generated/user/user-unchecked-update.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input'; import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input'; import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input'; @@ -55,9 +56,7 @@ export class UserUncheckedUpdateInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput; @Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, { @@ -65,9 +64,7 @@ export class UserUncheckedUpdateInput { }) companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => RefreshTokenUncheckedUpdateManyWithoutUserNestedInput, { - nullable: true, - }) + @HideField() refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput; @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, { diff --git a/server/src/api/@generated/user/user-update-without-comments.input.ts b/server/src/api/@generated/user/user-update-without-comments.input.ts index e122b6c83..254e42f07 100644 --- a/server/src/api/@generated/user/user-update-without-comments.input.ts +++ b/server/src/api/@generated/user/user-update-without-comments.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input'; import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input'; @@ -54,9 +55,7 @@ export class UserUpdateWithoutCommentsInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, { @@ -64,6 +63,6 @@ export class UserUpdateWithoutCommentsInput { }) companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; } diff --git a/server/src/api/@generated/user/user-update-without-companies.input.ts b/server/src/api/@generated/user/user-update-without-companies.input.ts index 42506a4eb..474bdf650 100644 --- a/server/src/api/@generated/user/user-update-without-companies.input.ts +++ b/server/src/api/@generated/user/user-update-without-companies.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input'; import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input'; @@ -54,12 +55,10 @@ export class UserUpdateWithoutCompaniesInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; - @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; @Field(() => CommentUpdateManyWithoutAuthorNestedInput, { nullable: true }) diff --git a/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts b/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts index 1cdd1df8e..87937b3f8 100644 --- a/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts +++ b/server/src/api/@generated/user/user-update-without-refresh-tokens.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input'; import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input'; @@ -54,9 +55,7 @@ export class UserUpdateWithoutRefreshTokensInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, { diff --git a/server/src/api/@generated/user/user-update-without-workspace-member.input.ts b/server/src/api/@generated/user/user-update-without-workspace-member.input.ts index 93f65ea3e..471a917df 100644 --- a/server/src/api/@generated/user/user-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/user/user-update-without-workspace-member.input.ts @@ -8,6 +8,7 @@ import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-str import { GraphQLJSON } from 'graphql-type-json'; import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input'; import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input'; @InputType() @@ -59,7 +60,7 @@ export class UserUpdateWithoutWorkspaceMemberInput { }) companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; @Field(() => CommentUpdateManyWithoutAuthorNestedInput, { nullable: true }) diff --git a/server/src/api/@generated/user/user-update.input.ts b/server/src/api/@generated/user/user-update.input.ts index f280246b8..6766227cd 100644 --- a/server/src/api/@generated/user/user-update.input.ts +++ b/server/src/api/@generated/user/user-update.input.ts @@ -7,6 +7,7 @@ import { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-oper import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input'; import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input'; import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input'; @@ -55,9 +56,7 @@ export class UserUpdateInput { @Field(() => GraphQLJSON, { nullable: true }) metadata?: any; - @Field(() => WorkspaceMemberUpdateOneWithoutUserNestedInput, { - nullable: true, - }) + @HideField() workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput; @Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, { @@ -65,7 +64,7 @@ export class UserUpdateInput { }) companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput; - @Field(() => RefreshTokenUpdateManyWithoutUserNestedInput, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput; @Field(() => CommentUpdateManyWithoutAuthorNestedInput, { nullable: true }) diff --git a/server/src/api/@generated/user/user-where.input.ts b/server/src/api/@generated/user/user-where.input.ts index 459c1cbad..9c4d84a94 100644 --- a/server/src/api/@generated/user/user-where.input.ts +++ b/server/src/api/@generated/user/user-where.input.ts @@ -7,6 +7,7 @@ import { BoolFilter } from '../prisma/bool-filter.input'; import { StringNullableFilter } from '../prisma/string-nullable-filter.input'; import { JsonNullableFilter } from '../prisma/json-nullable-filter.input'; import { WorkspaceMemberRelationFilter } from '../workspace-member/workspace-member-relation-filter.input'; +import { HideField } from '@nestjs/graphql'; import { CompanyListRelationFilter } from '../company/company-list-relation-filter.input'; import { RefreshTokenListRelationFilter } from '../refresh-token/refresh-token-list-relation-filter.input'; import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input'; @@ -64,13 +65,13 @@ export class UserWhereInput { @Field(() => JsonNullableFilter, { nullable: true }) metadata?: JsonNullableFilter; - @Field(() => WorkspaceMemberRelationFilter, { nullable: true }) + @HideField() workspaceMember?: WorkspaceMemberRelationFilter; @Field(() => CompanyListRelationFilter, { nullable: true }) companies?: CompanyListRelationFilter; - @Field(() => RefreshTokenListRelationFilter, { nullable: true }) + @HideField() refreshTokens?: RefreshTokenListRelationFilter; @Field(() => CommentListRelationFilter, { nullable: true }) diff --git a/server/src/api/@generated/user/user.model.ts b/server/src/api/@generated/user/user.model.ts index a19d5faf5..9650ba100 100644 --- a/server/src/api/@generated/user/user.model.ts +++ b/server/src/api/@generated/user/user.model.ts @@ -5,6 +5,7 @@ import { GraphQLJSON } from 'graphql-type-json'; import { WorkspaceMember } from '../workspace-member/workspace-member.model'; import { Company } from '../company/company.model'; import { RefreshToken } from '../refresh-token/refresh-token.model'; +import { HideField } from '@nestjs/graphql'; import { Comment } from '../comment/comment.model'; import { UserCount } from './user-count.output'; @@ -58,7 +59,7 @@ export class User { @Field(() => [Company], { nullable: true }) companies?: Array; - @Field(() => [RefreshToken], { nullable: true }) + @HideField() refreshTokens?: Array; @Field(() => [Comment], { nullable: true }) diff --git a/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts b/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts index 949a727d0..59713758a 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-count-aggregate.output.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMemberCountAggregate { @@ -19,7 +20,7 @@ export class WorkspaceMemberCountAggregate { @Field(() => Int, { nullable: false }) userId!: number; - @Field(() => Int, { nullable: false }) + @HideField() workspaceId!: number; @Field(() => Int, { nullable: false }) diff --git a/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts b/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts index da6069aa2..654d55b5b 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-group-by.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { WorkspaceMemberCountAggregate } from './workspace-member-count-aggregate.output'; import { WorkspaceMemberMinAggregate } from './workspace-member-min-aggregate.output'; import { WorkspaceMemberMaxAggregate } from './workspace-member-max-aggregate.output'; @@ -21,7 +22,7 @@ export class WorkspaceMemberGroupBy { @Field(() => String, { nullable: false }) userId!: string; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => WorkspaceMemberCountAggregate, { nullable: true }) diff --git a/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts b/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts index 9c6b121f2..c56408118 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-max-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMemberMaxAggregate { @@ -18,6 +19,6 @@ export class WorkspaceMemberMaxAggregate { @Field(() => String, { nullable: true }) userId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts b/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts index 0c4b7abba..dcdc5510b 100644 --- a/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts +++ b/server/src/api/@generated/workspace-member/workspace-member-min-aggregate.output.ts @@ -1,5 +1,6 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; @ObjectType() export class WorkspaceMemberMinAggregate { @@ -18,6 +19,6 @@ export class WorkspaceMemberMinAggregate { @Field(() => String, { nullable: true }) userId?: string; - @Field(() => String, { nullable: true }) + @HideField() workspaceId?: string; } diff --git a/server/src/api/@generated/workspace-member/workspace-member.model.ts b/server/src/api/@generated/workspace-member/workspace-member.model.ts index 47a4aff49..718930891 100644 --- a/server/src/api/@generated/workspace-member/workspace-member.model.ts +++ b/server/src/api/@generated/workspace-member/workspace-member.model.ts @@ -1,6 +1,7 @@ import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; import { User } from '../user/user.model'; import { Workspace } from '../workspace/workspace.model'; @@ -21,12 +22,12 @@ export class WorkspaceMember { @Field(() => String, { nullable: false }) userId!: string; - @Field(() => String, { nullable: false }) + @HideField() workspaceId!: string; @Field(() => User, { nullable: false }) user?: User; - @Field(() => Workspace, { nullable: false }) + @HideField() workspace?: Workspace; } diff --git a/server/src/api/@generated/workspace/workspace-count.output.ts b/server/src/api/@generated/workspace/workspace-count.output.ts index b3b9d47be..a3dfe61c5 100644 --- a/server/src/api/@generated/workspace/workspace-count.output.ts +++ b/server/src/api/@generated/workspace/workspace-count.output.ts @@ -18,4 +18,10 @@ export class WorkspaceCount { @Field(() => Int, { nullable: false }) comments?: number; + + @Field(() => Int, { nullable: false }) + pipelines?: number; + + @Field(() => Int, { nullable: false }) + pipelineStages?: number; } diff --git a/server/src/api/@generated/workspace/workspace-create-nested-one-without-pipeline-stages.input.ts b/server/src/api/@generated/workspace/workspace-create-nested-one-without-pipeline-stages.input.ts new file mode 100644 index 000000000..ed061b926 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-create-nested-one-without-pipeline-stages.input.ts @@ -0,0 +1,23 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateOrConnectWithoutPipelineStagesInput } from './workspace-create-or-connect-without-pipeline-stages.input'; +import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; + +@InputType() +export class WorkspaceCreateNestedOneWithoutPipelineStagesInput { + @Field(() => WorkspaceCreateWithoutPipelineStagesInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutPipelineStagesInput) + create?: WorkspaceCreateWithoutPipelineStagesInput; + + @Field(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineStagesInput; + + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; +} diff --git a/server/src/api/@generated/workspace/workspace-create-nested-one-without-pipelines.input.ts b/server/src/api/@generated/workspace/workspace-create-nested-one-without-pipelines.input.ts new file mode 100644 index 000000000..d5da3bf01 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-create-nested-one-without-pipelines.input.ts @@ -0,0 +1,23 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateOrConnectWithoutPipelinesInput } from './workspace-create-or-connect-without-pipelines.input'; +import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; + +@InputType() +export class WorkspaceCreateNestedOneWithoutPipelinesInput { + @Field(() => WorkspaceCreateWithoutPipelinesInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutPipelinesInput) + create?: WorkspaceCreateWithoutPipelinesInput; + + @Field(() => WorkspaceCreateOrConnectWithoutPipelinesInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutPipelinesInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelinesInput; + + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; +} diff --git a/server/src/api/@generated/workspace/workspace-create-or-connect-without-pipeline-stages.input.ts b/server/src/api/@generated/workspace/workspace-create-or-connect-without-pipeline-stages.input.ts new file mode 100644 index 000000000..35792f806 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-create-or-connect-without-pipeline-stages.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; + +@InputType() +export class WorkspaceCreateOrConnectWithoutPipelineStagesInput { + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; + + @Field(() => WorkspaceCreateWithoutPipelineStagesInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutPipelineStagesInput) + create!: WorkspaceCreateWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/workspace/workspace-create-or-connect-without-pipelines.input.ts b/server/src/api/@generated/workspace/workspace-create-or-connect-without-pipelines.input.ts new file mode 100644 index 000000000..d0b959ba4 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-create-or-connect-without-pipelines.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; + +@InputType() +export class WorkspaceCreateOrConnectWithoutPipelinesInput { + @Field(() => WorkspaceWhereUniqueInput, { nullable: false }) + @Type(() => WorkspaceWhereUniqueInput) + where!: WorkspaceWhereUniqueInput; + + @Field(() => WorkspaceCreateWithoutPipelinesInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutPipelinesInput) + create!: WorkspaceCreateWithoutPipelinesInput; +} diff --git a/server/src/api/@generated/workspace/workspace-create-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-create-without-comment-threads.input.ts index 317967d1e..69dbdf950 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-comment-threads.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-comment-threads.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspa import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input'; import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input'; import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input'; +import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; +import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceCreateWithoutCommentThreadsInput { @@ -41,4 +43,14 @@ export class WorkspaceCreateWithoutCommentThreadsInput { @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true }) comments?: CommentCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-create-without-comments.input.ts index 273dc80a9..cd28dbd4e 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-comments.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-comments.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspa import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input'; import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input'; import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input'; +import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; +import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceCreateWithoutCommentsInput { @@ -43,4 +45,14 @@ export class WorkspaceCreateWithoutCommentsInput { nullable: true, }) commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts index fc5ee7c91..721b05b9b 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-companies.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspa import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input'; import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input'; import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input'; +import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; +import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceCreateWithoutCompaniesInput { @@ -43,4 +45,14 @@ export class WorkspaceCreateWithoutCompaniesInput { @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true }) comments?: CommentCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-without-people.input.ts b/server/src/api/@generated/workspace/workspace-create-without-people.input.ts index f38f64c25..e96e84008 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-people.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspa import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input'; import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input'; import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input'; +import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; +import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceCreateWithoutPeopleInput { @@ -43,4 +45,14 @@ export class WorkspaceCreateWithoutPeopleInput { @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true }) comments?: CommentCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create-without-pipeline-stages.input.ts b/server/src/api/@generated/workspace/workspace-create-without-pipeline-stages.input.ts new file mode 100644 index 000000000..f4eed84f1 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-create-without-pipeline-stages.input.ts @@ -0,0 +1,56 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input'; +import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input'; +import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input'; +import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input'; +import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input'; +import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; + +@InputType() +export class WorkspaceCreateWithoutPipelineStagesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + domainName!: string; + + @Field(() => String, { nullable: false }) + displayName!: string; + + @Field(() => String, { nullable: true }) + logo?: string; + + @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + companies?: CompanyCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + comments?: CommentCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/workspace/workspace-create-without-pipelines.input.ts b/server/src/api/@generated/workspace/workspace-create-without-pipelines.input.ts new file mode 100644 index 000000000..63a56f88a --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-create-without-pipelines.input.ts @@ -0,0 +1,56 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input'; +import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input'; +import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input'; +import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input'; +import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input'; +import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; + +@InputType() +export class WorkspaceCreateWithoutPipelinesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + domainName!: string; + + @Field(() => String, { nullable: false }) + displayName!: string; + + @Field(() => String, { nullable: true }) + logo?: string; + + @Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + companies?: CompanyCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + people?: PersonCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true }) + comments?: CommentCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts index 9d8a2576c..cc6c4d684 100644 --- a/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-create-without-workspace-member.input.ts @@ -4,6 +4,8 @@ import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input'; import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input'; import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input'; +import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; +import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceCreateWithoutWorkspaceMemberInput { @@ -41,4 +43,14 @@ export class WorkspaceCreateWithoutWorkspaceMemberInput { @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true }) comments?: CommentCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-create.input.ts b/server/src/api/@generated/workspace/workspace-create.input.ts index 9f95fa7bf..31723ddee 100644 --- a/server/src/api/@generated/workspace/workspace-create.input.ts +++ b/server/src/api/@generated/workspace/workspace-create.input.ts @@ -5,6 +5,8 @@ import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input'; import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input'; import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input'; +import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input'; +import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceCreateInput { @@ -47,4 +49,14 @@ export class WorkspaceCreateInput { @Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true }) comments?: CommentCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts b/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts index f49c85a5e..a9ab36632 100644 --- a/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts +++ b/server/src/api/@generated/workspace/workspace-order-by-with-relation.input.ts @@ -6,6 +6,8 @@ import { CompanyOrderByRelationAggregateInput } from '../company/company-order-b import { PersonOrderByRelationAggregateInput } from '../person/person-order-by-relation-aggregate.input'; import { CommentThreadOrderByRelationAggregateInput } from '../comment-thread/comment-thread-order-by-relation-aggregate.input'; import { CommentOrderByRelationAggregateInput } from '../comment/comment-order-by-relation-aggregate.input'; +import { PipelineOrderByRelationAggregateInput } from '../pipeline/pipeline-order-by-relation-aggregate.input'; +import { PipelineStageOrderByRelationAggregateInput } from '../pipeline-stage/pipeline-stage-order-by-relation-aggregate.input'; @InputType() export class WorkspaceOrderByWithRelationInput { @@ -44,4 +46,10 @@ export class WorkspaceOrderByWithRelationInput { @Field(() => CommentOrderByRelationAggregateInput, { nullable: true }) comments?: CommentOrderByRelationAggregateInput; + + @Field(() => PipelineOrderByRelationAggregateInput, { nullable: true }) + pipelines?: PipelineOrderByRelationAggregateInput; + + @Field(() => PipelineStageOrderByRelationAggregateInput, { nullable: true }) + pipelineStages?: PipelineStageOrderByRelationAggregateInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts index c28e1a480..b3ee0482a 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comment-threads.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '. import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input'; import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input'; import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input'; +import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; +import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceUncheckedCreateWithoutCommentThreadsInput { @@ -47,4 +49,14 @@ export class WorkspaceUncheckedCreateWithoutCommentThreadsInput { nullable: true, }) comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comments.input.ts index 35179d926..4122b99b3 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-comments.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-comments.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '. import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input'; import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input'; import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input'; +import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; +import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceUncheckedCreateWithoutCommentsInput { @@ -47,4 +49,14 @@ export class WorkspaceUncheckedCreateWithoutCommentsInput { nullable: true, }) commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts index 221136553..7d4268543 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-companies.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '. import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input'; import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input'; import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input'; +import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; +import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceUncheckedCreateWithoutCompaniesInput { @@ -47,4 +49,14 @@ export class WorkspaceUncheckedCreateWithoutCompaniesInput { nullable: true, }) comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts index 45b35f827..b91a8da61 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-people.input.ts @@ -4,6 +4,8 @@ import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '. import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input'; import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input'; import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input'; +import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; +import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceUncheckedCreateWithoutPeopleInput { @@ -47,4 +49,14 @@ export class WorkspaceUncheckedCreateWithoutPeopleInput { nullable: true, }) comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-pipeline-stages.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-pipeline-stages.input.ts new file mode 100644 index 000000000..f9f4c19be --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-pipeline-stages.input.ts @@ -0,0 +1,62 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input'; +import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input'; +import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input'; +import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input'; +import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input'; +import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; + +@InputType() +export class WorkspaceUncheckedCreateWithoutPipelineStagesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + domainName!: string; + + @Field(() => String, { nullable: false }) + displayName!: string; + + @Field(() => String, { nullable: true }) + logo?: string; + + @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-pipelines.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-pipelines.input.ts new file mode 100644 index 000000000..dda4112d7 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-pipelines.input.ts @@ -0,0 +1,62 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input'; +import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input'; +import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input'; +import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input'; +import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input'; +import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; + +@InputType() +export class WorkspaceUncheckedCreateWithoutPipelinesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + domainName!: string; + + @Field(() => String, { nullable: false }) + displayName!: string; + + @Field(() => String, { nullable: true }) + logo?: string; + + @Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; +} diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts index bfde88e5e..9428063e6 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create-without-workspace-member.input.ts @@ -4,6 +4,8 @@ import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../compan import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input'; import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input'; import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input'; +import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; +import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput { @@ -47,4 +49,14 @@ export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput { nullable: true, }) comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts index b67fc5ca4..bd0051691 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-create.input.ts @@ -5,6 +5,8 @@ import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../compan import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input'; import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input'; import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input'; +import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input'; +import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input'; @InputType() export class WorkspaceUncheckedCreateInput { @@ -53,4 +55,14 @@ export class WorkspaceUncheckedCreateInput { nullable: true, }) comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts index 40eb010b0..4625294c9 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comment-threads.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '. import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input'; import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input'; import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; +import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; +import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUncheckedUpdateWithoutCommentThreadsInput { @@ -51,4 +53,14 @@ export class WorkspaceUncheckedUpdateWithoutCommentThreadsInput { nullable: true, }) comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comments.input.ts index 50d54cdee..bd5177c0d 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-comments.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-comments.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '. import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input'; import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input'; import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input'; +import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; +import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUncheckedUpdateWithoutCommentsInput { @@ -51,4 +53,14 @@ export class WorkspaceUncheckedUpdateWithoutCommentsInput { nullable: true, }) commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts index a1cfd3b12..18c3e3f45 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-companies.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '. import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input'; import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input'; import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; +import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; +import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUncheckedUpdateWithoutCompaniesInput { @@ -51,4 +53,14 @@ export class WorkspaceUncheckedUpdateWithoutCompaniesInput { nullable: true, }) comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts index 0691c303e..541be3d07 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-people.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '. import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input'; import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input'; import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; +import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; +import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUncheckedUpdateWithoutPeopleInput { @@ -51,4 +53,14 @@ export class WorkspaceUncheckedUpdateWithoutPeopleInput { nullable: true, }) comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-pipeline-stages.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-pipeline-stages.input.ts new file mode 100644 index 000000000..cada6683e --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-pipeline-stages.input.ts @@ -0,0 +1,66 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; +import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input'; +import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input'; +import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input'; +import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input'; +import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; +import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; + +@InputType() +export class WorkspaceUncheckedUpdateWithoutPipelineStagesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; + + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; + + @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; +} diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-pipelines.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-pipelines.input.ts new file mode 100644 index 000000000..67eabd831 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-pipelines.input.ts @@ -0,0 +1,66 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; +import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input'; +import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input'; +import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input'; +import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input'; +import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; +import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; + +@InputType() +export class WorkspaceUncheckedUpdateWithoutPipelinesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; + + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; + + @Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; +} diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts index d032ba7f0..0192e1c8f 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update-without-workspace-member.input.ts @@ -8,6 +8,8 @@ import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../compan import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input'; import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input'; import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; +import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; +import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput { @@ -51,4 +53,14 @@ export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput { nullable: true, }) comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts b/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts index 86facdc21..7550a9056 100644 --- a/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts +++ b/server/src/api/@generated/workspace/workspace-unchecked-update.input.ts @@ -9,6 +9,8 @@ import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../compan import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input'; import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input'; import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input'; +import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input'; +import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUncheckedUpdateInput { @@ -57,4 +59,14 @@ export class WorkspaceUncheckedUpdateInput { nullable: true, }) comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-one-required-without-pipeline-stages-nested.input.ts b/server/src/api/@generated/workspace/workspace-update-one-required-without-pipeline-stages-nested.input.ts new file mode 100644 index 000000000..ea431ff7a --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-update-one-required-without-pipeline-stages-nested.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateOrConnectWithoutPipelineStagesInput } from './workspace-create-or-connect-without-pipeline-stages.input'; +import { WorkspaceUpsertWithoutPipelineStagesInput } from './workspace-upsert-without-pipeline-stages.input'; +import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; +import { WorkspaceUpdateWithoutPipelineStagesInput } from './workspace-update-without-pipeline-stages.input'; + +@InputType() +export class WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput { + @Field(() => WorkspaceCreateWithoutPipelineStagesInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutPipelineStagesInput) + create?: WorkspaceCreateWithoutPipelineStagesInput; + + @Field(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutPipelineStagesInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineStagesInput; + + @Field(() => WorkspaceUpsertWithoutPipelineStagesInput, { nullable: true }) + @Type(() => WorkspaceUpsertWithoutPipelineStagesInput) + upsert?: WorkspaceUpsertWithoutPipelineStagesInput; + + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; + + @Field(() => WorkspaceUpdateWithoutPipelineStagesInput, { nullable: true }) + @Type(() => WorkspaceUpdateWithoutPipelineStagesInput) + update?: WorkspaceUpdateWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/workspace/workspace-update-one-required-without-pipelines-nested.input.ts b/server/src/api/@generated/workspace/workspace-update-one-required-without-pipelines-nested.input.ts new file mode 100644 index 000000000..10a2e297e --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-update-one-required-without-pipelines-nested.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateOrConnectWithoutPipelinesInput } from './workspace-create-or-connect-without-pipelines.input'; +import { WorkspaceUpsertWithoutPipelinesInput } from './workspace-upsert-without-pipelines.input'; +import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input'; +import { WorkspaceUpdateWithoutPipelinesInput } from './workspace-update-without-pipelines.input'; + +@InputType() +export class WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput { + @Field(() => WorkspaceCreateWithoutPipelinesInput, { nullable: true }) + @Type(() => WorkspaceCreateWithoutPipelinesInput) + create?: WorkspaceCreateWithoutPipelinesInput; + + @Field(() => WorkspaceCreateOrConnectWithoutPipelinesInput, { + nullable: true, + }) + @Type(() => WorkspaceCreateOrConnectWithoutPipelinesInput) + connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelinesInput; + + @Field(() => WorkspaceUpsertWithoutPipelinesInput, { nullable: true }) + @Type(() => WorkspaceUpsertWithoutPipelinesInput) + upsert?: WorkspaceUpsertWithoutPipelinesInput; + + @Field(() => WorkspaceWhereUniqueInput, { nullable: true }) + @Type(() => WorkspaceWhereUniqueInput) + connect?: WorkspaceWhereUniqueInput; + + @Field(() => WorkspaceUpdateWithoutPipelinesInput, { nullable: true }) + @Type(() => WorkspaceUpdateWithoutPipelinesInput) + update?: WorkspaceUpdateWithoutPipelinesInput; +} diff --git a/server/src/api/@generated/workspace/workspace-update-without-comment-threads.input.ts b/server/src/api/@generated/workspace/workspace-update-without-comment-threads.input.ts index ef8e490a4..089a71d39 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-comment-threads.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-comment-threads.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspa import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input'; import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input'; import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; +import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; +import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUpdateWithoutCommentThreadsInput { @@ -45,4 +47,14 @@ export class WorkspaceUpdateWithoutCommentThreadsInput { @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) comments?: CommentUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-without-comments.input.ts b/server/src/api/@generated/workspace/workspace-update-without-comments.input.ts index ce8ad1b55..3774d015f 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-comments.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-comments.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspa import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input'; import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input'; import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input'; +import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; +import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUpdateWithoutCommentsInput { @@ -47,4 +49,14 @@ export class WorkspaceUpdateWithoutCommentsInput { nullable: true, }) commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts b/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts index 3c3bbd59e..542ed3814 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-companies.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspa import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input'; import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input'; import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; +import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; +import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUpdateWithoutCompaniesInput { @@ -47,4 +49,14 @@ export class WorkspaceUpdateWithoutCompaniesInput { @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) comments?: CommentUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-without-people.input.ts b/server/src/api/@generated/workspace/workspace-update-without-people.input.ts index 1ea5dacf7..da371d819 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-people.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-people.input.ts @@ -8,6 +8,8 @@ import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspa import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input'; import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input'; import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; +import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; +import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUpdateWithoutPeopleInput { @@ -47,4 +49,14 @@ export class WorkspaceUpdateWithoutPeopleInput { @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) comments?: CommentUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update-without-pipeline-stages.input.ts b/server/src/api/@generated/workspace/workspace-update-without-pipeline-stages.input.ts new file mode 100644 index 000000000..0e26e4a53 --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-update-without-pipeline-stages.input.ts @@ -0,0 +1,60 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; +import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input'; +import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input'; +import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input'; +import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input'; +import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; +import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; + +@InputType() +export class WorkspaceUpdateWithoutPipelineStagesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; + + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; + + @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + comments?: CommentUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; +} diff --git a/server/src/api/@generated/workspace/workspace-update-without-pipelines.input.ts b/server/src/api/@generated/workspace/workspace-update-without-pipelines.input.ts new file mode 100644 index 000000000..04c633f7f --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-update-without-pipelines.input.ts @@ -0,0 +1,60 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; +import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input'; +import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input'; +import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input'; +import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input'; +import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; +import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; + +@InputType() +export class WorkspaceUpdateWithoutPipelinesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + domainName?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + displayName?: StringFieldUpdateOperationsInput; + + @Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true }) + logo?: NullableStringFieldUpdateOperationsInput; + + @Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + companies?: CompanyUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + people?: PersonUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) + comments?: CommentUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; +} diff --git a/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts b/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts index f91a7bce7..ab2ba0137 100644 --- a/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts +++ b/server/src/api/@generated/workspace/workspace-update-without-workspace-member.input.ts @@ -8,6 +8,8 @@ import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input'; import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input'; import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; +import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; +import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUpdateWithoutWorkspaceMemberInput { @@ -45,4 +47,14 @@ export class WorkspaceUpdateWithoutWorkspaceMemberInput { @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) comments?: CommentUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-update.input.ts b/server/src/api/@generated/workspace/workspace-update.input.ts index f9b8c9191..f3863e287 100644 --- a/server/src/api/@generated/workspace/workspace-update.input.ts +++ b/server/src/api/@generated/workspace/workspace-update.input.ts @@ -9,6 +9,8 @@ import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input'; import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input'; import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input'; +import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input'; +import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input'; @InputType() export class WorkspaceUpdateInput { @@ -51,4 +53,14 @@ export class WorkspaceUpdateInput { @Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true }) comments?: CommentUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput; + + @Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput; } diff --git a/server/src/api/@generated/workspace/workspace-upsert-without-pipeline-stages.input.ts b/server/src/api/@generated/workspace/workspace-upsert-without-pipeline-stages.input.ts new file mode 100644 index 000000000..5bbeb7b8f --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-upsert-without-pipeline-stages.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceUpdateWithoutPipelineStagesInput } from './workspace-update-without-pipeline-stages.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateWithoutPipelineStagesInput } from './workspace-create-without-pipeline-stages.input'; + +@InputType() +export class WorkspaceUpsertWithoutPipelineStagesInput { + @Field(() => WorkspaceUpdateWithoutPipelineStagesInput, { nullable: false }) + @Type(() => WorkspaceUpdateWithoutPipelineStagesInput) + update!: WorkspaceUpdateWithoutPipelineStagesInput; + + @Field(() => WorkspaceCreateWithoutPipelineStagesInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutPipelineStagesInput) + create!: WorkspaceCreateWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/workspace/workspace-upsert-without-pipelines.input.ts b/server/src/api/@generated/workspace/workspace-upsert-without-pipelines.input.ts new file mode 100644 index 000000000..96329810d --- /dev/null +++ b/server/src/api/@generated/workspace/workspace-upsert-without-pipelines.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { WorkspaceUpdateWithoutPipelinesInput } from './workspace-update-without-pipelines.input'; +import { Type } from 'class-transformer'; +import { WorkspaceCreateWithoutPipelinesInput } from './workspace-create-without-pipelines.input'; + +@InputType() +export class WorkspaceUpsertWithoutPipelinesInput { + @Field(() => WorkspaceUpdateWithoutPipelinesInput, { nullable: false }) + @Type(() => WorkspaceUpdateWithoutPipelinesInput) + update!: WorkspaceUpdateWithoutPipelinesInput; + + @Field(() => WorkspaceCreateWithoutPipelinesInput, { nullable: false }) + @Type(() => WorkspaceCreateWithoutPipelinesInput) + create!: WorkspaceCreateWithoutPipelinesInput; +} diff --git a/server/src/api/@generated/workspace/workspace-where.input.ts b/server/src/api/@generated/workspace/workspace-where.input.ts index bdf36575a..83f5eeda8 100644 --- a/server/src/api/@generated/workspace/workspace-where.input.ts +++ b/server/src/api/@generated/workspace/workspace-where.input.ts @@ -9,6 +9,8 @@ import { CompanyListRelationFilter } from '../company/company-list-relation-filt import { PersonListRelationFilter } from '../person/person-list-relation-filter.input'; import { CommentThreadListRelationFilter } from '../comment-thread/comment-thread-list-relation-filter.input'; import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input'; +import { PipelineListRelationFilter } from '../pipeline/pipeline-list-relation-filter.input'; +import { PipelineStageListRelationFilter } from '../pipeline-stage/pipeline-stage-list-relation-filter.input'; @InputType() export class WorkspaceWhereInput { @@ -56,4 +58,10 @@ export class WorkspaceWhereInput { @Field(() => CommentListRelationFilter, { nullable: true }) comments?: CommentListRelationFilter; + + @Field(() => PipelineListRelationFilter, { nullable: true }) + pipelines?: PipelineListRelationFilter; + + @Field(() => PipelineStageListRelationFilter, { nullable: true }) + pipelineStages?: PipelineStageListRelationFilter; } diff --git a/server/src/api/@generated/workspace/workspace.model.ts b/server/src/api/@generated/workspace/workspace.model.ts index 214f02f4e..df53b971d 100644 --- a/server/src/api/@generated/workspace/workspace.model.ts +++ b/server/src/api/@generated/workspace/workspace.model.ts @@ -6,6 +6,8 @@ import { Company } from '../company/company.model'; import { Person } from '../person/person.model'; import { CommentThread } from '../comment-thread/comment-thread.model'; import { Comment } from '../comment/comment.model'; +import { Pipeline } from '../pipeline/pipeline.model'; +import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; import { WorkspaceCount } from './workspace-count.output'; @ObjectType({}) @@ -46,6 +48,12 @@ export class Workspace { @Field(() => [Comment], { nullable: true }) comments?: Array; + @Field(() => [Pipeline], { nullable: true }) + pipelines?: Array; + + @Field(() => [PipelineStage], { nullable: true }) + pipelineStages?: Array; + @Field(() => WorkspaceCount, { nullable: false }) _count?: WorkspaceCount; } diff --git a/server/src/api/resolvers/relations/company-relations.resolver.ts b/server/src/api/resolvers/relations/company-relations.resolver.ts index dccc34d02..270663942 100644 --- a/server/src/api/resolvers/relations/company-relations.resolver.ts +++ b/server/src/api/resolvers/relations/company-relations.resolver.ts @@ -2,7 +2,6 @@ import * as TypeGraphQL from '@nestjs/graphql'; import { CommentThread } from 'src/api/@generated/comment-thread/comment-thread.model'; import { Company } from 'src/api/@generated/company/company.model'; import { User } from 'src/api/@generated/user/user.model'; -import { Workspace } from 'src/api/@generated/workspace/workspace.model'; import { PrismaService } from 'src/database/prisma.service'; @TypeGraphQL.Resolver(() => Company) @@ -24,19 +23,6 @@ export class CompanyRelationsResolver { .accountOwner({}); } - @TypeGraphQL.ResolveField(() => Workspace, { - nullable: false, - }) - async workspace(@TypeGraphQL.Root() company: Company): Promise { - return this.prismaService.company - .findUniqueOrThrow({ - where: { - id: company.id, - }, - }) - .workspace({}); - } - @TypeGraphQL.ResolveField(() => [CommentThread], { nullable: false, }) diff --git a/server/src/api/resolvers/relations/person-relations.resolver.ts b/server/src/api/resolvers/relations/person-relations.resolver.ts index 411f9491e..8197a026e 100644 --- a/server/src/api/resolvers/relations/person-relations.resolver.ts +++ b/server/src/api/resolvers/relations/person-relations.resolver.ts @@ -2,7 +2,6 @@ import * as TypeGraphQL from '@nestjs/graphql'; import { CommentThread } from 'src/api/@generated/comment-thread/comment-thread.model'; import { Company } from 'src/api/@generated/company/company.model'; import { Person } from 'src/api/@generated/person/person.model'; -import { Workspace } from 'src/api/@generated/workspace/workspace.model'; import { PrismaService } from 'src/database/prisma.service'; @TypeGraphQL.Resolver(() => Person) @@ -22,19 +21,6 @@ export class PersonRelationsResolver { .company({}); } - @TypeGraphQL.ResolveField(() => Workspace, { - nullable: false, - }) - async workspace(@TypeGraphQL.Parent() person: Person): Promise { - return this.prismaService.person - .findUniqueOrThrow({ - where: { - id: person.id, - }, - }) - .workspace({}); - } - @TypeGraphQL.ResolveField(() => [CommentThread], { nullable: false, }) diff --git a/server/src/api/resolvers/relations/user-relations.resolver.ts b/server/src/api/resolvers/relations/user-relations.resolver.ts index 26859212b..467aef30e 100644 --- a/server/src/api/resolvers/relations/user-relations.resolver.ts +++ b/server/src/api/resolvers/relations/user-relations.resolver.ts @@ -4,9 +4,7 @@ import { PrismaService } from 'src/database/prisma.service'; import { WorkspaceMember } from 'src/api/@generated/workspace-member/workspace-member.model'; import { User } from 'src/api/@generated/user/user.model'; import { Company } from 'src/api/@generated/company/company.model'; -import { RefreshToken } from 'src/api/@generated/refresh-token/refresh-token.model'; import { FindManyCompanyArgs } from 'src/api/@generated/company/find-many-company.args'; -import { FindManyRefreshTokenArgs } from 'src/api/@generated/refresh-token/find-many-refresh-token.args'; @TypeGraphQL.Resolver(() => User) export class UserRelationsResolver { @@ -45,23 +43,4 @@ export class UserRelationsResolver { ...args, }); } - - @TypeGraphQL.ResolveField(() => [RefreshToken], { - nullable: false, - }) - async refreshTokens( - @TypeGraphQL.Parent() user: User, - @TypeGraphQL.Info() info: GraphQLResolveInfo, - @TypeGraphQL.Args() args: FindManyRefreshTokenArgs, - ): Promise { - return this.prismaService.user - .findUniqueOrThrow({ - where: { - id: user.id, - }, - }) - .refreshTokens({ - ...args, - }); - } } diff --git a/server/src/database/migrations/20230602085537_create_pipelines/migration.sql b/server/src/database/migrations/20230602085537_create_pipelines/migration.sql new file mode 100644 index 000000000..e6e42f5ff --- /dev/null +++ b/server/src/database/migrations/20230602085537_create_pipelines/migration.sql @@ -0,0 +1,59 @@ +-- CreateEnum +CREATE TYPE "PipelineAssociableType" AS ENUM ('Person', 'Company'); + +-- CreateTable +CREATE TABLE "pipelines" ( + "id" TEXT NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + "deletedAt" TIMESTAMP(3), + "name" TEXT NOT NULL, + "icon" TEXT NOT NULL, + "workspaceId" TEXT NOT NULL, + + CONSTRAINT "pipelines_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "pipeline_stages" ( + "id" TEXT NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + "deletedAt" TIMESTAMP(3), + "name" TEXT NOT NULL, + "type" TEXT NOT NULL, + "color" TEXT NOT NULL, + "pipelineId" TEXT NOT NULL, + "workspaceId" TEXT NOT NULL, + + CONSTRAINT "pipeline_stages_pkey" PRIMARY KEY ("id") +); + +-- CreateTable +CREATE TABLE "pipeline_associations" ( + "id" TEXT NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + "deletedAt" TIMESTAMP(3), + "pipelineId" TEXT NOT NULL, + "pipelineStageId" TEXT NOT NULL, + "associableType" "PipelineAssociableType" NOT NULL, + "associableId" TEXT NOT NULL, + + CONSTRAINT "pipeline_associations_pkey" PRIMARY KEY ("id") +); + +-- AddForeignKey +ALTER TABLE "pipelines" ADD CONSTRAINT "pipelines_workspaceId_fkey" FOREIGN KEY ("workspaceId") REFERENCES "workspaces"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "pipeline_stages" ADD CONSTRAINT "pipeline_stages_pipelineId_fkey" FOREIGN KEY ("pipelineId") REFERENCES "pipelines"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "pipeline_stages" ADD CONSTRAINT "pipeline_stages_workspaceId_fkey" FOREIGN KEY ("workspaceId") REFERENCES "workspaces"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "pipeline_associations" ADD CONSTRAINT "pipeline_associations_pipelineId_fkey" FOREIGN KEY ("pipelineId") REFERENCES "pipelines"("id") ON DELETE RESTRICT ON UPDATE CASCADE; + +-- AddForeignKey +ALTER TABLE "pipeline_associations" ADD CONSTRAINT "pipeline_associations_pipelineStageId_fkey" FOREIGN KEY ("pipelineStageId") REFERENCES "pipeline_stages"("id") ON DELETE RESTRICT ON UPDATE CASCADE; diff --git a/server/src/database/schema.prisma b/server/src/database/schema.prisma index cfbb1e520..f86309600 100644 --- a/server/src/database/schema.prisma +++ b/server/src/database/schema.prisma @@ -52,8 +52,10 @@ model User { passwordHash String? emailVerified Boolean @default(false) metadata Json? + /// @TypeGraphQL.omit(input: true) workspaceMember WorkspaceMember? companies Company[] + /// @TypeGraphQL.omit(input: true, output: true) refreshTokens RefreshToken[] comments Comment[] @@ -74,6 +76,8 @@ model Workspace { people Person[] commentThreads CommentThread[] comments Comment[] + pipelines Pipeline[] + pipelineStages PipelineStage[] @@map("workspaces") } @@ -85,9 +89,9 @@ model WorkspaceMember { deletedAt DateTime? userId String @unique user User @relation(fields: [userId], references: [id]) - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspaceId String - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspace Workspace @relation(fields: [workspaceId], references: [id]) @@map("workspace_members") @@ -106,9 +110,9 @@ model Company { accountOwner User? @relation(fields: [accountOwnerId], references: [id]) people Person[] - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspaceId String - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspace Workspace @relation(fields: [workspaceId], references: [id]) @@map("companies") @@ -127,9 +131,9 @@ model Person { companyId String? company Company? @relation(fields: [companyId], references: [id]) - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspaceId String - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspace Workspace @relation(fields: [workspaceId], references: [id]) @@map("people") @@ -154,9 +158,9 @@ model CommentThread { deletedAt DateTime? commentThreadTargets CommentThreadTarget[] comments Comment[] - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspaceId String - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspace Workspace @relation(fields: [workspaceId], references: [id]) @@map("comment_threads") @@ -172,9 +176,9 @@ model Comment { author User @relation(fields: [authorId], references: [id]) commentThreadId String commentThread CommentThread @relation(fields: [commentThreadId], references: [id]) - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspaceId String - /// @TypeGraphQL.omit(input: true) + /// @TypeGraphQL.omit(input: true, output: true) workspace Workspace @relation(fields: [workspaceId], references: [id]) @@map("comments") @@ -197,4 +201,68 @@ model CommentThreadTarget { commentableId String @@map("comment_thread_targets") -} \ No newline at end of file +} + +model Pipeline { + id String @id + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + deletedAt DateTime? + + name String + icon String + pipelineStages PipelineStage[] + pipelineAssociations PipelineAssociation[] + /// @TypeGraphQL.omit(input: true, output: true) + workspaceId String + /// @TypeGraphQL.omit(input: true, output: true) + workspace Workspace @relation(fields: [workspaceId], references: [id]) + + @@map("pipelines") +} + +model PipelineStage { + id String @id + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + deletedAt DateTime? + + name String + type String + color String + + pipelineId String + pipeline Pipeline @relation(fields: [pipelineId], references: [id]) + + pipelineAssociations PipelineAssociation[] + + /// @TypeGraphQL.omit(input: true, output: true) + workspaceId String + /// @TypeGraphQL.omit(input: true, output: true) + workspace Workspace @relation(fields: [workspaceId], references: [id]) + + @@map("pipeline_stages") +} + +enum PipelineAssociableType { + Person + Company +} + +model PipelineAssociation { + id String @id + createdAt DateTime @default(now()) + updatedAt DateTime @updatedAt + deletedAt DateTime? + + pipelineId String + pipeline Pipeline @relation(fields: [pipelineId], references: [id]) + + pipelineStageId String + pipelineStage PipelineStage @relation(fields: [pipelineStageId], references: [id]) + + associableType PipelineAssociableType + associableId String + + @@map("pipeline_associations") +} diff --git a/server/src/database/seeds/index.ts b/server/src/database/seeds/index.ts index 6317935ed..2e9c2d52a 100644 --- a/server/src/database/seeds/index.ts +++ b/server/src/database/seeds/index.ts @@ -4,6 +4,7 @@ import { seedWorkspaces } from './workspaces'; import { seedPeople } from './people'; import { seedComments } from './comments'; import { seedUsers } from './users'; +import { seedPipelines } from './pipelines'; const seed = async () => { const prisma = new PrismaClient(); @@ -12,6 +13,7 @@ const seed = async () => { await seedCompanies(prisma); await seedPeople(prisma); await seedComments(prisma); + await seedPipelines(prisma); await prisma.$disconnect(); }; diff --git a/server/src/database/seeds/pipelines.ts b/server/src/database/seeds/pipelines.ts new file mode 100644 index 000000000..0939585fd --- /dev/null +++ b/server/src/database/seeds/pipelines.ts @@ -0,0 +1,214 @@ +import { PrismaClient } from '@prisma/client'; +export const seedPipelines = async (prisma: PrismaClient) => { + await prisma.pipeline.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + name: 'Sales pipeline', + icon: '💰', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe3-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe3-8998-b76aa0bfb600', + name: 'New', + color: '#B76796', + type: 'open', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe4-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe4-8998-b76aa0bfb600', + name: 'Screening', + color: '#CB912F', + type: 'ongoing', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe5-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe5-8998-b76aa0bfb600', + name: 'Meeting', + color: '#9065B0', + type: 'ongoing', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe6-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe6-8998-b76aa0bfb600', + name: 'Proposal', + color: '#337EA9', + type: 'ongoing', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600', + name: 'Customer', + color: '#079039', + type: 'won', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineAssociation.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + pipelineStageId: 'twenty-fe256b39-3ec3-4fe3-8998-b76aa0bfb600', + associableType: 'Person', + associableId: 'twenty-755035db-623d-41fe-92e7-dd45b7c568e1', + }, + }); + + await prisma.pipeline.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400', + name: 'Customer support pipeline', + icon: '📔', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe3-8998-a76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe3-8998-a76aa0bfb600', + name: 'New', + color: '#B76796', + type: 'open', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400', + workspaceId: 'twenty-7ed9d212-1c25-4d02-bf25-6aeccf7ea419', + }, + }); + + await prisma.pipelineAssociation.upsert({ + where: { id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600', + pipelineId: 'twenty-fe256b39-3ec3-4fe3-8997-b74aa0bfb400', + pipelineStageId: 'twenty-fe256b39-3ec3-4fe3-8998-a76aa0bfb600', + associableType: 'Person', + associableId: 'twenty-755035db-623d-41fe-92e7-dd45b7c568e1', + }, + }); + + await prisma.pipeline.upsert({ + where: { id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400' }, + update: {}, + create: { + id: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + name: 'Sales pipeline', + icon: '💰', + workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-dev-fe256b39-3ec3-4fe3-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-dev-fe256b39-3ec3-4fe3-8998-b76aa0bfb600', + name: 'New', + color: '#B76796', + type: 'open', + pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-dev-fe256b39-3ec3-4fe4-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-dev-fe256b39-3ec3-4fe4-8998-b76aa0bfb600', + name: 'Screening', + color: '#CB912F', + type: 'ongoing', + pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-dev-fe256b39-3ec3-4fe5-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-dev-fe256b39-3ec3-4fe5-8998-b76aa0bfb600', + name: 'Meeting', + color: '#9065B0', + type: 'ongoing', + pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-dev-fe256b39-3ec3-4fe6-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-dev-fe256b39-3ec3-4fe6-8998-b76aa0bfb600', + name: 'Proposal', + color: '#337EA9', + type: 'ongoing', + pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420', + }, + }); + + await prisma.pipelineStage.upsert({ + where: { id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600', + name: 'Customer', + color: '#079039', + type: 'won', + pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + workspaceId: 'twenty-dev-7ed9d212-1c25-4d02-bf25-6aeccf7ea420', + }, + }); + + await prisma.pipelineAssociation.upsert({ + where: { id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, + update: {}, + create: { + id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600', + pipelineId: 'twenty-dev-fe256b39-3ec3-4fe3-8997-b75aa0bfb400', + pipelineStageId: 'twenty-dev-fe256b39-3ec3-4fe3-8998-b76aa0bfb600', + associableType: 'Company', + associableId: 'twenty-dev-a674fa6c-1455-4c57-afaf-dd5dc086361e', + }, + }); +};