@uniformdev/assets 20.50.2-alpha.149 → 20.50.2-alpha.167
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 +219 -174
- package/dist/index.d.ts +219 -174
- package/dist/index.esm.js +24 -2
- package/dist/index.js +27 -5
- package/dist/index.mjs +24 -2
- 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;
|
|
@@ -747,8 +767,7 @@ interface components$1 {
|
|
|
747
767
|
/** @description The name (full name) of the user who created the version, or "Unknown user" if the author can no longer be resolved */
|
|
748
768
|
authorName: string;
|
|
749
769
|
authorIsApiKey: boolean;
|
|
750
|
-
/** @description The identity who created the version; absent on old history entries.
|
|
751
|
-
* */
|
|
770
|
+
/** @description The identity who created the version; absent on old history entries. */
|
|
752
771
|
authorSubject?: string;
|
|
753
772
|
/** @description The state of the entity when the history entry was made */
|
|
754
773
|
state: number;
|
|
@@ -775,9 +794,10 @@ interface components$1 {
|
|
|
775
794
|
* @description Unique identifier for the project map node
|
|
776
795
|
*/
|
|
777
796
|
id: string;
|
|
778
|
-
/**
|
|
797
|
+
/**
|
|
798
|
+
* @description Fallback path of the project map node.
|
|
779
799
|
* Note that the node may have matched via a locale-specific path which is in the `locales` object
|
|
780
|
-
|
|
800
|
+
*/
|
|
781
801
|
path: string;
|
|
782
802
|
/**
|
|
783
803
|
* Format: uuid
|
|
@@ -785,15 +805,15 @@ interface components$1 {
|
|
|
785
805
|
*/
|
|
786
806
|
projectMapId: string;
|
|
787
807
|
data?: components$1["schemas"]["ProjectMapNodeData"];
|
|
788
|
-
/**
|
|
808
|
+
/**
|
|
809
|
+
* @description Locale-specific paths of the project map node.
|
|
789
810
|
* Keys are locale codes
|
|
790
|
-
|
|
811
|
+
*/
|
|
791
812
|
locales?: {
|
|
792
813
|
[key: string]: {
|
|
793
814
|
/** @description Locale-specific path of the project map node */
|
|
794
815
|
path: string;
|
|
795
|
-
/** @description Whether the path is inherited from a parent node which defined a path segment in this locale
|
|
796
|
-
* */
|
|
816
|
+
/** @description Whether the path is inherited from a parent node which defined a path segment in this locale */
|
|
797
817
|
inherited: boolean;
|
|
798
818
|
};
|
|
799
819
|
};
|
|
@@ -844,44 +864,50 @@ interface components$1 {
|
|
|
844
864
|
modified?: string;
|
|
845
865
|
/** @description Created ISO date string for this definition (ignored for writes) */
|
|
846
866
|
created?: string;
|
|
847
|
-
/**
|
|
867
|
+
/**
|
|
868
|
+
* @description Name of the original creator of the workflow.
|
|
848
869
|
* If undefined, the user has been removed from the team.
|
|
849
870
|
* Ignored for writes
|
|
850
|
-
|
|
871
|
+
*/
|
|
851
872
|
createdBy?: string;
|
|
852
|
-
/**
|
|
873
|
+
/**
|
|
874
|
+
* @description Name of the last modifier of the workflow.
|
|
853
875
|
* If undefined, the user has been removed from the team.
|
|
854
876
|
* Ignored for writes
|
|
855
|
-
|
|
877
|
+
*/
|
|
856
878
|
modifiedBy?: string;
|
|
857
879
|
};
|
|
858
880
|
/** @description Definition of a stage in a workflow */
|
|
859
881
|
WorkflowStage: {
|
|
860
882
|
/** @description Name of the stage */
|
|
861
883
|
name: string;
|
|
862
|
-
/**
|
|
884
|
+
/**
|
|
885
|
+
* @description Defines roles which have permissions to this workflow stage
|
|
863
886
|
* NOTE: Being able to write or publish to entities in a workflow stage requires both core write or publish permissions,
|
|
864
887
|
* 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
|
|
865
888
|
* listed here, the stage is read-only and publishing is disabled
|
|
866
|
-
|
|
889
|
+
*/
|
|
867
890
|
permissions: {
|
|
868
891
|
[key: string]: components$1["schemas"]["WorkflowStagePermission"];
|
|
869
892
|
};
|
|
870
|
-
/**
|
|
893
|
+
/**
|
|
894
|
+
* @description When true, transitioning into this stage from a different stage will automatically publish the entity.
|
|
871
895
|
* 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.
|
|
872
896
|
* Setting this to true is equivalent to setting requireValidity to true, as publishing cannot be performed with validation errors.
|
|
873
897
|
* NOTE: This is not executed by direct API calls. Only the Uniform UI performs this action
|
|
874
|
-
|
|
898
|
+
*/
|
|
875
899
|
autoPublish?: boolean;
|
|
876
|
-
/**
|
|
900
|
+
/**
|
|
901
|
+
* @description When true, transitioning into this stage from a different stage will require the entity to have no validation errors.
|
|
877
902
|
* If the entity is not valid, the transition will not be allowed.
|
|
878
903
|
* NOTE: This is not executed by direct API calls. Only the Uniform UI performs this action
|
|
879
|
-
|
|
904
|
+
*/
|
|
880
905
|
requireValidity?: boolean;
|
|
881
|
-
/**
|
|
906
|
+
/**
|
|
907
|
+
* @description Defines transitions to other stages
|
|
882
908
|
* Every stage must define at least one transition, to avoid creating a workflow that
|
|
883
909
|
* has a stage that can never be escaped
|
|
884
|
-
|
|
910
|
+
*/
|
|
885
911
|
transitions: components$1["schemas"]["WorkflowStageTransition"][];
|
|
886
912
|
/**
|
|
887
913
|
* @description Icon name for the stage (e.g. 'chevron-double-right-o')
|
|
@@ -898,13 +924,15 @@ interface components$1 {
|
|
|
898
924
|
* @description The target stage to transition to
|
|
899
925
|
*/
|
|
900
926
|
to: string;
|
|
901
|
-
/**
|
|
927
|
+
/**
|
|
928
|
+
* @description Name shown to the user when they execute this transition.
|
|
902
929
|
* If not provided, a default name will be assigned automatically based on the target stage
|
|
903
|
-
|
|
930
|
+
*/
|
|
904
931
|
name: string;
|
|
905
|
-
/**
|
|
932
|
+
/**
|
|
933
|
+
* @description Permissions for the stage transition.
|
|
906
934
|
* NOTE: Users without membership in any role listed here will be unable to execute the transition unless they are team admins
|
|
907
|
-
|
|
935
|
+
*/
|
|
908
936
|
permissions: {
|
|
909
937
|
[key: string]: components$1["schemas"]["WorkflowStageTransitionPermission"];
|
|
910
938
|
};
|
|
@@ -952,10 +980,11 @@ interface components$1 {
|
|
|
952
980
|
isSearchHit?: boolean;
|
|
953
981
|
/** @description Query strings that are allowed to be passed to the node */
|
|
954
982
|
queryStrings?: components$1["schemas"]["ProjectMapNodeAllowedQueryString"][];
|
|
955
|
-
/**
|
|
983
|
+
/**
|
|
984
|
+
* @description For dynamic nodes, this is the preview value for the dynamic value.
|
|
956
985
|
* The preview value is used when editing a connected composition, and is the default
|
|
957
986
|
* dynamic node value unless the author has explicitly chosen a different value
|
|
958
|
-
|
|
987
|
+
*/
|
|
959
988
|
previewValue?: string;
|
|
960
989
|
};
|
|
961
990
|
};
|
|
@@ -981,28 +1010,28 @@ interface paths {
|
|
|
981
1010
|
assetId?: components["parameters"]["assetId"];
|
|
982
1011
|
/** @description Specify multiple asset IDs to fetch. Response type will be a list */
|
|
983
1012
|
assetIDs?: components["parameters"]["assetIDs"];
|
|
984
|
-
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject
|
|
985
|
-
* */
|
|
1013
|
+
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject */
|
|
986
1014
|
createdBy?: components["parameters"]["createdBy"];
|
|
987
|
-
/**
|
|
1015
|
+
/**
|
|
1016
|
+
* @description Matches assets where their name or description contains the specified keyword.
|
|
988
1017
|
* This is a list query parameter, and cannot be used with any primary query parameters
|
|
989
|
-
|
|
1018
|
+
*/
|
|
990
1019
|
keyword?: components["parameters"]["keyword"];
|
|
991
1020
|
/**
|
|
992
1021
|
* @deprecated
|
|
993
1022
|
* @description BETA: Semantic search using vector similarity to find assets by meaning.
|
|
994
1023
|
* Use this for "images of mountains" style queries.
|
|
995
1024
|
* Requires AI credits.
|
|
996
|
-
*
|
|
997
1025
|
*/
|
|
998
1026
|
searchSemantic?: components["parameters"]["searchSemantic"];
|
|
999
1027
|
/** @description Max number of records to return */
|
|
1000
1028
|
limit?: components["parameters"]["limit"];
|
|
1001
1029
|
/** @description Number of records to skip */
|
|
1002
1030
|
offset?: components["parameters"]["offset"];
|
|
1003
|
-
/**
|
|
1031
|
+
/**
|
|
1032
|
+
* @description Sets the sorting of the results. If unspecified, results are sorted by creation date ascending.
|
|
1004
1033
|
* 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).
|
|
1005
|
-
|
|
1034
|
+
*/
|
|
1006
1035
|
orderBy?: components["parameters"]["orderBy"];
|
|
1007
1036
|
/**
|
|
1008
1037
|
* @deprecated
|
|
@@ -1013,31 +1042,32 @@ interface paths {
|
|
|
1013
1042
|
projectId: components["parameters"]["projectId"];
|
|
1014
1043
|
/** @description The asset type ID to filter by */
|
|
1015
1044
|
type?: components["parameters"]["type"];
|
|
1016
|
-
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject
|
|
1017
|
-
* */
|
|
1045
|
+
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject */
|
|
1018
1046
|
updatedBy?: components["parameters"]["updatedBy"];
|
|
1019
|
-
/**
|
|
1047
|
+
/**
|
|
1048
|
+
* @description Controls whether the total count of results will be returned along with the current results page in a list.
|
|
1020
1049
|
* Has no effect when not fetching a list. This does impact performance when enabled
|
|
1021
|
-
|
|
1050
|
+
*/
|
|
1022
1051
|
withTotalCount?: components["parameters"]["withTotalCount"];
|
|
1023
|
-
/**
|
|
1052
|
+
/**
|
|
1053
|
+
* @description The ID of a release to fetch the content for.
|
|
1024
1054
|
*
|
|
1025
1055
|
* - When unspecified, all release content is excluded from the result(s).
|
|
1026
1056
|
* - 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.
|
|
1027
1057
|
*
|
|
1028
1058
|
* 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
|
|
1029
|
-
|
|
1059
|
+
*/
|
|
1030
1060
|
releaseId?: components["parameters"]["releaseId"];
|
|
1031
|
-
/**
|
|
1061
|
+
/**
|
|
1062
|
+
* @description When true, includes full label entities in the response for UI rendering.
|
|
1032
1063
|
* The assignedLabels array includes the label and its parent group (if any).
|
|
1033
1064
|
* This parameter is not supported with uniform.global.
|
|
1034
|
-
|
|
1065
|
+
*/
|
|
1035
1066
|
withAssignedLabels?: components["parameters"]["withAssignedLabels"];
|
|
1036
1067
|
/**
|
|
1037
1068
|
* @deprecated
|
|
1038
1069
|
* @description Returns additional author and creator metadata for the asset.
|
|
1039
1070
|
* This internal status is subject to change without notice and is thus marked deprecated to discourage use of internal data
|
|
1040
|
-
*
|
|
1041
1071
|
*/
|
|
1042
1072
|
withUIStatus?: components["parameters"]["withUIStatus"];
|
|
1043
1073
|
};
|
|
@@ -1142,7 +1172,6 @@ interface paths {
|
|
|
1142
1172
|
* Format: uuid
|
|
1143
1173
|
* @description The ID of the release the asset to delete belongs to. If unspecified the asset belongs to the base.
|
|
1144
1174
|
* Note: deleting an asset from a release will not delete the asset from the base
|
|
1145
|
-
*
|
|
1146
1175
|
*/
|
|
1147
1176
|
releaseId?: string;
|
|
1148
1177
|
};
|
|
@@ -1371,8 +1400,7 @@ interface components {
|
|
|
1371
1400
|
};
|
|
1372
1401
|
};
|
|
1373
1402
|
};
|
|
1374
|
-
/** @description Defines a connection to a dynamic token on a data resource
|
|
1375
|
-
* */
|
|
1403
|
+
/** @description Defines a connection to a dynamic token on a data resource */
|
|
1376
1404
|
DataElementConnectionDefinition: {
|
|
1377
1405
|
/** @description A JSON Pointer expression that defines the data resource dynamic token value */
|
|
1378
1406
|
pointer: string;
|
|
@@ -1392,7 +1420,6 @@ interface components {
|
|
|
1392
1420
|
* NOTE: If a 'component' failure occurs on the root component of a composition, or an entry,
|
|
1393
1421
|
* it is treated as an 'a' failure because removing the root means we must remove all
|
|
1394
1422
|
* - 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
|
|
1395
|
-
*
|
|
1396
1423
|
* @enum {string}
|
|
1397
1424
|
*/
|
|
1398
1425
|
failureAction?: "t" | "p" | "c" | "a";
|
|
@@ -1401,13 +1428,13 @@ interface components {
|
|
|
1401
1428
|
* - e: ERROR: Report an error message (this will prevent publishing)
|
|
1402
1429
|
* - w: WARNING: Report a warning message [default]
|
|
1403
1430
|
* - i: INFO: Log an informative message (failure is expected/normal, i.e. optional data)
|
|
1404
|
-
*
|
|
1405
1431
|
* @enum {string}
|
|
1406
1432
|
*/
|
|
1407
1433
|
failureLogLevel?: "e" | "w" | "i";
|
|
1408
|
-
/**
|
|
1434
|
+
/**
|
|
1435
|
+
* @description The default value to use if the dynamic token cannot be resolved.
|
|
1409
1436
|
* This is only used if the failureAction is the default (undefined, or explicitly token)
|
|
1410
|
-
|
|
1437
|
+
*/
|
|
1411
1438
|
failureDefault?: string;
|
|
1412
1439
|
};
|
|
1413
1440
|
/**
|
|
@@ -1417,9 +1444,10 @@ interface components {
|
|
|
1417
1444
|
VisibilityCriteria: {
|
|
1418
1445
|
/** @description The rule type to execute */
|
|
1419
1446
|
rule: string;
|
|
1420
|
-
/**
|
|
1447
|
+
/**
|
|
1448
|
+
* @description The source value of the rule.
|
|
1421
1449
|
* 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.
|
|
1422
|
-
|
|
1450
|
+
*/
|
|
1423
1451
|
source?: string;
|
|
1424
1452
|
/** @description The rule-definition-specific operator to test against */
|
|
1425
1453
|
op: string;
|
|
@@ -1438,20 +1466,22 @@ interface components {
|
|
|
1438
1466
|
op?: "&" | "|";
|
|
1439
1467
|
clauses: (components["schemas"]["VisibilityCriteria"] | components["schemas"]["VisibilityCriteriaGroup"])[];
|
|
1440
1468
|
};
|
|
1441
|
-
/** @description Defines a conditional value for a component parameter
|
|
1442
|
-
* */
|
|
1469
|
+
/** @description Defines a conditional value for a component parameter */
|
|
1443
1470
|
ComponentParameterConditionalValue: {
|
|
1444
1471
|
when: components["schemas"]["VisibilityCriteriaGroup"];
|
|
1445
|
-
/**
|
|
1472
|
+
/**
|
|
1473
|
+
* @description The value of the parameter. Any JSON-serializable value is acceptable.
|
|
1446
1474
|
* A value of `null` will cause the parameter value to be removed, if it matches.
|
|
1447
|
-
|
|
1475
|
+
*/
|
|
1448
1476
|
value: unknown;
|
|
1449
|
-
/**
|
|
1477
|
+
/**
|
|
1478
|
+
* @description Unique sequence identifier of the conditional value within the component parameter.
|
|
1450
1479
|
* This value must be unique within the conditional values array, and it should not change after a condition is created.
|
|
1451
|
-
|
|
1480
|
+
*/
|
|
1452
1481
|
id: number;
|
|
1453
1482
|
};
|
|
1454
|
-
/**
|
|
1483
|
+
/**
|
|
1484
|
+
* @description Array of alternate values which are based on conditions.
|
|
1455
1485
|
*
|
|
1456
1486
|
* When requested with an explicit locale parameter, or via the route API:
|
|
1457
1487
|
* * Conditions are evaluated sequentially and the first match is used. If a match is found, the conditions are eliminated.
|
|
@@ -1459,7 +1489,7 @@ interface components {
|
|
|
1459
1489
|
* * If a condition cannot be evaluated yet (i.e. a client-side criteria), it is left alone.
|
|
1460
1490
|
*
|
|
1461
1491
|
* When no locale is passed to a non-route API, conditions are not processed and all conditions are returned.
|
|
1462
|
-
|
|
1492
|
+
*/
|
|
1463
1493
|
ComponentParameterConditions: components["schemas"]["ComponentParameterConditionalValue"][];
|
|
1464
1494
|
/** @description Defines an editable parameter on a component */
|
|
1465
1495
|
ComponentParameter: {
|
|
@@ -1469,15 +1499,15 @@ interface components {
|
|
|
1469
1499
|
type: string;
|
|
1470
1500
|
/** @deprecated */
|
|
1471
1501
|
connectedData?: components["schemas"]["DataElementConnectionDefinition"];
|
|
1472
|
-
/**
|
|
1502
|
+
/**
|
|
1503
|
+
* @description Locale-specific values for this parameter. Keys are locale codes, and values are the `value` in that locale.
|
|
1473
1504
|
* Note that locales must be registered on the entry/composition `_locales` before being used
|
|
1474
|
-
|
|
1505
|
+
*/
|
|
1475
1506
|
locales?: {
|
|
1476
1507
|
[key: string]: unknown;
|
|
1477
1508
|
};
|
|
1478
1509
|
conditions?: components["schemas"]["ComponentParameterConditions"];
|
|
1479
|
-
/** @description Locale-specific conditional values for this parameter. Keys are locale codes, and values are the `conditions` for that locale.
|
|
1480
|
-
* */
|
|
1510
|
+
/** @description Locale-specific conditional values for this parameter. Keys are locale codes, and values are the `conditions` for that locale. */
|
|
1481
1511
|
localesConditions?: {
|
|
1482
1512
|
[key: string]: components["schemas"]["ComponentParameterConditions"];
|
|
1483
1513
|
};
|
|
@@ -1492,20 +1522,23 @@ interface components {
|
|
|
1492
1522
|
type: string;
|
|
1493
1523
|
/** @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 */
|
|
1494
1524
|
isPatternParameter?: boolean;
|
|
1495
|
-
/**
|
|
1525
|
+
/**
|
|
1526
|
+
* @description When true, the default data resource of a pattern data parameter (isPatternParameter=true) will be ignored when the pattern is referenced.
|
|
1496
1527
|
* Unless specifically overridden, the pattern data parameter will be provided with a null default value - leaving any data connections to it unresolvable.
|
|
1497
1528
|
* If isPatternParameter is false or undefined, this has no meaning
|
|
1498
|
-
|
|
1529
|
+
*/
|
|
1499
1530
|
ignorePatternParameterDefault?: boolean;
|
|
1500
|
-
/**
|
|
1531
|
+
/**
|
|
1532
|
+
* @description When true, the data resource does not create an error forcing the choosing of override value when there is no default.
|
|
1501
1533
|
* If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
|
|
1502
|
-
|
|
1534
|
+
*/
|
|
1503
1535
|
optionalPatternParameter?: boolean;
|
|
1504
1536
|
variables?: components["schemas"]["DataResourceVariables"];
|
|
1505
1537
|
};
|
|
1506
|
-
/**
|
|
1538
|
+
/**
|
|
1539
|
+
* @description Data definitions attached to this component. The property name is the key of the data in the data document.
|
|
1507
1540
|
* Note: data definitions are inherited from ancestors at runtime (and may be overridden by descendants that use the same key)
|
|
1508
|
-
|
|
1541
|
+
*/
|
|
1509
1542
|
DataResourceDefinitions: {
|
|
1510
1543
|
[key: string]: components["schemas"]["DataResourceDefinition"];
|
|
1511
1544
|
};
|
|
@@ -1570,55 +1603,56 @@ interface components {
|
|
|
1570
1603
|
offset: number;
|
|
1571
1604
|
/** @description Max number of records to return */
|
|
1572
1605
|
limit: number;
|
|
1573
|
-
/**
|
|
1606
|
+
/**
|
|
1607
|
+
* @description Matches assets where their name or description contains the specified keyword.
|
|
1574
1608
|
* This is a list query parameter, and cannot be used with any primary query parameters
|
|
1575
|
-
|
|
1609
|
+
*/
|
|
1576
1610
|
keyword: string;
|
|
1577
1611
|
/**
|
|
1578
1612
|
* @deprecated
|
|
1579
1613
|
* @description BETA: Semantic search using vector similarity to find assets by meaning.
|
|
1580
1614
|
* Use this for "images of mountains" style queries.
|
|
1581
1615
|
* Requires AI credits.
|
|
1582
|
-
*
|
|
1583
1616
|
*/
|
|
1584
1617
|
searchSemantic: string;
|
|
1585
|
-
/**
|
|
1618
|
+
/**
|
|
1619
|
+
* @description Sets the sorting of the results. If unspecified, results are sorted by creation date ascending.
|
|
1586
1620
|
* 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).
|
|
1587
|
-
|
|
1621
|
+
*/
|
|
1588
1622
|
orderBy: string[];
|
|
1589
1623
|
/**
|
|
1590
1624
|
* @deprecated
|
|
1591
1625
|
* @description Returns counts for distinct values of the specified field or fields (provided as comma-separated IDs).
|
|
1592
1626
|
*/
|
|
1593
1627
|
facetBy: string;
|
|
1594
|
-
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject
|
|
1595
|
-
* */
|
|
1628
|
+
/** @description Filters asset lists by the user who created them. The user is specified by their identity subject */
|
|
1596
1629
|
createdBy: string;
|
|
1597
|
-
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject
|
|
1598
|
-
* */
|
|
1630
|
+
/** @description Filters asset lists by the user who last updated them. The user is specified by their identity subject */
|
|
1599
1631
|
updatedBy: string;
|
|
1600
|
-
/**
|
|
1632
|
+
/**
|
|
1633
|
+
* @description Controls whether the total count of results will be returned along with the current results page in a list.
|
|
1601
1634
|
* Has no effect when not fetching a list. This does impact performance when enabled
|
|
1602
|
-
|
|
1635
|
+
*/
|
|
1603
1636
|
withTotalCount: boolean;
|
|
1604
|
-
/**
|
|
1637
|
+
/**
|
|
1638
|
+
* @description The ID of a release to fetch the content for.
|
|
1605
1639
|
*
|
|
1606
1640
|
* - When unspecified, all release content is excluded from the result(s).
|
|
1607
1641
|
* - 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.
|
|
1608
1642
|
*
|
|
1609
1643
|
* 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
|
|
1610
|
-
|
|
1644
|
+
*/
|
|
1611
1645
|
releaseId: string;
|
|
1612
|
-
/**
|
|
1646
|
+
/**
|
|
1647
|
+
* @description When true, includes full label entities in the response for UI rendering.
|
|
1613
1648
|
* The assignedLabels array includes the label and its parent group (if any).
|
|
1614
1649
|
* This parameter is not supported with uniform.global.
|
|
1615
|
-
|
|
1650
|
+
*/
|
|
1616
1651
|
withAssignedLabels: boolean;
|
|
1617
1652
|
/**
|
|
1618
1653
|
* @deprecated
|
|
1619
1654
|
* @description Returns additional author and creator metadata for the asset.
|
|
1620
1655
|
* This internal status is subject to change without notice and is thus marked deprecated to discourage use of internal data
|
|
1621
|
-
*
|
|
1622
1656
|
*/
|
|
1623
1657
|
withUIStatus: boolean;
|
|
1624
1658
|
};
|
|
@@ -1725,9 +1759,20 @@ declare class AssetClient extends ApiClient {
|
|
|
1725
1759
|
get(options: WithoutProjectId<AssetGetRequestList> & {
|
|
1726
1760
|
filters?: Record<string, unknown>;
|
|
1727
1761
|
}): Promise<AssetGetResponseList>;
|
|
1762
|
+
/**
|
|
1763
|
+
* Fetches a list of assets
|
|
1764
|
+
*/
|
|
1765
|
+
list(options?: WithoutProjectId<AssetGetRequestList> & {
|
|
1766
|
+
filters?: Record<string, unknown>;
|
|
1767
|
+
}): Promise<AssetGetResponseList>;
|
|
1768
|
+
save(options: WithoutProjectId<AssetUpsertRequest>): Promise<void>;
|
|
1769
|
+
/** @deprecated Use {@link save} instead. */
|
|
1728
1770
|
upsert(options: WithoutProjectId<AssetUpsertRequest>): Promise<void>;
|
|
1771
|
+
remove(options: WithoutProjectId<AssetDeleteRequest>): Promise<void>;
|
|
1772
|
+
/** @deprecated Use {@link remove} instead. */
|
|
1729
1773
|
delete(options: WithoutProjectId<AssetDeleteRequest>): Promise<void>;
|
|
1730
1774
|
}
|
|
1775
|
+
/** @deprecated Pass `bypassCache: true` to {@link AssetClient} instead. */
|
|
1731
1776
|
declare class UncachedAssetClient extends AssetClient {
|
|
1732
1777
|
constructor(options: Omit<ClientOptions & {
|
|
1733
1778
|
projectId: NonNullable<ClientOptions['projectId']>;
|