persona-community-5/.pnpm-store/v3/files/62/e288b170145e39b61962f688d22baaea2a95b07c208d65a3c35fece4510719c3c56d27b2310099b0aa39a2e31d24349161ce566f4db83581c751592d89c743
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

111 lines
2.7 KiB
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.graphqlConfigSchema = void 0;
const feedback_config_schema_1 = require("./feedback-config-schema");
const typeGroupConfig = {
type: 'object',
properties: {
includeByName: {
type: 'array',
items: {
type: 'string',
},
},
excludeByName: {
type: 'array',
items: {
type: 'string',
},
},
},
additionalProperties: false,
};
const menuGroupConfig = {
type: 'object',
properties: {
name: {
type: 'string',
},
items: typeGroupConfig,
queries: typeGroupConfig,
mutations: typeGroupConfig,
subscriptions: typeGroupConfig,
types: typeGroupConfig,
directives: typeGroupConfig,
},
required: ['name'],
additionalProperties: false,
};
const menuGroupingConfig = {
type: 'object',
properties: {
requireExactGroups: {
type: 'boolean',
},
groups: {
type: 'array',
items: menuGroupConfig,
},
otherItemsGroupName: {
type: 'string',
},
},
required: ['requireExactGroups', 'groups', 'otherItemsGroupName'],
additionalProperties: false,
};
exports.graphqlConfigSchema = {
type: 'object',
properties: {
hidePaginationButtons: {
type: 'boolean',
},
menu: {
type: 'object',
properties: Object.assign({}, menuGroupingConfig.properties),
additionalProperties: false,
},
sidebar: {
type: 'object',
properties: {
hide: {
type: 'boolean',
},
},
},
apiLogo: {
type: 'object',
properties: {
imageUrl: {
type: 'string',
},
href: {
type: 'string',
},
altText: {
type: 'string',
},
backgroundColor: {
type: 'string',
},
},
},
jsonSamplesDepth: {
type: 'number',
},
samplesMaxInlineArgs: {
type: 'number',
},
licenseKey: {
type: 'string',
},
fieldExpandLevel: {
type: 'number',
},
baseUrlPath: {
type: 'string',
},
feedback: feedback_config_schema_1.feedbackConfigSchema,
},
additionalProperties: false,
};
//# sourceMappingURL=graphql-config-schema.js.map