1 | export interface AliasDirectiveImport {
|
2 | name: string;
|
3 | as: string;
|
4 | }
|
5 | export type FederationVersion = 1 | 2;
|
6 | export type FederationConfig = Federation2Config;
|
7 | export interface Federation2Config {
|
8 | version: 2;
|
9 | /**
|
10 | * The imported directives
|
11 | * @default ['@composeDirective', '@extends', '@external', '@inaccessible', '@interfaceObject', '@key', '@override', '@provides', '@requires', '@shareable', '@tag']
|
12 | */
|
13 | directives?: (string | AliasDirectiveImport)[];
|
14 | /**
|
15 | * The import link
|
16 | * @default 'https://specs.apollo.dev/federation/v2.3'
|
17 | */
|
18 | importUrl?: string;
|
19 | }
|
20 | export interface SchemaFileConfig {
|
21 | /**
|
22 | * Federation version and its configuration,
|
23 | *
|
24 | * @default 1
|
25 | */
|
26 | federation?: FederationVersion | FederationConfig;
|
27 | /**
|
28 | * Path to the schema file.
|
29 | */
|
30 | path?: string;
|
31 | }
|
32 | export type AutoSchemaFileValue = boolean | string | SchemaFileConfig;
|
33 | //# sourceMappingURL=schema-file-config.interface.d.ts.map |
\ | No newline at end of file |