@silicajs/next 0.3.1 → 0.3.2
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/google-sign-in-button.d.ts +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/routes/not-allowed.d.ts +2 -2
- package/dist/routes/not-found.d.ts +2 -2
- package/dist/routes/page.d.ts +2 -2
- package/dist/routes/sign-in.d.ts +2 -2
- package/dist/routes/tags-page.d.ts +2 -2
- package/dist/routing-provider.d.ts +3 -4
- package/dist/theme-page.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
type GoogleSignInButtonProps = {
|
|
4
4
|
callbackURL?: string;
|
|
5
5
|
errorCallbackURL?: string;
|
|
6
6
|
};
|
|
7
7
|
declare function resolveCallbackURL(explicit?: string): string;
|
|
8
|
-
declare function GoogleSignInButton({ callbackURL, errorCallbackURL, }: GoogleSignInButtonProps):
|
|
8
|
+
declare function GoogleSignInButton({ callbackURL, errorCallbackURL, }: GoogleSignInButtonProps): react.JSX.Element;
|
|
9
9
|
|
|
10
10
|
export { GoogleSignInButton, type GoogleSignInButtonProps, resolveCallbackURL };
|
package/dist/index.d.ts
CHANGED
package/dist/routes/page.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { SilicaTheme } from '@silicajs/core/theme';
|
|
3
3
|
|
|
4
4
|
declare function generateStaticParams(): Promise<{
|
|
@@ -23,6 +23,6 @@ declare function VaultContent({ slug, renderHash, renderEnvironmentHash, theme,
|
|
|
23
23
|
renderHash: string;
|
|
24
24
|
renderEnvironmentHash: string;
|
|
25
25
|
theme: SilicaTheme;
|
|
26
|
-
}): Promise<
|
|
26
|
+
}): Promise<react.JSX.Element>;
|
|
27
27
|
|
|
28
28
|
export { type PageProps, VaultContent, generateMetadata, generateStaticParams };
|
package/dist/routes/sign-in.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
type TagsPageProps = {
|
|
4
4
|
params: Promise<{
|
|
@@ -13,6 +13,6 @@ declare function generateStaticParams(): Promise<{
|
|
|
13
13
|
declare function generateMetadata({ params }: TagsPageProps): Promise<{
|
|
14
14
|
title: string;
|
|
15
15
|
}>;
|
|
16
|
-
declare function TagsPage({ params }: TagsPageProps): Promise<
|
|
16
|
+
declare function TagsPage({ params }: TagsPageProps): Promise<react.JSX.Element>;
|
|
17
17
|
|
|
18
18
|
export { type TagsPageProps, TagsPage as default, generateMetadata, generateStaticParams };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as React from 'react';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
|
|
4
3
|
declare function SilicaNextRoutingProvider({ children, }: {
|
|
5
|
-
children:
|
|
6
|
-
}):
|
|
4
|
+
children: react.ReactNode;
|
|
5
|
+
}): react.JSX.Element;
|
|
7
6
|
|
|
8
7
|
export { SilicaNextRoutingProvider };
|
package/dist/theme-page.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silicajs/next",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Next.js runtime, routes, templates, and proxy for Silica.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
"lint": "tsc --noEmit"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@silicajs/auth": "^0.1.
|
|
98
|
+
"@silicajs/auth": "^0.1.2",
|
|
99
99
|
"@silicajs/components": "^0.2.4",
|
|
100
|
-
"@silicajs/core": "^0.6.
|
|
100
|
+
"@silicajs/core": "^0.6.1",
|
|
101
101
|
"@silicajs/remark-obsidian": "^0.1.0",
|
|
102
102
|
"@silicajs/search": "^0.3.1",
|
|
103
|
-
"better-auth": "1.6.
|
|
103
|
+
"better-auth": "1.6.16",
|
|
104
104
|
"better-sqlite3": "^12.10.0",
|
|
105
105
|
"jiti": "^2.7.0",
|
|
106
106
|
"katex": "^0.17.0"
|