@appshell/config 1.0.0-alpha.29 → 1.0.0-alpha.31

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.
@@ -119,16 +119,19 @@ export type AppshellComposition<TMetadata = Metadata> = {
119
119
  vars: Record<string, Record<string, string | number | undefined>>;
120
120
  /**
121
121
  * Present whenever a per-developer overlay changed anything about this render — a
122
- * redirected remote, a different shell bundle, or both. The shell is expected to
123
- * surface it: a page that quietly runs code from somewhere else is the one thing
124
- * this feature must never be, and swapping the shell out counts.
122
+ * redirected remote, a different shell bundle, a substituted theme, or any combination.
123
+ * The shell is expected to surface it: a page that quietly runs code from somewhere
124
+ * else is the one thing this feature must never be, and swapping the shell or the theme
125
+ * out counts.
125
126
  *
126
- * `shellFlavor` is what was actually served, not what was asked for.
127
+ * `shellFlavor` is what was actually served, not what was asked for. `theme` is the ref
128
+ * the overlay substituted, present only when it substituted one.
127
129
  */
128
130
  overlay?: {
129
131
  id: string;
130
132
  remotes: string[];
131
133
  shellFlavor: 'prod' | 'dev';
134
+ theme?: string;
132
135
  };
133
136
  };
134
137
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appshell/config",
3
- "version": "1.0.0-alpha.29",
3
+ "version": "1.0.0-alpha.31",
4
4
  "description": "Utility for producing a global appshell manifest for module federation micro-frontends",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -30,9 +30,9 @@
30
30
  "appshell"
31
31
  ],
32
32
  "license": "MIT",
33
- "gitHead": "a43444842a4030bab17bf510f078e9c89740aa3b",
33
+ "gitHead": "33b8112fc5926b4a4b4d5d16bc1ff4b379817802",
34
34
  "dependencies": {
35
- "@appshell/runtime": "^1.0.0-alpha.29",
35
+ "@appshell/runtime": "^1.0.0-alpha.31",
36
36
  "yaml": "^2.8.0"
37
37
  }
38
38
  }