@financial-times/cp-content-pipeline-client 0.5.10 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -114,6 +114,30 @@
114
114
  * devDependencies
115
115
  * @financial-times/cp-content-pipeline-schema bumped from ^0.6.9 to ^0.6.10
116
116
 
117
+ ### Dependencies
118
+
119
+ * The following workspace dependencies were updated
120
+ * devDependencies
121
+ * @financial-times/cp-content-pipeline-schema bumped from ^0.6.10 to ^0.6.11
122
+
123
+ ## [0.6.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.5.11...cp-content-pipeline-client-v0.6.0) (2023-03-14)
124
+
125
+
126
+ ### ⚠ BREAKING CHANGES
127
+
128
+ * add design property to all content objects
129
+
130
+ ### Features
131
+
132
+ * add design property to all content objects ([63e3738](https://github.com/Financial-Times/cp-content-pipeline/commit/63e3738ac53eb1689a74e5c905450e932b40e819))
133
+
134
+
135
+ ### Dependencies
136
+
137
+ * The following workspace dependencies were updated
138
+ * devDependencies
139
+ * @financial-times/cp-content-pipeline-schema bumped from ^0.6.11 to ^0.7.0
140
+
117
141
  ## [0.5.5](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.5.4...cp-content-pipeline-client-v0.5.5) (2023-02-14)
118
142
 
119
143
 
@@ -40,6 +40,7 @@ export declare type Article = Content & {
40
40
  readonly bodyXML?: Maybe<Scalars['String']>;
41
41
  readonly byline?: Maybe<StructuredContent>;
42
42
  readonly commentsEnabled?: Maybe<Scalars['Boolean']>;
43
+ readonly design?: Maybe<Design>;
43
44
  readonly firstPublishedDate: Scalars['String'];
44
45
  readonly id: Scalars['String'];
45
46
  readonly mainImage?: Maybe<Image>;
@@ -63,6 +64,7 @@ export declare type Audio = Content & {
63
64
  readonly bodyXML?: Maybe<Scalars['String']>;
64
65
  readonly byline?: Maybe<StructuredContent>;
65
66
  readonly commentsEnabled?: Maybe<Scalars['Boolean']>;
67
+ readonly design?: Maybe<Design>;
66
68
  readonly firstPublishedDate: Scalars['String'];
67
69
  readonly id: Scalars['String'];
68
70
  readonly mainImage?: Maybe<Image>;
@@ -117,6 +119,7 @@ export declare type Content = {
117
119
  readonly bodyXML?: Maybe<Scalars['String']>;
118
120
  readonly byline?: Maybe<StructuredContent>;
119
121
  readonly commentsEnabled?: Maybe<Scalars['Boolean']>;
122
+ readonly design?: Maybe<Design>;
120
123
  readonly firstPublishedDate: Scalars['String'];
121
124
  readonly id: Scalars['String'];
122
125
  readonly mainImage?: Maybe<Image>;
@@ -141,7 +144,7 @@ export declare type ContentPackage = Content & {
141
144
  readonly byline?: Maybe<StructuredContent>;
142
145
  readonly commentsEnabled?: Maybe<Scalars['Boolean']>;
143
146
  readonly contains?: Maybe<ReadonlyArray<Maybe<Teaser>>>;
144
- readonly design?: Maybe<PackageDesign>;
147
+ readonly design?: Maybe<Design>;
145
148
  readonly firstPublishedDate: Scalars['String'];
146
149
  readonly id: Scalars['String'];
147
150
  readonly mainImage?: Maybe<Image>;
@@ -156,6 +159,11 @@ export declare type ContentPackage = Content & {
156
159
  export declare type ContentPackageUrlArgs = {
157
160
  relative?: InputMaybe<Scalars['Boolean']>;
158
161
  };
162
+ export declare type Design = {
163
+ readonly __typename?: 'Design';
164
+ readonly layout?: Maybe<Scalars['String']>;
165
+ readonly theme?: Maybe<Scalars['String']>;
166
+ };
159
167
  export declare type Flourish = Reference & {
160
168
  readonly __typename?: 'Flourish';
161
169
  readonly fallbackImage?: Maybe<FlourishFallback>;
@@ -327,6 +335,7 @@ export declare type LiveBlogPackage = Content & {
327
335
  readonly bodyXML?: Maybe<Scalars['String']>;
328
336
  readonly byline?: Maybe<StructuredContent>;
329
337
  readonly commentsEnabled?: Maybe<Scalars['Boolean']>;
338
+ readonly design?: Maybe<Design>;
330
339
  readonly firstPublishedDate: Scalars['String'];
331
340
  readonly id: Scalars['String'];
332
341
  readonly liveBlogPosts?: Maybe<ReadonlyArray<Maybe<Content>>>;
@@ -352,6 +361,7 @@ export declare type LiveBlogPost = Content & {
352
361
  readonly bodyXML?: Maybe<Scalars['String']>;
353
362
  readonly byline?: Maybe<StructuredContent>;
354
363
  readonly commentsEnabled?: Maybe<Scalars['Boolean']>;
364
+ readonly design?: Maybe<Design>;
355
365
  readonly firstPublishedDate: Scalars['String'];
356
366
  readonly id: Scalars['String'];
357
367
  readonly mainImage?: Maybe<Image>;
@@ -386,7 +396,6 @@ export declare type OpinionTopperHeadshotArgs = {
386
396
  dpr?: InputMaybe<Scalars['Int']>;
387
397
  width?: InputMaybe<Scalars['Int']>;
388
398
  };
389
- export declare type PackageDesign = 'basic' | 'extra' | 'specialReport';
390
399
  export declare type Picture = {
391
400
  readonly alt: Scalars['String'];
392
401
  readonly caption?: Maybe<Scalars['String']>;
@@ -538,6 +547,7 @@ export declare type Video = Content & {
538
547
  readonly bodyXML?: Maybe<Scalars['String']>;
539
548
  readonly byline?: Maybe<StructuredContent>;
540
549
  readonly commentsEnabled?: Maybe<Scalars['Boolean']>;
550
+ readonly design?: Maybe<Design>;
541
551
  readonly firstPublishedDate: Scalars['String'];
542
552
  readonly id: Scalars['String'];
543
553
  readonly mainImage?: Maybe<Image>;
@@ -2749,6 +2759,11 @@ export declare type RawImageFragment = {
2749
2759
  readonly alt: string;
2750
2760
  };
2751
2761
  };
2762
+ export declare type DesignFragment = {
2763
+ readonly __typename?: 'Design';
2764
+ readonly theme?: string;
2765
+ readonly layout?: string;
2766
+ };
2752
2767
  declare type ArticleReferences_Flourish_Fragment = {
2753
2768
  readonly __typename?: 'Flourish';
2754
2769
  readonly type: string;
@@ -6887,6 +6902,11 @@ declare type Content_Article_Fragment = {
6887
6902
  readonly url: string;
6888
6903
  readonly relativeUrl: string;
6889
6904
  }>;
6905
+ readonly design?: {
6906
+ readonly __typename?: 'Design';
6907
+ readonly theme?: string;
6908
+ readonly layout?: string;
6909
+ };
6890
6910
  };
6891
6911
  declare type Content_Audio_Fragment = {
6892
6912
  readonly __typename: 'Audio';
@@ -8595,6 +8615,11 @@ declare type Content_Audio_Fragment = {
8595
8615
  readonly url: string;
8596
8616
  readonly relativeUrl: string;
8597
8617
  }>;
8618
+ readonly design?: {
8619
+ readonly __typename?: 'Design';
8620
+ readonly theme?: string;
8621
+ readonly layout?: string;
8622
+ };
8598
8623
  };
8599
8624
  declare type Content_ContentPackage_Fragment = {
8600
8625
  readonly __typename: 'ContentPackage';
@@ -10303,6 +10328,11 @@ declare type Content_ContentPackage_Fragment = {
10303
10328
  readonly url: string;
10304
10329
  readonly relativeUrl: string;
10305
10330
  }>;
10331
+ readonly design?: {
10332
+ readonly __typename?: 'Design';
10333
+ readonly theme?: string;
10334
+ readonly layout?: string;
10335
+ };
10306
10336
  };
10307
10337
  declare type Content_LiveBlogPackage_Fragment = {
10308
10338
  readonly __typename: 'LiveBlogPackage';
@@ -12011,6 +12041,11 @@ declare type Content_LiveBlogPackage_Fragment = {
12011
12041
  readonly url: string;
12012
12042
  readonly relativeUrl: string;
12013
12043
  }>;
12044
+ readonly design?: {
12045
+ readonly __typename?: 'Design';
12046
+ readonly theme?: string;
12047
+ readonly layout?: string;
12048
+ };
12014
12049
  };
12015
12050
  declare type Content_LiveBlogPost_Fragment = {
12016
12051
  readonly __typename: 'LiveBlogPost';
@@ -13719,6 +13754,11 @@ declare type Content_LiveBlogPost_Fragment = {
13719
13754
  readonly url: string;
13720
13755
  readonly relativeUrl: string;
13721
13756
  }>;
13757
+ readonly design?: {
13758
+ readonly __typename?: 'Design';
13759
+ readonly theme?: string;
13760
+ readonly layout?: string;
13761
+ };
13722
13762
  };
13723
13763
  declare type Content_Video_Fragment = {
13724
13764
  readonly __typename: 'Video';
@@ -15427,6 +15467,11 @@ declare type Content_Video_Fragment = {
15427
15467
  readonly url: string;
15428
15468
  readonly relativeUrl: string;
15429
15469
  }>;
15470
+ readonly design?: {
15471
+ readonly __typename?: 'Design';
15472
+ readonly theme?: string;
15473
+ readonly layout?: string;
15474
+ };
15430
15475
  };
15431
15476
  export declare type ContentFragment = Content_Article_Fragment | Content_Audio_Fragment | Content_ContentPackage_Fragment | Content_LiveBlogPackage_Fragment | Content_LiveBlogPost_Fragment | Content_Video_Fragment;
15432
15477
  export declare type ArticleQueryVariables = Exact<{
@@ -17142,6 +17187,11 @@ export declare type ArticleQuery = {
17142
17187
  readonly url: string;
17143
17188
  readonly relativeUrl: string;
17144
17189
  }>;
17190
+ readonly design?: {
17191
+ readonly __typename?: 'Design';
17192
+ readonly theme?: string;
17193
+ readonly layout?: string;
17194
+ };
17145
17195
  } | {
17146
17196
  readonly __typename: 'Audio';
17147
17197
  readonly id: string;
@@ -18849,9 +18899,13 @@ export declare type ArticleQuery = {
18849
18899
  readonly url: string;
18850
18900
  readonly relativeUrl: string;
18851
18901
  }>;
18902
+ readonly design?: {
18903
+ readonly __typename?: 'Design';
18904
+ readonly theme?: string;
18905
+ readonly layout?: string;
18906
+ };
18852
18907
  } | {
18853
18908
  readonly __typename: 'ContentPackage';
18854
- readonly design?: PackageDesign;
18855
18909
  readonly id: string;
18856
18910
  readonly title: string;
18857
18911
  readonly publishedDate: string;
@@ -20634,6 +20688,11 @@ export declare type ArticleQuery = {
20634
20688
  readonly url: string;
20635
20689
  readonly relativeUrl: string;
20636
20690
  }>;
20691
+ readonly design?: {
20692
+ readonly __typename?: 'Design';
20693
+ readonly theme?: string;
20694
+ readonly layout?: string;
20695
+ };
20637
20696
  } | {
20638
20697
  readonly __typename: 'LiveBlogPackage';
20639
20698
  readonly realtime?: boolean;
@@ -22349,6 +22408,11 @@ export declare type ArticleQuery = {
22349
22408
  readonly url: string;
22350
22409
  readonly relativeUrl: string;
22351
22410
  }>;
22411
+ readonly design?: {
22412
+ readonly __typename?: 'Design';
22413
+ readonly theme?: string;
22414
+ readonly layout?: string;
22415
+ };
22352
22416
  } | {
22353
22417
  readonly __typename: 'Audio';
22354
22418
  readonly id: string;
@@ -24056,6 +24120,11 @@ export declare type ArticleQuery = {
24056
24120
  readonly url: string;
24057
24121
  readonly relativeUrl: string;
24058
24122
  }>;
24123
+ readonly design?: {
24124
+ readonly __typename?: 'Design';
24125
+ readonly theme?: string;
24126
+ readonly layout?: string;
24127
+ };
24059
24128
  } | {
24060
24129
  readonly __typename: 'ContentPackage';
24061
24130
  readonly id: string;
@@ -25763,6 +25832,11 @@ export declare type ArticleQuery = {
25763
25832
  readonly url: string;
25764
25833
  readonly relativeUrl: string;
25765
25834
  }>;
25835
+ readonly design?: {
25836
+ readonly __typename?: 'Design';
25837
+ readonly theme?: string;
25838
+ readonly layout?: string;
25839
+ };
25766
25840
  } | {
25767
25841
  readonly __typename: 'LiveBlogPackage';
25768
25842
  readonly id: string;
@@ -27470,6 +27544,11 @@ export declare type ArticleQuery = {
27470
27544
  readonly url: string;
27471
27545
  readonly relativeUrl: string;
27472
27546
  }>;
27547
+ readonly design?: {
27548
+ readonly __typename?: 'Design';
27549
+ readonly theme?: string;
27550
+ readonly layout?: string;
27551
+ };
27473
27552
  } | {
27474
27553
  readonly __typename: 'LiveBlogPost';
27475
27554
  readonly id: string;
@@ -29177,6 +29256,11 @@ export declare type ArticleQuery = {
29177
29256
  readonly url: string;
29178
29257
  readonly relativeUrl: string;
29179
29258
  }>;
29259
+ readonly design?: {
29260
+ readonly __typename?: 'Design';
29261
+ readonly theme?: string;
29262
+ readonly layout?: string;
29263
+ };
29180
29264
  } | {
29181
29265
  readonly __typename: 'Video';
29182
29266
  readonly id: string;
@@ -30884,6 +30968,11 @@ export declare type ArticleQuery = {
30884
30968
  readonly url: string;
30885
30969
  readonly relativeUrl: string;
30886
30970
  }>;
30971
+ readonly design?: {
30972
+ readonly __typename?: 'Design';
30973
+ readonly theme?: string;
30974
+ readonly layout?: string;
30975
+ };
30887
30976
  }>;
30888
30977
  readonly topper?: {
30889
30978
  readonly __typename: 'BasicTopper';
@@ -32585,6 +32674,11 @@ export declare type ArticleQuery = {
32585
32674
  readonly url: string;
32586
32675
  readonly relativeUrl: string;
32587
32676
  }>;
32677
+ readonly design?: {
32678
+ readonly __typename?: 'Design';
32679
+ readonly theme?: string;
32680
+ readonly layout?: string;
32681
+ };
32588
32682
  } | {
32589
32683
  readonly __typename: 'LiveBlogPost';
32590
32684
  readonly id: string;
@@ -34292,6 +34386,11 @@ export declare type ArticleQuery = {
34292
34386
  readonly url: string;
34293
34387
  readonly relativeUrl: string;
34294
34388
  }>;
34389
+ readonly design?: {
34390
+ readonly __typename?: 'Design';
34391
+ readonly theme?: string;
34392
+ readonly layout?: string;
34393
+ };
34295
34394
  } | {
34296
34395
  readonly __typename: 'Video';
34297
34396
  readonly id: string;
@@ -35999,6 +36098,11 @@ export declare type ArticleQuery = {
35999
36098
  readonly url: string;
36000
36099
  readonly relativeUrl: string;
36001
36100
  }>;
36101
+ readonly design?: {
36102
+ readonly __typename?: 'Design';
36103
+ readonly theme?: string;
36104
+ readonly layout?: string;
36105
+ };
36002
36106
  };
36003
36107
  };
36004
36108
  export declare const StructuredTreeFragmentDoc: import("graphql/language/ast").DocumentNode;
@@ -36018,6 +36122,7 @@ export declare const RawImageFragmentDoc: import("graphql/language/ast").Documen
36018
36122
  export declare const MainImageFragmentDoc: import("graphql/language/ast").DocumentNode;
36019
36123
  export declare const ArticleReferencesFragmentDoc: import("graphql/language/ast").DocumentNode;
36020
36124
  export declare const StructuredContentFragmentDoc: import("graphql/language/ast").DocumentNode;
36125
+ export declare const DesignFragmentDoc: import("graphql/language/ast").DocumentNode;
36021
36126
  export declare const ContentFragmentDoc: import("graphql/language/ast").DocumentNode;
36022
36127
  export declare const ArticleDocument: import("graphql/language/ast").DocumentNode;
36023
36128
  export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getSdk = exports.ArticleDocument = exports.ContentFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.MainImageFragmentDoc = exports.RawImageFragmentDoc = exports.FlourishFragmentDoc = exports.TweetFragmentDoc = exports.LayoutImageFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.TopperFragmentDoc = exports.ImageFragmentDoc = exports.ImageSourceFragmentDoc = exports.ConceptFragmentDoc = exports.IntroFragmentDoc = exports.StructuredTreeFragmentDoc = void 0;
6
+ exports.getSdk = exports.ArticleDocument = exports.ContentFragmentDoc = exports.DesignFragmentDoc = exports.StructuredContentFragmentDoc = exports.ArticleReferencesFragmentDoc = exports.MainImageFragmentDoc = exports.RawImageFragmentDoc = exports.FlourishFragmentDoc = exports.TweetFragmentDoc = exports.LayoutImageFragmentDoc = exports.ImageSetFragmentDoc = exports.PictureFragmentDoc = exports.RecommendedFragmentDoc = exports.TeaserFragmentDoc = exports.TopperFragmentDoc = exports.ImageFragmentDoc = exports.ImageSourceFragmentDoc = exports.ConceptFragmentDoc = exports.IntroFragmentDoc = exports.StructuredTreeFragmentDoc = void 0;
7
7
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
8
8
  exports.StructuredTreeFragmentDoc = (0, graphql_tag_1.default) `
9
9
  fragment StructuredTree on StructuredContent {
@@ -295,6 +295,12 @@ exports.StructuredContentFragmentDoc = (0, graphql_tag_1.default) `
295
295
  }
296
296
  ${exports.StructuredTreeFragmentDoc}
297
297
  ${exports.ArticleReferencesFragmentDoc}`;
298
+ exports.DesignFragmentDoc = (0, graphql_tag_1.default) `
299
+ fragment Design on Design {
300
+ theme
301
+ layout
302
+ }
303
+ `;
298
304
  exports.ContentFragmentDoc = (0, graphql_tag_1.default) `
299
305
  fragment Content on Content {
300
306
  __typename
@@ -317,11 +323,15 @@ exports.ContentFragmentDoc = (0, graphql_tag_1.default) `
317
323
  ...Concept
318
324
  }
319
325
  commentsEnabled
326
+ design {
327
+ ...Design
328
+ }
320
329
  url
321
330
  }
322
331
  ${exports.TopperFragmentDoc}
323
332
  ${exports.StructuredContentFragmentDoc}
324
- ${exports.ConceptFragmentDoc}`;
333
+ ${exports.ConceptFragmentDoc}
334
+ ${exports.DesignFragmentDoc}`;
325
335
  exports.ArticleDocument = (0, graphql_tag_1.default) `
326
336
  query Article($uuid: String!, $useVanities: Boolean!) {
327
337
  content(uuid: $uuid) {
@@ -337,7 +347,6 @@ exports.ArticleDocument = (0, graphql_tag_1.default) `
337
347
  ...Teaser
338
348
  standfirst
339
349
  }
340
- design
341
350
  }
342
351
  }
343
352
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":";;;;;;AAEA,8DAA8B;AA2vBjB,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;KAIvC,CAAC;AACO,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;;;MAO7B,iCAAyB,EAAE,CAAC;AACrB,QAAA,kBAAkB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;KAWhC,CAAC;AACO,QAAA,sBAAsB,GAAG,IAAA,qBAAG,EAAA;;;;;;KAMpC,CAAC;AACO,QAAA,gBAAgB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;KAU9B,CAAC;AACO,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0E9B,wBAAgB;EACpB,0BAAkB;EAClB,8BAAsB;EACtB,wBAAgB,EAAE,CAAC;AACR,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiC9B,0BAAkB,EAAE,CAAC;AACd,QAAA,sBAAsB,GAAG,IAAA,qBAAG,EAAA;;;;;;MAMnC,yBA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M,CAAC,MAAqB,EAAE,cAAkC,cAAc;IAC5F,OAAO;QACL,OAAO,CAAC,SAAgC,EAAE,cAA2C;YACnF,OAAO,WAAW,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAe,uBAAe,EAAE,SAAS,EAAE,EAAC,GAAG,cAAc,EAAE,GAAG,qBAAqB,EAAC,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QAC7K,CAAC;KACF,CAAC;AACJ,CAAC;AAND,wBAMC"}
@@ -1 +1 @@
1
- export declare const version = "0.6.10";
1
+ export declare const version = "0.7.0";
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // Generated by genversion.
5
- exports.version = '0.6.10';
5
+ exports.version = '0.7.0';
6
6
  //# sourceMappingURL=schema-version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema-version.js","sourceRoot":"","sources":["../src/schema-version.ts"],"names":[],"mappings":";;;AAAA,2BAA2B;AACd,QAAA,OAAO,GAAG,QAAQ,CAAA"}
1
+ {"version":3,"file":"schema-version.js","sourceRoot":"","sources":["../src/schema-version.ts"],"names":[],"mappings":";;;AAAA,2BAA2B;AACd,QAAA,OAAO,GAAG,OAAO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/cp-content-pipeline-client",
3
- "version": "0.5.10",
3
+ "version": "0.6.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "devDependencies": {
12
12
  "@dotcom-tool-kit/npm": "^2.0.13",
13
- "@financial-times/cp-content-pipeline-schema": "^0.6.10",
13
+ "@financial-times/cp-content-pipeline-schema": "^0.7.0",
14
14
  "@graphql-codegen/typescript": "^2.7.3",
15
15
  "@graphql-codegen/typescript-generic-sdk": "^3.0.1",
16
16
  "@graphql-codegen/typescript-graphql-request": "^4.5.3",
@@ -250,6 +250,11 @@ fragment RawImage on RawImage {
250
250
  }
251
251
  }
252
252
 
253
+ fragment Design on Design {
254
+ theme
255
+ layout
256
+ }
257
+
253
258
  fragment ArticleReferences on Reference {
254
259
  type
255
260
  ...Recommended
@@ -290,6 +295,9 @@ fragment Content on Content {
290
295
  ...Concept
291
296
  }
292
297
  commentsEnabled
298
+ design {
299
+ ...Design
300
+ }
293
301
  url
294
302
  }
295
303
 
@@ -307,7 +315,6 @@ query Article($uuid: String!, $useVanities: Boolean!) {
307
315
  ...Teaser
308
316
  standfirst
309
317
  }
310
- design
311
318
  }
312
319
  }
313
320
  }