@rizom/site-rizom-ai 0.2.0-alpha.255 → 0.2.0-alpha.257
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.ts +7 -0
- package/dist/index.js +9 -3
- package/dist/index.js.map +6 -6
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,13 @@ interface EntityDisplayEntry {
|
|
|
31
31
|
paginate?: boolean | undefined;
|
|
32
32
|
/** Items per page (default: 10). */
|
|
33
33
|
pageSize?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* A piece of work a visitor's answer may cite as a source. False always
|
|
36
|
+
* excludes a type. If any type is true, only true entries are candidates;
|
|
37
|
+
* otherwise entries with pages are candidates unless explicitly false.
|
|
38
|
+
* This selects citations, not access permissions.
|
|
39
|
+
*/
|
|
40
|
+
citable?: boolean | undefined;
|
|
34
41
|
navigation?: {
|
|
35
42
|
show?: boolean | undefined;
|
|
36
43
|
slot?: NavigationSlot | undefined;
|
package/dist/index.js
CHANGED
|
@@ -25342,7 +25342,6 @@ var askContentSchema = exports_external.object({
|
|
|
25342
25342
|
topicsHeading: exports_external.string().trim().min(1).max(120).optional(),
|
|
25343
25343
|
contactLabel: exports_external.string().trim().min(1).max(80).optional(),
|
|
25344
25344
|
contactNote: exports_external.string().trim().min(1).max(240).optional(),
|
|
25345
|
-
attribution: exports_external.string().trim().min(1).max(80).optional(),
|
|
25346
25345
|
mapCaption: exports_external.string().trim().min(1).max(160).optional()
|
|
25347
25346
|
});
|
|
25348
25347
|
var askContentFrontmatterSchema = askContentSchema.omit({ introduction: true });
|
|
@@ -43160,6 +43159,7 @@ var entityDisplaySchema = exports_external.strictObject({
|
|
|
43160
43159
|
layout: exports_external.string().min(1).optional(),
|
|
43161
43160
|
paginate: exports_external.boolean().optional(),
|
|
43162
43161
|
pageSize: exports_external.number().int().positive().optional(),
|
|
43162
|
+
citable: exports_external.boolean().optional(),
|
|
43163
43163
|
navigation: exports_external.strictObject({
|
|
43164
43164
|
show: exports_external.boolean().optional(),
|
|
43165
43165
|
slot: exports_external.enum(NavigationSlots2).optional(),
|
|
@@ -43314,7 +43314,13 @@ function extendSite(baseSite, overrides = {}) {
|
|
|
43314
43314
|
} = overrides;
|
|
43315
43315
|
const plugin = Object.hasOwn(overrides, "plugin") ? overrides.plugin : baseSite.plugin;
|
|
43316
43316
|
const layouts = overrideLayouts ? { ...baseSite.layouts, ...overrideLayouts } : baseSite.layouts;
|
|
43317
|
-
const entityDisplay = overrideEntityDisplay ? {
|
|
43317
|
+
const entityDisplay = overrideEntityDisplay ? {
|
|
43318
|
+
...baseSite.entityDisplay,
|
|
43319
|
+
...Object.fromEntries(Object.entries(overrideEntityDisplay).map(([entityType, display]) => [
|
|
43320
|
+
entityType,
|
|
43321
|
+
{ ...baseSite.entityDisplay[entityType], ...display }
|
|
43322
|
+
]))
|
|
43323
|
+
} : baseSite.entityDisplay;
|
|
43318
43324
|
const staticAssets = overrideStaticAssets ? { ...baseSite.staticAssets ?? {}, ...overrideStaticAssets } : baseSite.staticAssets;
|
|
43319
43325
|
const themeOverride = [baseSite.themeOverride, overrideThemeOverride].filter(Boolean).join(`
|
|
43320
43326
|
|
|
@@ -48665,4 +48671,4 @@ export {
|
|
|
48665
48671
|
workSections
|
|
48666
48672
|
};
|
|
48667
48673
|
|
|
48668
|
-
//# debugId=
|
|
48674
|
+
//# debugId=6F836211942A235964756E2164756E21
|