@platecms/delta-vue 0.13.0 → 1.3.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/__generated__/graphql.ts +490 -108
- package/package.json +5 -5
- package/src/components/editor/EditorGridPlacement.vue +16 -3
- package/src/components/editor/controls/EditorControlsContainer.vue +160 -83
- package/src/components/placeholders/EmptyGridPlacements.vue +49 -22
- package/src/components/placeholders/MissingExperienceComponent.vue +15 -8
- package/src/views/ExperienceEditorView.vue +14 -6
- package/src/views/ExperienceView.vue +3 -3
- package/src/views/NotFoundView.vue +22 -5
- package/src/components/atoms/icon/FontAwesomeIcon.vue +0 -21
package/__generated__/graphql.ts
CHANGED
|
@@ -19,12 +19,27 @@ export type Scalars = {
|
|
|
19
19
|
ContentValueType: { input: any; output: any; }
|
|
20
20
|
/** A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. */
|
|
21
21
|
DateTime: { input: any; output: any; }
|
|
22
|
+
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */
|
|
23
|
+
JSON: { input: any; output: any; }
|
|
22
24
|
/** A string representing the PRN object. Must match '^prn(:[A-Za-z0-9-_]+){5}$'. */
|
|
23
25
|
PRN: { input: any; output: any; }
|
|
24
26
|
/** A generic Primitive value. */
|
|
25
27
|
PrimitiveValue: { input: any; output: any; }
|
|
26
28
|
};
|
|
27
29
|
|
|
30
|
+
export type AccessibleContentItemsConnection = {
|
|
31
|
+
__typename?: 'AccessibleContentItemsConnection';
|
|
32
|
+
edges: Array<AccessibleContentItemsEdge>;
|
|
33
|
+
pageInfo: PageInfo;
|
|
34
|
+
totalCount: Scalars['Float']['output'];
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type AccessibleContentItemsEdge = {
|
|
38
|
+
__typename?: 'AccessibleContentItemsEdge';
|
|
39
|
+
cursor: Scalars['String']['output'];
|
|
40
|
+
node: Scalars['JSON']['output'];
|
|
41
|
+
};
|
|
42
|
+
|
|
28
43
|
export type AllowedValuesContentValidationRuleSettings = {
|
|
29
44
|
__typename?: 'AllowedValuesContentValidationRuleSettings';
|
|
30
45
|
allowedValues: Array<Scalars['ContentValueType']['output']>;
|
|
@@ -34,18 +49,22 @@ export type AllowedValuesContentValidationRuleSettingsInput = {
|
|
|
34
49
|
allowedValues: Array<Scalars['ContentValueType']['input']>;
|
|
35
50
|
};
|
|
36
51
|
|
|
37
|
-
export type ApiToken = {
|
|
52
|
+
export type ApiToken = Subject & {
|
|
38
53
|
__typename?: 'ApiToken';
|
|
39
|
-
channel
|
|
54
|
+
channel?: Maybe<Channel>;
|
|
40
55
|
createdAt: Scalars['DateTime']['output'];
|
|
56
|
+
id: Scalars['String']['output'];
|
|
41
57
|
name: Scalars['String']['output'];
|
|
42
58
|
prn: Scalars['PRN']['output'];
|
|
59
|
+
roleAssignment: RoleAssignment;
|
|
43
60
|
stage: Stage;
|
|
44
61
|
updatedAt: Scalars['DateTime']['output'];
|
|
45
62
|
};
|
|
46
63
|
|
|
47
64
|
export type Asset = {
|
|
48
65
|
__typename?: 'Asset';
|
|
66
|
+
/** The alt text of the asset. */
|
|
67
|
+
altText?: Maybe<Scalars['String']['output']>;
|
|
49
68
|
createdAt: Scalars['DateTime']['output'];
|
|
50
69
|
fileName: Scalars['String']['output'];
|
|
51
70
|
/** The size of the file in bytes. */
|
|
@@ -67,13 +86,13 @@ export type AssetProcessedUrlsArgs = {
|
|
|
67
86
|
export type Blueprint = {
|
|
68
87
|
__typename?: 'Blueprint';
|
|
69
88
|
channel: Channel;
|
|
89
|
+
/** The ID of the Channel this Blueprint belongs to. */
|
|
90
|
+
channelId?: Maybe<Scalars['String']['output']>;
|
|
70
91
|
createdAt: Scalars['DateTime']['output'];
|
|
71
92
|
/** The Experience Component which defines this Blueprint. */
|
|
72
93
|
definedBy: ExperienceComponent;
|
|
73
94
|
isFixed: Scalars['Boolean']['output'];
|
|
74
95
|
name: Scalars['String']['output'];
|
|
75
|
-
/** Not yet implemented! */
|
|
76
|
-
organization?: Maybe<Organization>;
|
|
77
96
|
/** The preview image of the Blueprint. */
|
|
78
97
|
preview?: Maybe<Asset>;
|
|
79
98
|
prn: Scalars['PRN']['output'];
|
|
@@ -97,6 +116,7 @@ export type BlueprintsConnection = {
|
|
|
97
116
|
/** The filter input type for 'Blueprints'. Objects/maps are treated as AND, while arrays are treated as OR. */
|
|
98
117
|
export type BlueprintsFilterInput = {
|
|
99
118
|
_not?: InputMaybe<Array<BlueprintsFilterInput>>;
|
|
119
|
+
channelId?: InputMaybe<Array<StringFilter>>;
|
|
100
120
|
createdAt?: InputMaybe<Array<DateFilter>>;
|
|
101
121
|
isFixed?: InputMaybe<Array<BooleanFilter>>;
|
|
102
122
|
name?: InputMaybe<Array<StringFilter>>;
|
|
@@ -122,8 +142,6 @@ export type BuildingBlock = {
|
|
|
122
142
|
experienceComponents: Array<ExperienceComponent>;
|
|
123
143
|
gridDefinition?: Maybe<GridDefinition>;
|
|
124
144
|
next?: Maybe<BuildingBlock>;
|
|
125
|
-
/** Not yet implemented! */
|
|
126
|
-
organization?: Maybe<Organization>;
|
|
127
145
|
/** The preview image of the Building Block. */
|
|
128
146
|
preview?: Maybe<Asset>;
|
|
129
147
|
previous?: Maybe<BuildingBlock>;
|
|
@@ -151,8 +169,6 @@ export type BuildingBlockField = {
|
|
|
151
169
|
contentValidationRules: Array<ContentValidationRule>;
|
|
152
170
|
createdAt: Scalars['DateTime']['output'];
|
|
153
171
|
next?: Maybe<BuildingBlockField>;
|
|
154
|
-
/** Not yet implemented! */
|
|
155
|
-
organization?: Maybe<Organization>;
|
|
156
172
|
previous?: Maybe<BuildingBlockField>;
|
|
157
173
|
prn: Scalars['PRN']['output'];
|
|
158
174
|
slug: Scalars['String']['output'];
|
|
@@ -182,8 +198,6 @@ export type BuildingBlockFieldFulfillment = {
|
|
|
182
198
|
createdAt: Scalars['DateTime']['output'];
|
|
183
199
|
experienceComponent: ExperienceComponent;
|
|
184
200
|
next?: Maybe<BuildingBlockFieldFulfillment>;
|
|
185
|
-
/** Not yet implemented! */
|
|
186
|
-
organization?: Maybe<Organization>;
|
|
187
201
|
previous?: Maybe<BuildingBlockFieldFulfillment>;
|
|
188
202
|
prn: Scalars['PRN']['output'];
|
|
189
203
|
stage: Stage;
|
|
@@ -248,23 +262,31 @@ export type BuildingBlocksFilterInput = {
|
|
|
248
262
|
updatedAt?: InputMaybe<Array<DateFilter>>;
|
|
249
263
|
};
|
|
250
264
|
|
|
251
|
-
export type
|
|
252
|
-
__typename?: '
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
extractionMethod: Scalars['String']['output'];
|
|
257
|
-
startIndex: Scalars['Int']['output'];
|
|
265
|
+
export type CasImageContentValueMatch = {
|
|
266
|
+
__typename?: 'CasImageContentValueMatch';
|
|
267
|
+
similarContentValue: ContentValue;
|
|
268
|
+
similarity: Scalars['Float']['output'];
|
|
269
|
+
stage: Scalars['String']['output'];
|
|
258
270
|
};
|
|
259
271
|
|
|
260
272
|
export type CasRegexSuggestion = {
|
|
261
273
|
__typename?: 'CasRegexSuggestion';
|
|
262
274
|
confidence: Scalars['Float']['output'];
|
|
263
275
|
endIndex: Scalars['Int']['output'];
|
|
264
|
-
|
|
276
|
+
method: Scalars['String']['output'];
|
|
265
277
|
startIndex: Scalars['Int']['output'];
|
|
266
278
|
};
|
|
267
279
|
|
|
280
|
+
export type CastSuggestion = {
|
|
281
|
+
__typename?: 'CastSuggestion';
|
|
282
|
+
endIndex: Scalars['Int']['output'];
|
|
283
|
+
message: Scalars['String']['output'];
|
|
284
|
+
method: Scalars['String']['output'];
|
|
285
|
+
original: Array<Content>;
|
|
286
|
+
startIndex: Scalars['Int']['output'];
|
|
287
|
+
suggested: InterpolatedContentValue;
|
|
288
|
+
};
|
|
289
|
+
|
|
268
290
|
export type Channel = {
|
|
269
291
|
__typename?: 'Channel';
|
|
270
292
|
apiTokens: Array<ApiToken>;
|
|
@@ -273,8 +295,6 @@ export type Channel = {
|
|
|
273
295
|
defaultBlueprint?: Maybe<Blueprint>;
|
|
274
296
|
domain: Scalars['String']['output'];
|
|
275
297
|
name: Scalars['String']['output'];
|
|
276
|
-
/** Not yet implemented! */
|
|
277
|
-
organization?: Maybe<Organization>;
|
|
278
298
|
pathParts: Array<PathPart>;
|
|
279
299
|
prn: Scalars['PRN']['output'];
|
|
280
300
|
rootPathPart: PathPart;
|
|
@@ -318,18 +338,32 @@ export type ConnectContentValueInput = {
|
|
|
318
338
|
contentValue: Scalars['PRN']['input'];
|
|
319
339
|
};
|
|
320
340
|
|
|
341
|
+
export type Content = {
|
|
342
|
+
__typename?: 'Content';
|
|
343
|
+
children?: Maybe<Array<Content>>;
|
|
344
|
+
type: Scalars['String']['output'];
|
|
345
|
+
value?: Maybe<Scalars['JSON']['output']>;
|
|
346
|
+
};
|
|
347
|
+
|
|
321
348
|
export type ContentExperience = {
|
|
322
349
|
__typename?: 'ContentExperience';
|
|
350
|
+
/** The ID of the Channel this ContentExperience belongs to. */
|
|
351
|
+
channelId?: Maybe<Scalars['String']['output']>;
|
|
323
352
|
createdAt: Scalars['DateTime']['output'];
|
|
324
353
|
experienceComponent: ExperienceComponent;
|
|
325
|
-
/**
|
|
326
|
-
|
|
354
|
+
/** The issues that this Content Experience is a subject of */
|
|
355
|
+
issues: Array<Issue>;
|
|
327
356
|
pathPart: PathPart;
|
|
357
|
+
/** An array of path part ids from the current path part up to the root, ordered from root to current. */
|
|
358
|
+
pathPartsToRootIds: Array<Scalars['String']['output']>;
|
|
328
359
|
/** The preview image of the Content Experience. */
|
|
329
360
|
preview?: Maybe<Asset>;
|
|
361
|
+
primaryContentItem?: Maybe<ContentItem>;
|
|
330
362
|
prn: Scalars['PRN']['output'];
|
|
331
363
|
/** The Content Values that use this Content Experience as an referenced value. Reverse relation of referencedContentExperiences. */
|
|
332
364
|
referencedBySmartTextContentValues: Array<ContentValue>;
|
|
365
|
+
seoDescription?: Maybe<Scalars['String']['output']>;
|
|
366
|
+
seoTitle?: Maybe<Scalars['String']['output']>;
|
|
333
367
|
slug: Scalars['String']['output'];
|
|
334
368
|
stage: Stage;
|
|
335
369
|
/** The ids of the tags this Content Experience are tagged with, including all ancestor tags. Should only be used for filtering. */
|
|
@@ -340,6 +374,11 @@ export type ContentExperience = {
|
|
|
340
374
|
updatedAt: Scalars['DateTime']['output'];
|
|
341
375
|
};
|
|
342
376
|
|
|
377
|
+
|
|
378
|
+
export type ContentExperienceIssuesArgs = {
|
|
379
|
+
where?: InputMaybe<Array<IssuesFilterInput>>;
|
|
380
|
+
};
|
|
381
|
+
|
|
343
382
|
export type ContentExperienceEdge = {
|
|
344
383
|
__typename?: 'ContentExperienceEdge';
|
|
345
384
|
cursor: Scalars['String']['output'];
|
|
@@ -356,8 +395,11 @@ export type ContentExperiencesConnection = {
|
|
|
356
395
|
/** The filter input type for 'ContentExperiences'. Objects/maps are treated as AND, while arrays are treated as OR. */
|
|
357
396
|
export type ContentExperiencesFilterInput = {
|
|
358
397
|
_not?: InputMaybe<Array<ContentExperiencesFilterInput>>;
|
|
398
|
+
channelId?: InputMaybe<Array<StringFilter>>;
|
|
359
399
|
createdAt?: InputMaybe<Array<DateFilter>>;
|
|
360
400
|
prn?: InputMaybe<Array<PrnFilter>>;
|
|
401
|
+
seoDescription?: InputMaybe<Array<StringFilter>>;
|
|
402
|
+
seoTitle?: InputMaybe<Array<StringFilter>>;
|
|
361
403
|
slug?: InputMaybe<Array<StringFilter>>;
|
|
362
404
|
tagIds?: InputMaybe<Array<StringArrayFilter>>;
|
|
363
405
|
title?: InputMaybe<Array<StringFilter>>;
|
|
@@ -373,10 +415,9 @@ export type ContentField = {
|
|
|
373
415
|
createdAt: Scalars['DateTime']['output'];
|
|
374
416
|
name: Scalars['String']['output'];
|
|
375
417
|
next?: Maybe<ContentField>;
|
|
376
|
-
/** Not yet implemented! */
|
|
377
|
-
organization?: Maybe<Organization>;
|
|
378
418
|
previous?: Maybe<ContentField>;
|
|
379
419
|
prn: Scalars['PRN']['output'];
|
|
420
|
+
slug: Scalars['String']['output'];
|
|
380
421
|
updatedAt: Scalars['DateTime']['output'];
|
|
381
422
|
};
|
|
382
423
|
|
|
@@ -409,6 +450,7 @@ export type ContentFieldsFilterInput = {
|
|
|
409
450
|
createdAt?: InputMaybe<Array<DateFilter>>;
|
|
410
451
|
name?: InputMaybe<Array<StringFilter>>;
|
|
411
452
|
prn?: InputMaybe<Array<PrnFilter>>;
|
|
453
|
+
slug?: InputMaybe<Array<StringFilter>>;
|
|
412
454
|
updatedAt?: InputMaybe<Array<DateFilter>>;
|
|
413
455
|
};
|
|
414
456
|
|
|
@@ -417,6 +459,8 @@ export type ContentItem = {
|
|
|
417
459
|
contentType: ContentType;
|
|
418
460
|
/** The id of the Content Type this Content Item belongs to. This is computed from the contentType relation. */
|
|
419
461
|
contentTypeId: Scalars['String']['output'];
|
|
462
|
+
/** The slug of the Content Type this Content Item belongs to. This is computed from the contentType relation. */
|
|
463
|
+
contentTypeSlug: Scalars['String']['output'];
|
|
420
464
|
contentValues: Array<ContentValue>;
|
|
421
465
|
createdAt: Scalars['DateTime']['output'];
|
|
422
466
|
/** Interpolates the Content Type's displayImageField with the Content Item's value. If there are multiple Content Values for the Content Field, the first one is used. If the Content Value is missing, null is returned. */
|
|
@@ -424,8 +468,9 @@ export type ContentItem = {
|
|
|
424
468
|
/** The display name of the Content Item. This is computed from the Content Type's displayNameTemplate and cached for filtering purposes. It is updated in the background and is not guaranteed to be up to date. A Content Field with multiple Content Values are concatenated with spaces. Missing Content Values will show as '***' and the displayName will be prefixed with DRAFT: */
|
|
425
469
|
displayName: Scalars['String']['output'];
|
|
426
470
|
isDraft: Scalars['Boolean']['output'];
|
|
427
|
-
/**
|
|
428
|
-
|
|
471
|
+
/** The issues that this Content Item is a subject of */
|
|
472
|
+
issues: Array<Issue>;
|
|
473
|
+
primaryContentExperience?: Maybe<ContentExperience>;
|
|
429
474
|
prn: Scalars['PRN']['output'];
|
|
430
475
|
relatingContentValues: Array<ContentValue>;
|
|
431
476
|
stage: Stage;
|
|
@@ -442,6 +487,11 @@ export type ContentItemContentValuesArgs = {
|
|
|
442
487
|
};
|
|
443
488
|
|
|
444
489
|
|
|
490
|
+
export type ContentItemIssuesArgs = {
|
|
491
|
+
where?: InputMaybe<Array<IssuesFilterInput>>;
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
|
|
445
495
|
export type ContentItemRelatingContentValuesArgs = {
|
|
446
496
|
where?: InputMaybe<Array<ContentValuesFilterInput>>;
|
|
447
497
|
};
|
|
@@ -463,6 +513,7 @@ export type ContentItemsConnection = {
|
|
|
463
513
|
export type ContentItemsFilterInput = {
|
|
464
514
|
_not?: InputMaybe<Array<ContentItemsFilterInput>>;
|
|
465
515
|
contentTypeId?: InputMaybe<Array<StringFilter>>;
|
|
516
|
+
contentTypeSlug?: InputMaybe<Array<StringFilter>>;
|
|
466
517
|
createdAt?: InputMaybe<Array<DateFilter>>;
|
|
467
518
|
displayName?: InputMaybe<Array<StringFilter>>;
|
|
468
519
|
isDraft?: InputMaybe<Array<BooleanFilter>>;
|
|
@@ -481,9 +532,8 @@ export type ContentType = {
|
|
|
481
532
|
/** The display name template for the content type. Use {{contentFieldPrn}} to reference Content Fields. */
|
|
482
533
|
displayNameTemplate: Scalars['String']['output'];
|
|
483
534
|
name: Scalars['String']['output'];
|
|
484
|
-
/** Not yet implemented! */
|
|
485
|
-
organization?: Maybe<Organization>;
|
|
486
535
|
prn: Scalars['PRN']['output'];
|
|
536
|
+
slug: Scalars['String']['output'];
|
|
487
537
|
updatedAt: Scalars['DateTime']['output'];
|
|
488
538
|
};
|
|
489
539
|
|
|
@@ -517,14 +567,13 @@ export type ContentTypesFilterInput = {
|
|
|
517
567
|
displayNameTemplate?: InputMaybe<Array<StringFilter>>;
|
|
518
568
|
name?: InputMaybe<Array<StringFilter>>;
|
|
519
569
|
prn?: InputMaybe<Array<PrnFilter>>;
|
|
570
|
+
slug?: InputMaybe<Array<StringFilter>>;
|
|
520
571
|
updatedAt?: InputMaybe<Array<DateFilter>>;
|
|
521
572
|
};
|
|
522
573
|
|
|
523
574
|
export type ContentValidationRule = {
|
|
524
575
|
__typename?: 'ContentValidationRule';
|
|
525
576
|
createdAt: Scalars['DateTime']['output'];
|
|
526
|
-
/** Not yet implemented! */
|
|
527
|
-
organization?: Maybe<Organization>;
|
|
528
577
|
prn: Scalars['PRN']['output'];
|
|
529
578
|
ruleType: RuleType;
|
|
530
579
|
settings: ExistingContentValidationRulesSettings;
|
|
@@ -551,13 +600,13 @@ export type ContentValue = {
|
|
|
551
600
|
interpolatedSmartText?: Maybe<Scalars['CAST']['output']>;
|
|
552
601
|
/** Whether the ContentValue is reusable. Defaults to false. */
|
|
553
602
|
isReusable: Scalars['Boolean']['output'];
|
|
603
|
+
/** The issues that this Content Value is a subject of */
|
|
604
|
+
issues: Array<Issue>;
|
|
554
605
|
linkedContentType?: Maybe<ContentType>;
|
|
555
606
|
linkedGridPlacement?: Maybe<GridPlacement>;
|
|
556
607
|
linkedPathPart?: Maybe<PathPart>;
|
|
557
608
|
linkedTag?: Maybe<Tag>;
|
|
558
609
|
next?: Maybe<ContentValue>;
|
|
559
|
-
/** Not yet implemented! */
|
|
560
|
-
organization?: Maybe<Organization>;
|
|
561
610
|
/** The plain text representation of the smart text. This is used internally. If you really need the plain text representation of CAST, use the castToPlainText utility function. */
|
|
562
611
|
plainText?: Maybe<Scalars['String']['output']>;
|
|
563
612
|
previous?: Maybe<ContentValue>;
|
|
@@ -573,11 +622,21 @@ export type ContentValue = {
|
|
|
573
622
|
/** 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. */
|
|
574
623
|
referencedGridPlacements: Array<GridPlacement>;
|
|
575
624
|
relatedAsset?: Maybe<Asset>;
|
|
625
|
+
/** The alt text of the relatedAsset. */
|
|
626
|
+
relatedAssetAltText?: Maybe<Scalars['String']['output']>;
|
|
627
|
+
/** The file name of the relatedAsset. */
|
|
628
|
+
relatedAssetFileName?: Maybe<Scalars['String']['output']>;
|
|
629
|
+
/** The file type (MIME type) of the relatedAsset. */
|
|
630
|
+
relatedAssetFileType?: Maybe<Scalars['String']['output']>;
|
|
631
|
+
/** The file size in bytes of the relatedAsset. */
|
|
632
|
+
relatedAssetSize?: Maybe<Scalars['Int']['output']>;
|
|
576
633
|
relatedContentItem?: Maybe<ContentItem>;
|
|
577
634
|
/** The CAST tree for the smart text. */
|
|
578
635
|
smartText?: Maybe<Scalars['CAST']['output']>;
|
|
579
636
|
stage: Stage;
|
|
580
637
|
updatedAt: Scalars['DateTime']['output'];
|
|
638
|
+
/** The value type name of the Content Value. This is calculated based on the value that is in the Content Value. Filtered using a StringFilter. */
|
|
639
|
+
valueTypeName: ContentValueTypeNames;
|
|
581
640
|
};
|
|
582
641
|
|
|
583
642
|
|
|
@@ -585,6 +644,11 @@ export type ContentValueBuildingBlockFieldFulfillmentsArgs = {
|
|
|
585
644
|
where?: InputMaybe<Array<BuildingBlockFieldFulfillmentsFilterInput>>;
|
|
586
645
|
};
|
|
587
646
|
|
|
647
|
+
|
|
648
|
+
export type ContentValueIssuesArgs = {
|
|
649
|
+
where?: InputMaybe<Array<IssuesFilterInput>>;
|
|
650
|
+
};
|
|
651
|
+
|
|
588
652
|
export type ContentValueEdge = {
|
|
589
653
|
__typename?: 'ContentValueEdge';
|
|
590
654
|
cursor: Scalars['String']['output'];
|
|
@@ -602,7 +666,8 @@ export enum ContentValueTypeNames {
|
|
|
602
666
|
PathPart = 'PATH_PART',
|
|
603
667
|
SmartText = 'SMART_TEXT',
|
|
604
668
|
String = 'STRING',
|
|
605
|
-
Tag = 'TAG'
|
|
669
|
+
Tag = 'TAG',
|
|
670
|
+
Unknown = 'UNKNOWN'
|
|
606
671
|
}
|
|
607
672
|
|
|
608
673
|
export type ContentValuesConnection = {
|
|
@@ -621,7 +686,12 @@ export type ContentValuesFilterInput = {
|
|
|
621
686
|
plainText?: InputMaybe<Array<StringFilter>>;
|
|
622
687
|
primitiveValue?: InputMaybe<Array<StringFilter>>;
|
|
623
688
|
prn?: InputMaybe<Array<PrnFilter>>;
|
|
689
|
+
relatedAssetAltText?: InputMaybe<Array<StringFilter>>;
|
|
690
|
+
relatedAssetFileName?: InputMaybe<Array<StringFilter>>;
|
|
691
|
+
relatedAssetFileType?: InputMaybe<Array<StringFilter>>;
|
|
692
|
+
relatedAssetSize?: InputMaybe<Array<IntFilter>>;
|
|
624
693
|
updatedAt?: InputMaybe<Array<DateFilter>>;
|
|
694
|
+
valueTypeName?: InputMaybe<Array<StringFilter>>;
|
|
625
695
|
};
|
|
626
696
|
|
|
627
697
|
export type CopyBlueprintInput = {
|
|
@@ -641,22 +711,40 @@ export type CountContentValidationRuleSettingsInput = {
|
|
|
641
711
|
min: Scalars['Int']['input'];
|
|
642
712
|
};
|
|
643
713
|
|
|
714
|
+
export type CreateAccessibleContentItemInput = {
|
|
715
|
+
/**
|
|
716
|
+
* The values of the Content Item.
|
|
717
|
+
* The keys are the Content Field slugs and the values are either directly the value (only possible if the Content Field has a validation rule that enforces a single type) or an object with valueTypeName and value.
|
|
718
|
+
* Example value structure: `{ 'title': 'My Title', 'contentTypeField': 'prn:plate-dev:org-id:cms:content-type:123' }`
|
|
719
|
+
* Example object structure: `{ 'title': { 'valueTypeName': 'STRING', 'value': 'My Title' }, 'contentTypeField': { 'valueTypeName': 'CONTENT_TYPE', 'value': 'prn:plate-dev:org-id:cms:content-type:123' } }`
|
|
720
|
+
*/
|
|
721
|
+
content: Scalars['JSON']['input'];
|
|
722
|
+
contentTypeSlug: Scalars['String']['input'];
|
|
723
|
+
/** Whether the Content Item is a draft. Drafts are not validated against the Content Type's validation rules. */
|
|
724
|
+
isDraft?: Scalars['Boolean']['input'];
|
|
725
|
+
/** The paths of the Tags to assign to the Content Item. */
|
|
726
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
727
|
+
};
|
|
728
|
+
|
|
644
729
|
export type CreateAllowedValuesContentValidationRuleInput = {
|
|
645
730
|
settings: AllowedValuesContentValidationRuleSettingsInput;
|
|
646
731
|
targetField: Scalars['String']['input'];
|
|
647
732
|
};
|
|
648
733
|
|
|
649
734
|
export type CreateApiTokenInput = {
|
|
650
|
-
channel
|
|
735
|
+
channel?: InputMaybe<Scalars['String']['input']>;
|
|
651
736
|
name: Scalars['String']['input'];
|
|
737
|
+
role: Scalars['PRN']['input'];
|
|
652
738
|
};
|
|
653
739
|
|
|
654
|
-
export type CreateApiTokenResponse = {
|
|
740
|
+
export type CreateApiTokenResponse = Subject & {
|
|
655
741
|
__typename?: 'CreateApiTokenResponse';
|
|
656
|
-
channel
|
|
742
|
+
channel?: Maybe<Channel>;
|
|
657
743
|
createdAt: Scalars['DateTime']['output'];
|
|
744
|
+
id: Scalars['String']['output'];
|
|
658
745
|
name: Scalars['String']['output'];
|
|
659
746
|
prn: Scalars['PRN']['output'];
|
|
747
|
+
roleAssignment: RoleAssignment;
|
|
660
748
|
stage: Stage;
|
|
661
749
|
token: Scalars['String']['output'];
|
|
662
750
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -687,16 +775,20 @@ export type CreateBuildingBlockFieldForBuildingBlockInput = {
|
|
|
687
775
|
|
|
688
776
|
export type CreateBuildingBlockFieldFulfillmentForExperienceComponentInput = {
|
|
689
777
|
buildingBlockField: Scalars['PRN']['input'];
|
|
690
|
-
/** The
|
|
691
|
-
|
|
778
|
+
/** The PRN of the Content Value which this BuildingBlockFieldFulfillment is filled by. */
|
|
779
|
+
contentValueToConnect?: InputMaybe<Scalars['PRN']['input']>;
|
|
780
|
+
/** Create a new Content Value for this Building Block Field Fulfillment. Exactly one of contentValue or createContentValue must be provided. */
|
|
781
|
+
contentValueToCreate?: InputMaybe<CreateContentValueInput>;
|
|
692
782
|
/** The PRN of the BuildingBlockFieldFulfillment that this BuildingBlockFieldFulfillment should manually be sorted after. Null means it should be the last. */
|
|
693
783
|
next?: InputMaybe<Scalars['PRN']['input']>;
|
|
694
784
|
};
|
|
695
785
|
|
|
696
786
|
export type CreateBuildingBlockFieldFulfillmentInput = {
|
|
697
787
|
buildingBlockField: Scalars['PRN']['input'];
|
|
698
|
-
/** The
|
|
699
|
-
|
|
788
|
+
/** The PRN of the Content Value which this BuildingBlockFieldFulfillment is filled by. */
|
|
789
|
+
contentValueToConnect?: InputMaybe<Scalars['PRN']['input']>;
|
|
790
|
+
/** Create a new Content Value for this Building Block Field Fulfillment. Exactly one of contentValue or createContentValue must be provided. */
|
|
791
|
+
contentValueToCreate?: InputMaybe<CreateContentValueInput>;
|
|
700
792
|
/** The PRN of the Experience Component which this Building Block Field Fulfillment fulfills. */
|
|
701
793
|
experienceComponent: Scalars['PRN']['input'];
|
|
702
794
|
/** The PRN of the BuildingBlockFieldFulfillment that this BuildingBlockFieldFulfillment should manually be sorted after. Null means it should be the last. */
|
|
@@ -745,6 +837,11 @@ export type CreateContentExperienceWithExistingPathPartInput = {
|
|
|
745
837
|
initialRowCount?: InputMaybe<Scalars['Int']['input']>;
|
|
746
838
|
pathPart: Scalars['PRN']['input'];
|
|
747
839
|
preview?: InputMaybe<Scalars['PRN']['input']>;
|
|
840
|
+
primaryContentItem?: InputMaybe<Scalars['PRN']['input']>;
|
|
841
|
+
/** The SEO description for the Content Experience. */
|
|
842
|
+
seoDescription?: InputMaybe<Scalars['String']['input']>;
|
|
843
|
+
/** The SEO title for the Content Experience. */
|
|
844
|
+
seoTitle?: InputMaybe<Scalars['String']['input']>;
|
|
748
845
|
slug: Scalars['String']['input'];
|
|
749
846
|
tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
|
|
750
847
|
title: Scalars['String']['input'];
|
|
@@ -757,6 +854,11 @@ export type CreateContentExperienceWithNewPathPartInput = {
|
|
|
757
854
|
fromBlueprint?: InputMaybe<Scalars['PRN']['input']>;
|
|
758
855
|
initialRowCount?: InputMaybe<Scalars['Int']['input']>;
|
|
759
856
|
preview?: InputMaybe<Scalars['PRN']['input']>;
|
|
857
|
+
primaryContentItem?: InputMaybe<Scalars['PRN']['input']>;
|
|
858
|
+
/** The SEO description for the Content Experience. */
|
|
859
|
+
seoDescription?: InputMaybe<Scalars['String']['input']>;
|
|
860
|
+
/** The SEO title for the Content Experience. */
|
|
861
|
+
seoTitle?: InputMaybe<Scalars['String']['input']>;
|
|
760
862
|
slug: Scalars['String']['input'];
|
|
761
863
|
tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
|
|
762
864
|
title: Scalars['String']['input'];
|
|
@@ -766,6 +868,7 @@ export type CreateContentFieldForContentTypeInput = {
|
|
|
766
868
|
name: Scalars['String']['input'];
|
|
767
869
|
/** The PRN of the ContentField that this ContentField should manually be sorted after. Null means it should be the last. */
|
|
768
870
|
next?: InputMaybe<Scalars['PRN']['input']>;
|
|
871
|
+
slug: Scalars['String']['input'];
|
|
769
872
|
};
|
|
770
873
|
|
|
771
874
|
export type CreateContentFieldInput = {
|
|
@@ -773,6 +876,7 @@ export type CreateContentFieldInput = {
|
|
|
773
876
|
name: Scalars['String']['input'];
|
|
774
877
|
/** The PRN of the ContentField that this ContentField should manually be sorted after. Null means it should be the last. */
|
|
775
878
|
next?: InputMaybe<Scalars['PRN']['input']>;
|
|
879
|
+
slug: Scalars['String']['input'];
|
|
776
880
|
};
|
|
777
881
|
|
|
778
882
|
export type CreateContentItemInput = {
|
|
@@ -780,6 +884,7 @@ export type CreateContentItemInput = {
|
|
|
780
884
|
contentValuesToConnect?: InputMaybe<Array<ConnectContentValueInput>>;
|
|
781
885
|
contentValuesToCreate?: InputMaybe<Array<CreateContentValueForContentItemInput>>;
|
|
782
886
|
isDraft: Scalars['Boolean']['input'];
|
|
887
|
+
primaryContentExperience?: InputMaybe<Scalars['PRN']['input']>;
|
|
783
888
|
tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
|
|
784
889
|
};
|
|
785
890
|
|
|
@@ -789,6 +894,7 @@ export type CreateContentTypeInput = {
|
|
|
789
894
|
/** The display name template for the content type. Use {{contentFieldPrn}} to reference Content Fields. */
|
|
790
895
|
displayNameTemplate: Scalars['String']['input'];
|
|
791
896
|
name: Scalars['String']['input'];
|
|
897
|
+
slug: Scalars['String']['input'];
|
|
792
898
|
};
|
|
793
899
|
|
|
794
900
|
export type CreateContentValueForContentItemInput = {
|
|
@@ -848,8 +954,8 @@ export type CreateExperienceComponentInput = {
|
|
|
848
954
|
buildingBlockFieldFulfillments: Array<CreateBuildingBlockFieldFulfillmentForExperienceComponentInput>;
|
|
849
955
|
/** Must be set if the Building Block has a Grid Definition. */
|
|
850
956
|
grid?: InputMaybe<CreateGridInput>;
|
|
851
|
-
gridPlacement?: InputMaybe<
|
|
852
|
-
/** Whether the Experience Component is a draft.
|
|
957
|
+
gridPlacement?: InputMaybe<CreateGridPlacementForExperienceComponentInput>;
|
|
958
|
+
/** Whether the Experience Component is a draft. */
|
|
853
959
|
isDraft: Scalars['Boolean']['input'];
|
|
854
960
|
preview?: InputMaybe<Scalars['PRN']['input']>;
|
|
855
961
|
};
|
|
@@ -859,8 +965,8 @@ export type CreateGlobalExperienceComponentInput = {
|
|
|
859
965
|
buildingBlockFieldFulfillments: Array<CreateBuildingBlockFieldFulfillmentForExperienceComponentInput>;
|
|
860
966
|
/** Must be set if the Building Block has a Grid Definition. */
|
|
861
967
|
grid?: InputMaybe<CreateGridInput>;
|
|
862
|
-
gridPlacement?: InputMaybe<
|
|
863
|
-
/** Whether the Experience Component is a draft.
|
|
968
|
+
gridPlacement?: InputMaybe<CreateGridPlacementForExperienceComponentInput>;
|
|
969
|
+
/** Whether the Experience Component is a draft. */
|
|
864
970
|
isDraft: Scalars['Boolean']['input'];
|
|
865
971
|
name: Scalars['String']['input'];
|
|
866
972
|
preview?: InputMaybe<Scalars['PRN']['input']>;
|
|
@@ -879,6 +985,11 @@ export type CreateGridInput = {
|
|
|
879
985
|
rows: Scalars['Int']['input'];
|
|
880
986
|
};
|
|
881
987
|
|
|
988
|
+
export type CreateGridPlacementForExperienceComponentInput = {
|
|
989
|
+
grid: Scalars['PRN']['input'];
|
|
990
|
+
row: Scalars['Int']['input'];
|
|
991
|
+
};
|
|
992
|
+
|
|
882
993
|
export type CreateGridPlacementInput = {
|
|
883
994
|
/** The PRN of the Experience Component to place in this Grid Placement. */
|
|
884
995
|
experienceComponent: Scalars['PRN']['input'];
|
|
@@ -950,8 +1061,9 @@ export type CreateValueTypeContentValidationRuleInput = {
|
|
|
950
1061
|
targetField: Scalars['String']['input'];
|
|
951
1062
|
};
|
|
952
1063
|
|
|
953
|
-
export type
|
|
1064
|
+
export type DatabaseTextMatchConfig = {
|
|
954
1065
|
caseInsensitive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1066
|
+
exclude?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
955
1067
|
partialMatches?: InputMaybe<Scalars['Boolean']['input']>;
|
|
956
1068
|
threshold?: InputMaybe<Scalars['Float']['input']>;
|
|
957
1069
|
};
|
|
@@ -1002,9 +1114,14 @@ export type DecimalCountContentValidationRuleSettingsInput = {
|
|
|
1002
1114
|
/** The default roles for an organization */
|
|
1003
1115
|
export enum DefaultRoleName {
|
|
1004
1116
|
Admin = 'ADMIN',
|
|
1005
|
-
ContentEditor = 'CONTENT_EDITOR'
|
|
1117
|
+
ContentEditor = 'CONTENT_EDITOR',
|
|
1118
|
+
ContentViewer = 'CONTENT_VIEWER'
|
|
1006
1119
|
}
|
|
1007
1120
|
|
|
1121
|
+
export type DuplicateImagesDetectionConfig = {
|
|
1122
|
+
threshold?: InputMaybe<Scalars['Float']['input']>;
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1008
1125
|
export type ExistingContentValidationRulesSettings = AllowedValuesContentValidationRuleSettings | CountContentValidationRuleSettings | DateBetweenContentValidationRuleSettings | DecimalCountContentValidationRuleSettings | NumberBetweenContentValidationRuleSettings | RelatableContentTypesContentValidationRuleSettings | StringFormatContentValidationRuleSettings | ValueTypeContentValidationRuleSettings;
|
|
1009
1126
|
|
|
1010
1127
|
export type ExperienceComponent = {
|
|
@@ -1022,13 +1139,11 @@ export type ExperienceComponent = {
|
|
|
1022
1139
|
grid?: Maybe<Grid>;
|
|
1023
1140
|
/** The Grid Placements this Experience Component is placed in. */
|
|
1024
1141
|
gridPlacements: Array<GridPlacement>;
|
|
1025
|
-
/** Whether the Experience Component is a draft.
|
|
1142
|
+
/** Whether the Experience Component is a draft. */
|
|
1026
1143
|
isDraft: Scalars['Boolean']['output'];
|
|
1027
1144
|
isGlobal: Scalars['Boolean']['output'];
|
|
1028
1145
|
/** The name of the Experience Component. Only applicable for global Experience Components. */
|
|
1029
1146
|
name?: Maybe<Scalars['String']['output']>;
|
|
1030
|
-
/** Not yet implemented! */
|
|
1031
|
-
organization?: Maybe<Organization>;
|
|
1032
1147
|
/** The preview image of the Experience Component. */
|
|
1033
1148
|
preview?: Maybe<Asset>;
|
|
1034
1149
|
prn: Scalars['PRN']['output'];
|
|
@@ -1082,6 +1197,23 @@ export type FindPathPartByPathInput = {
|
|
|
1082
1197
|
path: Scalars['String']['input'];
|
|
1083
1198
|
};
|
|
1084
1199
|
|
|
1200
|
+
export type FixMissingTagsIssueInput = {
|
|
1201
|
+
issue: Scalars['PRN']['input'];
|
|
1202
|
+
tags: Array<Scalars['PRN']['input']>;
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
export type FixSimilarImageContentValuesIssueInput = {
|
|
1206
|
+
contentValueToUse: Scalars['PRN']['input'];
|
|
1207
|
+
contentValuesToReplace?: InputMaybe<Array<Scalars['PRN']['input']>>;
|
|
1208
|
+
issue: Scalars['PRN']['input'];
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
export type FixSimilarSmartTextIssueInput = {
|
|
1212
|
+
issue: Scalars['PRN']['input'];
|
|
1213
|
+
/** The CAST tree for the smart text to fix the issue with. */
|
|
1214
|
+
smartText: Scalars['CAST']['input'];
|
|
1215
|
+
};
|
|
1216
|
+
|
|
1085
1217
|
export type GenerateAssetUploadUrlInput = {
|
|
1086
1218
|
fileName: Scalars['String']['input'];
|
|
1087
1219
|
/** The size of the file in bytes. */
|
|
@@ -1106,8 +1238,6 @@ export type Grid = {
|
|
|
1106
1238
|
experienceComponent: ExperienceComponent;
|
|
1107
1239
|
gridDefinition: GridDefinition;
|
|
1108
1240
|
gridPlacements: Array<GridPlacement>;
|
|
1109
|
-
/** Not yet implemented! */
|
|
1110
|
-
organization?: Maybe<Organization>;
|
|
1111
1241
|
prn: Scalars['PRN']['output'];
|
|
1112
1242
|
rows: Scalars['Int']['output'];
|
|
1113
1243
|
stage: Stage;
|
|
@@ -1129,8 +1259,6 @@ export type GridDefinition = {
|
|
|
1129
1259
|
buildingBlock: BuildingBlock;
|
|
1130
1260
|
createdAt: Scalars['DateTime']['output'];
|
|
1131
1261
|
maxRows: Scalars['Int']['output'];
|
|
1132
|
-
/** Not yet implemented! */
|
|
1133
|
-
organization?: Maybe<Organization>;
|
|
1134
1262
|
prn: Scalars['PRN']['output'];
|
|
1135
1263
|
updatedAt: Scalars['DateTime']['output'];
|
|
1136
1264
|
};
|
|
@@ -1144,8 +1272,6 @@ export type GridPlacement = {
|
|
|
1144
1272
|
createdAt: Scalars['DateTime']['output'];
|
|
1145
1273
|
experienceComponent: ExperienceComponent;
|
|
1146
1274
|
grid: Grid;
|
|
1147
|
-
/** Not yet implemented! */
|
|
1148
|
-
organization?: Maybe<Organization>;
|
|
1149
1275
|
prn: Scalars['PRN']['output'];
|
|
1150
1276
|
/** The Content Values that use this Grid Placement as an referenced value. Reverse relation of referencedGridPlacements. */
|
|
1151
1277
|
referencedBySmartTextContentValues: Array<ContentValue>;
|
|
@@ -1217,6 +1343,13 @@ export type IntFilter = {
|
|
|
1217
1343
|
_nin?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
1218
1344
|
};
|
|
1219
1345
|
|
|
1346
|
+
export type InterpolatedContentValue = {
|
|
1347
|
+
__typename?: 'InterpolatedContentValue';
|
|
1348
|
+
prn: Scalars['PRN']['output'];
|
|
1349
|
+
type: Scalars['String']['output'];
|
|
1350
|
+
value: Scalars['CAST']['output'];
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1220
1353
|
export type Invitation = {
|
|
1221
1354
|
__typename?: 'Invitation';
|
|
1222
1355
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -1226,16 +1359,92 @@ export type Invitation = {
|
|
|
1226
1359
|
userEmail: Scalars['String']['output'];
|
|
1227
1360
|
};
|
|
1228
1361
|
|
|
1362
|
+
export type Issue = {
|
|
1363
|
+
__typename?: 'Issue';
|
|
1364
|
+
context: IssueContext;
|
|
1365
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1366
|
+
lastSeenAt: Scalars['DateTime']['output'];
|
|
1367
|
+
prn: Scalars['PRN']['output'];
|
|
1368
|
+
stage: Stage;
|
|
1369
|
+
status: IssueStatus;
|
|
1370
|
+
subjects: Array<IssueSubject>;
|
|
1371
|
+
type: IssueType;
|
|
1372
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
export type IssueContext = {
|
|
1376
|
+
__typename?: 'IssueContext';
|
|
1377
|
+
suggestedCast?: Maybe<Scalars['CAST']['output']>;
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
export type IssueEdge = {
|
|
1381
|
+
__typename?: 'IssueEdge';
|
|
1382
|
+
cursor: Scalars['String']['output'];
|
|
1383
|
+
node: Issue;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
export type IssueStatistics = {
|
|
1387
|
+
__typename?: 'IssueStatistics';
|
|
1388
|
+
byType: Array<IssueTypeStatistics>;
|
|
1389
|
+
totalOpenCount: Scalars['Int']['output'];
|
|
1390
|
+
totalSolvedCount: Scalars['Int']['output'];
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
export enum IssueStatus {
|
|
1394
|
+
Archived = 'ARCHIVED',
|
|
1395
|
+
Open = 'OPEN',
|
|
1396
|
+
Solved = 'SOLVED'
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
export type IssueSubject = ContentExperience | ContentItem | ContentValue;
|
|
1400
|
+
|
|
1401
|
+
export enum IssueType {
|
|
1402
|
+
DuplicatedTags = 'DUPLICATED_TAGS',
|
|
1403
|
+
MissingTags = 'MISSING_TAGS',
|
|
1404
|
+
SimilarImageContentValues = 'SIMILAR_IMAGE_CONTENT_VALUES',
|
|
1405
|
+
SimilarSmartTextContentValues = 'SIMILAR_SMART_TEXT_CONTENT_VALUES'
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
export type IssueTypeStatistics = {
|
|
1409
|
+
__typename?: 'IssueTypeStatistics';
|
|
1410
|
+
openCount: Scalars['Int']['output'];
|
|
1411
|
+
solvedCount: Scalars['Int']['output'];
|
|
1412
|
+
type: IssueType;
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
export type IssuesConnection = {
|
|
1416
|
+
__typename?: 'IssuesConnection';
|
|
1417
|
+
edges: Array<IssueEdge>;
|
|
1418
|
+
pageInfo: PageInfo;
|
|
1419
|
+
totalCount: Scalars['Int']['output'];
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1422
|
+
/** The filter input type for 'Issues'. Objects/maps are treated as AND, while arrays are treated as OR. */
|
|
1423
|
+
export type IssuesFilterInput = {
|
|
1424
|
+
_not?: InputMaybe<Array<IssuesFilterInput>>;
|
|
1425
|
+
createdAt?: InputMaybe<Array<DateFilter>>;
|
|
1426
|
+
lastSeenAt?: InputMaybe<Array<DateFilter>>;
|
|
1427
|
+
prn?: InputMaybe<Array<PrnFilter>>;
|
|
1428
|
+
status?: InputMaybe<Array<StringFilter>>;
|
|
1429
|
+
type?: InputMaybe<Array<StringFilter>>;
|
|
1430
|
+
updatedAt?: InputMaybe<Array<DateFilter>>;
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1229
1433
|
export type Mutation = {
|
|
1230
1434
|
__typename?: 'Mutation';
|
|
1231
|
-
/** Accepts an Invitation for the current
|
|
1435
|
+
/** Accepts an Invitation for the current User (e.g. the logged in user) */
|
|
1232
1436
|
acceptInvitation: RoleAssignment;
|
|
1233
1437
|
/** Assign the PlateMaintainer role to a user */
|
|
1234
|
-
addPlateMaintainer:
|
|
1438
|
+
addPlateMaintainer: User;
|
|
1439
|
+
/** Archives one or many Issues. Throws NotFoundError when no Issues could be found. */
|
|
1440
|
+
archiveIssues: Array<Issue>;
|
|
1441
|
+
/** Set the image hash for an asset in the Platform Service database. */
|
|
1442
|
+
casAnalyzeAsset: SuccessResponse;
|
|
1235
1443
|
/** Confirm an Asset upload. Unconfirmed Assets are deleted. */
|
|
1236
1444
|
confirmAssetUpload: Array<Asset>;
|
|
1237
1445
|
/** Copy a Blueprint. Does not copy instances. */
|
|
1238
1446
|
copyBlueprint: Array<Blueprint>;
|
|
1447
|
+
createAccessibleContentItem: Array<Scalars['JSON']['output']>;
|
|
1239
1448
|
createAllowedValuesContentValidationRule: ContentValidationRule;
|
|
1240
1449
|
/** Creates one or many new ApiTokens. */
|
|
1241
1450
|
createApiToken: Array<CreateApiTokenResponse>;
|
|
@@ -1312,8 +1521,20 @@ export type Mutation = {
|
|
|
1312
1521
|
/** Creates one or many new Themes. */
|
|
1313
1522
|
createTheme: Array<Theme>;
|
|
1314
1523
|
createValueTypeContentValidationRule: ContentValidationRule;
|
|
1315
|
-
/** Declines an Invitation for the current
|
|
1524
|
+
/** Declines an Invitation for the current User (e.g. the logged in user) */
|
|
1316
1525
|
declineInvitation: Invitation;
|
|
1526
|
+
/** Enqueues a full scan for all organizations and stages. */
|
|
1527
|
+
enqueueFullScan: Scalars['Boolean']['output'];
|
|
1528
|
+
/** Enqueues missing tags scan. */
|
|
1529
|
+
enqueueMissingTagsScan: Scalars['Boolean']['output'];
|
|
1530
|
+
/** Enqueues similar image content values scan. */
|
|
1531
|
+
enqueueSimilarImageContentValuesScan: Scalars['Boolean']['output'];
|
|
1532
|
+
/** Applies a missing tags fix to an issue. Throws NotFoundError when no Issue could be found. */
|
|
1533
|
+
fixMissingTagsIssue: Issue;
|
|
1534
|
+
/** Applies a similar image content values fix to an issue. Throws NotFoundError when no Issue could be found. */
|
|
1535
|
+
fixSimilarImageContentValuesIssue: Issue;
|
|
1536
|
+
/** Applies a similar smart text content values fix to an issue. Throws NotFoundError when no Issue could be found. */
|
|
1537
|
+
fixSimilarSmartTextIssue: Issue;
|
|
1317
1538
|
/**
|
|
1318
1539
|
* Generates the upload URL for one or many new Assets.
|
|
1319
1540
|
* See the wiki for an example: https://plate.atlassian.net/wiki/spaces/DW/pages/1488945153/Asset+Manager#Uploading-Assets
|
|
@@ -1321,6 +1542,7 @@ export type Mutation = {
|
|
|
1321
1542
|
generateAssetUploadUrl: Array<GeneratedUploadUrl>;
|
|
1322
1543
|
/** Regenerate one or many new ApiTokens. */
|
|
1323
1544
|
regenerateApiToken: Array<CreateApiTokenResponse>;
|
|
1545
|
+
removeAccessibleContentItem: Array<Scalars['JSON']['output']>;
|
|
1324
1546
|
/**
|
|
1325
1547
|
* Removes one or many ApiTokens.
|
|
1326
1548
|
* Throws NotFoundException when no ApiToken could be found.
|
|
@@ -1360,7 +1582,6 @@ export type Mutation = {
|
|
|
1360
1582
|
* Removes one or many ContentFields.
|
|
1361
1583
|
* Throws NotFoundException when no ContentField could be found.
|
|
1362
1584
|
* Throws UnprocessableContentError when attempting to remove a Content Field outside of the DEVELOPMENT stage.
|
|
1363
|
-
* Throws UnprocessableContentError when attempting to remove a Content Field that is being used by Content Values.
|
|
1364
1585
|
* Throws BadRequestError when attempting to remove a Content Field that is being used in the displayNameTemplate of its Content Type.
|
|
1365
1586
|
* Throws BadRequestError when attempting to remove a Content Field that is being used in the displayImageField of its Content Type.
|
|
1366
1587
|
*/
|
|
@@ -1421,7 +1642,7 @@ export type Mutation = {
|
|
|
1421
1642
|
*/
|
|
1422
1643
|
removePathPart: Array<PathPart>;
|
|
1423
1644
|
/** Remove the PlateMaintainer role of a user */
|
|
1424
|
-
removePlateMaintainer:
|
|
1645
|
+
removePlateMaintainer: User;
|
|
1425
1646
|
/**
|
|
1426
1647
|
* Removes one or many RoleAssignments.
|
|
1427
1648
|
* Throws NotFoundException when no RoleAssignment could be found.
|
|
@@ -1443,6 +1664,7 @@ export type Mutation = {
|
|
|
1443
1664
|
syncBlueprint: Scalars['Boolean']['output'];
|
|
1444
1665
|
/** Syncs the visibility of a Tag to its descendants. */
|
|
1445
1666
|
syncTagVisibilityToDescendants: Array<Scalars['Boolean']['output']>;
|
|
1667
|
+
updateAccessibleContentItem: Array<Scalars['JSON']['output']>;
|
|
1446
1668
|
updateAllowedValuesContentValidationRule: ContentValidationRule;
|
|
1447
1669
|
/**
|
|
1448
1670
|
* Updates one or many ApiTokens with new values.
|
|
@@ -1567,6 +1789,16 @@ export type MutationAddPlateMaintainerArgs = {
|
|
|
1567
1789
|
};
|
|
1568
1790
|
|
|
1569
1791
|
|
|
1792
|
+
export type MutationArchiveIssuesArgs = {
|
|
1793
|
+
prn: Array<Scalars['PRN']['input']>;
|
|
1794
|
+
};
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
export type MutationCasAnalyzeAssetArgs = {
|
|
1798
|
+
assetPrnString: Scalars['String']['input'];
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
|
|
1570
1802
|
export type MutationConfirmAssetUploadArgs = {
|
|
1571
1803
|
prn: Array<Scalars['PRN']['input']>;
|
|
1572
1804
|
};
|
|
@@ -1577,6 +1809,11 @@ export type MutationCopyBlueprintArgs = {
|
|
|
1577
1809
|
};
|
|
1578
1810
|
|
|
1579
1811
|
|
|
1812
|
+
export type MutationCreateAccessibleContentItemArgs = {
|
|
1813
|
+
input: Array<CreateAccessibleContentItemInput>;
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
|
|
1580
1817
|
export type MutationCreateAllowedValuesContentValidationRuleArgs = {
|
|
1581
1818
|
input: CreateAllowedValuesContentValidationRuleInput;
|
|
1582
1819
|
};
|
|
@@ -1742,6 +1979,21 @@ export type MutationDeclineInvitationArgs = {
|
|
|
1742
1979
|
};
|
|
1743
1980
|
|
|
1744
1981
|
|
|
1982
|
+
export type MutationFixMissingTagsIssueArgs = {
|
|
1983
|
+
input: FixMissingTagsIssueInput;
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
|
|
1987
|
+
export type MutationFixSimilarImageContentValuesIssueArgs = {
|
|
1988
|
+
input: FixSimilarImageContentValuesIssueInput;
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
export type MutationFixSimilarSmartTextIssueArgs = {
|
|
1993
|
+
input: FixSimilarSmartTextIssueInput;
|
|
1994
|
+
};
|
|
1995
|
+
|
|
1996
|
+
|
|
1745
1997
|
export type MutationGenerateAssetUploadUrlArgs = {
|
|
1746
1998
|
input: Array<GenerateAssetUploadUrlInput>;
|
|
1747
1999
|
};
|
|
@@ -1752,6 +2004,11 @@ export type MutationRegenerateApiTokenArgs = {
|
|
|
1752
2004
|
};
|
|
1753
2005
|
|
|
1754
2006
|
|
|
2007
|
+
export type MutationRemoveAccessibleContentItemArgs = {
|
|
2008
|
+
prn: Array<Scalars['PRN']['input']>;
|
|
2009
|
+
};
|
|
2010
|
+
|
|
2011
|
+
|
|
1755
2012
|
export type MutationRemoveApiTokenArgs = {
|
|
1756
2013
|
prn: Array<Scalars['PRN']['input']>;
|
|
1757
2014
|
};
|
|
@@ -1869,6 +2126,7 @@ export type MutationRemoveThemeArgs = {
|
|
|
1869
2126
|
|
|
1870
2127
|
export type MutationRunSeederArgs = {
|
|
1871
2128
|
seedType: SeedType;
|
|
2129
|
+
withContent: Scalars['Boolean']['input'];
|
|
1872
2130
|
};
|
|
1873
2131
|
|
|
1874
2132
|
|
|
@@ -1882,6 +2140,11 @@ export type MutationSyncTagVisibilityToDescendantsArgs = {
|
|
|
1882
2140
|
};
|
|
1883
2141
|
|
|
1884
2142
|
|
|
2143
|
+
export type MutationUpdateAccessibleContentItemArgs = {
|
|
2144
|
+
input: Array<UpdateAccessibleContentItemInput>;
|
|
2145
|
+
};
|
|
2146
|
+
|
|
2147
|
+
|
|
1885
2148
|
export type MutationUpdateAllowedValuesContentValidationRuleArgs = {
|
|
1886
2149
|
input: UpdateAllowedValuesContentValidationRuleInput;
|
|
1887
2150
|
};
|
|
@@ -2100,13 +2363,13 @@ export type PathPart = {
|
|
|
2100
2363
|
amountOfDescendantsWithContentExperiences: Scalars['Int']['output'];
|
|
2101
2364
|
/** All Path Parts in a "family" (ancestors and decendents) are connected to the same Channel. This does not make sense semantically, but makes it much easier to access the Channel from any Path Part. */
|
|
2102
2365
|
channel: Channel;
|
|
2366
|
+
/** The ID of the Channel this PathPart belongs to. */
|
|
2367
|
+
channelId?: Maybe<Scalars['String']['output']>;
|
|
2103
2368
|
children: Array<PathPart>;
|
|
2104
2369
|
contentExperience?: Maybe<ContentExperience>;
|
|
2105
2370
|
createdAt: Scalars['DateTime']['output'];
|
|
2106
2371
|
/** Whether this Path Part has a Content Experience. */
|
|
2107
2372
|
hasContentExperience: Scalars['Boolean']['output'];
|
|
2108
|
-
/** Not yet implemented! */
|
|
2109
|
-
organization?: Maybe<Organization>;
|
|
2110
2373
|
/** The parent Path Part. Only null when this is the root PathPart. */
|
|
2111
2374
|
parent?: Maybe<PathPart>;
|
|
2112
2375
|
/** The ID of the parent Path Part. Only null when this is the root PathPart. */
|
|
@@ -2145,6 +2408,7 @@ export type PathPartsFilterInput = {
|
|
|
2145
2408
|
amountOfChildrenWithContentExperiences?: InputMaybe<Array<IntFilter>>;
|
|
2146
2409
|
amountOfDescendants?: InputMaybe<Array<IntFilter>>;
|
|
2147
2410
|
amountOfDescendantsWithContentExperiences?: InputMaybe<Array<IntFilter>>;
|
|
2411
|
+
channelId?: InputMaybe<Array<StringFilter>>;
|
|
2148
2412
|
createdAt?: InputMaybe<Array<DateFilter>>;
|
|
2149
2413
|
hasContentExperience?: InputMaybe<Array<BooleanFilter>>;
|
|
2150
2414
|
parentId?: InputMaybe<Array<StringFilter>>;
|
|
@@ -2189,6 +2453,10 @@ export type ProcessedAssetOptionsInput = {
|
|
|
2189
2453
|
|
|
2190
2454
|
export type Query = {
|
|
2191
2455
|
__typename?: 'Query';
|
|
2456
|
+
/** Finds one or many AccessibleContentItems by PRN. Throws NotFoundException when no AccessibleContentItem could be found. */
|
|
2457
|
+
accessibleContentItem: Array<Scalars['JSON']['output']>;
|
|
2458
|
+
/** Orders and paginates all AccessibleContentItems. This uses the same arguments as find all Content Items. This means you can not filter on the fields in the return value of this query, but only on the fields of the ContentItem model. */
|
|
2459
|
+
accessibleContentItems: AccessibleContentItemsConnection;
|
|
2192
2460
|
/** Finds one or many ApiTokens by PRN. Throws NotFoundException when no ApiToken could be found. */
|
|
2193
2461
|
apiToken: Array<ApiToken>;
|
|
2194
2462
|
/** Orders all ApiTokens. */
|
|
@@ -2207,9 +2475,10 @@ export type Query = {
|
|
|
2207
2475
|
buildingBlockFieldFulfillments: BuildingBlockFieldFulfillmentsConnection;
|
|
2208
2476
|
/** Orders and paginates all BuildingBlockFields. */
|
|
2209
2477
|
buildingBlockFields: BuildingBlockFieldsConnection;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2478
|
+
/** Detect CAST matches with database reusable entries and return an array with the suggestions, Ordered by occurrence in the text. Matches are based on plaintext. */
|
|
2479
|
+
castSuggestions: Array<CastSuggestion>;
|
|
2480
|
+
/** Detect CAST matches with database reusable entries and return the CAST with suggestions inserted. Matches are based on plaintext. */
|
|
2481
|
+
castSuggestionsInRoot?: Maybe<Scalars['CAST']['output']>;
|
|
2213
2482
|
/** Finds one or many Channels by PRN. Throws NotFoundException when no Channel could be found. */
|
|
2214
2483
|
channel: Array<Channel>;
|
|
2215
2484
|
/** Orders and paginates all Channels. */
|
|
@@ -2236,11 +2505,15 @@ export type Query = {
|
|
|
2236
2505
|
contentValue: Array<ContentValue>;
|
|
2237
2506
|
/** Orders and paginates all ContentValues. */
|
|
2238
2507
|
contentValues: ContentValuesConnection;
|
|
2239
|
-
|
|
2508
|
+
currentUser: User;
|
|
2240
2509
|
/** Finds one or many ExperienceComponents by PRN. Throws NotFoundException when no ExperienceComponent could be found. */
|
|
2241
2510
|
experienceComponent: Array<ExperienceComponent>;
|
|
2242
2511
|
/** Orders and paginates all ExperienceComponents. */
|
|
2243
2512
|
experienceComponents: ExperienceComponentsConnection;
|
|
2513
|
+
/** Get similar image Content Values within the database. Use similarity score based on image hashes to find potential duplicates. */
|
|
2514
|
+
findSimilarImageContentValues: Array<CasImageContentValueMatch>;
|
|
2515
|
+
/** Get similar image Content Values within the database from an asset PRN input. Use similarity score based on image hashes to find potential duplicates. */
|
|
2516
|
+
findSimilarImageContentValuesFromAsset: Array<CasImageContentValueMatch>;
|
|
2244
2517
|
/** Finds one or many Grids by PRN. Throws NotFoundException when no Grid could be found. */
|
|
2245
2518
|
grid: Array<Grid>;
|
|
2246
2519
|
/** Finds one or many GridDefinitions by PRN. Throws NotFoundException when no GridDefinition could be found. */
|
|
@@ -2251,10 +2524,16 @@ export type Query = {
|
|
|
2251
2524
|
gridPlacements: GridPlacementsConnection;
|
|
2252
2525
|
/** Finds one or many Invitations by PRN. Throws NotFoundException when no Invitation could be found. */
|
|
2253
2526
|
invitation: Array<Invitation>;
|
|
2254
|
-
/** Finds all Invitations for the current
|
|
2255
|
-
|
|
2527
|
+
/** Finds all Invitations for the current User (e.g. the logged in user) */
|
|
2528
|
+
invitationsForCurrentUser: Array<Invitation>;
|
|
2256
2529
|
/** Finds all Invitations for the given Organization */
|
|
2257
2530
|
invitationsForOrganization: Array<Invitation>;
|
|
2531
|
+
/** Finds one or many Issues by PRN. Throws NotFoundException when no Issue could be found. */
|
|
2532
|
+
issue: Array<Issue>;
|
|
2533
|
+
/** Gets statistics for all issues, grouped by type and totals. */
|
|
2534
|
+
issueStatistics: IssueStatistics;
|
|
2535
|
+
/** Orders and paginates all Issues. */
|
|
2536
|
+
issues: IssuesConnection;
|
|
2258
2537
|
/** Finds one or many Organizations by PRN. Throws NotFoundException when no Organization could be found. */
|
|
2259
2538
|
organization: Array<Organization>;
|
|
2260
2539
|
/** Finds one or many Path Parts by PRN. Throws NotFoundException when no Path Part could be found. */
|
|
@@ -2263,8 +2542,10 @@ export type Query = {
|
|
|
2263
2542
|
pathPartByPath: Array<PathPart>;
|
|
2264
2543
|
/** Orders and paginates all Path Parts. */
|
|
2265
2544
|
pathParts: PathPartsConnection;
|
|
2266
|
-
plateMaintainers: Array<
|
|
2267
|
-
/**
|
|
2545
|
+
plateMaintainers: Array<User>;
|
|
2546
|
+
/** Use predefined regex patterns to detect potentially reusable content in a string. */
|
|
2547
|
+
regexSuggestions: Array<CasRegexSuggestion>;
|
|
2548
|
+
/** Finds all RoleAssignments for the current Subject (e.g. the logged in user or API token) */
|
|
2268
2549
|
roleAssignmentsForCurrentSubject: Array<RoleAssignment>;
|
|
2269
2550
|
/** Finds all RoleAssignments for the given Organization */
|
|
2270
2551
|
roleAssignmentsForOrganization: Array<RoleAssignment>;
|
|
@@ -2279,6 +2560,18 @@ export type Query = {
|
|
|
2279
2560
|
};
|
|
2280
2561
|
|
|
2281
2562
|
|
|
2563
|
+
export type QueryAccessibleContentItemArgs = {
|
|
2564
|
+
prn: Array<Scalars['PRN']['input']>;
|
|
2565
|
+
};
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
export type QueryAccessibleContentItemsArgs = {
|
|
2569
|
+
orderBy?: InputMaybe<OrderOptionsInput>;
|
|
2570
|
+
paginate: PaginationOptionsInput;
|
|
2571
|
+
where?: InputMaybe<Array<ContentItemsFilterInput>>;
|
|
2572
|
+
};
|
|
2573
|
+
|
|
2574
|
+
|
|
2282
2575
|
export type QueryApiTokenArgs = {
|
|
2283
2576
|
prn: Array<Scalars['PRN']['input']>;
|
|
2284
2577
|
};
|
|
@@ -2330,23 +2623,17 @@ export type QueryBuildingBlockFieldsArgs = {
|
|
|
2330
2623
|
};
|
|
2331
2624
|
|
|
2332
2625
|
|
|
2333
|
-
export type
|
|
2626
|
+
export type QueryCastSuggestionsArgs = {
|
|
2627
|
+
config?: InputMaybe<DatabaseTextMatchConfig>;
|
|
2334
2628
|
inputCast: Scalars['CAST']['input'];
|
|
2335
|
-
|
|
2629
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2336
2630
|
};
|
|
2337
2631
|
|
|
2338
2632
|
|
|
2339
|
-
export type
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
};
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
export type QueryCasStringMatchesArgs = {
|
|
2347
|
-
inputText: Scalars['String']['input'];
|
|
2348
|
-
limit: Scalars['Int']['input'];
|
|
2349
|
-
matchConfig?: InputMaybe<DatabaseMatchConfig>;
|
|
2633
|
+
export type QueryCastSuggestionsInRootArgs = {
|
|
2634
|
+
config?: InputMaybe<DatabaseTextMatchConfig>;
|
|
2635
|
+
inputCast: Scalars['CAST']['input'];
|
|
2636
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2350
2637
|
};
|
|
2351
2638
|
|
|
2352
2639
|
|
|
@@ -2363,6 +2650,7 @@ export type QueryChannelsArgs = {
|
|
|
2363
2650
|
|
|
2364
2651
|
|
|
2365
2652
|
export type QueryContentExperienceArgs = {
|
|
2653
|
+
autoFetchFullContentExperience?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2366
2654
|
prn: Array<Scalars['PRN']['input']>;
|
|
2367
2655
|
};
|
|
2368
2656
|
|
|
@@ -2439,6 +2727,20 @@ export type QueryExperienceComponentsArgs = {
|
|
|
2439
2727
|
};
|
|
2440
2728
|
|
|
2441
2729
|
|
|
2730
|
+
export type QueryFindSimilarImageContentValuesArgs = {
|
|
2731
|
+
config?: InputMaybe<DuplicateImagesDetectionConfig>;
|
|
2732
|
+
contentValuePrnString: Scalars['String']['input'];
|
|
2733
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2734
|
+
};
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
export type QueryFindSimilarImageContentValuesFromAssetArgs = {
|
|
2738
|
+
assetPrnString: Scalars['String']['input'];
|
|
2739
|
+
config?: InputMaybe<DuplicateImagesDetectionConfig>;
|
|
2740
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2442
2744
|
export type QueryGridArgs = {
|
|
2443
2745
|
prn: Array<Scalars['PRN']['input']>;
|
|
2444
2746
|
};
|
|
@@ -2466,6 +2768,23 @@ export type QueryInvitationArgs = {
|
|
|
2466
2768
|
};
|
|
2467
2769
|
|
|
2468
2770
|
|
|
2771
|
+
export type QueryIssueArgs = {
|
|
2772
|
+
prn: Array<Scalars['PRN']['input']>;
|
|
2773
|
+
};
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
export type QueryIssueStatisticsArgs = {
|
|
2777
|
+
createdSince?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2778
|
+
};
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
export type QueryIssuesArgs = {
|
|
2782
|
+
orderBy?: InputMaybe<OrderOptionsInput>;
|
|
2783
|
+
paginate: PaginationOptionsInput;
|
|
2784
|
+
where?: InputMaybe<Array<IssuesFilterInput>>;
|
|
2785
|
+
};
|
|
2786
|
+
|
|
2787
|
+
|
|
2469
2788
|
export type QueryOrganizationArgs = {
|
|
2470
2789
|
prn: Array<Scalars['PRN']['input']>;
|
|
2471
2790
|
};
|
|
@@ -2488,6 +2807,18 @@ export type QueryPathPartsArgs = {
|
|
|
2488
2807
|
};
|
|
2489
2808
|
|
|
2490
2809
|
|
|
2810
|
+
export type QueryRegexSuggestionsArgs = {
|
|
2811
|
+
config?: InputMaybe<RegexExtractionConfig>;
|
|
2812
|
+
inputText: Scalars['String']['input'];
|
|
2813
|
+
limit: Scalars['Int']['input'];
|
|
2814
|
+
};
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
export type QueryRoleAssignmentsForOrganizationArgs = {
|
|
2818
|
+
subjectType?: InputMaybe<SubjectType>;
|
|
2819
|
+
};
|
|
2820
|
+
|
|
2821
|
+
|
|
2491
2822
|
export type QueryTagArgs = {
|
|
2492
2823
|
prn: Array<Scalars['PRN']['input']>;
|
|
2493
2824
|
};
|
|
@@ -2539,13 +2870,13 @@ export enum RemoveBlueprintInstanceMode {
|
|
|
2539
2870
|
export type RemoveBlueprintResponse = {
|
|
2540
2871
|
__typename?: 'RemoveBlueprintResponse';
|
|
2541
2872
|
channel: Channel;
|
|
2873
|
+
/** The ID of the Channel this Blueprint belongs to. */
|
|
2874
|
+
channelId?: Maybe<Scalars['String']['output']>;
|
|
2542
2875
|
createdAt: Scalars['DateTime']['output'];
|
|
2543
2876
|
/** The Experience Component which defines this Blueprint. */
|
|
2544
2877
|
definedBy: ExperienceComponent;
|
|
2545
2878
|
isFixed: Scalars['Boolean']['output'];
|
|
2546
2879
|
name: Scalars['String']['output'];
|
|
2547
|
-
/** Not yet implemented! */
|
|
2548
|
-
organization?: Maybe<Organization>;
|
|
2549
2880
|
prn: Scalars['PRN']['output'];
|
|
2550
2881
|
stage: Stage;
|
|
2551
2882
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -2558,8 +2889,6 @@ export type RemoveBuildingBlockResponse = {
|
|
|
2558
2889
|
experienceComponents: Array<ExperienceComponent>;
|
|
2559
2890
|
gridDefinition?: Maybe<GridDefinition>;
|
|
2560
2891
|
next?: Maybe<BuildingBlock>;
|
|
2561
|
-
/** Not yet implemented! */
|
|
2562
|
-
organization?: Maybe<Organization>;
|
|
2563
2892
|
previous?: Maybe<BuildingBlock>;
|
|
2564
2893
|
prn: Scalars['PRN']['output'];
|
|
2565
2894
|
slug: Scalars['String']['output'];
|
|
@@ -2570,14 +2899,21 @@ export type RemoveBuildingBlockResponse = {
|
|
|
2570
2899
|
|
|
2571
2900
|
export type RemoveContentExperienceResponse = {
|
|
2572
2901
|
__typename?: 'RemoveContentExperienceResponse';
|
|
2902
|
+
/** The ID of the Channel this ContentExperience belongs to. */
|
|
2903
|
+
channelId?: Maybe<Scalars['String']['output']>;
|
|
2573
2904
|
createdAt: Scalars['DateTime']['output'];
|
|
2574
2905
|
experienceComponent: ExperienceComponent;
|
|
2575
|
-
/**
|
|
2576
|
-
|
|
2906
|
+
/** The issues that this Content Experience is a subject of */
|
|
2907
|
+
issues: Array<Issue>;
|
|
2577
2908
|
pathPart: PathPart;
|
|
2909
|
+
/** An array of path part ids from the current path part up to the root, ordered from root to current. */
|
|
2910
|
+
pathPartsToRootIds: Array<Scalars['String']['output']>;
|
|
2911
|
+
primaryContentItem?: Maybe<ContentItem>;
|
|
2578
2912
|
prn: Scalars['PRN']['output'];
|
|
2579
2913
|
/** The Content Values that use this Content Experience as an referenced value. Reverse relation of referencedContentExperiences. */
|
|
2580
2914
|
referencedBySmartTextContentValues: Array<ContentValue>;
|
|
2915
|
+
seoDescription?: Maybe<Scalars['String']['output']>;
|
|
2916
|
+
seoTitle?: Maybe<Scalars['String']['output']>;
|
|
2581
2917
|
slug: Scalars['String']['output'];
|
|
2582
2918
|
stage: Stage;
|
|
2583
2919
|
/** The ids of the tags this Content Experience are tagged with, including all ancestor tags. Should only be used for filtering. */
|
|
@@ -2600,13 +2936,13 @@ export type RemoveContentValueResponse = {
|
|
|
2600
2936
|
interpolatedSmartText?: Maybe<Scalars['CAST']['output']>;
|
|
2601
2937
|
/** Whether the ContentValue is reusable. Defaults to false. */
|
|
2602
2938
|
isReusable: Scalars['Boolean']['output'];
|
|
2939
|
+
/** The issues that this Content Value is a subject of */
|
|
2940
|
+
issues: Array<Issue>;
|
|
2603
2941
|
linkedContentType?: Maybe<ContentType>;
|
|
2604
2942
|
linkedGridPlacement?: Maybe<GridPlacement>;
|
|
2605
2943
|
linkedPathPart?: Maybe<PathPart>;
|
|
2606
2944
|
linkedTag?: Maybe<Tag>;
|
|
2607
2945
|
next?: Maybe<ContentValue>;
|
|
2608
|
-
/** Not yet implemented! */
|
|
2609
|
-
organization?: Maybe<Organization>;
|
|
2610
2946
|
/** The plain text representation of the smart text. This is used internally. If you really need the plain text representation of CAST, use the castToPlainText utility function. */
|
|
2611
2947
|
plainText?: Maybe<Scalars['String']['output']>;
|
|
2612
2948
|
previous?: Maybe<ContentValue>;
|
|
@@ -2621,11 +2957,21 @@ export type RemoveContentValueResponse = {
|
|
|
2621
2957
|
referencedContentValues: Array<ContentValue>;
|
|
2622
2958
|
/** 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. */
|
|
2623
2959
|
referencedGridPlacements: Array<GridPlacement>;
|
|
2960
|
+
/** The alt text of the relatedAsset. */
|
|
2961
|
+
relatedAssetAltText?: Maybe<Scalars['String']['output']>;
|
|
2962
|
+
/** The file name of the relatedAsset. */
|
|
2963
|
+
relatedAssetFileName?: Maybe<Scalars['String']['output']>;
|
|
2964
|
+
/** The file type (MIME type) of the relatedAsset. */
|
|
2965
|
+
relatedAssetFileType?: Maybe<Scalars['String']['output']>;
|
|
2966
|
+
/** The file size in bytes of the relatedAsset. */
|
|
2967
|
+
relatedAssetSize?: Maybe<Scalars['Int']['output']>;
|
|
2624
2968
|
relatedContentItem?: Maybe<ContentItem>;
|
|
2625
2969
|
/** The CAST tree for the smart text. */
|
|
2626
2970
|
smartText?: Maybe<Scalars['CAST']['output']>;
|
|
2627
2971
|
stage: Stage;
|
|
2628
2972
|
updatedAt: Scalars['DateTime']['output'];
|
|
2973
|
+
/** The value type name of the Content Value. This is calculated based on the value that is in the Content Value. Filtered using a StringFilter. */
|
|
2974
|
+
valueTypeName: ContentValueTypeNames;
|
|
2629
2975
|
};
|
|
2630
2976
|
|
|
2631
2977
|
export type RemoveExperienceComponentResponse = {
|
|
@@ -2643,13 +2989,11 @@ export type RemoveExperienceComponentResponse = {
|
|
|
2643
2989
|
grid?: Maybe<Grid>;
|
|
2644
2990
|
/** The Grid Placements this Experience Component is placed in. */
|
|
2645
2991
|
gridPlacements: Array<GridPlacement>;
|
|
2646
|
-
/** Whether the Experience Component is a draft.
|
|
2992
|
+
/** Whether the Experience Component is a draft. */
|
|
2647
2993
|
isDraft: Scalars['Boolean']['output'];
|
|
2648
2994
|
isGlobal: Scalars['Boolean']['output'];
|
|
2649
2995
|
/** The name of the Experience Component. Only applicable for global Experience Components. */
|
|
2650
2996
|
name?: Maybe<Scalars['String']['output']>;
|
|
2651
|
-
/** Not yet implemented! */
|
|
2652
|
-
organization?: Maybe<Organization>;
|
|
2653
2997
|
prn: Scalars['PRN']['output'];
|
|
2654
2998
|
stage: Stage;
|
|
2655
2999
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -2709,7 +3053,8 @@ export enum SeedType {
|
|
|
2709
3053
|
Performance_500 = 'PERFORMANCE_500',
|
|
2710
3054
|
Performance_1000 = 'PERFORMANCE_1000',
|
|
2711
3055
|
Performance_2000 = 'PERFORMANCE_2000',
|
|
2712
|
-
Performance_5000 = 'PERFORMANCE_5000'
|
|
3056
|
+
Performance_5000 = 'PERFORMANCE_5000',
|
|
3057
|
+
QaContent = 'QA_CONTENT'
|
|
2713
3058
|
}
|
|
2714
3059
|
|
|
2715
3060
|
export enum SortingDirection {
|
|
@@ -2762,14 +3107,18 @@ export type StringFormatContentValidationRuleSettingsInput = {
|
|
|
2762
3107
|
};
|
|
2763
3108
|
|
|
2764
3109
|
export type Subject = {
|
|
2765
|
-
__typename?: 'Subject';
|
|
2766
|
-
email: Scalars['String']['output'];
|
|
2767
3110
|
id: Scalars['String']['output'];
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
3111
|
+
};
|
|
3112
|
+
|
|
3113
|
+
/** The type of subject (USER or API_TOKEN) */
|
|
3114
|
+
export enum SubjectType {
|
|
3115
|
+
ApiToken = 'API_TOKEN',
|
|
3116
|
+
User = 'USER'
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
export type SuccessResponse = {
|
|
3120
|
+
__typename?: 'SuccessResponse';
|
|
3121
|
+
status: Scalars['String']['output'];
|
|
2773
3122
|
};
|
|
2774
3123
|
|
|
2775
3124
|
export type Tag = {
|
|
@@ -2797,8 +3146,6 @@ export type Tag = {
|
|
|
2797
3146
|
name: Scalars['String']['output'];
|
|
2798
3147
|
/** The nesting level of the Tag. */
|
|
2799
3148
|
nestingLevel: Scalars['Int']['output'];
|
|
2800
|
-
/** Not yet implemented! */
|
|
2801
|
-
organization?: Maybe<Organization>;
|
|
2802
3149
|
/** The parent Tag of this Tag. */
|
|
2803
3150
|
parent?: Maybe<Tag>;
|
|
2804
3151
|
/** The ID of the parent Tag. Only null when this is a root Tag. */
|
|
@@ -2865,8 +3212,6 @@ export type Theme = {
|
|
|
2865
3212
|
channels: Array<Channel>;
|
|
2866
3213
|
createdAt: Scalars['DateTime']['output'];
|
|
2867
3214
|
name: Scalars['String']['output'];
|
|
2868
|
-
/** Not yet implemented! */
|
|
2869
|
-
organization?: Maybe<Organization>;
|
|
2870
3215
|
prn: Scalars['PRN']['output'];
|
|
2871
3216
|
repositoryUrl: Scalars['String']['output'];
|
|
2872
3217
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -2905,6 +3250,21 @@ export type ThemesFilterInput = {
|
|
|
2905
3250
|
updatedAt?: InputMaybe<Array<DateFilter>>;
|
|
2906
3251
|
};
|
|
2907
3252
|
|
|
3253
|
+
export type UpdateAccessibleContentItemInput = {
|
|
3254
|
+
/**
|
|
3255
|
+
* The values of the Content Item.
|
|
3256
|
+
* The keys are the Content Field slugs and the values are either directly the value (only possible if the Content Field has a validation rule that enforces a single type) or an object with valueTypeName and value.
|
|
3257
|
+
* Example value structure: `{ 'title': 'My Title', 'contentTypeField': 'prn:plate-dev:org-id:cms:content-type:123' }`
|
|
3258
|
+
* Example object structure: `{ 'title': { 'valueTypeName': 'STRING', 'value': 'My Title' }, 'contentTypeField': { 'valueTypeName': 'CONTENT_TYPE', 'value': 'prn:plate-dev:org-id:cms:content-type:123' } }`
|
|
3259
|
+
*/
|
|
3260
|
+
content?: InputMaybe<Scalars['JSON']['input']>;
|
|
3261
|
+
/** Whether the Content Item is a draft. Drafts are not validated against the Content Type's validation rules. */
|
|
3262
|
+
isDraft?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3263
|
+
prn: Scalars['String']['input'];
|
|
3264
|
+
/** The paths of the Tags to assign to the Content Item. */
|
|
3265
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3266
|
+
};
|
|
3267
|
+
|
|
2908
3268
|
export type UpdateAllowedValuesContentValidationRuleInput = {
|
|
2909
3269
|
prn: Scalars['PRN']['input'];
|
|
2910
3270
|
settings: AllowedValuesContentValidationRuleSettingsInput;
|
|
@@ -2916,7 +3276,8 @@ export type UpdateApiTokenInput = {
|
|
|
2916
3276
|
};
|
|
2917
3277
|
|
|
2918
3278
|
export type UpdateAssetInput = {
|
|
2919
|
-
|
|
3279
|
+
/** The alt text of the asset. */
|
|
3280
|
+
altText?: InputMaybe<Scalars['String']['input']>;
|
|
2920
3281
|
prn: Scalars['PRN']['input'];
|
|
2921
3282
|
};
|
|
2922
3283
|
|
|
@@ -2968,7 +3329,12 @@ export type UpdateContentExperienceInput = {
|
|
|
2968
3329
|
/** The PRN of the Path Part to publish this Content Experience to. The Channel the Path Part points to must have the same Theme as the current Path Part's Channel's Theme. */
|
|
2969
3330
|
pathPart?: InputMaybe<Scalars['PRN']['input']>;
|
|
2970
3331
|
preview?: InputMaybe<Scalars['PRN']['input']>;
|
|
3332
|
+
primaryContentItem?: InputMaybe<Scalars['PRN']['input']>;
|
|
2971
3333
|
prn: Scalars['PRN']['input'];
|
|
3334
|
+
/** The SEO description for the Content Experience. */
|
|
3335
|
+
seoDescription?: InputMaybe<Scalars['String']['input']>;
|
|
3336
|
+
/** The SEO title for the Content Experience. */
|
|
3337
|
+
seoTitle?: InputMaybe<Scalars['String']['input']>;
|
|
2972
3338
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2973
3339
|
tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
|
|
2974
3340
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2979,6 +3345,7 @@ export type UpdateContentFieldInput = {
|
|
|
2979
3345
|
/** The PRN of the ContentField that this ContentField should manually be sorted after. */
|
|
2980
3346
|
next?: InputMaybe<Scalars['PRN']['input']>;
|
|
2981
3347
|
prn: Scalars['PRN']['input'];
|
|
3348
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2982
3349
|
};
|
|
2983
3350
|
|
|
2984
3351
|
/** Note that in the near future this input will also allow for changing the ContentItem's ContentValues. */
|
|
@@ -2986,6 +3353,7 @@ export type UpdateContentItemInput = {
|
|
|
2986
3353
|
contentValuesToConnect?: InputMaybe<Array<ConnectContentValueInput>>;
|
|
2987
3354
|
contentValuesToCreate?: InputMaybe<Array<CreateContentValueForContentItemInput>>;
|
|
2988
3355
|
isDraft?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3356
|
+
primaryContentExperience?: InputMaybe<Scalars['PRN']['input']>;
|
|
2989
3357
|
prn: Scalars['PRN']['input'];
|
|
2990
3358
|
tags?: InputMaybe<Array<Scalars['PRN']['input']>>;
|
|
2991
3359
|
};
|
|
@@ -2996,6 +3364,7 @@ export type UpdateContentTypeInput = {
|
|
|
2996
3364
|
displayNameTemplate?: InputMaybe<Scalars['String']['input']>;
|
|
2997
3365
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
2998
3366
|
prn: Scalars['PRN']['input'];
|
|
3367
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2999
3368
|
};
|
|
3000
3369
|
|
|
3001
3370
|
export type UpdateContentValueInput = {
|
|
@@ -3036,7 +3405,9 @@ export type UpdateDecimalCountContentValidationRuleInput = {
|
|
|
3036
3405
|
export type UpdateExperienceComponentInput = {
|
|
3037
3406
|
/** !!!WARNING!!! If you update to a new Building Block, all existing Building Block Field Fulfillments will be removed! Content Values and Grid Placements will remain. */
|
|
3038
3407
|
buildingBlock?: InputMaybe<Scalars['PRN']['input']>;
|
|
3039
|
-
|
|
3408
|
+
fulfillmentsToConnect?: InputMaybe<Array<Scalars['PRN']['input']>>;
|
|
3409
|
+
fulfillmentsToCreate?: InputMaybe<Array<CreateBuildingBlockFieldFulfillmentForExperienceComponentInput>>;
|
|
3410
|
+
/** Whether the Experience Component is a draft. */
|
|
3040
3411
|
isDraft?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3041
3412
|
/** The name of the Experience Component. Only applicable for global Experience Components. */
|
|
3042
3413
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3122,6 +3493,17 @@ export type UpdateValueTypeContentValidationRuleInput = {
|
|
|
3122
3493
|
settings: ValueTypeContentValidationRuleSettingsInput;
|
|
3123
3494
|
};
|
|
3124
3495
|
|
|
3496
|
+
export type User = Subject & {
|
|
3497
|
+
__typename?: 'User';
|
|
3498
|
+
email: Scalars['String']['output'];
|
|
3499
|
+
id: Scalars['String']['output'];
|
|
3500
|
+
isPlateMaintainer: Scalars['Boolean']['output'];
|
|
3501
|
+
/** Can have values 'en' or 'nl'. */
|
|
3502
|
+
language: Scalars['String']['output'];
|
|
3503
|
+
name: Name;
|
|
3504
|
+
roleAssignments: Array<RoleAssignment>;
|
|
3505
|
+
};
|
|
3506
|
+
|
|
3125
3507
|
export type ValueTypeContentValidationRuleSettings = {
|
|
3126
3508
|
__typename?: 'ValueTypeContentValidationRuleSettings';
|
|
3127
3509
|
allowedTypes: Array<ContentValueTypeNames>;
|