console/codegen.yml
Dimitri POSTOLOV 465e64a130
New redesign (#4)
* New redesign

* Use latest nextjs and bob

It fixes the start command

* fix: text overflow issue in the organization switcher dropdown (#14)

* fix: text overflow issue in the organization switcher dropdown

* feat: strict children typings

* Force dark mode (#15)

If somebody used the light mode before, Hive App displays light version of tailwind classes

* Fix dev, GH app optional, project type instead of Connected (#16)

* Make Github integration optional

* Show project type instead of Connected

* Fix dev command

* Small changes to the version card (#17)

* Small changes to the version card

* Apply suggestions from code review

* Polish (#18)

* Make the design a bit more clean

* Add a bit of separation

* Apply suggestions from code review

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* fix: do not access properties on potential undefined variable (#33)

* fix: renaming not being added during rebase (#32)

* feat: add Mutation.createToken validation (#30)

* Remove `#` from organization pages, polish subcription page (#34)

* Remove `#` from project/target pages (#38)

* fix: add missing service names for multi service projects (#35)

* Re-design subscription (#40)

* Missing list of changes in the schema diff view (#41)

* Missing list of changes in the schema diff view

Closes #19

* Apply suggestions from code review

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* Move titleMap outside of the component

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>

* Blurred fixed header + new `404` page + use `@theguild/prettier-config` (#44)

* fix header

* make things amazing

* Update packages/web/app/pages/404.tsx

* fix build

* remove unused styles

* Add --fix to lint-staged (#43)

* Fix access (#45)

* Fix access on organization level

* Fix access on project level

* Fix access on target level

* Align with main

* Bring back schema view (#49)

* Add missing Mark as Valid button (#50)

* Update the design of the operations view (#51)

* Update doc link

Co-authored-by: Dotan Simha <dotansimha@gmail.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2022-05-24 09:41:53 +02:00

109 lines
5.1 KiB
YAML

schema: ./packages/services/api/src/modules/*/module.graphql.ts
generates:
# API
./packages/services/api/src/modules:
preset: graphql-modules
presetConfig:
baseTypesPath: ../__generated__/types.ts
filename: __generated__/types.ts
encapsulateModuleTypes: namespace
config:
immutableTypes: true
contextType: GraphQLModules.ModuleContext
enumValues:
OrganizationType: ../shared/entities#OrganizationType
ProjectType: ../shared/entities#ProjectType
TargetAccessScope: ../modules/auth/providers/target-access#TargetAccessScope
ProjectAccessScope: ../modules/auth/providers/project-access#ProjectAccessScope
OrganizationAccessScope: ../modules/auth/providers/organization-access#OrganizationAccessScope
scalars:
DateTime: string
SafeInt: number
mappers:
SchemaChangeConnection: ../shared/mappers#SchemaChangeConnection as SchemaChangeConnectionMapper
SchemaErrorConnection: ../shared/mappers#SchemaErrorConnection as SchemaErrorConnectionMapper
OrganizationConnection: ../shared/mappers#OrganizationConnection as OrganizationConnectionMapper
UserConnection: ../shared/mappers#UserConnection as UserConnectionMapper
ActivityConnection: ../shared/mappers#ActivityConnection as ActivityConnectionMapper
MemberConnection: ../shared/mappers#MemberConnection as MemberConnectionMapper
ProjectConnection: ../shared/mappers#ProjectConnection as ProjectConnectionMapper
TargetConnection: ../shared/mappers#TargetConnection as TargetConnectionMapper
SchemaConnection: ../shared/mappers#SchemaConnection as SchemaConnectionMapper
TokenConnection: ../shared/mappers#TokenConnection as TokenConnectionMapper
OperationStatsConnection: ../shared/mappers#OperationStatsConnection as OperationStatsConnectionMapper
ClientStatsConnection: ../shared/mappers#ClientStatsConnection as ClientStatsConnectionMapper
OperationsStats: ../shared/mappers#OperationsStats as OperationsStatsMapper
DurationStats: ../shared/mappers#DurationStats as DurationStatsMapper
SchemaComparePayload: ../shared/mappers#SchemaComparePayload as SchemaComparePayloadMapper
SchemaCompareResult: ../shared/mappers#SchemaCompareResult as SchemaCompareResultMapper
SchemaVersionConnection: ../shared/mappers#SchemaVersionConnection as SchemaVersionConnectionMapper
SchemaVersion: ../shared/mappers#SchemaVersion as SchemaVersionMapper
Schema: ../shared/mappers#Schema as SchemaMapper
PersistedOperationConnection: ../shared/mappers#PersistedOperationConnection as PersistedOperationMapper
Organization: ../shared/entities#Organization as OrganizationMapper
Project: ../shared/entities#Project as ProjectMapper
Target: ../shared/entities#Target as TargetMapper
Member: ../shared/entities#Member as MemberMapper
Token: ../shared/entities#Token as TokenMapper
TokenInfo: ../shared/entities#Token as TokenInfoMapper
Activity: ../shared/entities#ActivityObject as ActivityMapper
AlertChannel: ../shared/entities#AlertChannel as AlertChannelMapper
AlertSlackChannel: AlertChannelMapper
AlertWebhookChannel: AlertChannelMapper
Alert: ../shared/entities#Alert as AlertMapper
AdminQuery: '{}'
AdminStats: '{ daysLimit?: number | null }'
AdminGeneralStats: '{ daysLimit?: number | null }'
AdminOrganizationStats: ../shared/entities#AdminOrganizationStats as AdminOrganizationStatsMapper
UsageEstimation: '../shared/mappers#TargetsEstimationFilter'
UsageEstimationScope: '../shared/mappers#TargetsEstimationDateFilter'
BillingPaymentMethod: 'StripeTypes.PaymentMethod.Card'
BillingDetails: 'StripeTypes.PaymentMethod.BillingDetails'
BillingInvoice: 'StripeTypes.Invoice'
plugins:
- add:
content: "import { StripeTypes } from '@hive/stripe-billing';"
- typescript
- typescript-resolvers
# App
./packages/web/app/src/graphql/index.ts:
documents: ./packages/web/app/src/graphql/*.graphql
config:
dedupeFragments: true
scalars:
DateTime: string
SafeInt: number
plugins:
- typescript
- typescript-operations
- typed-document-node
./packages/web/app/src/gql/:
documents:
- './packages/web/app/src/(components|lib)/**/*.ts(x)?'
- './packages/web/app/pages/v2/**/*.ts(x)?'
- './packages/web/app/pages/**/*.ts(x)?'
- './packages/web/app/src/graphql'
- '!./packages/web/app/pages/api/github/setup-callback.ts'
preset: gql-tag-operations-preset
config:
dedupeFragments: true
presetConfig:
augmentedModuleName: '@urql/core'
# CLI
packages/libraries/cli/src/sdk.ts:
documents: ./packages/libraries/cli/src/**/*.graphql
config:
flattenGeneratedTypes: true
plugins:
- typescript
- typescript-operations
- typescript-graphql-request
# Integration tests
./integration-tests/testkit/gql:
documents: ./integration-tests/**/*.ts
preset: gql-tag-operations-preset