@uniformdev/assets 20.70.0 → 20.71.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/dist/index.d.mts +207 -172
- package/dist/index.d.ts +207 -172
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -16,22 +16,25 @@ interface components$1 {
|
|
|
16
16
|
guidance?: string;
|
|
17
17
|
/** @description Type name of the parameter (provided by a Uniform integration) */
|
|
18
18
|
type: string;
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* @description If true, this property can have locale-specific values. If false or not defined,
|
|
20
21
|
* this property will have a single value that is shared for all locales
|
|
21
|
-
|
|
22
|
+
*/
|
|
22
23
|
localizable?: boolean;
|
|
23
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* @description When `localizable` is true, this property controls the default localizability of the property.
|
|
24
26
|
* true - when the property has no existing value, it will be in 'single value' mode and not store locale specific values
|
|
25
27
|
* false/undefined - when the property has no existing value, it will store separate values for each enabled locale
|
|
26
28
|
*
|
|
27
29
|
* If `localized` is false, this has no effect.
|
|
28
|
-
|
|
30
|
+
*/
|
|
29
31
|
notLocalizedByDefault?: boolean;
|
|
30
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* @description Enables creating additional conditional values for the parameter based on criteria such as dynamic inputs.
|
|
31
34
|
* When combined with a localized value, each locale has independent conditional values.
|
|
32
35
|
*
|
|
33
36
|
* When not defined, conditional values are not allowed.
|
|
34
|
-
|
|
37
|
+
*/
|
|
35
38
|
allowConditionalValues?: boolean;
|
|
36
39
|
/** @description The configuration object for the type (type-specific) */
|
|
37
40
|
typeConfig?: unknown;
|
|
@@ -46,17 +49,18 @@ interface components$1 {
|
|
|
46
49
|
/**
|
|
47
50
|
* @description Whether this slot inherits its allowed components from the parent slot it lives in. If true, `allowedComponents` is irrelevant.
|
|
48
51
|
* If `allowAllComponents` is true, this value is ignored
|
|
49
|
-
*
|
|
50
52
|
* @default false
|
|
51
53
|
*/
|
|
52
54
|
inheritAllowedComponents: boolean;
|
|
53
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* @description When false or not defined, only components in `allowedComponents` may be added to this slot - and if `allowedComponents` is empty, nothing can be added.
|
|
54
57
|
* When true, every component and pattern that is defined may be added to this slot regardless of any other setting including `inheritAllowedComponents`
|
|
55
|
-
|
|
58
|
+
*/
|
|
56
59
|
allowAllComponents?: boolean;
|
|
57
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* @description When not defined, or false: all patterns for components listed in `allowedComponents` are automatically allowed in the slot.
|
|
58
62
|
* When true: patterns for components listed in `allowedComponents` are not allowed in the slot unless explicitly added to `allowedComponents` as `$p:<patternid>`
|
|
59
|
-
|
|
63
|
+
*/
|
|
60
64
|
patternsInAllowedComponents?: boolean;
|
|
61
65
|
/** @description Minimum valid number of components in this slot */
|
|
62
66
|
minComponents?: number;
|
|
@@ -70,7 +74,6 @@ interface components$1 {
|
|
|
70
74
|
* no: slug is optional
|
|
71
75
|
* yes: slug is required
|
|
72
76
|
* disabled: slug is disabled and will not be shown in the editor
|
|
73
|
-
*
|
|
74
77
|
* @default no
|
|
75
78
|
* @enum {string}
|
|
76
79
|
*/
|
|
@@ -80,15 +83,15 @@ interface components$1 {
|
|
|
80
83
|
* no = no unique constraint
|
|
81
84
|
* local = must be unique within this component type
|
|
82
85
|
* global = must be unique across all component types
|
|
83
|
-
*
|
|
84
86
|
* @enum {string}
|
|
85
87
|
*/
|
|
86
88
|
unique?: "no" | "local" | "global";
|
|
87
89
|
/** @description Regular expression slugs must match */
|
|
88
90
|
regularExpression?: string;
|
|
89
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* @description Custom error message when regular expression validation fails.
|
|
90
93
|
* Has no effect if `regularExpression` is not set
|
|
91
|
-
|
|
94
|
+
*/
|
|
92
95
|
regularExpressionMessage?: string;
|
|
93
96
|
};
|
|
94
97
|
/** @description The definition of a component variant */
|
|
@@ -103,7 +106,6 @@ interface components$1 {
|
|
|
103
106
|
/**
|
|
104
107
|
* @description Permission type for this permission ComponentDefinition:
|
|
105
108
|
* read | write | create | delete
|
|
106
|
-
*
|
|
107
109
|
* @enum {string}
|
|
108
110
|
*/
|
|
109
111
|
permission: "read" | "write" | "create" | "delete";
|
|
@@ -123,13 +125,11 @@ interface components$1 {
|
|
|
123
125
|
/**
|
|
124
126
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
|
125
127
|
* The parameter type must support being used as a title parameter for this to work
|
|
126
|
-
*
|
|
127
128
|
* @default null
|
|
128
129
|
*/
|
|
129
130
|
titleParameter?: string | null;
|
|
130
131
|
/**
|
|
131
132
|
* @description The public ID of the parameter whose value should be used as a thumbnail for compositions of this component in the UI
|
|
132
|
-
*
|
|
133
133
|
* @default null
|
|
134
134
|
*/
|
|
135
135
|
thumbnailParameter?: string | null;
|
|
@@ -179,13 +179,13 @@ interface components$1 {
|
|
|
179
179
|
id: components$1["schemas"]["PublicIdProperty"];
|
|
180
180
|
/** @description Friendly name of the content type */
|
|
181
181
|
name: string;
|
|
182
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
|
|
183
184
|
* The field type must support being used as an entry name for this to work
|
|
184
|
-
|
|
185
|
+
*/
|
|
185
186
|
entryName?: string | null;
|
|
186
187
|
/**
|
|
187
188
|
* @description The public ID of the field whose value should be used as a thumbnail for entries of this content type in the UI
|
|
188
|
-
*
|
|
189
189
|
* @default null
|
|
190
190
|
*/
|
|
191
191
|
thumbnailField?: string | null;
|
|
@@ -251,20 +251,21 @@ interface components$1 {
|
|
|
251
251
|
type: string;
|
|
252
252
|
/** @deprecated */
|
|
253
253
|
connectedData?: components$1["schemas"]["DataElementConnectionDefinition"];
|
|
254
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* @description Locale-specific values for this parameter. Keys are locale codes, and values are the `value` in that locale.
|
|
255
256
|
* Note that locales must be registered on the entry/composition `_locales` before being used
|
|
256
|
-
|
|
257
|
+
*/
|
|
257
258
|
locales?: {
|
|
258
259
|
[key: string]: unknown;
|
|
259
260
|
};
|
|
260
261
|
conditions?: components$1["schemas"]["ComponentParameterConditions"];
|
|
261
|
-
/** @description Locale-specific conditional values for this parameter. Keys are locale codes, and values are the `conditions` for that locale.
|
|
262
|
-
* */
|
|
262
|
+
/** @description Locale-specific conditional values for this parameter. Keys are locale codes, and values are the `conditions` for that locale. */
|
|
263
263
|
localesConditions?: {
|
|
264
264
|
[key: string]: components$1["schemas"]["ComponentParameterConditions"];
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* @description Array of alternate values which are based on conditions.
|
|
268
269
|
*
|
|
269
270
|
* When requested with an explicit locale parameter, or via the route API:
|
|
270
271
|
* * Conditions are evaluated sequentially and the first match is used. If a match is found, the conditions are eliminated.
|
|
@@ -272,19 +273,20 @@ interface components$1 {
|
|
|
272
273
|
* * If a condition cannot be evaluated yet (i.e. a client-side criteria), it is left alone.
|
|
273
274
|
*
|
|
274
275
|
* When no locale is passed to a non-route API, conditions are not processed and all conditions are returned.
|
|
275
|
-
|
|
276
|
+
*/
|
|
276
277
|
ComponentParameterConditions: components$1["schemas"]["ComponentParameterConditionalValue"][];
|
|
277
|
-
/** @description Defines a conditional value for a component parameter
|
|
278
|
-
* */
|
|
278
|
+
/** @description Defines a conditional value for a component parameter */
|
|
279
279
|
ComponentParameterConditionalValue: {
|
|
280
280
|
when: components$1["schemas"]["VisibilityCriteriaGroup"];
|
|
281
|
-
/**
|
|
281
|
+
/**
|
|
282
|
+
* @description The value of the parameter. Any JSON-serializable value is acceptable.
|
|
282
283
|
* A value of `null` will cause the parameter value to be removed, if it matches.
|
|
283
|
-
|
|
284
|
+
*/
|
|
284
285
|
value: unknown;
|
|
285
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* @description Unique sequence identifier of the conditional value within the component parameter.
|
|
286
288
|
* This value must be unique within the conditional values array, and it should not change after a condition is created.
|
|
287
|
-
|
|
289
|
+
*/
|
|
288
290
|
id: number;
|
|
289
291
|
};
|
|
290
292
|
/**
|
|
@@ -306,17 +308,17 @@ interface components$1 {
|
|
|
306
308
|
VisibilityCriteria: {
|
|
307
309
|
/** @description The rule type to execute */
|
|
308
310
|
rule: string;
|
|
309
|
-
/**
|
|
311
|
+
/**
|
|
312
|
+
* @description The source value of the rule.
|
|
310
313
|
* For rules which have multiple classes of match, for example a dynamic input matches on a named DI, the rule is dynamic input and the DI name is the source.
|
|
311
|
-
|
|
314
|
+
*/
|
|
312
315
|
source?: string;
|
|
313
316
|
/** @description The rule-definition-specific operator to test against */
|
|
314
317
|
op: string;
|
|
315
318
|
/** @description The value, or if an array several potential values, to test against. In most rules, multiple values are OR'd together ('any of') but this is not a hard requirement. */
|
|
316
319
|
value: string | string[];
|
|
317
320
|
};
|
|
318
|
-
/** @description Defines a connection to a dynamic token on a data resource
|
|
319
|
-
* */
|
|
321
|
+
/** @description Defines a connection to a dynamic token on a data resource */
|
|
320
322
|
DataElementConnectionDefinition: {
|
|
321
323
|
/** @description A JSON Pointer expression that defines the data resource dynamic token value */
|
|
322
324
|
pointer: string;
|
|
@@ -336,7 +338,6 @@ interface components$1 {
|
|
|
336
338
|
* NOTE: If a 'component' failure occurs on the root component of a composition, or an entry,
|
|
337
339
|
* it is treated as an 'a' failure because removing the root means we must remove all
|
|
338
340
|
* - a: ALL: Fails the whole entry or composition. This will result in the item returning a 404 from APIs, and being removed from API list responses
|
|
339
|
-
*
|
|
340
341
|
* @enum {string}
|
|
341
342
|
*/
|
|
342
343
|
failureAction?: "t" | "p" | "c" | "a";
|
|
@@ -345,13 +346,13 @@ interface components$1 {
|
|
|
345
346
|
* - e: ERROR: Report an error message (this will prevent publishing)
|
|
346
347
|
* - w: WARNING: Report a warning message [default]
|
|
347
348
|
* - i: INFO: Log an informative message (failure is expected/normal, i.e. optional data)
|
|
348
|
-
*
|
|
349
349
|
* @enum {string}
|
|
350
350
|
*/
|
|
351
351
|
failureLogLevel?: "e" | "w" | "i";
|
|
352
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* @description The default value to use if the dynamic token cannot be resolved.
|
|
353
354
|
* This is only used if the failureAction is the default (undefined, or explicitly token)
|
|
354
|
-
|
|
355
|
+
*/
|
|
355
356
|
failureDefault?: string;
|
|
356
357
|
};
|
|
357
358
|
/** @description Defines the shape of a component instance served by the composition API */
|
|
@@ -368,23 +369,26 @@ interface components$1 {
|
|
|
368
369
|
slots?: {
|
|
369
370
|
[key: string]: components$1["schemas"]["ComponentInstance"][];
|
|
370
371
|
};
|
|
371
|
-
/**
|
|
372
|
+
/**
|
|
373
|
+
* @description Unique identifier of the component within the composition.
|
|
372
374
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
|
373
375
|
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
|
374
376
|
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you
|
|
375
|
-
|
|
377
|
+
*/
|
|
376
378
|
_id?: string;
|
|
377
379
|
/** @description Indicates this component instance should be sourced from a pattern library pattern */
|
|
378
380
|
_pattern?: string;
|
|
379
381
|
_dataResources?: components$1["schemas"]["DataResourceDefinitions"];
|
|
380
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* @description Data definitions coming from a pattern resolved for this component. Merged with _dataResources during resolution.
|
|
381
384
|
* Means nothing for PUTs; it will be ignored
|
|
382
|
-
|
|
385
|
+
*/
|
|
383
386
|
_patternDataResources?: {
|
|
384
387
|
[key: string]: components$1["schemas"]["DataResourceDefinition"];
|
|
385
388
|
};
|
|
386
389
|
_patternError?: components$1["schemas"]["PatternError"];
|
|
387
|
-
/**
|
|
390
|
+
/**
|
|
391
|
+
* @description Defines patch overrides to component IDs that live in the composition.
|
|
388
392
|
* This can be used to override parameters that are defined on patterns,
|
|
389
393
|
* including nested patterns, with values that are specific to this composition.
|
|
390
394
|
* The keys in this object are component IDs.
|
|
@@ -394,22 +398,24 @@ interface components$1 {
|
|
|
394
398
|
*
|
|
395
399
|
* NOTE: This is considered an internal data structure and is not guaranteed to be stable.
|
|
396
400
|
* Future updates that do not break the overrides-applied state of a composition may be made without notice
|
|
397
|
-
|
|
401
|
+
*/
|
|
398
402
|
_overrides?: {
|
|
399
403
|
[key: string]: components$1["schemas"]["ComponentOverride"];
|
|
400
404
|
};
|
|
401
|
-
/**
|
|
405
|
+
/**
|
|
406
|
+
* @description Overrides coming from a pattern resolved for this component. Merged with _overrides during resolution.
|
|
402
407
|
* Means nothing for PUTs; it will be ignored
|
|
403
|
-
|
|
408
|
+
*/
|
|
404
409
|
_patternOverrides?: {
|
|
405
410
|
[key: string]: components$1["schemas"]["ComponentOverride"];
|
|
406
411
|
};
|
|
407
|
-
/**
|
|
412
|
+
/**
|
|
413
|
+
* @description When used on a pattern, defines how the pattern's parameters may be overridden
|
|
408
414
|
* by consumers of the pattern.
|
|
409
415
|
*
|
|
410
416
|
* NOTE: This is considered an internal data structure and is not guaranteed to be stable.
|
|
411
417
|
* Future updates that do not break the overrides-applied state of a composition may be made without notice
|
|
412
|
-
|
|
418
|
+
*/
|
|
413
419
|
_overridability?: components$1["schemas"]["ComponentOverridability"];
|
|
414
420
|
/** @description Array of locales that have data defined. Only set for pattern references or composition defaults */
|
|
415
421
|
_locales?: string[];
|
|
@@ -446,15 +452,17 @@ interface components$1 {
|
|
|
446
452
|
_creatorSubject?: string;
|
|
447
453
|
/** @description Indicates this component instance should be sourced from a pattern library pattern */
|
|
448
454
|
_pattern?: string;
|
|
449
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* @description Data definitions coming from a pattern resolved for this component. Merged with _dataResources during resolution.
|
|
450
457
|
* Means nothing for PUTs; it will be ignored
|
|
451
|
-
|
|
458
|
+
*/
|
|
452
459
|
_patternDataResources?: {
|
|
453
460
|
[key: string]: components$1["schemas"]["DataResourceDefinition"];
|
|
454
461
|
};
|
|
455
462
|
_dataResources?: components$1["schemas"]["DataResourceDefinitions"];
|
|
456
463
|
_patternError?: components$1["schemas"]["PatternError"];
|
|
457
|
-
/**
|
|
464
|
+
/**
|
|
465
|
+
* @description Defines patch overrides to component IDs that live in the composition.
|
|
458
466
|
* This can be used to override parameters that are defined on patterns,
|
|
459
467
|
* including nested patterns, with values that are specific to this composition.
|
|
460
468
|
* The keys in this object are component IDs.
|
|
@@ -464,31 +472,34 @@ interface components$1 {
|
|
|
464
472
|
*
|
|
465
473
|
* NOTE: This is considered an internal data structure and is not guaranteed to be stable.
|
|
466
474
|
* Future updates that do not break the overrides-applied state of a composition may be made without notice
|
|
467
|
-
|
|
475
|
+
*/
|
|
468
476
|
_overrides?: {
|
|
469
477
|
[key: string]: components$1["schemas"]["ComponentOverride"];
|
|
470
478
|
};
|
|
471
|
-
/**
|
|
479
|
+
/**
|
|
480
|
+
* @description Overrides coming from a pattern resolved for this component. Merged with _overrides during resolution.
|
|
472
481
|
* Means nothing for PUTs; it will be ignored
|
|
473
|
-
|
|
482
|
+
*/
|
|
474
483
|
_patternOverrides?: {
|
|
475
484
|
[key: string]: components$1["schemas"]["ComponentOverride"];
|
|
476
485
|
};
|
|
477
|
-
/**
|
|
486
|
+
/**
|
|
487
|
+
* @description When used on a pattern, defines how the pattern's parameters may be overridden
|
|
478
488
|
* by consumers of the pattern.
|
|
479
489
|
*
|
|
480
490
|
* NOTE: This is considered an internal data structure and is not guaranteed to be stable.
|
|
481
491
|
* Future updates that do not break the overrides-applied state of a composition may be made without notice
|
|
482
|
-
|
|
492
|
+
*/
|
|
483
493
|
_overridability?: components$1["schemas"]["ComponentOverridability"];
|
|
484
494
|
/** @description Array of locales which have data defined on the composition. If empty, the current default locale implicitly has data */
|
|
485
495
|
_locales?: string[];
|
|
486
496
|
};
|
|
487
|
-
/**
|
|
497
|
+
/**
|
|
498
|
+
* @description Defines how to override a specific component.
|
|
488
499
|
*
|
|
489
500
|
* NOTE: This is considered an internal data structure and is not guaranteed to be stable.
|
|
490
501
|
* Future updates that do not break the overrides-applied state of a composition may be made without notice
|
|
491
|
-
|
|
502
|
+
*/
|
|
492
503
|
ComponentOverride: {
|
|
493
504
|
parameters?: {
|
|
494
505
|
[key: string]: components$1["schemas"]["ComponentParameter"];
|
|
@@ -497,20 +508,22 @@ interface components$1 {
|
|
|
497
508
|
[key: string]: components$1["schemas"]["ComponentInstance"][];
|
|
498
509
|
};
|
|
499
510
|
variant?: string;
|
|
500
|
-
/**
|
|
511
|
+
/**
|
|
512
|
+
* @description Overrides data resource definitions for a pattern component.
|
|
501
513
|
* Object keys defined under this property override the corresponding keys in the pattern's data resources.
|
|
502
514
|
* Overrides defined here replace values in either _dataResources or _patternDataResources on the target component.
|
|
503
|
-
|
|
515
|
+
*/
|
|
504
516
|
dataResources?: {
|
|
505
517
|
[key: string]: components$1["schemas"]["DataResourceDefinition"];
|
|
506
518
|
};
|
|
507
519
|
};
|
|
508
|
-
/**
|
|
520
|
+
/**
|
|
521
|
+
* @description Defines how a component on a pattern may have its values overridden.
|
|
509
522
|
* NOTE: Data resources' overridability is defined in the data resource definition, not here.
|
|
510
523
|
*
|
|
511
524
|
* NOTE: This is considered an internal data structure and is not guaranteed to be stable.
|
|
512
525
|
* Future updates that do not break the overrides-applied state of a composition may be made without notice
|
|
513
|
-
|
|
526
|
+
*/
|
|
514
527
|
ComponentOverridability: {
|
|
515
528
|
/** @description Defines component parameter value overrides. Keys are the parameter public ID */
|
|
516
529
|
parameters?: {
|
|
@@ -518,10 +531,11 @@ interface components$1 {
|
|
|
518
531
|
};
|
|
519
532
|
/** @description Allows overriding a display variant is allowed if it is defined on the component the pattern is derived from. Default = false */
|
|
520
533
|
variants?: boolean;
|
|
521
|
-
/**
|
|
534
|
+
/**
|
|
535
|
+
* @description If true, parameters that are not overridable will be hidden by default on pattern instances' editors.
|
|
522
536
|
* If false, all parameters will be shown on pattern instances' editors, but locked parameters will be read-only.
|
|
523
537
|
* If not set, the default is false
|
|
524
|
-
|
|
538
|
+
*/
|
|
525
539
|
hideLockedParameters?: boolean;
|
|
526
540
|
};
|
|
527
541
|
/**
|
|
@@ -529,12 +543,10 @@ interface components$1 {
|
|
|
529
543
|
*
|
|
530
544
|
* NOTE: This is considered an internal data structure and is not guaranteed to be stable.
|
|
531
545
|
* Future updates that do not break the overrides-applied state of a composition may be made without notice
|
|
532
|
-
*
|
|
533
546
|
* @enum {string}
|
|
534
547
|
*/
|
|
535
548
|
OverrideOptions: "yes" | "no";
|
|
536
|
-
/** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data.
|
|
537
|
-
* */
|
|
549
|
+
/** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data. */
|
|
538
550
|
AlternativeDataSourceData: {
|
|
539
551
|
/** @description Base resource URL of the data source. No trailing slash */
|
|
540
552
|
baseUrl: string;
|
|
@@ -555,11 +567,12 @@ interface components$1 {
|
|
|
555
567
|
[key: string]: components$1["schemas"]["DataVariableDefinition"];
|
|
556
568
|
};
|
|
557
569
|
};
|
|
558
|
-
/**
|
|
570
|
+
/**
|
|
571
|
+
* @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
|
|
559
572
|
* These are created in the UI and shared across a whole project.
|
|
560
573
|
* NOTE: If you acquire a list of data sources or do not have manage permissions, you will receive "SECRET"
|
|
561
574
|
* for all header, parameter, and variable values to obscure the actual encrypted secret value
|
|
562
|
-
|
|
575
|
+
*/
|
|
563
576
|
DataSource: {
|
|
564
577
|
/** @description Public ID of the data source */
|
|
565
578
|
id: string;
|
|
@@ -583,15 +596,17 @@ interface components$1 {
|
|
|
583
596
|
variables?: {
|
|
584
597
|
[key: string]: components$1["schemas"]["DataVariableDefinition"];
|
|
585
598
|
};
|
|
586
|
-
/**
|
|
599
|
+
/**
|
|
600
|
+
* @description Mapping of locale codes to data source locale codes. Keys are Uniform locale codes, values are data source locale codes.
|
|
587
601
|
* If a locale is not mapped, it will be passed through to the data source as-is
|
|
588
|
-
|
|
602
|
+
*/
|
|
589
603
|
localeMapping?: {
|
|
590
604
|
[key: string]: string;
|
|
591
605
|
};
|
|
592
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* @description If true, data source will require additional credentials to access unpublished data.
|
|
593
608
|
* If false, no additional data source credentials are required and data resources of this data source won't be able to access unpublished data.
|
|
594
|
-
|
|
609
|
+
*/
|
|
595
610
|
enableUnpublishedMode?: boolean;
|
|
596
611
|
/** @description Custom configuration accessible to all data connector UIs (data source, data type, and data resource editors) and custom edgehancers. This data should not contain secrets */
|
|
597
612
|
customPublic?: {
|
|
@@ -622,10 +637,11 @@ interface components$1 {
|
|
|
622
637
|
displayName: string;
|
|
623
638
|
/** @description Public ID of the associated data source */
|
|
624
639
|
dataSourceId: string;
|
|
625
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* @description A connector-specific archetype for this data type; used to select UI as well as perform any
|
|
626
642
|
* necessary post-processing on the response. e.g. 'cms-entry', 'cms-query'. Can be undefined if
|
|
627
643
|
* no special UI or processing is required
|
|
628
|
-
|
|
644
|
+
*/
|
|
629
645
|
archetype?: string;
|
|
630
646
|
allowedOnComponents?: string[];
|
|
631
647
|
/** @description Resource path, appended to the data source's baseUrl (e.g. baseUrl = https://base.url, path = /v1/endpoint -> final URL https://base.url/v1/endpoint). Must have a leading slash */
|
|
@@ -688,14 +704,16 @@ interface components$1 {
|
|
|
688
704
|
default: string;
|
|
689
705
|
/** @description Sets the order of the variable when displayed in a list with other variables. If not set, the order defaults to alphabetical with any explicitly set orders first in the list */
|
|
690
706
|
order?: number;
|
|
691
|
-
/**
|
|
707
|
+
/**
|
|
708
|
+
* @description An optional arbitrary human readable source identifier to describe where this variable is from.
|
|
692
709
|
* Some user interfaces may group variables by source value, for example 'From URL' or 'My Integration'
|
|
693
|
-
|
|
710
|
+
*/
|
|
694
711
|
source?: string;
|
|
695
712
|
};
|
|
696
|
-
/**
|
|
713
|
+
/**
|
|
714
|
+
* @description Data definitions attached to this component. The property name is the key of the data in the data document.
|
|
697
715
|
* Note: data definitions are inherited from ancestors at runtime (and may be overridden by descendants that use the same key)
|
|
698
|
-
|
|
716
|
+
*/
|
|
699
717
|
DataResourceDefinitions: {
|
|
700
718
|
[key: string]: components$1["schemas"]["DataResourceDefinition"];
|
|
701
719
|
};
|
|
@@ -705,14 +723,16 @@ interface components$1 {
|
|
|
705
723
|
type: string;
|
|
706
724
|
/** @description Whether this data is a pattern data resource that can be overridden when a pattern is referenced on another composition. If this is not a pattern composition, this has no meaning and should not be used. If unspecified, the default is false */
|
|
707
725
|
isPatternParameter?: boolean;
|
|
708
|
-
/**
|
|
726
|
+
/**
|
|
727
|
+
* @description When true, the default data resource of a pattern data parameter (isPatternParameter=true) will be ignored when the pattern is referenced.
|
|
709
728
|
* Unless specifically overridden, the pattern data parameter will be provided with a null default value - leaving any data connections to it unresolvable.
|
|
710
729
|
* If isPatternParameter is false or undefined, this has no meaning
|
|
711
|
-
|
|
730
|
+
*/
|
|
712
731
|
ignorePatternParameterDefault?: boolean;
|
|
713
|
-
/**
|
|
732
|
+
/**
|
|
733
|
+
* @description When true, the data resource does not create an error forcing the choosing of override value when there is no default.
|
|
714
734
|
* If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
|
|
715
|
-
|
|
735
|
+
*/
|
|
716
736
|
optionalPatternParameter?: boolean;
|
|
717
737
|
variables?: components$1["schemas"]["DataResourceVariables"];
|
|
718
738
|
};
|
|
@@ -725,14 +745,14 @@ interface components$1 {
|
|
|
725
745
|
* CYCLIC: A cyclic pattern graph was detected, which could not be resolved because it would cause an infinite loop.
|
|
726
746
|
* NOTFOUND: The pattern ID referenced could not be found. It may have been deleted, en published yet.
|
|
727
747
|
* Means nothing for PUTs; it will be ignored
|
|
728
|
-
*
|
|
729
748
|
* @enum {string}
|
|
730
749
|
*/
|
|
731
750
|
PatternError: "NOTFOUND" | "CYCLIC";
|
|
732
751
|
HistoryApiResponse: {
|
|
733
|
-
/**
|
|
752
|
+
/**
|
|
753
|
+
* @description If there are more results, this will be populated with a token to pass in the next request to get the next page of results.
|
|
734
754
|
* If this is undefined then no more results are available
|
|
735
|
-
|
|
755
|
+
*/
|
|
736
756
|
cursor?: string;
|
|
737
757
|
/** @description If more history is available than your plan allows, and additional entries are available by upgrading, this will be true */
|
|
738
758
|
truncated?: boolean;
|
|
@@ -772,9 +792,10 @@ interface components$1 {
|
|
|
772
792
|
* @description Unique identifier for the project map node
|
|
773
793
|
*/
|
|
774
794
|
id: string;
|
|
775
|
-
/**
|
|
795
|
+
/**
|
|
796
|
+
* @description Fallback path of the project map node.
|
|
776
797
|
* Note that the node may have matched via a locale-specific path which is in the `locales` object
|
|
777
|
-
|
|
798
|
+
*/
|
|
778
799
|
path: string;
|
|
779
800
|
/**
|
|
780
801
|
* Format: uuid
|
|
@@ -782,15 +803,15 @@ interface components$1 {
|
|
|
782
803
|
*/
|
|
783
804
|
projectMapId: string;
|
|
784
805
|
data?: components$1["schemas"]["ProjectMapNodeData"];
|
|
785
|
-
/**
|
|
806
|
+
/**
|
|
807
|
+
* @description Locale-specific paths of the project map node.
|
|
786
808
|
* Keys are locale codes
|
|
787
|
-
|
|
809
|
+
*/
|
|
788
810
|
locales?: {
|
|
789
811
|
[key: string]: {
|
|
790
812
|
/** @description Locale-specific path of the project map node */
|
|
791
813
|
path: string;
|
|
792
|
-
/** @description Whether the path is inherited from a parent node which defined a path segment in this locale
|
|
793
|
-
* */
|
|
814
|
+
/** @description Whether the path is inherited from a parent node which defined a path segment in this locale */
|
|
794
815
|
inherited: boolean;
|
|
795
816
|
};
|
|
796
817
|
};
|
|
@@ -841,44 +862,50 @@ interface components$1 {
|
|
|
841
862
|
modified?: string;
|
|
842
863
|
/** @description Created ISO date string for this definition (ignored for writes) */
|
|
843
864
|
created?: string;
|
|
844
|
-
/**
|
|
865
|
+
/**
|
|
866
|
+
* @description Name of the original creator of the workflow.
|
|
845
867
|
* If undefined, the user has been removed from the team.
|
|
846
868
|
* Ignored for writes
|
|
847
|
-
|
|
869
|
+
*/
|
|
848
870
|
createdBy?: string;
|
|
849
|
-
/**
|
|
871
|
+
/**
|
|
872
|
+
* @description Name of the last modifier of the workflow.
|
|
850
873
|
* If undefined, the user has been removed from the team.
|
|
851
874
|
* Ignored for writes
|
|
852
|
-
|
|
875
|
+
*/
|
|
853
876
|
modifiedBy?: string;
|
|
854
877
|
};
|
|
855
878
|
/** @description Definition of a stage in a workflow */
|
|
856
879
|
WorkflowStage: {
|
|
857
880
|
/** @description Name of the stage */
|
|
858
881
|
name: string;
|
|
859
|
-
/**
|
|
882
|
+
/**
|
|
883
|
+
* @description Defines roles which have permissions to this workflow stage
|
|
860
884
|
* NOTE: Being able to write or publish to entities in a workflow stage requires both core write or publish permissions,
|
|
861
885
|
* as well as membership in a role which grants the explicit rights to the stage. If a user is not a member of any role
|
|
862
886
|
* listed here, the stage is read-only and publishing is disabled
|
|
863
|
-
|
|
887
|
+
*/
|
|
864
888
|
permissions: {
|
|
865
889
|
[key: string]: components$1["schemas"]["WorkflowStagePermission"];
|
|
866
890
|
};
|
|
867
|
-
/**
|
|
891
|
+
/**
|
|
892
|
+
* @description When true, transitioning into this stage from a different stage will automatically publish the entity.
|
|
868
893
|
* If the user making the transition does not have publish permissions to the stage as well as publish permission on the entity, the action will not run.
|
|
869
894
|
* Setting this to true is equivalent to setting requireValidity to true, as publishing cannot be performed with validation errors.
|
|
870
895
|
* NOTE: This is not executed by direct API calls. Only the Uniform UI performs this action
|
|
871
|
-
|
|
896
|
+
*/
|
|
872
897
|
autoPublish?: boolean;
|
|
873
|
-
/**
|
|
898
|
+
/**
|
|
899
|
+
* @description When true, transitioning into this stage from a different stage will require the entity to have no validation errors.
|
|
874
900
|
* If the entity is not valid, the transition will not be allowed.
|
|
875
901
|
* NOTE: This is not executed by direct API calls. Only the Uniform UI performs this action
|
|
876
|
-
|
|
902
|
+
*/
|
|
877
903
|
requireValidity?: boolean;
|
|
878
|
-
/**
|
|
904
|
+
/**
|
|
905
|
+
* @description Defines transitions to other stages
|
|
879
906
|
* Every stage must define at least one transition, to avoid creating a workflow that
|
|
880
907
|
* has a stage that can never be escaped
|
|
881
|
-
|
|
908
|
+
*/
|
|
882
909
|
transitions: components$1["schemas"]["WorkflowStageTransition"][];
|
|
883
910
|
/**
|
|
884
911
|
* @description Icon name for the stage (e.g. 'chevron-double-right-o')
|
|
@@ -895,13 +922,15 @@ interface components$1 {
|
|
|
895
922
|
* @description The target stage to transition to
|
|
896
923
|
*/
|
|
897
924
|
to: string;
|
|
898
|
-
/**
|
|
925
|
+
/**
|
|
926
|
+
* @description Name shown to the user when they execute this transition.
|
|
899
927
|
* If not provided, a default name will be assigned automatically based on the target stage
|
|
900
|
-
|
|
928
|
+
*/
|
|
901
929
|
name: string;
|
|
902
|
-
/**
|
|
930
|
+
/**
|
|
931
|
+
* @description Permissions for the stage transition.
|
|
903
932
|
* NOTE: Users without membership in any role listed here will be unable to execute the transition unless they are team admins
|
|
904
|
-
|
|
933
|
+
*/
|
|
905
934
|
permissions: {
|
|
906
935
|
[key: string]: components$1["schemas"]["WorkflowStageTransitionPermission"];
|
|
907
936
|
};
|
|
@@ -949,10 +978,11 @@ interface components$1 {
|
|
|
949
978
|
isSearchHit?: boolean;
|
|
950
979
|
/** @description Query strings that are allowed to be passed to the node */
|
|
951
980
|
queryStrings?: components$1["schemas"]["ProjectMapNodeAllowedQueryString"][];
|
|
952
|
-
/**
|
|
981
|
+
/**
|
|
982
|
+
* @description For dynamic nodes, this is the preview value for the dynamic value.
|
|
953
983
|
* The preview value is used when editing a connected composition, and is the default
|
|
954
984
|
* dynamic node value unless the author has explicitly chosen a different value
|
|
955
|
-
|
|
985
|
+
*/
|
|
956
986
|
previewValue?: string;
|
|
957
987
|
};
|
|
958
988
|
};
|
|
@@ -978,28 +1008,28 @@ interface paths {
|
|
|
978
1008
|
assetId?: components["parameters"]["assetId"];
|
|
979
1009
|
/** @description Specify multiple asset IDs to fetch. Response type will be a list */
|
|
980
1010
|
assetIDs?: components["parameters"]["assetIDs"];
|
|
981
|
-
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject
|
|
982
|
-
* */
|
|
1011
|
+
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject */
|
|
983
1012
|
createdBy?: components["parameters"]["createdBy"];
|
|
984
|
-
/**
|
|
1013
|
+
/**
|
|
1014
|
+
* @description Matches assets where their name or description contains the specified keyword.
|
|
985
1015
|
* This is a list query parameter, and cannot be used with any primary query parameters
|
|
986
|
-
|
|
1016
|
+
*/
|
|
987
1017
|
keyword?: components["parameters"]["keyword"];
|
|
988
1018
|
/**
|
|
989
1019
|
* @deprecated
|
|
990
1020
|
* @description BETA: Semantic search using vector similarity to find assets by meaning.
|
|
991
1021
|
* Use this for "images of mountains" style queries.
|
|
992
1022
|
* Requires AI credits.
|
|
993
|
-
*
|
|
994
1023
|
*/
|
|
995
1024
|
searchSemantic?: components["parameters"]["searchSemantic"];
|
|
996
1025
|
/** @description Max number of records to return */
|
|
997
1026
|
limit?: components["parameters"]["limit"];
|
|
998
1027
|
/** @description Number of records to skip */
|
|
999
1028
|
offset?: components["parameters"]["offset"];
|
|
1000
|
-
/**
|
|
1029
|
+
/**
|
|
1030
|
+
* @description Sets the sorting of the results. If unspecified, results are sorted by creation date ascending.
|
|
1001
1031
|
* Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC, name_DESC, name_ASC, slug_DESC, slug_ASC, relevance_DESC (when searching).
|
|
1002
|
-
|
|
1032
|
+
*/
|
|
1003
1033
|
orderBy?: components["parameters"]["orderBy"];
|
|
1004
1034
|
/**
|
|
1005
1035
|
* @deprecated
|
|
@@ -1010,31 +1040,32 @@ interface paths {
|
|
|
1010
1040
|
projectId: components["parameters"]["projectId"];
|
|
1011
1041
|
/** @description The asset type ID to filter by */
|
|
1012
1042
|
type?: components["parameters"]["type"];
|
|
1013
|
-
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject
|
|
1014
|
-
* */
|
|
1043
|
+
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject */
|
|
1015
1044
|
updatedBy?: components["parameters"]["updatedBy"];
|
|
1016
|
-
/**
|
|
1045
|
+
/**
|
|
1046
|
+
* @description Controls whether the total count of results will be returned along with the current results page in a list.
|
|
1017
1047
|
* Has no effect when not fetching a list. This does impact performance when enabled
|
|
1018
|
-
|
|
1048
|
+
*/
|
|
1019
1049
|
withTotalCount?: components["parameters"]["withTotalCount"];
|
|
1020
|
-
/**
|
|
1050
|
+
/**
|
|
1051
|
+
* @description The ID of a release to fetch the content for.
|
|
1021
1052
|
*
|
|
1022
1053
|
* - When unspecified, all release content is excluded from the result(s).
|
|
1023
1054
|
* - When specified, all content is returned as it would appear in the release if it was released now. This includes both content copied to the release and changed, as well as content that is not part of the release.
|
|
1024
1055
|
*
|
|
1025
1056
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be undefined
|
|
1026
|
-
|
|
1057
|
+
*/
|
|
1027
1058
|
releaseId?: components["parameters"]["releaseId"];
|
|
1028
|
-
/**
|
|
1059
|
+
/**
|
|
1060
|
+
* @description When true, includes full label entities in the response for UI rendering.
|
|
1029
1061
|
* The assignedLabels array includes the label and its parent group (if any).
|
|
1030
1062
|
* This parameter is not supported with uniform.global.
|
|
1031
|
-
|
|
1063
|
+
*/
|
|
1032
1064
|
withAssignedLabels?: components["parameters"]["withAssignedLabels"];
|
|
1033
1065
|
/**
|
|
1034
1066
|
* @deprecated
|
|
1035
1067
|
* @description Returns additional author and creator metadata for the asset.
|
|
1036
1068
|
* This internal status is subject to change without notice and is thus marked deprecated to discourage use of internal data
|
|
1037
|
-
*
|
|
1038
1069
|
*/
|
|
1039
1070
|
withUIStatus?: components["parameters"]["withUIStatus"];
|
|
1040
1071
|
};
|
|
@@ -1139,7 +1170,6 @@ interface paths {
|
|
|
1139
1170
|
* Format: uuid
|
|
1140
1171
|
* @description The ID of the release the asset to delete belongs to. If unspecified the asset belongs to the base.
|
|
1141
1172
|
* Note: deleting an asset from a release will not delete the asset from the base
|
|
1142
|
-
*
|
|
1143
1173
|
*/
|
|
1144
1174
|
releaseId?: string;
|
|
1145
1175
|
};
|
|
@@ -1368,8 +1398,7 @@ interface components {
|
|
|
1368
1398
|
};
|
|
1369
1399
|
};
|
|
1370
1400
|
};
|
|
1371
|
-
/** @description Defines a connection to a dynamic token on a data resource
|
|
1372
|
-
* */
|
|
1401
|
+
/** @description Defines a connection to a dynamic token on a data resource */
|
|
1373
1402
|
DataElementConnectionDefinition: {
|
|
1374
1403
|
/** @description A JSON Pointer expression that defines the data resource dynamic token value */
|
|
1375
1404
|
pointer: string;
|
|
@@ -1389,7 +1418,6 @@ interface components {
|
|
|
1389
1418
|
* NOTE: If a 'component' failure occurs on the root component of a composition, or an entry,
|
|
1390
1419
|
* it is treated as an 'a' failure because removing the root means we must remove all
|
|
1391
1420
|
* - a: ALL: Fails the whole entry or composition. This will result in the item returning a 404 from APIs, and being removed from API list responses
|
|
1392
|
-
*
|
|
1393
1421
|
* @enum {string}
|
|
1394
1422
|
*/
|
|
1395
1423
|
failureAction?: "t" | "p" | "c" | "a";
|
|
@@ -1398,13 +1426,13 @@ interface components {
|
|
|
1398
1426
|
* - e: ERROR: Report an error message (this will prevent publishing)
|
|
1399
1427
|
* - w: WARNING: Report a warning message [default]
|
|
1400
1428
|
* - i: INFO: Log an informative message (failure is expected/normal, i.e. optional data)
|
|
1401
|
-
*
|
|
1402
1429
|
* @enum {string}
|
|
1403
1430
|
*/
|
|
1404
1431
|
failureLogLevel?: "e" | "w" | "i";
|
|
1405
|
-
/**
|
|
1432
|
+
/**
|
|
1433
|
+
* @description The default value to use if the dynamic token cannot be resolved.
|
|
1406
1434
|
* This is only used if the failureAction is the default (undefined, or explicitly token)
|
|
1407
|
-
|
|
1435
|
+
*/
|
|
1408
1436
|
failureDefault?: string;
|
|
1409
1437
|
};
|
|
1410
1438
|
/**
|
|
@@ -1414,9 +1442,10 @@ interface components {
|
|
|
1414
1442
|
VisibilityCriteria: {
|
|
1415
1443
|
/** @description The rule type to execute */
|
|
1416
1444
|
rule: string;
|
|
1417
|
-
/**
|
|
1445
|
+
/**
|
|
1446
|
+
* @description The source value of the rule.
|
|
1418
1447
|
* For rules which have multiple classes of match, for example a dynamic input matches on a named DI, the rule is dynamic input and the DI name is the source.
|
|
1419
|
-
|
|
1448
|
+
*/
|
|
1420
1449
|
source?: string;
|
|
1421
1450
|
/** @description The rule-definition-specific operator to test against */
|
|
1422
1451
|
op: string;
|
|
@@ -1435,20 +1464,22 @@ interface components {
|
|
|
1435
1464
|
op?: "&" | "|";
|
|
1436
1465
|
clauses: (components["schemas"]["VisibilityCriteria"] | components["schemas"]["VisibilityCriteriaGroup"])[];
|
|
1437
1466
|
};
|
|
1438
|
-
/** @description Defines a conditional value for a component parameter
|
|
1439
|
-
* */
|
|
1467
|
+
/** @description Defines a conditional value for a component parameter */
|
|
1440
1468
|
ComponentParameterConditionalValue: {
|
|
1441
1469
|
when: components["schemas"]["VisibilityCriteriaGroup"];
|
|
1442
|
-
/**
|
|
1470
|
+
/**
|
|
1471
|
+
* @description The value of the parameter. Any JSON-serializable value is acceptable.
|
|
1443
1472
|
* A value of `null` will cause the parameter value to be removed, if it matches.
|
|
1444
|
-
|
|
1473
|
+
*/
|
|
1445
1474
|
value: unknown;
|
|
1446
|
-
/**
|
|
1475
|
+
/**
|
|
1476
|
+
* @description Unique sequence identifier of the conditional value within the component parameter.
|
|
1447
1477
|
* This value must be unique within the conditional values array, and it should not change after a condition is created.
|
|
1448
|
-
|
|
1478
|
+
*/
|
|
1449
1479
|
id: number;
|
|
1450
1480
|
};
|
|
1451
|
-
/**
|
|
1481
|
+
/**
|
|
1482
|
+
* @description Array of alternate values which are based on conditions.
|
|
1452
1483
|
*
|
|
1453
1484
|
* When requested with an explicit locale parameter, or via the route API:
|
|
1454
1485
|
* * Conditions are evaluated sequentially and the first match is used. If a match is found, the conditions are eliminated.
|
|
@@ -1456,7 +1487,7 @@ interface components {
|
|
|
1456
1487
|
* * If a condition cannot be evaluated yet (i.e. a client-side criteria), it is left alone.
|
|
1457
1488
|
*
|
|
1458
1489
|
* When no locale is passed to a non-route API, conditions are not processed and all conditions are returned.
|
|
1459
|
-
|
|
1490
|
+
*/
|
|
1460
1491
|
ComponentParameterConditions: components["schemas"]["ComponentParameterConditionalValue"][];
|
|
1461
1492
|
/** @description Defines an editable parameter on a component */
|
|
1462
1493
|
ComponentParameter: {
|
|
@@ -1466,15 +1497,15 @@ interface components {
|
|
|
1466
1497
|
type: string;
|
|
1467
1498
|
/** @deprecated */
|
|
1468
1499
|
connectedData?: components["schemas"]["DataElementConnectionDefinition"];
|
|
1469
|
-
/**
|
|
1500
|
+
/**
|
|
1501
|
+
* @description Locale-specific values for this parameter. Keys are locale codes, and values are the `value` in that locale.
|
|
1470
1502
|
* Note that locales must be registered on the entry/composition `_locales` before being used
|
|
1471
|
-
|
|
1503
|
+
*/
|
|
1472
1504
|
locales?: {
|
|
1473
1505
|
[key: string]: unknown;
|
|
1474
1506
|
};
|
|
1475
1507
|
conditions?: components["schemas"]["ComponentParameterConditions"];
|
|
1476
|
-
/** @description Locale-specific conditional values for this parameter. Keys are locale codes, and values are the `conditions` for that locale.
|
|
1477
|
-
* */
|
|
1508
|
+
/** @description Locale-specific conditional values for this parameter. Keys are locale codes, and values are the `conditions` for that locale. */
|
|
1478
1509
|
localesConditions?: {
|
|
1479
1510
|
[key: string]: components["schemas"]["ComponentParameterConditions"];
|
|
1480
1511
|
};
|
|
@@ -1489,20 +1520,23 @@ interface components {
|
|
|
1489
1520
|
type: string;
|
|
1490
1521
|
/** @description Whether this data is a pattern data resource that can be overridden when a pattern is referenced on another composition. If this is not a pattern composition, this has no meaning and should not be used. If unspecified, the default is false */
|
|
1491
1522
|
isPatternParameter?: boolean;
|
|
1492
|
-
/**
|
|
1523
|
+
/**
|
|
1524
|
+
* @description When true, the default data resource of a pattern data parameter (isPatternParameter=true) will be ignored when the pattern is referenced.
|
|
1493
1525
|
* Unless specifically overridden, the pattern data parameter will be provided with a null default value - leaving any data connections to it unresolvable.
|
|
1494
1526
|
* If isPatternParameter is false or undefined, this has no meaning
|
|
1495
|
-
|
|
1527
|
+
*/
|
|
1496
1528
|
ignorePatternParameterDefault?: boolean;
|
|
1497
|
-
/**
|
|
1529
|
+
/**
|
|
1530
|
+
* @description When true, the data resource does not create an error forcing the choosing of override value when there is no default.
|
|
1498
1531
|
* If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
|
|
1499
|
-
|
|
1532
|
+
*/
|
|
1500
1533
|
optionalPatternParameter?: boolean;
|
|
1501
1534
|
variables?: components["schemas"]["DataResourceVariables"];
|
|
1502
1535
|
};
|
|
1503
|
-
/**
|
|
1536
|
+
/**
|
|
1537
|
+
* @description Data definitions attached to this component. The property name is the key of the data in the data document.
|
|
1504
1538
|
* Note: data definitions are inherited from ancestors at runtime (and may be overridden by descendants that use the same key)
|
|
1505
|
-
|
|
1539
|
+
*/
|
|
1506
1540
|
DataResourceDefinitions: {
|
|
1507
1541
|
[key: string]: components["schemas"]["DataResourceDefinition"];
|
|
1508
1542
|
};
|
|
@@ -1567,55 +1601,56 @@ interface components {
|
|
|
1567
1601
|
offset: number;
|
|
1568
1602
|
/** @description Max number of records to return */
|
|
1569
1603
|
limit: number;
|
|
1570
|
-
/**
|
|
1604
|
+
/**
|
|
1605
|
+
* @description Matches assets where their name or description contains the specified keyword.
|
|
1571
1606
|
* This is a list query parameter, and cannot be used with any primary query parameters
|
|
1572
|
-
|
|
1607
|
+
*/
|
|
1573
1608
|
keyword: string;
|
|
1574
1609
|
/**
|
|
1575
1610
|
* @deprecated
|
|
1576
1611
|
* @description BETA: Semantic search using vector similarity to find assets by meaning.
|
|
1577
1612
|
* Use this for "images of mountains" style queries.
|
|
1578
1613
|
* Requires AI credits.
|
|
1579
|
-
*
|
|
1580
1614
|
*/
|
|
1581
1615
|
searchSemantic: string;
|
|
1582
|
-
/**
|
|
1616
|
+
/**
|
|
1617
|
+
* @description Sets the sorting of the results. If unspecified, results are sorted by creation date ascending.
|
|
1583
1618
|
* Allowed values are: updated_at_DESC, updated_at_ASC, created_at_DESC, created_at_ASC, name_DESC, name_ASC, slug_DESC, slug_ASC, relevance_DESC (when searching).
|
|
1584
|
-
|
|
1619
|
+
*/
|
|
1585
1620
|
orderBy: string[];
|
|
1586
1621
|
/**
|
|
1587
1622
|
* @deprecated
|
|
1588
1623
|
* @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
|
|
1589
1624
|
*/
|
|
1590
1625
|
facetBy: string;
|
|
1591
|
-
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject
|
|
1592
|
-
* */
|
|
1626
|
+
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject */
|
|
1593
1627
|
createdBy: string;
|
|
1594
|
-
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject
|
|
1595
|
-
* */
|
|
1628
|
+
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject */
|
|
1596
1629
|
updatedBy: string;
|
|
1597
|
-
/**
|
|
1630
|
+
/**
|
|
1631
|
+
* @description Controls whether the total count of results will be returned along with the current results page in a list.
|
|
1598
1632
|
* Has no effect when not fetching a list. This does impact performance when enabled
|
|
1599
|
-
|
|
1633
|
+
*/
|
|
1600
1634
|
withTotalCount: boolean;
|
|
1601
|
-
/**
|
|
1635
|
+
/**
|
|
1636
|
+
* @description The ID of a release to fetch the content for.
|
|
1602
1637
|
*
|
|
1603
1638
|
* - When unspecified, all release content is excluded from the result(s).
|
|
1604
1639
|
* - When specified, all content is returned as it would appear in the release if it was released now. This includes both content copied to the release and changed, as well as content that is not part of the release.
|
|
1605
1640
|
*
|
|
1606
1641
|
* Content copied to a release can be differentiated from base content by the `releaseId` property on the content. If the content is not copied to the release, this property will be undefined
|
|
1607
|
-
|
|
1642
|
+
*/
|
|
1608
1643
|
releaseId: string;
|
|
1609
|
-
/**
|
|
1644
|
+
/**
|
|
1645
|
+
* @description When true, includes full label entities in the response for UI rendering.
|
|
1610
1646
|
* The assignedLabels array includes the label and its parent group (if any).
|
|
1611
1647
|
* This parameter is not supported with uniform.global.
|
|
1612
|
-
|
|
1648
|
+
*/
|
|
1613
1649
|
withAssignedLabels: boolean;
|
|
1614
1650
|
/**
|
|
1615
1651
|
* @deprecated
|
|
1616
1652
|
* @description Returns additional author and creator metadata for the asset.
|
|
1617
1653
|
* This internal status is subject to change without notice and is thus marked deprecated to discourage use of internal data
|
|
1618
|
-
*
|
|
1619
1654
|
*/
|
|
1620
1655
|
withUIStatus: boolean;
|
|
1621
1656
|
};
|