@financial-times/cp-content-pipeline-schema 3.3.2 → 3.4.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.
@@ -361,6 +361,8 @@ export type ClipSet = Reference & {
361
361
  readonly source?: Maybe<Scalars['String']['output']>;
362
362
  /** The subtitle of the clip set. */
363
363
  readonly subtitle?: Maybe<Scalars['String']['output']>;
364
+ /** The title to be used internally for the clip set. */
365
+ readonly systemTitle?: Maybe<Scalars['String']['output']>;
364
366
  /** The type of the clip set, eg. 'video'. */
365
367
  readonly type: Scalars['String']['output'];
366
368
  };
@@ -2322,6 +2324,7 @@ export type ClipSetResolvers<ContextType = QueryContext, ParentType extends Reso
2322
2324
  publishedDate: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
2323
2325
  source: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
2324
2326
  subtitle: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
2327
+ systemTitle: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
2325
2328
  type: Resolver<ResolversTypes['String'], ParentType, ContextType>;
2326
2329
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
2327
2330
  }>;
@@ -123,6 +123,7 @@ export const ClipSet = z.object({
123
123
  dataCopyright: z.string().optional(),
124
124
  description: z.string().optional(),
125
125
  displayTitle: z.string().optional(),
126
+ systemTitle: z.string().optional(),
126
127
  contentWarning: z.string().array().optional(),
127
128
  noAudio: z.boolean().optional(),
128
129
  source: z.string().optional(),
@@ -67,6 +67,7 @@ export const ClipSet = {
67
67
  (parent.reference as OldClipContentTree).credits ??
68
68
  getClipSet(parent)?.dataCopyright,
69
69
  displayTitle: (parent) => getClipSet(parent)?.displayTitle || null,
70
+ systemTitle: (parent) => getClipSet(parent)?.systemTitle || null,
70
71
  contentWarning: (parent) => getClipSet(parent)?.contentWarning || null,
71
72
  source: (parent) => getClipSet(parent)?.source || null,
72
73
  subtitle: (parent) => getClipSet(parent)?.subtitle || null,