@koine/next 1.0.47 → 1.0.50
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/package.json +11 -11
- package/to.d.ts +2 -2
package/package.json
CHANGED
|
@@ -18,30 +18,30 @@
|
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": "^16.8 || ^17 || ^18",
|
|
20
20
|
"next": "^12.2.0",
|
|
21
|
-
"@koine/utils": "1.0.
|
|
22
|
-
"framer-motion": "^6.
|
|
23
|
-
"
|
|
21
|
+
"@koine/utils": "1.0.50",
|
|
22
|
+
"framer-motion": "^6.4.2",
|
|
23
|
+
"next-auth": "^4.9.0",
|
|
24
|
+
"@mui/material": "^5.8.7",
|
|
25
|
+
"@emotion/react": "^11.9.3",
|
|
24
26
|
"styled-components": "^5.3.5",
|
|
25
|
-
"
|
|
27
|
+
"react-hook-form": "^7.33.1",
|
|
28
|
+
"@koine/react": "1.0.50",
|
|
29
|
+
"@mui/base": "^5.0.0-alpha.88",
|
|
26
30
|
"react-icons": "^4.4.0",
|
|
27
31
|
"date-fns": "^2.28.0",
|
|
28
32
|
"react-swipeable": "^7.0.0",
|
|
29
33
|
"@tiptap/react": "^2.0.0-beta.114",
|
|
30
34
|
"@tiptap/starter-kit": "^2.0.0-beta.190",
|
|
31
35
|
"@kuus/yup": "^1.0.0-beta.4",
|
|
32
|
-
"
|
|
33
|
-
"type-fest": "^2.14.0",
|
|
36
|
+
"type-fest": "^2.16.0",
|
|
34
37
|
"react-popper": "^2.3.0",
|
|
35
38
|
"tslib": "^2.4.0",
|
|
36
|
-
"next-auth": "^4.7.0",
|
|
37
|
-
"@mui/material": "^5.8.6",
|
|
38
|
-
"@emotion/react": "^11.9.3",
|
|
39
39
|
"@emotion/server": "^11.4.0",
|
|
40
|
-
"next-translate": "^1.
|
|
40
|
+
"next-translate": "^1.5.0",
|
|
41
41
|
"next-seo": "^5.4.0",
|
|
42
42
|
"@hookform/resolvers": "^2.9.3"
|
|
43
43
|
},
|
|
44
|
-
"version": "1.0.
|
|
44
|
+
"version": "1.0.50",
|
|
45
45
|
"module": "./index.js",
|
|
46
46
|
"types": "./index.d.ts"
|
|
47
47
|
}
|
package/to.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ declare type OnlyDynamic<T extends string> = T extends `${string}.[${string}]` |
|
|
|
5
5
|
* @borrows [awesome-template-literal-types](https://github.com/ghoullier/awesome-template-literal-types#router-params-parsing)
|
|
6
6
|
*/
|
|
7
7
|
declare type ExtractRouteParams<T extends string> = string extends T ? Record<string, string> : T extends `${infer _Start}[${infer Param}].${infer Rest}` ? {
|
|
8
|
-
[k in Param | keyof ExtractRouteParams<Rest>]: string;
|
|
8
|
+
[k in Param | keyof ExtractRouteParams<Rest>]: string | number;
|
|
9
9
|
} : T extends `${infer _Start}[${infer Param}]` ? {
|
|
10
|
-
[k in Param]: string;
|
|
10
|
+
[k in Param]: string | number;
|
|
11
11
|
} : {};
|
|
12
12
|
export declare type ToTranslate = TranslateNamespaced<"~">;
|
|
13
13
|
export declare type ToStaticRoute = OnlyStatic<TranslatedRoute>;
|