@escape-game-over/atlas 0.1.114 → 0.1.115
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/package.json +1 -1
- package/src/site/api.ts +9 -0
- package/src/site/create.ts +1 -0
package/package.json
CHANGED
package/src/site/api.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AnalyticsSettings } from "../analytics/index.ts";
|
|
1
2
|
import type { ResolvedLocaleMeta } from "../config.ts";
|
|
2
3
|
import type {
|
|
3
4
|
MessageBindings,
|
|
@@ -157,6 +158,14 @@ export interface Site<
|
|
|
157
158
|
* value that then drifts from the one every page's `<head>` carries.
|
|
158
159
|
*/
|
|
159
160
|
readonly themeColor: ThemeColor;
|
|
161
|
+
/**
|
|
162
|
+
* The project's analytics, as declared: what the site's pages load, and so
|
|
163
|
+
* what a consent banner and a storage notice must name.
|
|
164
|
+
*
|
|
165
|
+
* Exposed so shared code reads it here rather than from the linked project,
|
|
166
|
+
* whose file is one project's and not what every project guarantees.
|
|
167
|
+
*/
|
|
168
|
+
readonly analytics: AnalyticsSettings | undefined;
|
|
160
169
|
readonly localeMeta: Readonly<Record<L, ResolvedLocaleMeta>>;
|
|
161
170
|
/** The site's `defaultFonts` with this project's `overrideFonts` applied. */
|
|
162
171
|
readonly fonts: Fonts;
|