@okam/directus-next-component 1.7.1 → 1.7.4
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/CHANGELOG.md +29 -0
- package/hooks/directus-file.d.ts +14 -14
- package/lib/directus-next-rewrite.d.ts +7 -0
- package/package.json +3 -3
- package/types/navigation-items.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
## 1.7.4 (2025-07-01)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- update vite-plugin-dts to version 3 ([5d33c77](https://github.com/OKAMca/stack/commit/5d33c77))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated stack-ui to 1.38.0
|
|
10
|
+
- Updated next-component to 1.0.6
|
|
11
|
+
|
|
12
|
+
### ❤️ Thank You
|
|
13
|
+
|
|
14
|
+
- Pierre-Olivier Clerson @poclerson
|
|
15
|
+
|
|
16
|
+
## 1.7.3 (2025-05-26)
|
|
17
|
+
|
|
18
|
+
### 🧱 Updated Dependencies
|
|
19
|
+
|
|
20
|
+
- Updated stack-ui to 1.37.0
|
|
21
|
+
- Updated next-component to 1.0.5
|
|
22
|
+
|
|
23
|
+
## 1.7.2 (2025-05-26)
|
|
24
|
+
|
|
25
|
+
### 🧱 Updated Dependencies
|
|
26
|
+
|
|
27
|
+
- Updated stack-ui to 1.37.0
|
|
28
|
+
- Updated next-component to 1.0.4
|
|
29
|
+
|
|
1
30
|
## 1.7.1 (2025-05-22)
|
|
2
31
|
|
|
3
32
|
### 🩹 Fixes
|
package/hooks/directus-file.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { TFiles } from '@okam/directus-next';
|
|
2
2
|
import type { Nullable } from '@okam/stack-ui';
|
|
3
3
|
export default function useDirectusFile(file: Nullable<TFiles>, baseUrl?: URL, searchParams?: Record<string, Nullable<string>>): {
|
|
4
|
-
tags?: any;
|
|
5
|
-
location?: string | null
|
|
6
|
-
storage?: string | null
|
|
7
|
-
focal_point_divider?: string | null
|
|
8
|
-
focal_point_x?: number | null
|
|
9
|
-
focal_point_y?: number | null
|
|
10
|
-
filename_disk?: string | null
|
|
11
|
-
filename_download?: string | null
|
|
12
|
-
type?: string | null
|
|
13
|
-
duration?: number | null
|
|
14
|
-
embed?: string | null
|
|
15
|
-
caption?: string | null
|
|
16
|
-
thumbhash?: string | null
|
|
17
|
-
filenameDownload?: string | null
|
|
4
|
+
tags?: any | null;
|
|
5
|
+
location?: string | null;
|
|
6
|
+
storage?: string | null;
|
|
7
|
+
focal_point_divider?: string | null;
|
|
8
|
+
focal_point_x?: number | null;
|
|
9
|
+
focal_point_y?: number | null;
|
|
10
|
+
filename_disk?: string | null;
|
|
11
|
+
filename_download?: string | null;
|
|
12
|
+
type?: string | null;
|
|
13
|
+
duration?: number | null;
|
|
14
|
+
embed?: string | null;
|
|
15
|
+
caption?: string | null;
|
|
16
|
+
thumbhash?: string | null;
|
|
17
|
+
filenameDownload?: string | null;
|
|
18
18
|
src: string;
|
|
19
19
|
alt: string;
|
|
20
20
|
width: number | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NextRequest } from 'next/server';
|
|
2
|
+
import { NextResponse } from 'next/server';
|
|
3
|
+
export declare function fetchPageSettings(pathName: string, lang?: string): Promise<string | null>;
|
|
4
|
+
export declare function directusRouteMiddleware(request: NextRequest, locales: string[]): Promise<NextResponse<unknown>>;
|
|
5
|
+
export declare const config: {
|
|
6
|
+
matcher: string[];
|
|
7
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okam/directus-next-component",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@okam/logger": "1.1.0",
|
|
36
|
-
"@okam/next-component": "1.0.
|
|
37
|
-
"@okam/stack-ui": "1.
|
|
36
|
+
"@okam/next-component": "1.0.6",
|
|
37
|
+
"@okam/stack-ui": "1.38.0",
|
|
38
38
|
"@react-spring/web": "^9.7.5",
|
|
39
39
|
"next": "^14.1.1",
|
|
40
40
|
"radashi": "^12.3.0",
|