@uniformdev/assets 20.78.0 → 20.79.1

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 CHANGED
@@ -386,6 +386,11 @@ interface components$1 {
386
386
  _patternDataResources?: {
387
387
  [key: string]: components$1["schemas"]["DataResourceDefinition"];
388
388
  };
389
+ /**
390
+ * Query-string opt-ins coming from a pattern resolved for this component.
391
+ * Means nothing for PUTs; it will be ignored
392
+ */
393
+ _patternOptedInQueryStrings?: string[];
389
394
  _patternError?: components$1["schemas"]["PatternError"];
390
395
  /**
391
396
  * Defines patch overrides to component IDs that live in the composition.
@@ -459,6 +464,11 @@ interface components$1 {
459
464
  _patternDataResources?: {
460
465
  [key: string]: components$1["schemas"]["DataResourceDefinition"];
461
466
  };
467
+ /**
468
+ * Query-string opt-ins coming from a pattern resolved for this component.
469
+ * Means nothing for PUTs; it will be ignored
470
+ */
471
+ _patternOptedInQueryStrings?: string[];
462
472
  _dataResources?: components$1["schemas"]["DataResourceDefinitions"];
463
473
  _patternError?: components$1["schemas"]["PatternError"];
464
474
  /**
@@ -493,6 +503,12 @@ interface components$1 {
493
503
  _overridability?: components$1["schemas"]["ComponentOverridability"];
494
504
  /** Array of locales which have data defined on the composition. If empty, the current default locale implicitly has data */
495
505
  _locales?: string[];
506
+ /**
507
+ * Names of opt-in global query strings surfaced in the Canvas editor for this composition or pattern.
508
+ * Opt-ins coming from a resolved pattern move to _patternOptedInQueryStrings, so this always
509
+ * holds only what was authored here. Omitted whenever overrides are resolved.
510
+ */
511
+ _optedInQueryStrings?: string[];
496
512
  };
497
513
  /**
498
514
  * Defines how to override a specific component.
@@ -960,6 +976,12 @@ interface components$1 {
960
976
  value?: string;
961
977
  /** Help text for authors who might be setting up a preview value for this query string */
962
978
  helpText?: string;
979
+ /**
980
+ * Controls whether a global query string is always shown in Canvas or must be opted into.
981
+ * This property is ignored on node-level query strings. When omitted, the query string is always shown.
982
+
983
+ */
984
+ editorVisibility?: "opt-in";
963
985
  /** Configuration for providing a list of allowed values for this query string */
964
986
  optionsSource?: {
965
987
  /**
package/dist/index.d.ts CHANGED
@@ -386,6 +386,11 @@ interface components$1 {
386
386
  _patternDataResources?: {
387
387
  [key: string]: components$1["schemas"]["DataResourceDefinition"];
388
388
  };
389
+ /**
390
+ * Query-string opt-ins coming from a pattern resolved for this component.
391
+ * Means nothing for PUTs; it will be ignored
392
+ */
393
+ _patternOptedInQueryStrings?: string[];
389
394
  _patternError?: components$1["schemas"]["PatternError"];
390
395
  /**
391
396
  * Defines patch overrides to component IDs that live in the composition.
@@ -459,6 +464,11 @@ interface components$1 {
459
464
  _patternDataResources?: {
460
465
  [key: string]: components$1["schemas"]["DataResourceDefinition"];
461
466
  };
467
+ /**
468
+ * Query-string opt-ins coming from a pattern resolved for this component.
469
+ * Means nothing for PUTs; it will be ignored
470
+ */
471
+ _patternOptedInQueryStrings?: string[];
462
472
  _dataResources?: components$1["schemas"]["DataResourceDefinitions"];
463
473
  _patternError?: components$1["schemas"]["PatternError"];
464
474
  /**
@@ -493,6 +503,12 @@ interface components$1 {
493
503
  _overridability?: components$1["schemas"]["ComponentOverridability"];
494
504
  /** Array of locales which have data defined on the composition. If empty, the current default locale implicitly has data */
495
505
  _locales?: string[];
506
+ /**
507
+ * Names of opt-in global query strings surfaced in the Canvas editor for this composition or pattern.
508
+ * Opt-ins coming from a resolved pattern move to _patternOptedInQueryStrings, so this always
509
+ * holds only what was authored here. Omitted whenever overrides are resolved.
510
+ */
511
+ _optedInQueryStrings?: string[];
496
512
  };
497
513
  /**
498
514
  * Defines how to override a specific component.
@@ -960,6 +976,12 @@ interface components$1 {
960
976
  value?: string;
961
977
  /** Help text for authors who might be setting up a preview value for this query string */
962
978
  helpText?: string;
979
+ /**
980
+ * Controls whether a global query string is always shown in Canvas or must be opted into.
981
+ * This property is ignored on node-level query strings. When omitted, the query string is always shown.
982
+
983
+ */
984
+ editorVisibility?: "opt-in";
963
985
  /** Configuration for providing a list of allowed values for this query string */
964
986
  optionsSource?: {
965
987
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "20.78.0",
3
+ "version": "20.79.1",
4
4
  "description": "Uniform Assets",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -37,11 +37,11 @@
37
37
  "access": "public"
38
38
  },
39
39
  "dependencies": {
40
- "@uniformdev/context": "20.78.0",
41
- "@uniformdev/files": "20.78.0"
40
+ "@uniformdev/context": "20.79.1",
41
+ "@uniformdev/files": "20.79.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "ts-xor": "^1.3.0"
45
45
  },
46
- "gitHead": "22d94ee916bde5e32c96995da69cfe479f87a9c9"
46
+ "gitHead": "a9709918bf00f79101fcc46bda36105626931933"
47
47
  }