zudoku 0.33.1 → 0.34.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/dist/config/validators/common.d.ts +572 -354
- package/dist/config/validators/common.js +26 -8
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +254 -167
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +11 -1
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +6 -6
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +4 -4
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Banner.js +1 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +2 -2
- package/dist/lib/components/Layout.js +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/navigation/SidebarItem.js +6 -5
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/core/RouteGuard.js +2 -1
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +4 -0
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +3 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +7 -4
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-catalog/index.js +1 -1
- package/dist/lib/plugins/api-catalog/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +5 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +6 -3
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js +3 -2
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +1 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js +2 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -5
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +14 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +10 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +13 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +80 -26
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +19 -13
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +4 -3
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +66 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +31 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +3 -0
- package/dist/lib/plugins/search-pagefind/get-results.js +37 -0
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/index.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/index.js +9 -0
- package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
- package/dist/lib/plugins/search-pagefind/types.js +2 -0
- package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
- package/dist/lib/ui/Checkbox.d.ts +2 -8
- package/dist/lib/ui/Checkbox.js +1 -13
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +13 -7
- package/dist/lib/ui/Command.js +2 -2
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Select.js +1 -1
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/SyntaxHighlight.d.ts +2 -1
- package/dist/lib/ui/SyntaxHighlight.js +19 -15
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +1 -1
- package/dist/lib/util/MdxComponents.js +2 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +6 -8
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/vite/build.js +4 -0
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.js +7 -2
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/dev-server.js +8 -0
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/pagefind.d.ts +4 -0
- package/dist/vite/pagefind.js +15 -0
- package/dist/vite/pagefind.js.map +1 -0
- package/dist/vite/plugin-component.js +4 -0
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-search.js +4 -0
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/prerender/prerender.js +1 -1
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/sitemap.js +2 -1
- package/dist/vite/sitemap.js.map +1 -1
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js → AuthenticationPlugin-4ip08maU.js} +3 -3
- package/lib/{AuthenticationPlugin-CiO1FM6Q.js.map → AuthenticationPlugin-4ip08maU.js.map} +1 -1
- package/lib/Callout-B_sEhkYd.js +211 -0
- package/lib/Callout-B_sEhkYd.js.map +1 -0
- package/lib/{Dialog-DIKGQxQc.js → Dialog-sbgekbjb.js} +47 -32
- package/lib/{Dialog-DIKGQxQc.js.map → Dialog-sbgekbjb.js.map} +1 -1
- package/lib/{Markdown-DePfm7oQ.js → Markdown-DZXjQjpH.js} +4099 -3848
- package/lib/Markdown-DZXjQjpH.js.map +1 -0
- package/lib/MdxPage-52vRwa_7.js +200 -0
- package/lib/MdxPage-52vRwa_7.js.map +1 -0
- package/lib/{OasProvider-SzD9mHJc.js → OasProvider-CR2nG1Eg.js} +4 -4
- package/lib/{OasProvider-SzD9mHJc.js.map → OasProvider-CR2nG1Eg.js.map} +1 -1
- package/lib/{OperationList-DDs9NblY.js → OperationList-DndcCJUG.js} +2069 -1983
- package/lib/OperationList-DndcCJUG.js.map +1 -0
- package/lib/{Select-Dqtcn53H.js → Select-FAYHOYTy.js} +4 -4
- package/lib/{Select-Dqtcn53H.js.map → Select-FAYHOYTy.js.map} +1 -1
- package/lib/{SlotletProvider-DdtIOUi6.js → SlotletProvider-TydSHROc.js} +4 -4
- package/lib/{SlotletProvider-DdtIOUi6.js.map → SlotletProvider-TydSHROc.js.map} +1 -1
- package/lib/{chunk-IR6S3I6Y-D_3UmFIn.js → chunk-HA7DTUK3-ZGg2W6yV.js} +277 -277
- package/lib/chunk-HA7DTUK3-ZGg2W6yV.js.map +1 -0
- package/lib/hook-CfCFKZ-2.js +350 -0
- package/lib/hook-CfCFKZ-2.js.map +1 -0
- package/lib/index-DK7IuUyR.js +2201 -0
- package/lib/index-DK7IuUyR.js.map +1 -0
- package/lib/{index.esm-CQHE3GEU.js → index.esm-CltAN0Tf.js} +259 -239
- package/lib/index.esm-CltAN0Tf.js.map +1 -0
- package/lib/{mutation-EclmI0is.js → mutation-B81DztCT.js} +2 -2
- package/lib/{mutation-EclmI0is.js.map → mutation-B81DztCT.js.map} +1 -1
- package/lib/objectEntries-BS7aAgOm.js +12 -0
- package/lib/objectEntries-BS7aAgOm.js.map +1 -0
- package/lib/ui/Checkbox.js +15 -25
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/Command.js +96 -70
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Select.js +1 -1
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +483 -502
- package/lib/ui/SyntaxHighlight.js.map +1 -1
- package/lib/{useExposedProps-RIvey2Oy.js → useExposedProps-BslIn-FE.js} +2 -2
- package/lib/{useExposedProps-RIvey2Oy.js.map → useExposedProps-BslIn-FE.js.map} +1 -1
- package/lib/useQuery-CQUwWR9i.js +1137 -0
- package/lib/useQuery-CQUwWR9i.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +29 -29
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +3 -3
- package/lib/zudoku.components.js +146 -149
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +1 -1
- package/lib/zudoku.plugin-api-catalog.js +87 -71
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +16 -15
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +2 -2
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +3 -3
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +204 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/package.json +10 -5
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/clerk.tsx +10 -6
- package/src/lib/components/AnchorLink.tsx +7 -7
- package/src/lib/components/Banner.tsx +1 -0
- package/src/lib/components/Heading.tsx +1 -1
- package/src/lib/components/Layout.tsx +1 -0
- package/src/lib/components/navigation/SidebarItem.tsx +8 -23
- package/src/lib/core/RouteGuard.tsx +2 -1
- package/src/lib/core/ZudokuContext.ts +4 -0
- package/src/lib/plugins/api-catalog/Catalog.tsx +23 -7
- package/src/lib/plugins/api-catalog/index.tsx +1 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +5 -1
- package/src/lib/plugins/openapi/OperationList.tsx +83 -31
- package/src/lib/plugins/openapi/OperationListItem.tsx +107 -86
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +7 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +1 -0
- package/src/lib/plugins/openapi/graphql/gql.ts +3 -3
- package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +30 -32
- package/src/lib/plugins/openapi/playground/Headers.tsx +0 -1
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +54 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +8 -2
- package/src/lib/plugins/openapi/playground/Playground.tsx +175 -88
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +0 -1
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +24 -4
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +66 -45
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +135 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +104 -0
- package/src/lib/plugins/search-pagefind/get-results.tsx +54 -0
- package/src/lib/plugins/search-pagefind/index.tsx +21 -0
- package/src/lib/plugins/search-pagefind/types.ts +118 -0
- package/src/lib/ui/Checkbox.tsx +8 -24
- package/src/lib/ui/Command.tsx +25 -3
- package/src/lib/ui/Select.tsx +1 -1
- package/src/lib/ui/SyntaxHighlight.tsx +94 -96
- package/src/lib/util/MdxComponents.tsx +2 -2
- package/src/lib/util/useScrollToAnchor.ts +8 -8
- package/lib/Markdown-DePfm7oQ.js.map +0 -1
- package/lib/MdxPage-DZTt9ld7.js +0 -193
- package/lib/MdxPage-DZTt9ld7.js.map +0 -1
- package/lib/OperationList-DDs9NblY.js.map +0 -1
- package/lib/chunk-IR6S3I6Y-D_3UmFIn.js.map +0 -1
- package/lib/hook-CN__aZIt.js +0 -1464
- package/lib/hook-CN__aZIt.js.map +0 -1
- package/lib/index-CibzSNks.js +0 -2100
- package/lib/index-CibzSNks.js.map +0 -1
- package/lib/index.esm-CQHE3GEU.js.map +0 -1
- package/lib/objectEntries-yMIkr2mI.js +0 -5
- package/lib/objectEntries-yMIkr2mI.js.map +0 -1
- package/lib/useScrollToAnchor-C7ilRSts.js +0 -290
- package/lib/useScrollToAnchor-C7ilRSts.js.map +0 -1
|
@@ -70,7 +70,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
70
70
|
}>>;
|
|
71
71
|
banner: z.ZodOptional<z.ZodObject<{
|
|
72
72
|
message: z.ZodType<NonNullable<ReactNode>, z.ZodTypeDef, NonNullable<ReactNode>>;
|
|
73
|
-
color: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | "note" | "tip" | "caution" | "danger"
|
|
73
|
+
color: z.ZodOptional<z.ZodUnion<[z.ZodType<"info" | (string & {}) | "note" | "tip" | "caution" | "danger", z.ZodEnumDef<z.EnumValues<string>>, "info" | (string & {}) | "note" | "tip" | "caution" | "danger">, z.ZodString]>>;
|
|
74
74
|
dismissible: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
message: NonNullable<ReactNode>;
|
|
@@ -82,6 +82,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
82
82
|
dismissible?: boolean | undefined;
|
|
83
83
|
}>>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
banner?: {
|
|
86
|
+
message: NonNullable<ReactNode>;
|
|
87
|
+
color?: string | (string & {}) | undefined;
|
|
88
|
+
dismissible?: boolean | undefined;
|
|
89
|
+
} | undefined;
|
|
85
90
|
pageTitle?: string | undefined;
|
|
86
91
|
logoUrl?: string | undefined;
|
|
87
92
|
logo?: {
|
|
@@ -92,12 +97,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
92
97
|
width?: string | undefined;
|
|
93
98
|
alt?: string | undefined;
|
|
94
99
|
} | undefined;
|
|
100
|
+
}, {
|
|
95
101
|
banner?: {
|
|
96
102
|
message: NonNullable<ReactNode>;
|
|
97
103
|
color?: string | (string & {}) | undefined;
|
|
98
104
|
dismissible?: boolean | undefined;
|
|
99
105
|
} | undefined;
|
|
100
|
-
}, {
|
|
101
106
|
pageTitle?: string | undefined;
|
|
102
107
|
logoUrl?: string | undefined;
|
|
103
108
|
logo?: {
|
|
@@ -108,11 +113,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
108
113
|
width?: string | undefined;
|
|
109
114
|
alt?: string | undefined;
|
|
110
115
|
} | undefined;
|
|
111
|
-
banner?: {
|
|
112
|
-
message: NonNullable<ReactNode>;
|
|
113
|
-
color?: string | (string & {}) | undefined;
|
|
114
|
-
dismissible?: boolean | undefined;
|
|
115
|
-
} | undefined;
|
|
116
116
|
}>>;
|
|
117
117
|
topNavigation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
118
|
label: z.ZodString;
|
|
@@ -123,12 +123,12 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
123
123
|
id: string;
|
|
124
124
|
label: string;
|
|
125
125
|
default?: string | undefined;
|
|
126
|
-
display?: "
|
|
126
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
127
127
|
}, {
|
|
128
128
|
id: string;
|
|
129
129
|
label: string;
|
|
130
130
|
default?: string | undefined;
|
|
131
|
-
display?: "
|
|
131
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
132
132
|
}>, "many">>;
|
|
133
133
|
sidebar: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<import("./InputSidebarSchema.js").InputSidebarItem, z.ZodTypeDef, import("./InputSidebarSchema.js").InputSidebarItem>, "many">>>;
|
|
134
134
|
theme: z.ZodOptional<z.ZodObject<{
|
|
@@ -156,8 +156,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
157
|
input?: string | undefined;
|
|
158
158
|
radius?: string | undefined;
|
|
159
|
-
border?: string | undefined;
|
|
160
159
|
popover?: string | undefined;
|
|
160
|
+
border?: string | undefined;
|
|
161
161
|
background?: string | undefined;
|
|
162
162
|
foreground?: string | undefined;
|
|
163
163
|
card?: string | undefined;
|
|
@@ -177,8 +177,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
177
177
|
}, {
|
|
178
178
|
input?: string | undefined;
|
|
179
179
|
radius?: string | undefined;
|
|
180
|
-
border?: string | undefined;
|
|
181
180
|
popover?: string | undefined;
|
|
181
|
+
border?: string | undefined;
|
|
182
182
|
background?: string | undefined;
|
|
183
183
|
foreground?: string | undefined;
|
|
184
184
|
card?: string | undefined;
|
|
@@ -220,8 +220,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
221
|
input?: string | undefined;
|
|
222
222
|
radius?: string | undefined;
|
|
223
|
-
border?: string | undefined;
|
|
224
223
|
popover?: string | undefined;
|
|
224
|
+
border?: string | undefined;
|
|
225
225
|
background?: string | undefined;
|
|
226
226
|
foreground?: string | undefined;
|
|
227
227
|
card?: string | undefined;
|
|
@@ -241,8 +241,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
241
241
|
}, {
|
|
242
242
|
input?: string | undefined;
|
|
243
243
|
radius?: string | undefined;
|
|
244
|
-
border?: string | undefined;
|
|
245
244
|
popover?: string | undefined;
|
|
245
|
+
border?: string | undefined;
|
|
246
246
|
background?: string | undefined;
|
|
247
247
|
foreground?: string | undefined;
|
|
248
248
|
card?: string | undefined;
|
|
@@ -304,8 +304,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
304
304
|
dark?: {
|
|
305
305
|
input?: string | undefined;
|
|
306
306
|
radius?: string | undefined;
|
|
307
|
-
border?: string | undefined;
|
|
308
307
|
popover?: string | undefined;
|
|
308
|
+
border?: string | undefined;
|
|
309
309
|
background?: string | undefined;
|
|
310
310
|
foreground?: string | undefined;
|
|
311
311
|
card?: string | undefined;
|
|
@@ -326,8 +326,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
326
326
|
light?: {
|
|
327
327
|
input?: string | undefined;
|
|
328
328
|
radius?: string | undefined;
|
|
329
|
-
border?: string | undefined;
|
|
330
329
|
popover?: string | undefined;
|
|
330
|
+
border?: string | undefined;
|
|
331
331
|
background?: string | undefined;
|
|
332
332
|
foreground?: string | undefined;
|
|
333
333
|
card?: string | undefined;
|
|
@@ -359,8 +359,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
359
359
|
dark?: {
|
|
360
360
|
input?: string | undefined;
|
|
361
361
|
radius?: string | undefined;
|
|
362
|
-
border?: string | undefined;
|
|
363
362
|
popover?: string | undefined;
|
|
363
|
+
border?: string | undefined;
|
|
364
364
|
background?: string | undefined;
|
|
365
365
|
foreground?: string | undefined;
|
|
366
366
|
card?: string | undefined;
|
|
@@ -381,8 +381,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
381
381
|
light?: {
|
|
382
382
|
input?: string | undefined;
|
|
383
383
|
radius?: string | undefined;
|
|
384
|
-
border?: string | undefined;
|
|
385
384
|
popover?: string | undefined;
|
|
385
|
+
border?: string | undefined;
|
|
386
386
|
background?: string | undefined;
|
|
387
387
|
foreground?: string | undefined;
|
|
388
388
|
card?: string | undefined;
|
|
@@ -518,7 +518,7 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
518
518
|
redirectToAfterSignOut?: string | undefined;
|
|
519
519
|
audience?: string | undefined;
|
|
520
520
|
}>]>>;
|
|
521
|
-
search: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
521
|
+
search: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
522
522
|
type: z.ZodLiteral<"inkeep">;
|
|
523
523
|
apiKey: z.ZodString;
|
|
524
524
|
integrationId: z.ZodString;
|
|
@@ -539,7 +539,50 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
539
539
|
organizationId: string;
|
|
540
540
|
primaryBrandColor: string;
|
|
541
541
|
organizationDisplayName: string;
|
|
542
|
-
}
|
|
542
|
+
}>, z.ZodObject<{
|
|
543
|
+
type: z.ZodLiteral<"pagefind">;
|
|
544
|
+
ranking: z.ZodOptional<z.ZodObject<{
|
|
545
|
+
termFrequency: z.ZodNumber;
|
|
546
|
+
pageLength: z.ZodNumber;
|
|
547
|
+
termSimilarity: z.ZodNumber;
|
|
548
|
+
termSaturation: z.ZodNumber;
|
|
549
|
+
}, "strip", z.ZodTypeAny, {
|
|
550
|
+
termFrequency: number;
|
|
551
|
+
pageLength: number;
|
|
552
|
+
termSimilarity: number;
|
|
553
|
+
termSaturation: number;
|
|
554
|
+
}, {
|
|
555
|
+
termFrequency: number;
|
|
556
|
+
pageLength: number;
|
|
557
|
+
termSimilarity: number;
|
|
558
|
+
termSaturation: number;
|
|
559
|
+
}>>;
|
|
560
|
+
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
561
|
+
maxSubResults: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
transformResults: z.ZodOptional<z.ZodType<(result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void, z.ZodTypeDef, (result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void>>;
|
|
563
|
+
}, "strip", z.ZodTypeAny, {
|
|
564
|
+
type: "pagefind";
|
|
565
|
+
ranking?: {
|
|
566
|
+
termFrequency: number;
|
|
567
|
+
pageLength: number;
|
|
568
|
+
termSimilarity: number;
|
|
569
|
+
termSaturation: number;
|
|
570
|
+
} | undefined;
|
|
571
|
+
maxResults?: number | undefined;
|
|
572
|
+
maxSubResults?: number | undefined;
|
|
573
|
+
transformResults?: ((result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
574
|
+
}, {
|
|
575
|
+
type: "pagefind";
|
|
576
|
+
ranking?: {
|
|
577
|
+
termFrequency: number;
|
|
578
|
+
pageLength: number;
|
|
579
|
+
termSimilarity: number;
|
|
580
|
+
termSaturation: number;
|
|
581
|
+
} | undefined;
|
|
582
|
+
maxResults?: number | undefined;
|
|
583
|
+
maxSubResults?: number | undefined;
|
|
584
|
+
transformResults?: ((result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
585
|
+
}>]>>>;
|
|
543
586
|
docs: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
544
587
|
files: z.ZodString;
|
|
545
588
|
defaultOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -1005,6 +1048,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1005
1048
|
organizationId: string;
|
|
1006
1049
|
primaryBrandColor: string;
|
|
1007
1050
|
organizationDisplayName: string;
|
|
1051
|
+
} | {
|
|
1052
|
+
type: "pagefind";
|
|
1053
|
+
ranking?: {
|
|
1054
|
+
termFrequency: number;
|
|
1055
|
+
pageLength: number;
|
|
1056
|
+
termSimilarity: number;
|
|
1057
|
+
termSaturation: number;
|
|
1058
|
+
} | undefined;
|
|
1059
|
+
maxResults?: number | undefined;
|
|
1060
|
+
maxSubResults?: number | undefined;
|
|
1061
|
+
transformResults?: ((result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1008
1062
|
} | undefined;
|
|
1009
1063
|
plugins?: ZudokuPlugin[] | undefined;
|
|
1010
1064
|
defaults?: {
|
|
@@ -1024,12 +1078,42 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1024
1078
|
creator?: string | undefined;
|
|
1025
1079
|
publisher?: string | undefined;
|
|
1026
1080
|
} | undefined;
|
|
1081
|
+
authentication?: {
|
|
1082
|
+
type: "clerk";
|
|
1083
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1084
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1085
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1086
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1087
|
+
} | {
|
|
1088
|
+
type: "openid";
|
|
1089
|
+
clientId: string;
|
|
1090
|
+
issuer: string;
|
|
1091
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1092
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1093
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1094
|
+
audience?: string | undefined;
|
|
1095
|
+
scopes?: string[] | undefined;
|
|
1096
|
+
} | {
|
|
1097
|
+
type: "auth0";
|
|
1098
|
+
clientId: string;
|
|
1099
|
+
domain: string;
|
|
1100
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1101
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1102
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1103
|
+
audience?: string | undefined;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
topNavigation?: {
|
|
1106
|
+
id: string;
|
|
1107
|
+
label: string;
|
|
1108
|
+
default?: string | undefined;
|
|
1109
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1110
|
+
}[] | undefined;
|
|
1027
1111
|
theme?: {
|
|
1028
1112
|
dark?: {
|
|
1029
1113
|
input?: string | undefined;
|
|
1030
1114
|
radius?: string | undefined;
|
|
1031
|
-
border?: string | undefined;
|
|
1032
1115
|
popover?: string | undefined;
|
|
1116
|
+
border?: string | undefined;
|
|
1033
1117
|
background?: string | undefined;
|
|
1034
1118
|
foreground?: string | undefined;
|
|
1035
1119
|
card?: string | undefined;
|
|
@@ -1050,8 +1134,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1050
1134
|
light?: {
|
|
1051
1135
|
input?: string | undefined;
|
|
1052
1136
|
radius?: string | undefined;
|
|
1053
|
-
border?: string | undefined;
|
|
1054
1137
|
popover?: string | undefined;
|
|
1138
|
+
border?: string | undefined;
|
|
1055
1139
|
background?: string | undefined;
|
|
1056
1140
|
foreground?: string | undefined;
|
|
1057
1141
|
card?: string | undefined;
|
|
@@ -1107,6 +1191,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1107
1191
|
ca?: string | undefined;
|
|
1108
1192
|
} | undefined;
|
|
1109
1193
|
page?: {
|
|
1194
|
+
banner?: {
|
|
1195
|
+
message: NonNullable<ReactNode>;
|
|
1196
|
+
color?: string | (string & {}) | undefined;
|
|
1197
|
+
dismissible?: boolean | undefined;
|
|
1198
|
+
} | undefined;
|
|
1110
1199
|
pageTitle?: string | undefined;
|
|
1111
1200
|
logoUrl?: string | undefined;
|
|
1112
1201
|
logo?: {
|
|
@@ -1117,41 +1206,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1117
1206
|
width?: string | undefined;
|
|
1118
1207
|
alt?: string | undefined;
|
|
1119
1208
|
} | undefined;
|
|
1120
|
-
banner?: {
|
|
1121
|
-
message: NonNullable<ReactNode>;
|
|
1122
|
-
color?: string | (string & {}) | undefined;
|
|
1123
|
-
dismissible?: boolean | undefined;
|
|
1124
|
-
} | undefined;
|
|
1125
|
-
} | undefined;
|
|
1126
|
-
topNavigation?: {
|
|
1127
|
-
id: string;
|
|
1128
|
-
label: string;
|
|
1129
|
-
default?: string | undefined;
|
|
1130
|
-
display?: "always" | "auth" | "anon" | undefined;
|
|
1131
|
-
}[] | undefined;
|
|
1132
|
-
authentication?: {
|
|
1133
|
-
type: "clerk";
|
|
1134
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1135
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1136
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1137
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1138
|
-
} | {
|
|
1139
|
-
type: "openid";
|
|
1140
|
-
clientId: string;
|
|
1141
|
-
issuer: string;
|
|
1142
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1143
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1144
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1145
|
-
audience?: string | undefined;
|
|
1146
|
-
scopes?: string[] | undefined;
|
|
1147
|
-
} | {
|
|
1148
|
-
type: "auth0";
|
|
1149
|
-
clientId: string;
|
|
1150
|
-
domain: string;
|
|
1151
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1152
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1153
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1154
|
-
audience?: string | undefined;
|
|
1155
1209
|
} | undefined;
|
|
1156
1210
|
docs?: {
|
|
1157
1211
|
files: string;
|
|
@@ -1285,6 +1339,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1285
1339
|
organizationId: string;
|
|
1286
1340
|
primaryBrandColor: string;
|
|
1287
1341
|
organizationDisplayName: string;
|
|
1342
|
+
} | {
|
|
1343
|
+
type: "pagefind";
|
|
1344
|
+
ranking?: {
|
|
1345
|
+
termFrequency: number;
|
|
1346
|
+
pageLength: number;
|
|
1347
|
+
termSimilarity: number;
|
|
1348
|
+
termSaturation: number;
|
|
1349
|
+
} | undefined;
|
|
1350
|
+
maxResults?: number | undefined;
|
|
1351
|
+
maxSubResults?: number | undefined;
|
|
1352
|
+
transformResults?: ((result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1288
1353
|
} | undefined;
|
|
1289
1354
|
plugins?: ZudokuPlugin[] | undefined;
|
|
1290
1355
|
defaults?: {
|
|
@@ -1304,12 +1369,42 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1304
1369
|
creator?: string | undefined;
|
|
1305
1370
|
publisher?: string | undefined;
|
|
1306
1371
|
} | undefined;
|
|
1372
|
+
authentication?: {
|
|
1373
|
+
type: "clerk";
|
|
1374
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1375
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1376
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1377
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1378
|
+
} | {
|
|
1379
|
+
type: "openid";
|
|
1380
|
+
clientId: string;
|
|
1381
|
+
issuer: string;
|
|
1382
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1383
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1384
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1385
|
+
audience?: string | undefined;
|
|
1386
|
+
scopes?: string[] | undefined;
|
|
1387
|
+
} | {
|
|
1388
|
+
type: "auth0";
|
|
1389
|
+
clientId: string;
|
|
1390
|
+
domain: string;
|
|
1391
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1392
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1393
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1394
|
+
audience?: string | undefined;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
topNavigation?: {
|
|
1397
|
+
id: string;
|
|
1398
|
+
label: string;
|
|
1399
|
+
default?: string | undefined;
|
|
1400
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1401
|
+
}[] | undefined;
|
|
1307
1402
|
theme?: {
|
|
1308
1403
|
dark?: {
|
|
1309
1404
|
input?: string | undefined;
|
|
1310
1405
|
radius?: string | undefined;
|
|
1311
|
-
border?: string | undefined;
|
|
1312
1406
|
popover?: string | undefined;
|
|
1407
|
+
border?: string | undefined;
|
|
1313
1408
|
background?: string | undefined;
|
|
1314
1409
|
foreground?: string | undefined;
|
|
1315
1410
|
card?: string | undefined;
|
|
@@ -1330,8 +1425,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1330
1425
|
light?: {
|
|
1331
1426
|
input?: string | undefined;
|
|
1332
1427
|
radius?: string | undefined;
|
|
1333
|
-
border?: string | undefined;
|
|
1334
1428
|
popover?: string | undefined;
|
|
1429
|
+
border?: string | undefined;
|
|
1335
1430
|
background?: string | undefined;
|
|
1336
1431
|
foreground?: string | undefined;
|
|
1337
1432
|
card?: string | undefined;
|
|
@@ -1387,6 +1482,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1387
1482
|
ca?: string | undefined;
|
|
1388
1483
|
} | undefined;
|
|
1389
1484
|
page?: {
|
|
1485
|
+
banner?: {
|
|
1486
|
+
message: NonNullable<ReactNode>;
|
|
1487
|
+
color?: string | (string & {}) | undefined;
|
|
1488
|
+
dismissible?: boolean | undefined;
|
|
1489
|
+
} | undefined;
|
|
1390
1490
|
pageTitle?: string | undefined;
|
|
1391
1491
|
logoUrl?: string | undefined;
|
|
1392
1492
|
logo?: {
|
|
@@ -1397,41 +1497,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1397
1497
|
width?: string | undefined;
|
|
1398
1498
|
alt?: string | undefined;
|
|
1399
1499
|
} | undefined;
|
|
1400
|
-
banner?: {
|
|
1401
|
-
message: NonNullable<ReactNode>;
|
|
1402
|
-
color?: string | (string & {}) | undefined;
|
|
1403
|
-
dismissible?: boolean | undefined;
|
|
1404
|
-
} | undefined;
|
|
1405
|
-
} | undefined;
|
|
1406
|
-
topNavigation?: {
|
|
1407
|
-
id: string;
|
|
1408
|
-
label: string;
|
|
1409
|
-
default?: string | undefined;
|
|
1410
|
-
display?: "always" | "auth" | "anon" | undefined;
|
|
1411
|
-
}[] | undefined;
|
|
1412
|
-
authentication?: {
|
|
1413
|
-
type: "clerk";
|
|
1414
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1415
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1416
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1417
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1418
|
-
} | {
|
|
1419
|
-
type: "openid";
|
|
1420
|
-
clientId: string;
|
|
1421
|
-
issuer: string;
|
|
1422
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1423
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1424
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1425
|
-
audience?: string | undefined;
|
|
1426
|
-
scopes?: string[] | undefined;
|
|
1427
|
-
} | {
|
|
1428
|
-
type: "auth0";
|
|
1429
|
-
clientId: string;
|
|
1430
|
-
domain: string;
|
|
1431
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1432
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1433
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1434
|
-
audience?: string | undefined;
|
|
1435
1500
|
} | undefined;
|
|
1436
1501
|
docs?: {
|
|
1437
1502
|
files: string;
|
|
@@ -1565,6 +1630,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1565
1630
|
organizationId: string;
|
|
1566
1631
|
primaryBrandColor: string;
|
|
1567
1632
|
organizationDisplayName: string;
|
|
1633
|
+
} | {
|
|
1634
|
+
type: "pagefind";
|
|
1635
|
+
ranking?: {
|
|
1636
|
+
termFrequency: number;
|
|
1637
|
+
pageLength: number;
|
|
1638
|
+
termSimilarity: number;
|
|
1639
|
+
termSaturation: number;
|
|
1640
|
+
} | undefined;
|
|
1641
|
+
maxResults?: number | undefined;
|
|
1642
|
+
maxSubResults?: number | undefined;
|
|
1643
|
+
transformResults?: ((result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1568
1644
|
} | undefined;
|
|
1569
1645
|
plugins?: ZudokuPlugin[] | undefined;
|
|
1570
1646
|
defaults?: {
|
|
@@ -1584,12 +1660,42 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1584
1660
|
creator?: string | undefined;
|
|
1585
1661
|
publisher?: string | undefined;
|
|
1586
1662
|
} | undefined;
|
|
1663
|
+
authentication?: {
|
|
1664
|
+
type: "clerk";
|
|
1665
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1666
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1667
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1668
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1669
|
+
} | {
|
|
1670
|
+
type: "openid";
|
|
1671
|
+
clientId: string;
|
|
1672
|
+
issuer: string;
|
|
1673
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1674
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1675
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1676
|
+
audience?: string | undefined;
|
|
1677
|
+
scopes?: string[] | undefined;
|
|
1678
|
+
} | {
|
|
1679
|
+
type: "auth0";
|
|
1680
|
+
clientId: string;
|
|
1681
|
+
domain: string;
|
|
1682
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1683
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1684
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1685
|
+
audience?: string | undefined;
|
|
1686
|
+
} | undefined;
|
|
1687
|
+
topNavigation?: {
|
|
1688
|
+
id: string;
|
|
1689
|
+
label: string;
|
|
1690
|
+
default?: string | undefined;
|
|
1691
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1692
|
+
}[] | undefined;
|
|
1587
1693
|
theme?: {
|
|
1588
1694
|
dark?: {
|
|
1589
1695
|
input?: string | undefined;
|
|
1590
1696
|
radius?: string | undefined;
|
|
1591
|
-
border?: string | undefined;
|
|
1592
1697
|
popover?: string | undefined;
|
|
1698
|
+
border?: string | undefined;
|
|
1593
1699
|
background?: string | undefined;
|
|
1594
1700
|
foreground?: string | undefined;
|
|
1595
1701
|
card?: string | undefined;
|
|
@@ -1610,8 +1716,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1610
1716
|
light?: {
|
|
1611
1717
|
input?: string | undefined;
|
|
1612
1718
|
radius?: string | undefined;
|
|
1613
|
-
border?: string | undefined;
|
|
1614
1719
|
popover?: string | undefined;
|
|
1720
|
+
border?: string | undefined;
|
|
1615
1721
|
background?: string | undefined;
|
|
1616
1722
|
foreground?: string | undefined;
|
|
1617
1723
|
card?: string | undefined;
|
|
@@ -1667,6 +1773,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1667
1773
|
ca?: string | undefined;
|
|
1668
1774
|
} | undefined;
|
|
1669
1775
|
page?: {
|
|
1776
|
+
banner?: {
|
|
1777
|
+
message: NonNullable<ReactNode>;
|
|
1778
|
+
color?: string | (string & {}) | undefined;
|
|
1779
|
+
dismissible?: boolean | undefined;
|
|
1780
|
+
} | undefined;
|
|
1670
1781
|
pageTitle?: string | undefined;
|
|
1671
1782
|
logoUrl?: string | undefined;
|
|
1672
1783
|
logo?: {
|
|
@@ -1677,41 +1788,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1677
1788
|
width?: string | undefined;
|
|
1678
1789
|
alt?: string | undefined;
|
|
1679
1790
|
} | undefined;
|
|
1680
|
-
banner?: {
|
|
1681
|
-
message: NonNullable<ReactNode>;
|
|
1682
|
-
color?: string | (string & {}) | undefined;
|
|
1683
|
-
dismissible?: boolean | undefined;
|
|
1684
|
-
} | undefined;
|
|
1685
|
-
} | undefined;
|
|
1686
|
-
topNavigation?: {
|
|
1687
|
-
id: string;
|
|
1688
|
-
label: string;
|
|
1689
|
-
default?: string | undefined;
|
|
1690
|
-
display?: "always" | "auth" | "anon" | undefined;
|
|
1691
|
-
}[] | undefined;
|
|
1692
|
-
authentication?: {
|
|
1693
|
-
type: "clerk";
|
|
1694
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1695
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1696
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1697
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1698
|
-
} | {
|
|
1699
|
-
type: "openid";
|
|
1700
|
-
clientId: string;
|
|
1701
|
-
issuer: string;
|
|
1702
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1703
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1704
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1705
|
-
audience?: string | undefined;
|
|
1706
|
-
scopes?: string[] | undefined;
|
|
1707
|
-
} | {
|
|
1708
|
-
type: "auth0";
|
|
1709
|
-
clientId: string;
|
|
1710
|
-
domain: string;
|
|
1711
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1712
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1713
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1714
|
-
audience?: string | undefined;
|
|
1715
1791
|
} | undefined;
|
|
1716
1792
|
docs?: {
|
|
1717
1793
|
files: string;
|
|
@@ -1845,6 +1921,17 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1845
1921
|
organizationId: string;
|
|
1846
1922
|
primaryBrandColor: string;
|
|
1847
1923
|
organizationDisplayName: string;
|
|
1924
|
+
} | {
|
|
1925
|
+
type: "pagefind";
|
|
1926
|
+
ranking?: {
|
|
1927
|
+
termFrequency: number;
|
|
1928
|
+
pageLength: number;
|
|
1929
|
+
termSimilarity: number;
|
|
1930
|
+
termSaturation: number;
|
|
1931
|
+
} | undefined;
|
|
1932
|
+
maxResults?: number | undefined;
|
|
1933
|
+
maxSubResults?: number | undefined;
|
|
1934
|
+
transformResults?: ((result: import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment) => import("../../lib/plugins/search-pagefind/types.js").PagefindSearchFragment | boolean | undefined | void) | undefined;
|
|
1848
1935
|
} | undefined;
|
|
1849
1936
|
plugins?: ZudokuPlugin[] | undefined;
|
|
1850
1937
|
defaults?: {
|
|
@@ -1864,12 +1951,42 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1864
1951
|
creator?: string | undefined;
|
|
1865
1952
|
publisher?: string | undefined;
|
|
1866
1953
|
} | undefined;
|
|
1954
|
+
authentication?: {
|
|
1955
|
+
type: "clerk";
|
|
1956
|
+
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1957
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1958
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1959
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1960
|
+
} | {
|
|
1961
|
+
type: "openid";
|
|
1962
|
+
clientId: string;
|
|
1963
|
+
issuer: string;
|
|
1964
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1965
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1966
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1967
|
+
audience?: string | undefined;
|
|
1968
|
+
scopes?: string[] | undefined;
|
|
1969
|
+
} | {
|
|
1970
|
+
type: "auth0";
|
|
1971
|
+
clientId: string;
|
|
1972
|
+
domain: string;
|
|
1973
|
+
redirectToAfterSignUp?: string | undefined;
|
|
1974
|
+
redirectToAfterSignIn?: string | undefined;
|
|
1975
|
+
redirectToAfterSignOut?: string | undefined;
|
|
1976
|
+
audience?: string | undefined;
|
|
1977
|
+
} | undefined;
|
|
1978
|
+
topNavigation?: {
|
|
1979
|
+
id: string;
|
|
1980
|
+
label: string;
|
|
1981
|
+
default?: string | undefined;
|
|
1982
|
+
display?: "auth" | "anon" | "always" | undefined;
|
|
1983
|
+
}[] | undefined;
|
|
1867
1984
|
theme?: {
|
|
1868
1985
|
dark?: {
|
|
1869
1986
|
input?: string | undefined;
|
|
1870
1987
|
radius?: string | undefined;
|
|
1871
|
-
border?: string | undefined;
|
|
1872
1988
|
popover?: string | undefined;
|
|
1989
|
+
border?: string | undefined;
|
|
1873
1990
|
background?: string | undefined;
|
|
1874
1991
|
foreground?: string | undefined;
|
|
1875
1992
|
card?: string | undefined;
|
|
@@ -1890,8 +2007,8 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1890
2007
|
light?: {
|
|
1891
2008
|
input?: string | undefined;
|
|
1892
2009
|
radius?: string | undefined;
|
|
1893
|
-
border?: string | undefined;
|
|
1894
2010
|
popover?: string | undefined;
|
|
2011
|
+
border?: string | undefined;
|
|
1895
2012
|
background?: string | undefined;
|
|
1896
2013
|
foreground?: string | undefined;
|
|
1897
2014
|
card?: string | undefined;
|
|
@@ -1947,6 +2064,11 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1947
2064
|
ca?: string | undefined;
|
|
1948
2065
|
} | undefined;
|
|
1949
2066
|
page?: {
|
|
2067
|
+
banner?: {
|
|
2068
|
+
message: NonNullable<ReactNode>;
|
|
2069
|
+
color?: string | (string & {}) | undefined;
|
|
2070
|
+
dismissible?: boolean | undefined;
|
|
2071
|
+
} | undefined;
|
|
1950
2072
|
pageTitle?: string | undefined;
|
|
1951
2073
|
logoUrl?: string | undefined;
|
|
1952
2074
|
logo?: {
|
|
@@ -1957,41 +2079,6 @@ declare const ConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1957
2079
|
width?: string | undefined;
|
|
1958
2080
|
alt?: string | undefined;
|
|
1959
2081
|
} | undefined;
|
|
1960
|
-
banner?: {
|
|
1961
|
-
message: NonNullable<ReactNode>;
|
|
1962
|
-
color?: string | (string & {}) | undefined;
|
|
1963
|
-
dismissible?: boolean | undefined;
|
|
1964
|
-
} | undefined;
|
|
1965
|
-
} | undefined;
|
|
1966
|
-
topNavigation?: {
|
|
1967
|
-
id: string;
|
|
1968
|
-
label: string;
|
|
1969
|
-
default?: string | undefined;
|
|
1970
|
-
display?: "always" | "auth" | "anon" | undefined;
|
|
1971
|
-
}[] | undefined;
|
|
1972
|
-
authentication?: {
|
|
1973
|
-
type: "clerk";
|
|
1974
|
-
clerkPubKey: `pk_test_${string}` | `pk_live_${string}`;
|
|
1975
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1976
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1977
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1978
|
-
} | {
|
|
1979
|
-
type: "openid";
|
|
1980
|
-
clientId: string;
|
|
1981
|
-
issuer: string;
|
|
1982
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1983
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1984
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1985
|
-
audience?: string | undefined;
|
|
1986
|
-
scopes?: string[] | undefined;
|
|
1987
|
-
} | {
|
|
1988
|
-
type: "auth0";
|
|
1989
|
-
clientId: string;
|
|
1990
|
-
domain: string;
|
|
1991
|
-
redirectToAfterSignUp?: string | undefined;
|
|
1992
|
-
redirectToAfterSignIn?: string | undefined;
|
|
1993
|
-
redirectToAfterSignOut?: string | undefined;
|
|
1994
|
-
audience?: string | undefined;
|
|
1995
2082
|
} | undefined;
|
|
1996
2083
|
docs?: {
|
|
1997
2084
|
files: string;
|