@platecms/delta-vue 1.14.0 → 1.15.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.
@@ -53,6 +53,21 @@ export type AccessibleExperienceComponentsEdge = {
53
53
  node: Scalars['JSON']['output'];
54
54
  };
55
55
 
56
+ export type AddContentValueTranslationInput = {
57
+ linkedContentType?: InputMaybe<Scalars['PRN']['input']>;
58
+ linkedGridPlacement?: InputMaybe<Scalars['PRN']['input']>;
59
+ linkedPathPart?: InputMaybe<Scalars['PRN']['input']>;
60
+ linkedTag?: InputMaybe<Scalars['PRN']['input']>;
61
+ /** !!!Warning!!! The filter generated for this field is a hardcoded StringFilter. This means all primitiveValues will be converted to and compared as a string! */
62
+ primitiveValue?: InputMaybe<Scalars['PrimitiveValue']['input']>;
63
+ relatedAsset?: InputMaybe<Scalars['PRN']['input']>;
64
+ relatedContentItem?: InputMaybe<Scalars['PRN']['input']>;
65
+ /** The CAST tree for the smart text. */
66
+ smartText?: InputMaybe<Scalars['CAST']['input']>;
67
+ /** The PRN of the target Language for the new ContentValue translation. */
68
+ targetLanguagePrn: Scalars['PRN']['input'];
69
+ };
70
+
56
71
  export type AllowedValuesContentValidationRuleSettings = {
57
72
  __typename?: 'AllowedValuesContentValidationRuleSettings';
58
73
  allowedValues: Array<Scalars['ContentValueType']['output']>;
@@ -107,12 +122,14 @@ export type ApiTokensFilterInput = {
107
122
 
108
123
  export type Asset = {
109
124
  __typename?: 'Asset';
110
- /** The alt text of the asset. */
125
+ /** The localized alt text of the Asset. */
111
126
  altText?: Maybe<Scalars['String']['output']>;
112
127
  createdAt: Scalars['DateTime']['output'];
113
128
  fileName: Scalars['String']['output'];
114
129
  /** The size of the file in bytes. */
115
130
  fileSize: Scalars['Int']['output'];
131
+ /** All localized alt texts for the Asset. */
132
+ localizedAltTexts: Array<AssetLocalizedAltText>;
116
133
  mimeType: Scalars['String']['output'];
117
134
  organization?: Maybe<Organization>;
118
135
  prn: Scalars['PRN']['output'];
@@ -124,10 +141,22 @@ export type Asset = {
124
141
  };
125
142
 
126
143
 
144
+ export type AssetAltTextArgs = {
145
+ languageFallback?: InputMaybe<Scalars['Boolean']['input']>;
146
+ languagePrn?: InputMaybe<Scalars['PRN']['input']>;
147
+ };
148
+
149
+
127
150
  export type AssetProcessedUrlsArgs = {
128
151
  optionsList: Array<ProcessedAssetOptionsInput>;
129
152
  };
130
153
 
154
+ export type AssetLocalizedAltText = {
155
+ __typename?: 'AssetLocalizedAltText';
156
+ altText?: Maybe<Scalars['String']['output']>;
157
+ language: Language;
158
+ };
159
+
131
160
  export type Blueprint = {
132
161
  __typename?: 'Blueprint';
133
162
  channel: Channel;
@@ -422,6 +451,20 @@ export type ChannelEdge = {
422
451
  node: Channel;
423
452
  };
424
453
 
454
+ export type ChannelLanguageRoot = {
455
+ __typename?: 'ChannelLanguageRoot';
456
+ /** Whether this language root is the channel's default language root. */
457
+ isDefault: Scalars['Boolean']['output'];
458
+ /** The enabled language represented by this channel language root. */
459
+ language: Language;
460
+ /** The PRN of the Language this ChannelLanguageRoot belongs to. */
461
+ languagePrn: Scalars['PRN']['output'];
462
+ /** The protected Path Part that acts as the channel language root. */
463
+ pathPart: PathPart;
464
+ /** The stored root path used for this enabled channel language. */
465
+ rootPath: Scalars['String']['output'];
466
+ };
467
+
425
468
  export type ChannelsConnection = {
426
469
  __typename?: 'ChannelsConnection';
427
470
  edges: Array<ChannelEdge>;
@@ -462,6 +505,10 @@ export type ContentExperience = {
462
505
  isPublished: Scalars['Boolean']['output'];
463
506
  /** The issues that this Content Experience is a subject of */
464
507
  issues: Array<Issue>;
508
+ language: Language;
509
+ languageGroup: ContentExperienceLanguageGroup;
510
+ /** The PRN of the Language this ContentExperience belongs to. */
511
+ languagePrn: Scalars['PRN']['output'];
465
512
  /** When this Content Experience was last published. Null if not published. */
466
513
  lastPublished?: Maybe<Scalars['DateTime']['output']>;
467
514
  organization?: Maybe<Organization>;
@@ -507,6 +554,40 @@ export type ContentExperienceEdge = {
507
554
  node: ContentExperience;
508
555
  };
509
556
 
557
+ export type ContentExperienceLanguageGroup = {
558
+ __typename?: 'ContentExperienceLanguageGroup';
559
+ channel: Channel;
560
+ /** The PRN of the Channel this ContentExperience language group belongs to. */
561
+ channelPrn: Scalars['PRN']['output'];
562
+ contentExperiences: Array<ContentExperience>;
563
+ createdAt: Scalars['DateTime']['output'];
564
+ organization?: Maybe<Organization>;
565
+ prn: Scalars['PRN']['output'];
566
+ updatedAt: Scalars['DateTime']['output'];
567
+ };
568
+
569
+ export type ContentExperienceLanguageGroupEdge = {
570
+ __typename?: 'ContentExperienceLanguageGroupEdge';
571
+ cursor: Scalars['String']['output'];
572
+ node: ContentExperienceLanguageGroup;
573
+ };
574
+
575
+ export type ContentExperienceLanguageGroupsConnection = {
576
+ __typename?: 'ContentExperienceLanguageGroupsConnection';
577
+ edges: Array<ContentExperienceLanguageGroupEdge>;
578
+ pageInfo: PageInfo;
579
+ totalCount: Scalars['Int']['output'];
580
+ };
581
+
582
+ /** The filter input type for 'ContentExperienceLanguageGroups'. Objects/maps are treated as AND, while arrays are treated as OR. */
583
+ export type ContentExperienceLanguageGroupsFilterInput = {
584
+ _not?: InputMaybe<Array<ContentExperienceLanguageGroupsFilterInput>>;
585
+ channelPrn?: InputMaybe<Array<PrnFilter>>;
586
+ createdAt?: InputMaybe<Array<DateFilter>>;
587
+ prn?: InputMaybe<Array<PrnFilter>>;
588
+ updatedAt?: InputMaybe<Array<DateFilter>>;
589
+ };
590
+
510
591
  export type ContentExperiencesConnection = {
511
592
  __typename?: 'ContentExperiencesConnection';
512
593
  edges: Array<ContentExperienceEdge>;
@@ -520,6 +601,7 @@ export type ContentExperiencesFilterInput = {
520
601
  channelPrn?: InputMaybe<Array<PrnFilter>>;
521
602
  createdAt?: InputMaybe<Array<DateFilter>>;
522
603
  isPublished?: InputMaybe<Array<BooleanFilter>>;
604
+ languagePrn?: InputMaybe<Array<PrnFilter>>;
523
605
  lastPublished?: InputMaybe<Array<DateFilter>>;
524
606
  prn?: InputMaybe<Array<PrnFilter>>;
525
607
  seoDescription?: InputMaybe<Array<StringFilter>>;
@@ -607,6 +689,10 @@ export type ContentItem = {
607
689
  isPublished: Scalars['Boolean']['output'];
608
690
  /** The issues that this Content Item is a subject of */
609
691
  issues: Array<Issue>;
692
+ language: Language;
693
+ languageGroup: ContentItemLanguageGroup;
694
+ /** The PRN of the Language this Content Item belongs to. */
695
+ languagePrn: Scalars['PRN']['output'];
610
696
  /** When this Content Item was last published. Null if not published. */
611
697
  lastPublished?: Maybe<Scalars['DateTime']['output']>;
612
698
  organization?: Maybe<Organization>;
@@ -649,6 +735,47 @@ export type ContentItemEdge = {
649
735
  node: ContentItem;
650
736
  };
651
737
 
738
+ export type ContentItemLanguageGroup = {
739
+ __typename?: 'ContentItemLanguageGroup';
740
+ contentItems: Array<ContentItem>;
741
+ contentType: ContentType;
742
+ /** The PRN of the Content Type this ContentItem language group belongs to. */
743
+ contentTypePrn: Scalars['PRN']['output'];
744
+ createdAt: Scalars['DateTime']['output'];
745
+ organization?: Maybe<Organization>;
746
+ prn: Scalars['PRN']['output'];
747
+ updatedAt: Scalars['DateTime']['output'];
748
+ };
749
+
750
+ export type ContentItemLanguageGroupEdge = {
751
+ __typename?: 'ContentItemLanguageGroupEdge';
752
+ cursor: Scalars['String']['output'];
753
+ node: ContentItemLanguageGroup;
754
+ };
755
+
756
+ export type ContentItemLanguageGroupsConnection = {
757
+ __typename?: 'ContentItemLanguageGroupsConnection';
758
+ edges: Array<ContentItemLanguageGroupEdge>;
759
+ pageInfo: PageInfo;
760
+ totalCount: Scalars['Int']['output'];
761
+ };
762
+
763
+ /** The filter input type for 'ContentItemLanguageGroups'. Objects/maps are treated as AND, while arrays are treated as OR. */
764
+ export type ContentItemLanguageGroupsFilterInput = {
765
+ _not?: InputMaybe<Array<ContentItemLanguageGroupsFilterInput>>;
766
+ contentTypePrn?: InputMaybe<Array<PrnFilter>>;
767
+ createdAt?: InputMaybe<Array<DateFilter>>;
768
+ prn?: InputMaybe<Array<PrnFilter>>;
769
+ updatedAt?: InputMaybe<Array<DateFilter>>;
770
+ };
771
+
772
+ export type ContentItemMergeConflictResolutionInput = {
773
+ /** The PRN of the ContentItem variant that survives the merge for its Language. Must be the current variant of one group while removeVariantId is the other group's variant for the same Language; otherwise the merge is rejected, so resolutions based on stale data fail instead of merging silently. */
774
+ keepVariantPrn: Scalars['PRN']['input'];
775
+ /** The PRN of the ContentItem variant that is removed by the merge for its Language. Content Values relating to it are repointed to the kept variant before removal. */
776
+ removeVariantPrn: Scalars['PRN']['input'];
777
+ };
778
+
652
779
  export type ContentItemsConnection = {
653
780
  __typename?: 'ContentItemsConnection';
654
781
  edges: Array<ContentItemEdge>;
@@ -665,6 +792,7 @@ export type ContentItemsFilterInput = {
665
792
  displayName?: InputMaybe<Array<StringFilter>>;
666
793
  isDraft?: InputMaybe<Array<BooleanFilter>>;
667
794
  isPublished?: InputMaybe<Array<BooleanFilter>>;
795
+ languagePrn?: InputMaybe<Array<PrnFilter>>;
668
796
  lastPublished?: InputMaybe<Array<DateFilter>>;
669
797
  prn?: InputMaybe<Array<PrnFilter>>;
670
798
  tagPrns?: InputMaybe<Array<PrnArrayFilter>>;
@@ -759,6 +887,10 @@ export type ContentValue = {
759
887
  isReusable: Scalars['Boolean']['output'];
760
888
  /** The issues that this Content Value is a subject of */
761
889
  issues: Array<Issue>;
890
+ language?: Maybe<Language>;
891
+ languageGroup?: Maybe<ContentValueLanguageGroup>;
892
+ /** The PRN of the Language stored on a standalone reusable ContentValue. */
893
+ languagePrn?: Maybe<Scalars['PRN']['output']>;
762
894
  linkedContentType?: Maybe<ContentType>;
763
895
  linkedGridPlacement?: Maybe<GridPlacement>;
764
896
  linkedPathPart?: Maybe<PathPart>;
@@ -784,8 +916,6 @@ export type ContentValue = {
784
916
  /** The Grid Placements that are referenced in internal links in the smart text. This is calculated based on the CAST tree in the smart text and cannot be updated manually. */
785
917
  referencedGridPlacements: Array<GridPlacement>;
786
918
  relatedAsset?: Maybe<Asset>;
787
- /** The alt text of the relatedAsset. */
788
- relatedAssetAltText?: Maybe<Scalars['String']['output']>;
789
919
  /** The file name of the relatedAsset. */
790
920
  relatedAssetFileName?: Maybe<Scalars['String']['output']>;
791
921
  /** The file type (MIME type) of the relatedAsset. */
@@ -817,6 +947,36 @@ export type ContentValueEdge = {
817
947
  node: ContentValue;
818
948
  };
819
949
 
950
+ export type ContentValueLanguageGroup = {
951
+ __typename?: 'ContentValueLanguageGroup';
952
+ contentValues: Array<ContentValue>;
953
+ createdAt: Scalars['DateTime']['output'];
954
+ organization?: Maybe<Organization>;
955
+ prn: Scalars['PRN']['output'];
956
+ updatedAt: Scalars['DateTime']['output'];
957
+ };
958
+
959
+ export type ContentValueLanguageGroupEdge = {
960
+ __typename?: 'ContentValueLanguageGroupEdge';
961
+ cursor: Scalars['String']['output'];
962
+ node: ContentValueLanguageGroup;
963
+ };
964
+
965
+ export type ContentValueLanguageGroupsConnection = {
966
+ __typename?: 'ContentValueLanguageGroupsConnection';
967
+ edges: Array<ContentValueLanguageGroupEdge>;
968
+ pageInfo: PageInfo;
969
+ totalCount: Scalars['Int']['output'];
970
+ };
971
+
972
+ /** The filter input type for 'ContentValueLanguageGroups'. Objects/maps are treated as AND, while arrays are treated as OR. */
973
+ export type ContentValueLanguageGroupsFilterInput = {
974
+ _not?: InputMaybe<Array<ContentValueLanguageGroupsFilterInput>>;
975
+ createdAt?: InputMaybe<Array<DateFilter>>;
976
+ prn?: InputMaybe<Array<PrnFilter>>;
977
+ updatedAt?: InputMaybe<Array<DateFilter>>;
978
+ };
979
+
820
980
  export enum ContentValueTypeNames {
821
981
  Asset = 'ASSET',
822
982
  Boolean = 'BOOLEAN',
@@ -845,10 +1005,10 @@ export type ContentValuesFilterInput = {
845
1005
  contentItemPrn?: InputMaybe<Array<PrnFilter>>;
846
1006
  createdAt?: InputMaybe<Array<DateFilter>>;
847
1007
  isReusable?: InputMaybe<Array<BooleanFilter>>;
1008
+ languagePrn?: InputMaybe<Array<PrnFilter>>;
848
1009
  plainText?: InputMaybe<Array<StringFilter>>;
849
1010
  primitiveValue?: InputMaybe<Array<StringFilter>>;
850
1011
  prn?: InputMaybe<Array<PrnFilter>>;
851
- relatedAssetAltText?: InputMaybe<Array<StringFilter>>;
852
1012
  relatedAssetFileName?: InputMaybe<Array<StringFilter>>;
853
1013
  relatedAssetFileType?: InputMaybe<Array<StringFilter>>;
854
1014
  relatedAssetSize?: InputMaybe<Array<IntFilter>>;
@@ -884,6 +1044,10 @@ export type CreateAccessibleContentItemInput = {
884
1044
  contentTypeSlug: Scalars['String']['input'];
885
1045
  /** Whether the Content Item is a draft. Drafts are not validated against the Content Type's validation rules. */
886
1046
  isDraft?: Scalars['Boolean']['input'];
1047
+ /** The PRN of the Language to create this Content Item in. Defaults to the organization's default language. */
1048
+ language?: InputMaybe<Scalars['PRN']['input']>;
1049
+ /** An existing ContentItemLanguageGroup to add this Content Item to as a new language variant. Requires an explicit language. When omitted, a new language group is created for this Content Item. */
1050
+ languageGroup?: InputMaybe<Scalars['PRN']['input']>;
887
1051
  /** The paths of the Tags to assign to the Content Item. */
888
1052
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
889
1053
  };
@@ -905,6 +1069,8 @@ export type CreateAccessibleGlobalExperienceComponentInput = {
905
1069
  gridPlacement?: InputMaybe<CreateGridPlacementForExperienceComponentInput>;
906
1070
  /** Whether the Experience Component is a draft. Drafts are not validated against the Building Block's validation rules. */
907
1071
  isDraft?: Scalars['Boolean']['input'];
1072
+ /** The PRN of the Language to store on the global Experience Component. Defaults to the organization's default language. */
1073
+ language?: InputMaybe<Scalars['PRN']['input']>;
908
1074
  /** The name of the global Experience Component. */
909
1075
  name: Scalars['String']['input'];
910
1076
  /** The PRN of the preview Asset. */
@@ -1058,7 +1224,9 @@ export type CreateBuildingBlockInput = {
1058
1224
  };
1059
1225
 
1060
1226
  export type CreateChannelInput = {
1227
+ defaultLanguage?: InputMaybe<Scalars['PRN']['input']>;
1061
1228
  domain: Scalars['String']['input'];
1229
+ languages?: InputMaybe<Array<Scalars['PRN']['input']>>;
1062
1230
  name: Scalars['String']['input'];
1063
1231
  slug: Scalars['String']['input'];
1064
1232
  theme: Scalars['PRN']['input'];
@@ -1127,6 +1295,9 @@ export type CreateContentItemInput = {
1127
1295
  contentValuesToConnect?: InputMaybe<Array<ConnectContentValueInput>>;
1128
1296
  contentValuesToCreate?: InputMaybe<Array<CreateContentValueForContentItemInput>>;
1129
1297
  isDraft: Scalars['Boolean']['input'];
1298
+ language?: InputMaybe<Scalars['PRN']['input']>;
1299
+ /** An existing ContentItemLanguageGroup to add this ContentItem to as a new language variant. Requires an explicit language. When omitted, a new language group is created for this ContentItem. */
1300
+ languageGroup?: InputMaybe<Scalars['PRN']['input']>;
1130
1301
  primaryContentExperience?: InputMaybe<Scalars['PRN']['input']>;
1131
1302
  tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
1132
1303
  };
@@ -1146,6 +1317,8 @@ export type CreateContentValueForContentItemInput = {
1146
1317
  contentField: Scalars['PRN']['input'];
1147
1318
  /** Whether the ContentValue is reusable. Defaults to false. */
1148
1319
  isReusable?: InputMaybe<Scalars['Boolean']['input']>;
1320
+ /** The PRN of the Language to store on a standalone reusable ContentValue. When omitted, the organization's default language is used. */
1321
+ language?: InputMaybe<Scalars['PRN']['input']>;
1149
1322
  linkedContentType?: InputMaybe<Scalars['PRN']['input']>;
1150
1323
  linkedGridPlacement?: InputMaybe<Scalars['PRN']['input']>;
1151
1324
  linkedPathPart?: InputMaybe<Scalars['PRN']['input']>;
@@ -1165,6 +1338,8 @@ export type CreateContentValueInput = {
1165
1338
  contentItem?: InputMaybe<Scalars['PRN']['input']>;
1166
1339
  /** Whether the ContentValue is reusable. Defaults to false. */
1167
1340
  isReusable?: InputMaybe<Scalars['Boolean']['input']>;
1341
+ /** The PRN of the Language to store on a standalone reusable ContentValue. When omitted, the organization's default language is used. */
1342
+ language?: InputMaybe<Scalars['PRN']['input']>;
1168
1343
  linkedContentType?: InputMaybe<Scalars['PRN']['input']>;
1169
1344
  linkedGridPlacement?: InputMaybe<Scalars['PRN']['input']>;
1170
1345
  linkedPathPart?: InputMaybe<Scalars['PRN']['input']>;
@@ -1215,6 +1390,8 @@ export type CreateGlobalExperienceComponentInput = {
1215
1390
  gridPlacement?: InputMaybe<CreateGridPlacementForExperienceComponentInput>;
1216
1391
  /** Whether the Experience Component is a draft. */
1217
1392
  isDraft: Scalars['Boolean']['input'];
1393
+ /** The PRN of the Language to store on the global Experience Component. Defaults to the organization's default language. */
1394
+ language?: InputMaybe<Scalars['PRN']['input']>;
1218
1395
  name: Scalars['String']['input'];
1219
1396
  preview?: InputMaybe<Scalars['PRN']['input']>;
1220
1397
  };
@@ -1254,12 +1431,19 @@ export type CreateInvitationInput = {
1254
1431
  userEmail: Scalars['String']['input'];
1255
1432
  };
1256
1433
 
1434
+ export type CreateLanguageInput = {
1435
+ code: Scalars['String']['input'];
1436
+ countryCode: Scalars['String']['input'];
1437
+ };
1438
+
1257
1439
  export type CreateNumberBetweenContentValidationRuleInput = {
1258
1440
  settings: NumberBetweenContentValidationRuleSettingsInput;
1259
1441
  targetField: Scalars['String']['input'];
1260
1442
  };
1261
1443
 
1262
1444
  export type CreateOrganizationInput = {
1445
+ defaultLocale?: InputMaybe<CreateLanguageInput>;
1446
+ languages: Array<CreateLanguageInput>;
1263
1447
  logoUrl?: InputMaybe<Scalars['String']['input']>;
1264
1448
  name: Scalars['String']['input'];
1265
1449
  slug: Scalars['String']['input'];
@@ -1304,8 +1488,8 @@ export type CreateTagInput = {
1304
1488
  color?: InputMaybe<Scalars['String']['input']>;
1305
1489
  /** Whether to force the visibility of the Tag on its descendants. */
1306
1490
  forceVisibilityOnDescendants?: InputMaybe<Scalars['Boolean']['input']>;
1307
- /** The name of the Tag. */
1308
- name: Scalars['String']['input'];
1491
+ /** Localized Tag names keyed by language. Must include the default language. */
1492
+ localizedNames: Array<LocalizedTagNameInput>;
1309
1493
  /** The PRN of the parent Tag. */
1310
1494
  parent?: InputMaybe<Scalars['String']['input']>;
1311
1495
  /** The visibility of the Tag. Defaults to the parent's visibility, or PUBLIC if there is no parent. If the visibility is forced by a parent, this must match that visibility. */
@@ -1409,6 +1593,12 @@ export type ExperienceComponent = {
1409
1593
  /** Whether the Experience Component is a draft. */
1410
1594
  isDraft: Scalars['Boolean']['output'];
1411
1595
  isGlobal: Scalars['Boolean']['output'];
1596
+ /** The Language stored on a global Experience Component. Local Experience Components keep this null. */
1597
+ language?: Maybe<Language>;
1598
+ /** The language group for a global Experience Component. Local Experience Components keep this null. */
1599
+ languageGroup?: Maybe<ExperienceComponentLanguageGroup>;
1600
+ /** The PRN of the Language stored on a global Experience Component. */
1601
+ languagePrn?: Maybe<Scalars['PRN']['output']>;
1412
1602
  /** The name of the Experience Component. Only applicable for global Experience Components. */
1413
1603
  name?: Maybe<Scalars['String']['output']>;
1414
1604
  organization?: Maybe<Organization>;
@@ -1440,6 +1630,36 @@ export type ExperienceComponentEdge = {
1440
1630
  node: ExperienceComponent;
1441
1631
  };
1442
1632
 
1633
+ export type ExperienceComponentLanguageGroup = {
1634
+ __typename?: 'ExperienceComponentLanguageGroup';
1635
+ createdAt: Scalars['DateTime']['output'];
1636
+ experienceComponents: Array<ExperienceComponent>;
1637
+ organization?: Maybe<Organization>;
1638
+ prn: Scalars['PRN']['output'];
1639
+ updatedAt: Scalars['DateTime']['output'];
1640
+ };
1641
+
1642
+ export type ExperienceComponentLanguageGroupEdge = {
1643
+ __typename?: 'ExperienceComponentLanguageGroupEdge';
1644
+ cursor: Scalars['String']['output'];
1645
+ node: ExperienceComponentLanguageGroup;
1646
+ };
1647
+
1648
+ export type ExperienceComponentLanguageGroupsConnection = {
1649
+ __typename?: 'ExperienceComponentLanguageGroupsConnection';
1650
+ edges: Array<ExperienceComponentLanguageGroupEdge>;
1651
+ pageInfo: PageInfo;
1652
+ totalCount: Scalars['Int']['output'];
1653
+ };
1654
+
1655
+ /** The filter input type for 'ExperienceComponentLanguageGroups'. Objects/maps are treated as AND, while arrays are treated as OR. */
1656
+ export type ExperienceComponentLanguageGroupsFilterInput = {
1657
+ _not?: InputMaybe<Array<ExperienceComponentLanguageGroupsFilterInput>>;
1658
+ createdAt?: InputMaybe<Array<DateFilter>>;
1659
+ prn?: InputMaybe<Array<PrnFilter>>;
1660
+ updatedAt?: InputMaybe<Array<DateFilter>>;
1661
+ };
1662
+
1443
1663
  export type ExperienceComponentsConnection = {
1444
1664
  __typename?: 'ExperienceComponentsConnection';
1445
1665
  edges: Array<ExperienceComponentEdge>;
@@ -1453,6 +1673,7 @@ export type ExperienceComponentsFilterInput = {
1453
1673
  createdAt?: InputMaybe<Array<DateFilter>>;
1454
1674
  isDraft?: InputMaybe<Array<BooleanFilter>>;
1455
1675
  isGlobal?: InputMaybe<Array<BooleanFilter>>;
1676
+ languagePrn?: InputMaybe<Array<PrnFilter>>;
1456
1677
  name?: InputMaybe<Array<StringFilter>>;
1457
1678
  prn?: InputMaybe<Array<PrnFilter>>;
1458
1679
  updatedAt?: InputMaybe<Array<DateFilter>>;
@@ -1539,6 +1760,8 @@ export type GridPlacement = {
1539
1760
  blueprintedBy?: Maybe<GridPlacement>;
1540
1761
  /** The Grid Placements which this Blueprint definition defines. Null if this model is not a Blueprint definition. */
1541
1762
  blueprintedInstances?: Maybe<Array<GridPlacement>>;
1763
+ /** The Channel of the Content Experience this Grid Placement belongs to. */
1764
+ channel: Channel;
1542
1765
  createdAt: Scalars['DateTime']['output'];
1543
1766
  experienceComponent: ExperienceComponent;
1544
1767
  grid: Grid;
@@ -1670,7 +1893,7 @@ export enum IssueStatus {
1670
1893
  Solved = 'SOLVED'
1671
1894
  }
1672
1895
 
1673
- export type IssueSubject = ContentExperience | ContentItem | ContentValue;
1896
+ export type IssueSubject = ContentExperience | ContentExperienceLanguageGroup | ContentItem | ContentItemLanguageGroup | ContentValue;
1674
1897
 
1675
1898
  export enum IssueType {
1676
1899
  DuplicatedTags = 'DUPLICATED_TAGS',
@@ -1704,10 +1927,74 @@ export type IssuesFilterInput = {
1704
1927
  updatedAt?: InputMaybe<Array<DateFilter>>;
1705
1928
  };
1706
1929
 
1930
+ export type Language = {
1931
+ __typename?: 'Language';
1932
+ code: Scalars['String']['output'];
1933
+ countryCode: Scalars['String']['output'];
1934
+ createdAt: Scalars['DateTime']['output'];
1935
+ /** Whether this Language is the organization's default. */
1936
+ isDefault: Scalars['Boolean']['output'];
1937
+ organization?: Maybe<Organization>;
1938
+ prn: Scalars['PRN']['output'];
1939
+ status: LanguageStatus;
1940
+ updatedAt: Scalars['DateTime']['output'];
1941
+ };
1942
+
1943
+ export type LanguageEdge = {
1944
+ __typename?: 'LanguageEdge';
1945
+ cursor: Scalars['String']['output'];
1946
+ node: Language;
1947
+ };
1948
+
1949
+ export enum LanguageStatus {
1950
+ Disabled = 'DISABLED',
1951
+ Enabled = 'ENABLED'
1952
+ }
1953
+
1954
+ export type LanguagesConnection = {
1955
+ __typename?: 'LanguagesConnection';
1956
+ edges: Array<LanguageEdge>;
1957
+ pageInfo: PageInfo;
1958
+ totalCount: Scalars['Int']['output'];
1959
+ };
1960
+
1961
+ /** The filter input type for 'Languages'. Objects/maps are treated as AND, while arrays are treated as OR. */
1962
+ export type LanguagesFilterInput = {
1963
+ _not?: InputMaybe<Array<LanguagesFilterInput>>;
1964
+ code?: InputMaybe<Array<StringFilter>>;
1965
+ countryCode?: InputMaybe<Array<StringFilter>>;
1966
+ createdAt?: InputMaybe<Array<DateFilter>>;
1967
+ prn?: InputMaybe<Array<PrnFilter>>;
1968
+ status?: InputMaybe<Array<StringFilter>>;
1969
+ updatedAt?: InputMaybe<Array<DateFilter>>;
1970
+ };
1971
+
1972
+ export type LocalizedAssetAltTextInput = {
1973
+ /** The localized alt text. Null deletes this language's row during update. An empty string stores an explicitly empty alt text without falling back to the default language. */
1974
+ altText?: InputMaybe<Scalars['String']['input']>;
1975
+ /** The PRN of the language for this localized Asset alt text. Defaults to the organization default language. */
1976
+ languagePrn?: InputMaybe<Scalars['String']['input']>;
1977
+ };
1978
+
1979
+ export type LocalizedTagNameInput = {
1980
+ /** The PRN of the language for this localized Tag name. Defaults to the organization default language. */
1981
+ languagePrn?: InputMaybe<Scalars['String']['input']>;
1982
+ /** The localized display name. Null deletes this language row during update. */
1983
+ name?: InputMaybe<Scalars['String']['input']>;
1984
+ };
1985
+
1707
1986
  export type Mutation = {
1708
1987
  __typename?: 'Mutation';
1709
1988
  /** Accepts an Invitation for the current User (e.g. the logged in user) */
1710
1989
  acceptInvitation: RoleAssignment;
1990
+ /** Creates one or many translated sibling ContentExperiences in the same language group. */
1991
+ addContentExperienceTranslations: Array<ContentExperience>;
1992
+ /** Creates one or many translated ContentItem translations in the same language group as the source. Copies tags and optionally copies content values. When content values are copied the translation keeps the source's isDraft status; otherwise it is created as a draft. Does not copy the primary Content Experience. */
1993
+ addContentItemTranslations: Array<ContentItem>;
1994
+ /** Creates one or many translated standalone reusable ContentValue translations in the same language group as the source. */
1995
+ addContentValueTranslations: Array<ContentValue>;
1996
+ /** Creates one or many translated global Experience Component translations in the same language group as the source. By default the new translations start with an empty tree, consistent with Content Experience translations; pass copyContentValues to clone the source's local tree structure (fulfillments, content values, grid placements, local children) instead. */
1997
+ addExperienceComponentTranslations: Array<ExperienceComponent>;
1711
1998
  /** Assign the PlateMaintainer role to a user */
1712
1999
  addPlateMaintainer: User;
1713
2000
  /** Archives one or many Issues. Throws NotFoundError when no Issues could be found. */
@@ -1787,6 +2074,8 @@ export type Mutation = {
1787
2074
  createGridPlacement: Array<GridPlacement>;
1788
2075
  /** Creates one or many new Invitations. */
1789
2076
  createInvitation: Array<Invitation>;
2077
+ /** Creates one or many Languages for the organization. */
2078
+ createLanguage: Array<Language>;
1790
2079
  createNumberBetweenContentValidationRule: ContentValidationRule;
1791
2080
  createOrganization: Organization;
1792
2081
  /** Create a new Path Part using a parent Path Part. */
@@ -1804,6 +2093,8 @@ export type Mutation = {
1804
2093
  createValueTypeContentValidationRule: ContentValidationRule;
1805
2094
  /** Declines an Invitation for the current User (e.g. the logged in user) */
1806
2095
  declineInvitation: Invitation;
2096
+ /** Enables an additional language for a Channel by creating a protected language-root Path Part. */
2097
+ enableChannelLanguage: ChannelLanguageRoot;
1807
2098
  /** Enqueues a full scan for all organizations and stages. */
1808
2099
  enqueueFullScan: Scalars['Boolean']['output'];
1809
2100
  /** Enqueues missing tags scan. */
@@ -1821,6 +2112,14 @@ export type Mutation = {
1821
2112
  * See the wiki for an example: https://plate.atlassian.net/wiki/spaces/DW/pages/1488945153/Asset+Manager#Uploading-Assets
1822
2113
  */
1823
2114
  generateAssetUploadUrl: Array<GeneratedUploadUrl>;
2115
+ /** Merges the source ContentExperience language group into the target group for the current stage. Every source translation moves to the target group unchanged. Fails when both groups contain a translation for the same Language in the current stage; remove one of the conflicting translations first. The source group is removed once no translations reference it in any stage. */
2116
+ mergeContentExperienceLanguageGroups: ContentExperienceLanguageGroup;
2117
+ /** Merges the source ContentItem language group into the target group for the current stage. Non-conflicting language variants move to the target group unchanged. Languages both groups contain a variant for require a conflict resolution pairing the variant to keep with the variant to remove; the kept variant survives untouched and Content Values relating to the removed variant are repointed to it. The source group is removed once no variants reference it in any stage. */
2118
+ mergeContentItemLanguageGroups: ContentItemLanguageGroup;
2119
+ /** Merges the source ContentValue language group into the target group for the current stage. Every source translation moves to the target group unchanged. Fails when both groups contain a translation for the same Language in the current stage; remove one of the conflicting translations first. The source group is removed once no translations reference it in any stage. */
2120
+ mergeContentValueLanguageGroups: ContentValueLanguageGroup;
2121
+ /** Merges the source ExperienceComponent language group into the target group for the current stage. Every source translation moves to the target group unchanged. Fails when both groups contain a translation for the same Language in the current stage; remove one of the conflicting translations first. The source group is removed once no translations reference it in any stage. */
2122
+ mergeExperienceComponentLanguageGroups: ExperienceComponentLanguageGroup;
1824
2123
  /** Publishes an entity. Throws NotFoundException when no entity could be found. */
1825
2124
  publish: Array<Scalars['Boolean']['output']>;
1826
2125
  /** Regenerate one or many new ApiTokens. */
@@ -1864,6 +2163,8 @@ export type Mutation = {
1864
2163
  * Throws NotFoundException when no ContentExperiences could be found.
1865
2164
  */
1866
2165
  removeContentExperience: Array<RemoveContentExperienceResponse>;
2166
+ /** Removes one or many translated ContentExperience translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2167
+ removeContentExperienceTranslation: Array<RemoveContentExperienceResponse>;
1867
2168
  /**
1868
2169
  * Removes one or many ContentFields.
1869
2170
  * Throws NotFoundException when no ContentField could be found.
@@ -1873,10 +2174,12 @@ export type Mutation = {
1873
2174
  */
1874
2175
  removeContentField: Array<ContentField>;
1875
2176
  /**
1876
- * Removes a ContentItem. Also removes connected ContentValues.
2177
+ * Removes a ContentItem language group in the current stage. Also removes connected ContentValues.
1877
2178
  * Throws NotFoundException when no ContentItem could be found.
1878
2179
  */
1879
2180
  removeContentItem: Array<ContentItem>;
2181
+ /** Removes one or many translated ContentItem translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2182
+ removeContentItemTranslation: Array<ContentItem>;
1880
2183
  /**
1881
2184
  * Removes a ContentType. Also removes connected ContentFields.
1882
2185
  * Throws NotFoundException when no ContentType could be found.
@@ -1892,11 +2195,15 @@ export type Mutation = {
1892
2195
  * Throws NotFoundException when no ContentValue could be found.
1893
2196
  */
1894
2197
  removeContentValue: Array<RemoveContentValueResponse>;
2198
+ /** Removes one or many translated ContentValue translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2199
+ removeContentValueTranslation: Array<RemoveContentValueResponse>;
1895
2200
  /**
1896
2201
  * Removes one or many ExperienceComponents.
1897
2202
  * Throws NotFoundException when no ExperienceComponents could be found.
1898
2203
  */
1899
2204
  removeExperienceComponent: Array<RemoveExperienceComponentResponse>;
2205
+ /** Removes one or many translated global Experience Component translations from their language groups. Throws UnprocessableContentError when a translation is the only one in its group. */
2206
+ removeExperienceComponentTranslation: Array<RemoveExperienceComponentResponse>;
1900
2207
  /**
1901
2208
  * Removes one or many Grids.
1902
2209
  * Throws NotFoundException when no Grids could be found.
@@ -1917,6 +2224,8 @@ export type Mutation = {
1917
2224
  * Throws NotFoundException when no Invitation could be found.
1918
2225
  */
1919
2226
  removeInvitation: Array<Invitation>;
2227
+ /** Removes one or many Languages. */
2228
+ removeLanguage: Array<Language>;
1920
2229
  /**
1921
2230
  * Removes one or many Organizations.
1922
2231
  * Throws NotFoundException when no Organization could be found.
@@ -1948,12 +2257,20 @@ export type Mutation = {
1948
2257
  removeTheme: Array<Theme>;
1949
2258
  /** Removes UserMetadata for the current User. */
1950
2259
  removeUserMetadata: Array<UserMetadata>;
2260
+ /** Renames a non-default channel language root by moving its protected Path Part to a new path. */
2261
+ renameChannelLanguageRoot: ChannelLanguageRoot;
2262
+ /** Republishes every already-published entity across every organization, so CDA's derived data reflects CMS's current state. Plate Maintainer only. Runs in the background and returns immediately; see logs for progress and skipped entities. */
2263
+ republishCdaPublicationState: Scalars['Boolean']['output'];
1951
2264
  /** Starts the creation of the a given seed for the current organization. This removes existing content and creates new content */
1952
2265
  runSeeder: Scalars['Boolean']['output'];
1953
2266
  /** Schedules a Publication. Throws BadRequestError when the target could not be found. */
1954
2267
  schedulePublish: Array<ScheduledPublication>;
1955
2268
  /** Schedules a Unpublication. Throws BadRequestError when the target could not be found. */
1956
2269
  scheduleUnpublish: Array<ScheduledPublication>;
2270
+ /** Switches which enabled Channel language is the default by re-rooting the language-root tree onto it. */
2271
+ setChannelDefaultLanguage: Array<ChannelLanguageRoot>;
2272
+ /** Sets the default Language for the organization and can optionally apply it to every Channel. Applying it to Channels unpublishes all Organization content when paths change. */
2273
+ setDefaultLanguage: Array<Language>;
1957
2274
  /** Synchronizes the current state of the given Blueprint to all of its instances. */
1958
2275
  syncBlueprint: Scalars['Boolean']['output'];
1959
2276
  /** Syncs the visibility of a Tag to its descendants. */
@@ -2038,6 +2355,9 @@ export type Mutation = {
2038
2355
  * Throws NotFoundException when no Grid Placement could be found.
2039
2356
  */
2040
2357
  updateGridPlacement: Array<GridPlacement>;
2358
+ /** Updates one or many Languages. */
2359
+ updateLanguage: Array<Language>;
2360
+ updateLanguageConfiguration: Organization;
2041
2361
  updateNumberBetweenContentValidationRule: ContentValidationRule;
2042
2362
  /**
2043
2363
  * Updates one or many Organizations with new values.
@@ -2081,6 +2401,33 @@ export type MutationAcceptInvitationArgs = {
2081
2401
  };
2082
2402
 
2083
2403
 
2404
+ export type MutationAddContentExperienceTranslationsArgs = {
2405
+ sourcePrn: Scalars['PRN']['input'];
2406
+ targetLanguagePrns: Array<Scalars['PRN']['input']>;
2407
+ };
2408
+
2409
+
2410
+ export type MutationAddContentItemTranslationsArgs = {
2411
+ copyContentValues?: InputMaybe<Scalars['Boolean']['input']>;
2412
+ sourcePrn: Scalars['PRN']['input'];
2413
+ targetLanguagePrns: Array<Scalars['PRN']['input']>;
2414
+ };
2415
+
2416
+
2417
+ export type MutationAddContentValueTranslationsArgs = {
2418
+ sourcePrn: Scalars['PRN']['input'];
2419
+ targetLanguagePrns?: InputMaybe<Array<Scalars['PRN']['input']>>;
2420
+ translations?: InputMaybe<Array<AddContentValueTranslationInput>>;
2421
+ };
2422
+
2423
+
2424
+ export type MutationAddExperienceComponentTranslationsArgs = {
2425
+ copyContentValues?: InputMaybe<Scalars['Boolean']['input']>;
2426
+ sourcePrn: Scalars['PRN']['input'];
2427
+ targetLanguagePrns: Array<Scalars['PRN']['input']>;
2428
+ };
2429
+
2430
+
2084
2431
  export type MutationAddPlateMaintainerArgs = {
2085
2432
  email: Scalars['String']['input'];
2086
2433
  };
@@ -2241,6 +2588,11 @@ export type MutationCreateInvitationArgs = {
2241
2588
  };
2242
2589
 
2243
2590
 
2591
+ export type MutationCreateLanguageArgs = {
2592
+ input: Array<CreateLanguageInput>;
2593
+ };
2594
+
2595
+
2244
2596
  export type MutationCreateNumberBetweenContentValidationRuleArgs = {
2245
2597
  input: CreateNumberBetweenContentValidationRuleInput;
2246
2598
  };
@@ -2296,6 +2648,13 @@ export type MutationDeclineInvitationArgs = {
2296
2648
  };
2297
2649
 
2298
2650
 
2651
+ export type MutationEnableChannelLanguageArgs = {
2652
+ channel: Scalars['PRN']['input'];
2653
+ language: Scalars['PRN']['input'];
2654
+ rootPath?: InputMaybe<Scalars['String']['input']>;
2655
+ };
2656
+
2657
+
2299
2658
  export type MutationFixMissingTagsIssueArgs = {
2300
2659
  input: FixMissingTagsIssueInput;
2301
2660
  };
@@ -2316,6 +2675,31 @@ export type MutationGenerateAssetUploadUrlArgs = {
2316
2675
  };
2317
2676
 
2318
2677
 
2678
+ export type MutationMergeContentExperienceLanguageGroupsArgs = {
2679
+ sourcePrn: Scalars['PRN']['input'];
2680
+ targetPrn: Scalars['PRN']['input'];
2681
+ };
2682
+
2683
+
2684
+ export type MutationMergeContentItemLanguageGroupsArgs = {
2685
+ conflictResolutions?: InputMaybe<Array<ContentItemMergeConflictResolutionInput>>;
2686
+ sourcePrn: Scalars['PRN']['input'];
2687
+ targetPrn: Scalars['PRN']['input'];
2688
+ };
2689
+
2690
+
2691
+ export type MutationMergeContentValueLanguageGroupsArgs = {
2692
+ sourcePrn: Scalars['PRN']['input'];
2693
+ targetPrn: Scalars['PRN']['input'];
2694
+ };
2695
+
2696
+
2697
+ export type MutationMergeExperienceComponentLanguageGroupsArgs = {
2698
+ sourcePrn: Scalars['PRN']['input'];
2699
+ targetPrn: Scalars['PRN']['input'];
2700
+ };
2701
+
2702
+
2319
2703
  export type MutationPublishArgs = {
2320
2704
  prns: Array<Scalars['PRN']['input']>;
2321
2705
  };
@@ -2371,6 +2755,11 @@ export type MutationRemoveContentExperienceArgs = {
2371
2755
  };
2372
2756
 
2373
2757
 
2758
+ export type MutationRemoveContentExperienceTranslationArgs = {
2759
+ prn: Array<Scalars['PRN']['input']>;
2760
+ };
2761
+
2762
+
2374
2763
  export type MutationRemoveContentFieldArgs = {
2375
2764
  prn: Array<Scalars['PRN']['input']>;
2376
2765
  };
@@ -2381,6 +2770,11 @@ export type MutationRemoveContentItemArgs = {
2381
2770
  };
2382
2771
 
2383
2772
 
2773
+ export type MutationRemoveContentItemTranslationArgs = {
2774
+ prn: Array<Scalars['PRN']['input']>;
2775
+ };
2776
+
2777
+
2384
2778
  export type MutationRemoveContentTypeArgs = {
2385
2779
  prn: Array<Scalars['PRN']['input']>;
2386
2780
  };
@@ -2396,11 +2790,21 @@ export type MutationRemoveContentValueArgs = {
2396
2790
  };
2397
2791
 
2398
2792
 
2793
+ export type MutationRemoveContentValueTranslationArgs = {
2794
+ prn: Array<Scalars['PRN']['input']>;
2795
+ };
2796
+
2797
+
2399
2798
  export type MutationRemoveExperienceComponentArgs = {
2400
2799
  prn: Array<Scalars['PRN']['input']>;
2401
2800
  };
2402
2801
 
2403
2802
 
2803
+ export type MutationRemoveExperienceComponentTranslationArgs = {
2804
+ prn: Array<Scalars['PRN']['input']>;
2805
+ };
2806
+
2807
+
2404
2808
  export type MutationRemoveGridArgs = {
2405
2809
  prn: Array<Scalars['PRN']['input']>;
2406
2810
  };
@@ -2421,6 +2825,11 @@ export type MutationRemoveInvitationArgs = {
2421
2825
  };
2422
2826
 
2423
2827
 
2828
+ export type MutationRemoveLanguageArgs = {
2829
+ prn: Array<Scalars['PRN']['input']>;
2830
+ };
2831
+
2832
+
2424
2833
  export type MutationRemoveOrganizationArgs = {
2425
2834
  prn: Array<Scalars['PRN']['input']>;
2426
2835
  };
@@ -2461,6 +2870,12 @@ export type MutationRemoveUserMetadataArgs = {
2461
2870
  };
2462
2871
 
2463
2872
 
2873
+ export type MutationRenameChannelLanguageRootArgs = {
2874
+ pathPart: Scalars['PRN']['input'];
2875
+ rootPath: Scalars['String']['input'];
2876
+ };
2877
+
2878
+
2464
2879
  export type MutationRunSeederArgs = {
2465
2880
  seedType: SeedType;
2466
2881
  withContent: Scalars['Boolean']['input'];
@@ -2477,6 +2892,17 @@ export type MutationScheduleUnpublishArgs = {
2477
2892
  };
2478
2893
 
2479
2894
 
2895
+ export type MutationSetChannelDefaultLanguageArgs = {
2896
+ channel: Scalars['PRN']['input'];
2897
+ language: Scalars['PRN']['input'];
2898
+ };
2899
+
2900
+
2901
+ export type MutationSetDefaultLanguageArgs = {
2902
+ input: SetDefaultLanguageInput;
2903
+ };
2904
+
2905
+
2480
2906
  export type MutationSyncBlueprintArgs = {
2481
2907
  prn: Array<Scalars['PRN']['input']>;
2482
2908
  };
@@ -2597,6 +3023,16 @@ export type MutationUpdateGridPlacementArgs = {
2597
3023
  };
2598
3024
 
2599
3025
 
3026
+ export type MutationUpdateLanguageArgs = {
3027
+ input: Array<UpdateLanguageInput>;
3028
+ };
3029
+
3030
+
3031
+ export type MutationUpdateLanguageConfigurationArgs = {
3032
+ input: UpdateLanguageConfigurationInput;
3033
+ };
3034
+
3035
+
2600
3036
  export type MutationUpdateNumberBetweenContentValidationRuleArgs = {
2601
3037
  input: UpdateNumberBetweenContentValidationRuleInput;
2602
3038
  };
@@ -2685,6 +3121,9 @@ export type OrderOptionsInput = {
2685
3121
  export type Organization = {
2686
3122
  __typename?: 'Organization';
2687
3123
  createdAt: Scalars['DateTime']['output'];
3124
+ defaultLanguage: Language;
3125
+ defaultLanguagePrn: Scalars['String']['output'];
3126
+ languages: Array<Language>;
2688
3127
  logo?: Maybe<Asset>;
2689
3128
  logoUrl?: Maybe<Scalars['String']['output']>;
2690
3129
  name: Scalars['String']['output'];
@@ -2741,6 +3180,10 @@ export type PathPart = {
2741
3180
  defaultRootBuildingBlock?: Maybe<BuildingBlock>;
2742
3181
  /** Whether this Path Part has a Content Experience. */
2743
3182
  hasContentExperience: Scalars['Boolean']['output'];
3183
+ /** The Language enabled by this PathPart when it is used as a channel language root. */
3184
+ language?: Maybe<Language>;
3185
+ /** The PRN of the Language enabled by this PathPart when it is used as a channel language root. */
3186
+ languagePrn?: Maybe<Scalars['PRN']['output']>;
2744
3187
  organization?: Maybe<Organization>;
2745
3188
  /** The parent Path Part. Only null when this is the root PathPart. */
2746
3189
  parent?: Maybe<PathPart>;
@@ -2782,6 +3225,7 @@ export type PathPartsFilterInput = {
2782
3225
  channelPrn?: InputMaybe<Array<PrnFilter>>;
2783
3226
  contentExperiencePrn?: InputMaybe<Array<PrnFilter>>;
2784
3227
  createdAt?: InputMaybe<Array<DateFilter>>;
3228
+ languagePrn?: InputMaybe<Array<PrnFilter>>;
2785
3229
  parentPrn?: InputMaybe<Array<PrnFilter>>;
2786
3230
  path?: InputMaybe<Array<StringFilter>>;
2787
3231
  prn?: InputMaybe<Array<PrnFilter>>;
@@ -2909,12 +3353,16 @@ export type Query = {
2909
3353
  castSuggestionsInRoot?: Maybe<Scalars['CAST']['output']>;
2910
3354
  /** Finds one or many Channels by PRN. Throws NotFoundException when no Channel could be found. */
2911
3355
  channel: Array<Channel>;
3356
+ /** Returns the enabled language roots for a Channel. */
3357
+ channelLanguageRoots: Array<ChannelLanguageRoot>;
2912
3358
  /** Orders and paginates all Channels. */
2913
3359
  channels: ChannelsConnection;
2914
3360
  /** Finds one or many ContentExperiences by PRN. Throws NotFoundException when no ContentExperience could be found. */
2915
3361
  contentExperience: Array<ContentExperience>;
2916
3362
  /** Find a Content Experience by its path. */
2917
3363
  contentExperienceByPath: Array<ContentExperience>;
3364
+ /** Orders and paginates all ContentExperience language groups. Language groups are not stage-scoped; their contentExperiences field returns the translations of the current stage. */
3365
+ contentExperienceLanguageGroups: ContentExperienceLanguageGroupsConnection;
2918
3366
  /** Orders and paginates all ContentExperiences. */
2919
3367
  contentExperiences: ContentExperiencesConnection;
2920
3368
  /** Finds one or many ContentFields by PRN. Throws NotFoundException when no ContentField could be found. */
@@ -2923,6 +3371,8 @@ export type Query = {
2923
3371
  contentFields: ContentFieldsConnection;
2924
3372
  /** Finds one or many ContentItems by PRN. Throws NotFoundException when no ContentItem could be found. */
2925
3373
  contentItem: Array<ContentItem>;
3374
+ /** Orders and paginates all ContentItem language groups. Language groups are not stage-scoped; their contentItems field returns the variants of the current stage. */
3375
+ contentItemLanguageGroups: ContentItemLanguageGroupsConnection;
2926
3376
  /** Orders and paginates all ContentItems. */
2927
3377
  contentItems: ContentItemsConnection;
2928
3378
  /** Finds one or many ContentTypes by PRN. Throws NotFoundException when no ContentType could be found. */
@@ -2931,11 +3381,15 @@ export type Query = {
2931
3381
  contentTypes: ContentTypesConnection;
2932
3382
  /** Finds one or many ContentValues by PRN. Throws NotFoundException when no ContentValue could be found. */
2933
3383
  contentValue: Array<ContentValue>;
3384
+ /** Orders and paginates all ContentValue language groups. Language groups are not stage-scoped; their contentValues field returns the translations of the current stage. */
3385
+ contentValueLanguageGroups: ContentValueLanguageGroupsConnection;
2934
3386
  /** Orders and paginates all ContentValues. */
2935
3387
  contentValues: ContentValuesConnection;
2936
3388
  currentUser: User;
2937
3389
  /** Finds one or many ExperienceComponents by PRN. Throws NotFoundException when no ExperienceComponent could be found. */
2938
3390
  experienceComponent: Array<ExperienceComponent>;
3391
+ /** Orders and paginates all ExperienceComponent language groups. Language groups are not stage-scoped; their experienceComponents field returns the translations of the current stage. */
3392
+ experienceComponentLanguageGroups: ExperienceComponentLanguageGroupsConnection;
2939
3393
  /** Orders and paginates all ExperienceComponents. */
2940
3394
  experienceComponents: ExperienceComponentsConnection;
2941
3395
  /** Finds a Scheduled Publication by PRN. Throws NotFoundException when none could be found. */
@@ -2970,6 +3424,10 @@ export type Query = {
2970
3424
  issueStatistics: IssueStatistics;
2971
3425
  /** Orders and paginates all Issues. */
2972
3426
  issues: IssuesConnection;
3427
+ /** Finds one or many Languages by PRN. Throws NotFoundException when no Language could be found. */
3428
+ language: Array<Language>;
3429
+ /** Orders and paginates all Languages. */
3430
+ languages: LanguagesConnection;
2973
3431
  /** Finds one or many Organizations by PRN. Throws NotFoundException when no Organization could be found. */
2974
3432
  organization: Array<Organization>;
2975
3433
  /** Finds one or many Path Parts by PRN. Throws NotFoundException when no Path Part could be found. */
@@ -3010,6 +3468,7 @@ export type QueryAccessibleContentItemArgs = {
3010
3468
 
3011
3469
 
3012
3470
  export type QueryAccessibleContentItemsArgs = {
3471
+ includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3013
3472
  orderBy?: InputMaybe<OrderOptionsInput>;
3014
3473
  paginate: PaginationOptionsInput;
3015
3474
  where?: InputMaybe<Array<ContentItemsFilterInput>>;
@@ -3022,6 +3481,7 @@ export type QueryAccessibleExperienceComponentArgs = {
3022
3481
 
3023
3482
 
3024
3483
  export type QueryAccessibleExperienceComponentsArgs = {
3484
+ includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3025
3485
  orderBy?: InputMaybe<OrderOptionsInput>;
3026
3486
  paginate: PaginationOptionsInput;
3027
3487
  where?: InputMaybe<Array<ExperienceComponentsFilterInput>>;
@@ -3107,6 +3567,11 @@ export type QueryChannelArgs = {
3107
3567
  };
3108
3568
 
3109
3569
 
3570
+ export type QueryChannelLanguageRootsArgs = {
3571
+ channel: Scalars['PRN']['input'];
3572
+ };
3573
+
3574
+
3110
3575
  export type QueryChannelsArgs = {
3111
3576
  orderBy?: InputMaybe<OrderOptionsInput>;
3112
3577
  paginate: PaginationOptionsInput;
@@ -3126,7 +3591,15 @@ export type QueryContentExperienceByPathArgs = {
3126
3591
  };
3127
3592
 
3128
3593
 
3594
+ export type QueryContentExperienceLanguageGroupsArgs = {
3595
+ orderBy?: InputMaybe<OrderOptionsInput>;
3596
+ paginate: PaginationOptionsInput;
3597
+ where?: InputMaybe<Array<ContentExperienceLanguageGroupsFilterInput>>;
3598
+ };
3599
+
3600
+
3129
3601
  export type QueryContentExperiencesArgs = {
3602
+ includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3130
3603
  orderBy?: InputMaybe<OrderOptionsInput>;
3131
3604
  paginate: PaginationOptionsInput;
3132
3605
  where?: InputMaybe<Array<ContentExperiencesFilterInput>>;
@@ -3150,7 +3623,15 @@ export type QueryContentItemArgs = {
3150
3623
  };
3151
3624
 
3152
3625
 
3626
+ export type QueryContentItemLanguageGroupsArgs = {
3627
+ orderBy?: InputMaybe<OrderOptionsInput>;
3628
+ paginate: PaginationOptionsInput;
3629
+ where?: InputMaybe<Array<ContentItemLanguageGroupsFilterInput>>;
3630
+ };
3631
+
3632
+
3153
3633
  export type QueryContentItemsArgs = {
3634
+ includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3154
3635
  orderBy?: InputMaybe<OrderOptionsInput>;
3155
3636
  paginate: PaginationOptionsInput;
3156
3637
  where?: InputMaybe<Array<ContentItemsFilterInput>>;
@@ -3174,7 +3655,15 @@ export type QueryContentValueArgs = {
3174
3655
  };
3175
3656
 
3176
3657
 
3658
+ export type QueryContentValueLanguageGroupsArgs = {
3659
+ orderBy?: InputMaybe<OrderOptionsInput>;
3660
+ paginate: PaginationOptionsInput;
3661
+ where?: InputMaybe<Array<ContentValueLanguageGroupsFilterInput>>;
3662
+ };
3663
+
3664
+
3177
3665
  export type QueryContentValuesArgs = {
3666
+ includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3178
3667
  orderBy?: InputMaybe<OrderOptionsInput>;
3179
3668
  paginate: PaginationOptionsInput;
3180
3669
  where?: InputMaybe<Array<ContentValuesFilterInput>>;
@@ -3186,7 +3675,15 @@ export type QueryExperienceComponentArgs = {
3186
3675
  };
3187
3676
 
3188
3677
 
3678
+ export type QueryExperienceComponentLanguageGroupsArgs = {
3679
+ orderBy?: InputMaybe<OrderOptionsInput>;
3680
+ paginate: PaginationOptionsInput;
3681
+ where?: InputMaybe<Array<ExperienceComponentLanguageGroupsFilterInput>>;
3682
+ };
3683
+
3684
+
3189
3685
  export type QueryExperienceComponentsArgs = {
3686
+ includeAllTranslations?: InputMaybe<Scalars['Boolean']['input']>;
3190
3687
  orderBy?: InputMaybe<OrderOptionsInput>;
3191
3688
  paginate: PaginationOptionsInput;
3192
3689
  where?: InputMaybe<Array<ExperienceComponentsFilterInput>>;
@@ -3275,6 +3772,18 @@ export type QueryIssuesArgs = {
3275
3772
  };
3276
3773
 
3277
3774
 
3775
+ export type QueryLanguageArgs = {
3776
+ prn: Array<Scalars['PRN']['input']>;
3777
+ };
3778
+
3779
+
3780
+ export type QueryLanguagesArgs = {
3781
+ orderBy?: InputMaybe<OrderOptionsInput>;
3782
+ paginate: PaginationOptionsInput;
3783
+ where?: InputMaybe<Array<LanguagesFilterInput>>;
3784
+ };
3785
+
3786
+
3278
3787
  export type QueryOrganizationArgs = {
3279
3788
  prn: Array<Scalars['PRN']['input']>;
3280
3789
  };
@@ -3439,6 +3948,10 @@ export type RemoveContentExperienceResponse = {
3439
3948
  isPublished: Scalars['Boolean']['output'];
3440
3949
  /** The issues that this Content Experience is a subject of */
3441
3950
  issues: Array<Issue>;
3951
+ language: Language;
3952
+ languageGroup: ContentExperienceLanguageGroup;
3953
+ /** The PRN of the Language this ContentExperience belongs to. */
3954
+ languagePrn: Scalars['PRN']['output'];
3442
3955
  /** When this Content Experience was last published. Null if not published. */
3443
3956
  lastPublished?: Maybe<Scalars['DateTime']['output']>;
3444
3957
  organization?: Maybe<Organization>;
@@ -3471,6 +3984,10 @@ export type RemoveContentValueResponse = {
3471
3984
  isReusable: Scalars['Boolean']['output'];
3472
3985
  /** The issues that this Content Value is a subject of */
3473
3986
  issues: Array<Issue>;
3987
+ language?: Maybe<Language>;
3988
+ languageGroup?: Maybe<ContentValueLanguageGroup>;
3989
+ /** The PRN of the Language stored on a standalone reusable ContentValue. */
3990
+ languagePrn?: Maybe<Scalars['PRN']['output']>;
3474
3991
  linkedContentType?: Maybe<ContentType>;
3475
3992
  linkedGridPlacement?: Maybe<GridPlacement>;
3476
3993
  linkedPathPart?: Maybe<PathPart>;
@@ -3495,8 +4012,6 @@ export type RemoveContentValueResponse = {
3495
4012
  referencedContentValues: Array<ContentValue>;
3496
4013
  /** The Grid Placements that are referenced in internal links in the smart text. This is calculated based on the CAST tree in the smart text and cannot be updated manually. */
3497
4014
  referencedGridPlacements: Array<GridPlacement>;
3498
- /** The alt text of the relatedAsset. */
3499
- relatedAssetAltText?: Maybe<Scalars['String']['output']>;
3500
4015
  /** The file name of the relatedAsset. */
3501
4016
  relatedAssetFileName?: Maybe<Scalars['String']['output']>;
3502
4017
  /** The file type (MIME type) of the relatedAsset. */
@@ -3530,6 +4045,12 @@ export type RemoveExperienceComponentResponse = {
3530
4045
  /** Whether the Experience Component is a draft. */
3531
4046
  isDraft: Scalars['Boolean']['output'];
3532
4047
  isGlobal: Scalars['Boolean']['output'];
4048
+ /** The Language stored on a global Experience Component. Local Experience Components keep this null. */
4049
+ language?: Maybe<Language>;
4050
+ /** The language group for a global Experience Component. Local Experience Components keep this null. */
4051
+ languageGroup?: Maybe<ExperienceComponentLanguageGroup>;
4052
+ /** The PRN of the Language stored on a global Experience Component. */
4053
+ languagePrn?: Maybe<Scalars['PRN']['output']>;
3533
4054
  /** The name of the Experience Component. Only applicable for global Experience Components. */
3534
4055
  name?: Maybe<Scalars['String']['output']>;
3535
4056
  organization?: Maybe<Organization>;
@@ -3541,6 +4062,9 @@ export type RemoveExperienceComponentResponse = {
3541
4062
  export type RemoveOrganizationResponse = {
3542
4063
  __typename?: 'RemoveOrganizationResponse';
3543
4064
  createdAt: Scalars['DateTime']['output'];
4065
+ defaultLanguage: Language;
4066
+ defaultLanguagePrn: Scalars['String']['output'];
4067
+ languages: Array<Language>;
3544
4068
  logoUrl?: Maybe<Scalars['String']['output']>;
3545
4069
  name: Scalars['String']['output'];
3546
4070
  prn: Scalars['PRN']['output'];
@@ -3641,6 +4165,12 @@ export enum SeedType {
3641
4165
  SchemaOrg = 'SCHEMA_ORG'
3642
4166
  }
3643
4167
 
4168
+ export type SetDefaultLanguageInput = {
4169
+ prn: Scalars['PRN']['input'];
4170
+ /** Also changes the default language of every Channel in Development and Production. If any Channel path changes, all Organization content is unpublished and scheduled publications are cancelled. */
4171
+ updateChannelDefaultLanguages?: Scalars['Boolean']['input'];
4172
+ };
4173
+
3644
4174
  export enum SortingDirection {
3645
4175
  Asc = 'ASC',
3646
4176
  Desc = 'DESC'
@@ -3698,23 +4228,21 @@ export type Tag = {
3698
4228
  __typename?: 'Tag';
3699
4229
  /** The amount of direct children. */
3700
4230
  amountOfChildren: Scalars['Int']['output'];
3701
- /** The amount of Content Experiences that are tagged with this Tag. */
4231
+ /** The amount of logical Content Experiences (language groups) tagged with this Tag. */
3702
4232
  amountOfContentExperiences: Scalars['Int']['output'];
3703
- /** The amount of Content Items that are tagged with this Tag. */
4233
+ /** The amount of logical Content Items (language groups) tagged with this Tag. */
3704
4234
  amountOfContentItems: Scalars['Int']['output'];
3705
4235
  children: Array<Tag>;
3706
4236
  /** The color of the Tag. This is the color of the root-most ancestor that has a color, or if no ancestor has a color, the Tag's own color. */
3707
4237
  color?: Maybe<Scalars['String']['output']>;
3708
- /** The Content Experiences assigned to this Tag. */
3709
- contentExperiences: Array<ContentExperience>;
3710
- /** The Content Items assigned to this Tag. */
3711
- contentItems: Array<ContentItem>;
3712
4238
  createdAt: Scalars['DateTime']['output'];
3713
4239
  /** Whether to force the visibility of the Tag on its descendants. */
3714
4240
  forceVisibilityOnDescendants: Scalars['Boolean']['output'];
3715
4241
  /** Whether the Tag has forced visibility from its ancestors. */
3716
4242
  hasForcedVisibility: Scalars['Boolean']['output'];
3717
- /** The name of the Tag. */
4243
+ /** All localized display names for the Tag. */
4244
+ localizedNames: Array<TagLocalizedName>;
4245
+ /** The localized display name of the Tag. */
3718
4246
  name: Scalars['String']['output'];
3719
4247
  /** The nesting level of the Tag. */
3720
4248
  nestingLevel: Scalars['Int']['output'];
@@ -3723,9 +4251,11 @@ export type Tag = {
3723
4251
  parent?: Maybe<Tag>;
3724
4252
  /** The PRN of the parent Tag. Only null when this is a root Tag. */
3725
4253
  parentPrn?: Maybe<Scalars['PRN']['output']>;
3726
- /** The path of this Tag. */
4254
+ /** The path of this Tag, built from canonical (default-language) segment names. Does not vary by language. */
3727
4255
  path: Scalars['String']['output'];
3728
4256
  prn: Scalars['PRN']['output'];
4257
+ /** The path of Tag PRNs from the root to this Tag. */
4258
+ prnPath: Scalars['String']['output'];
3729
4259
  stage: Stage;
3730
4260
  updatedAt: Scalars['DateTime']['output'];
3731
4261
  /** The visibility of the Tag. Defaults to the parent's visibility, or PUBLIC if there is no parent. This has a string filter. */
@@ -3737,12 +4267,24 @@ export type TagChildrenArgs = {
3737
4267
  where?: InputMaybe<Array<TagsFilterInput>>;
3738
4268
  };
3739
4269
 
4270
+
4271
+ export type TagNameArgs = {
4272
+ languageFallback?: InputMaybe<Scalars['Boolean']['input']>;
4273
+ languagePrn?: InputMaybe<Scalars['PRN']['input']>;
4274
+ };
4275
+
3740
4276
  export type TagEdge = {
3741
4277
  __typename?: 'TagEdge';
3742
4278
  cursor: Scalars['String']['output'];
3743
4279
  node: Tag;
3744
4280
  };
3745
4281
 
4282
+ export type TagLocalizedName = {
4283
+ __typename?: 'TagLocalizedName';
4284
+ language: Language;
4285
+ name: Scalars['String']['output'];
4286
+ };
4287
+
3746
4288
  export type TagSuggestionsConfig = {
3747
4289
  exclude?: InputMaybe<Array<Scalars['String']['input']>>;
3748
4290
  threshold?: InputMaybe<Scalars['Float']['input']>;
@@ -3775,6 +4317,7 @@ export type TagsFilterInput = {
3775
4317
  parentPrn?: InputMaybe<Array<PrnFilter>>;
3776
4318
  path?: InputMaybe<Array<StringFilter>>;
3777
4319
  prn?: InputMaybe<Array<PrnFilter>>;
4320
+ prnPath?: InputMaybe<Array<StringFilter>>;
3778
4321
  updatedAt?: InputMaybe<Array<DateFilter>>;
3779
4322
  visibility?: InputMaybe<Array<StringFilter>>;
3780
4323
  };
@@ -3871,8 +4414,8 @@ export type UpdateApiTokenInput = {
3871
4414
  };
3872
4415
 
3873
4416
  export type UpdateAssetInput = {
3874
- /** The alt text of the asset. */
3875
- altText?: InputMaybe<Scalars['String']['input']>;
4417
+ /** Localized Asset alt texts to upsert or delete. Omit this field entirely to leave existing translations untouched. When provided, each entry with a non-null altText upserts that language's row; each entry with a null altText deletes that language's row. */
4418
+ localizedAltTexts?: InputMaybe<Array<LocalizedAssetAltTextInput>>;
3876
4419
  prn: Scalars['PRN']['input'];
3877
4420
  };
3878
4421
 
@@ -4035,6 +4578,25 @@ export type UpdateGridPlacementInput = {
4035
4578
  prn: Scalars['PRN']['input'];
4036
4579
  };
4037
4580
 
4581
+ export type UpdateLanguageConfigurationInput = {
4582
+ defaultLanguagePrn?: InputMaybe<Scalars['PRN']['input']>;
4583
+ defaultLocale?: InputMaybe<CreateLanguageInput>;
4584
+ languages: Array<UpdateLanguageConfigurationLanguageInput>;
4585
+ /** Also changes the default language of every Channel in Development and Production. If any Channel path changes, all Organization content is unpublished and scheduled publications are cancelled. */
4586
+ updateChannelDefaultLanguages?: Scalars['Boolean']['input'];
4587
+ };
4588
+
4589
+ export type UpdateLanguageConfigurationLanguageInput = {
4590
+ code: Scalars['String']['input'];
4591
+ countryCode: Scalars['String']['input'];
4592
+ status?: LanguageStatus;
4593
+ };
4594
+
4595
+ export type UpdateLanguageInput = {
4596
+ prn: Scalars['PRN']['input'];
4597
+ status?: InputMaybe<LanguageStatus>;
4598
+ };
4599
+
4038
4600
  export type UpdateNumberBetweenContentValidationRuleInput = {
4039
4601
  prn: Scalars['PRN']['input'];
4040
4602
  settings: NumberBetweenContentValidationRuleSettingsInput;
@@ -4089,8 +4651,8 @@ export type UpdateTagInput = {
4089
4651
  color?: InputMaybe<Scalars['String']['input']>;
4090
4652
  /** Whether to force the visibility of the Tag on its descendants. */
4091
4653
  forceVisibilityOnDescendants?: InputMaybe<Scalars['Boolean']['input']>;
4092
- /** The name of the Tag. */
4093
- name?: InputMaybe<Scalars['String']['input']>;
4654
+ /** Localized Tag names to upsert or delete. Omit this field entirely to leave existing translations untouched. When provided, each entry with a non-null name upserts that language's row; each entry with a null name deletes that language's row. */
4655
+ localizedNames?: InputMaybe<Array<LocalizedTagNameInput>>;
4094
4656
  parent?: InputMaybe<Scalars['String']['input']>;
4095
4657
  prn: Scalars['PRN']['input'];
4096
4658
  /** The visibility of the Tag. If the visibility is forced by a parent this field cannot be updated. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platecms/delta-vue",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "Plugin to connect to the Plate Delta CMS in a Vue application.",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -23,10 +23,10 @@
23
23
  "./styles.css": "./src/styles.css"
24
24
  },
25
25
  "dependencies": {
26
- "@platecms/delta-cast": "1.14.0",
27
- "@platecms/delta-castscript": "1.14.0",
28
- "@platecms/delta-client": "1.14.0",
29
- "@platecms/delta-plate-resource-notation": "1.14.0",
26
+ "@platecms/delta-cast": "1.15.0",
27
+ "@platecms/delta-castscript": "1.15.0",
28
+ "@platecms/delta-client": "1.15.0",
29
+ "@platecms/delta-plate-resource-notation": "1.15.0",
30
30
  "@graphql-codegen/cli": "5.0.7",
31
31
  "@graphql-typed-document-node/core": "3.2.0",
32
32
  "axios": "1.11.0",