@withpotter/lib 0.13.0-next.87 → 0.13.0-next.89
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/template-types.d.ts +8 -0
- package/package.json +2 -2
package/dist/template-types.d.ts
CHANGED
|
@@ -290,6 +290,14 @@ export interface TemplateConfigAPI {
|
|
|
290
290
|
siteSettings?: SiteSettingsSchema;
|
|
291
291
|
pageContent?: PageContentSchemas;
|
|
292
292
|
appearance?: AppearanceSchema;
|
|
293
|
+
/**
|
|
294
|
+
* `false` when the template keeps its own type and ignores the owner's font
|
|
295
|
+
* choices (top-level `customFonts` in template.json). Absent means the
|
|
296
|
+
* owner can choose fonts.
|
|
297
|
+
*/
|
|
298
|
+
customFonts?: boolean;
|
|
299
|
+
/** Why the template keeps its own type, from `customFontsReason`. */
|
|
300
|
+
customFontsReason?: string;
|
|
293
301
|
contentTypes?: Record<string, ContentTypeConfigAPI>;
|
|
294
302
|
dashboardModules?: DashboardModuleAPI[];
|
|
295
303
|
behaviors?: ContentBehavior[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@withpotter/lib",
|
|
3
|
-
"version": "0.13.0-next.
|
|
3
|
+
"version": "0.13.0-next.89",
|
|
4
4
|
"description": "Box dashboard foundation: API client, contexts, types, intent config, and utilities.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"typescript": "^5"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
|
-
"registry": "https://registry.npmjs.org
|
|
54
|
+
"registry": "https://registry.npmjs.org",
|
|
55
55
|
"access": "restricted"
|
|
56
56
|
}
|
|
57
57
|
}
|