@appshell/config 1.0.0-alpha.28 → 1.0.0-alpha.30
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/types/types.d.ts +7 -4
- package/package.json +3 -3
package/dist/types/types.d.ts
CHANGED
|
@@ -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,
|
|
123
|
-
* surface it: a page that quietly runs code from somewhere
|
|
124
|
-
* this feature must never be, and swapping the shell
|
|
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.
|
|
3
|
+
"version": "1.0.0-alpha.30",
|
|
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": "
|
|
33
|
+
"gitHead": "ef1c4a03ad8d4661cf40acbd96fc6099ecfa0c6f",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@appshell/runtime": "^1.0.0-alpha.
|
|
35
|
+
"@appshell/runtime": "^1.0.0-alpha.30",
|
|
36
36
|
"yaml": "^2.8.0"
|
|
37
37
|
}
|
|
38
38
|
}
|