seemore 1.11.0 → 1.12.0
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/README.md +8 -2
- package/dist/cli/index.js +48 -22
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/app/layout/Header.tsx +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
106
106
|
"export-html": "export-html";
|
|
107
107
|
}>>>;
|
|
108
108
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
109
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
109
110
|
auth: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
110
111
|
id: z.ZodOptional<z.ZodString>;
|
|
111
112
|
remember: z.ZodOptional<z.ZodString>;
|
|
@@ -170,6 +171,7 @@ interface ResolvedSeemoreConfig {
|
|
|
170
171
|
search: SearchConfig;
|
|
171
172
|
pageActions: ActionId[];
|
|
172
173
|
exclude: string[];
|
|
174
|
+
include: string[];
|
|
173
175
|
/** Present when the site is password-protected. Nothing here is ever sent to the browser. */
|
|
174
176
|
auth?: {
|
|
175
177
|
id: string;
|
package/package.json
CHANGED
|
@@ -62,7 +62,7 @@ export function Header() {
|
|
|
62
62
|
|
|
63
63
|
{/* Read directly, not through a helper, so an unprotected bundle folds this away. */}
|
|
64
64
|
{import.meta.env.SEEMORE_AUTH ? (
|
|
65
|
-
<button type="button" className="seemore-lock" aria-label="
|
|
65
|
+
<button type="button" className="seemore-lock" aria-label="Sign out" title="Sign out" onClick={() => void lockSite()}>
|
|
66
66
|
<LogOut aria-hidden="true" />
|
|
67
67
|
</button>
|
|
68
68
|
) : undefined}
|