Skip to content

Commit

Permalink
fix: admin panel schema (#7851)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Aug 13, 2024
1 parent ba5ba71 commit 24c34eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/server/src/core/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ import { Module } from '@nestjs/common';

import {
ServerConfigResolver,
ServerFeatureConfigResolver,
ServerRuntimeConfigResolver,
ServerServiceConfigResolver,
} from './resolver';

@Module({
providers: [
ServerConfigResolver,
ServerFeatureConfigResolver,
ServerRuntimeConfigResolver,
ServerServiceConfigResolver,
],
Expand Down
3 changes: 3 additions & 0 deletions packages/backend/server/src/schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,9 @@ type SameSubscriptionRecurringDataType {
}

type ServerConfigType {
"""Features for user that can be configured"""
availableUserFeatures: [FeatureType!]!

"""server base url"""
baseUrl: String!

Expand Down

0 comments on commit 24c34eb

Please sign in to comment.