Skip to main content

options

SectionLevels​

Defined in: printer-legacy/src/const/options.ts:22

Enumeration Members​

LEVEL​

LEVEL: "#";

Defined in: printer-legacy/src/const/options.ts:24

NONE​

NONE: "";

Defined in: printer-legacy/src/const/options.ts:23


TypeHierarchy​

Defined in: printer-legacy/src/const/options.ts:16

Enumeration Members​

API​

API: "api";

Defined in: printer-legacy/src/const/options.ts:17

ENTITY​

ENTITY: "entity";

Defined in: printer-legacy/src/const/options.ts:18

FLAT​

FLAT: "flat";

Defined in: printer-legacy/src/const/options.ts:19


DEFAULT_OPTIONS​

const DEFAULT_OPTIONS: Required<
Omit<
PrintTypeOptions,
| "afterDiffCheckHook"
| "afterGenerateIndexMetafileHook"
| "afterRenderHomepageHook"
| "afterRenderRootTypesHook"
| "afterRenderTypeEntitiesHook"
| "afterSchemaLoadHook"
| "beforeDiffCheckHook"
| "beforeGenerateIndexMetafileHook"
| "beforeRenderHomepageHook"
| "beforeRenderRootTypesHook"
| "beforeRenderTypeEntitiesHook"
| "beforeSchemaLoadHook"
| "collapsible"
| "exampleSection"
| "formatCategoryFolderName"
| "groups"
| "level"
| "meta"
| "onlyDocDirectives"
| "parentType"
| "schema"
| "skipDocDirectives"
>
> &
object;

Defined in: printer-legacy/src/const/options.ts:54

Clean runtime options passed through the printer.

Deprecated section toggles are excluded and handled via backward-compat paths.

Type Declaration​

collapsible​

collapsible: Maybe<CollapsibleOption>;

exampleSection​

exampleSection: PrintTypeOptions["exampleSection"];

groups​

groups: Maybe<SchemaEntitiesGroupMap>;

level​

level: Maybe<SectionLevelValue>;

onlyDocDirectives​

onlyDocDirectives: GraphQLDirective[];

parentType​

parentType: Maybe<string>;

schema​

schema: Maybe<GraphQLSchema>;

skipDocDirectives​

skipDocDirectives: GraphQLDirective[];

const PRINT_TYPE_DEFAULT_DEPRECATED_OPTIONS: object;

Defined in: printer-legacy/src/const/options.ts:27

Type Declaration​

codeSection​

codeSection: true;

exampleSection​

exampleSection: false;

relatedTypeSection​

relatedTypeSection: true;

const PRINT_TYPE_DEFAULT_OPTIONS: Required<
Omit<PrinterConfigPrintTypeOptions, "exampleSection">
> &
object;

Defined in: printer-legacy/src/const/options.ts:36

Type Declaration​

exampleSection​

exampleSection: PrintTypeOptions["exampleSection"];