@okam/directus-next 1.2.14 → 1.2.15
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 +10 -0
- package/package.json +1 -2
- package/pageSettings/interface.d.ts +1 -2
- package/server.js +5 -2549
- package/server.mjs +11 -2555
- package/types/pageSettings.d.ts +22 -23
- package/ErrorIcon-DM65zoku.mjs +0 -14
- package/ErrorIcon-Vnk7YKtL.js +0 -14
package/types/pageSettings.d.ts
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
import { Nullable } from '../../../../stack/stack-ui/src/index.ts';
|
|
2
1
|
import { TFiles } from '../files';
|
|
3
2
|
import { Fragmentize } from './Fragments';
|
|
4
3
|
|
|
5
4
|
export interface TPageSettingsTranslation {
|
|
6
|
-
languages_code?:
|
|
7
|
-
code?:
|
|
8
|
-
}
|
|
9
|
-
page_settings_id?:
|
|
10
|
-
belongs_to_collection?:
|
|
11
|
-
belongs_to_key?:
|
|
12
|
-
}
|
|
13
|
-
title?:
|
|
14
|
-
slug?:
|
|
15
|
-
path?:
|
|
16
|
-
meta_description?:
|
|
17
|
-
no_follow?:
|
|
18
|
-
no_index?:
|
|
19
|
-
og_image?:
|
|
5
|
+
languages_code?: {
|
|
6
|
+
code?: string | null | undefined;
|
|
7
|
+
} | null | undefined;
|
|
8
|
+
page_settings_id?: {
|
|
9
|
+
belongs_to_collection?: string | null | undefined;
|
|
10
|
+
belongs_to_key?: string | null | undefined;
|
|
11
|
+
} | null | undefined;
|
|
12
|
+
title?: string | null | undefined;
|
|
13
|
+
slug?: string | null | undefined;
|
|
14
|
+
path?: string | null | undefined;
|
|
15
|
+
meta_description?: string | null | undefined;
|
|
16
|
+
no_follow?: boolean | null | undefined;
|
|
17
|
+
no_index?: boolean | null | undefined;
|
|
18
|
+
og_image?: TFiles | null | undefined;
|
|
20
19
|
}
|
|
21
20
|
export interface TPageSettings {
|
|
22
21
|
id: string;
|
|
23
|
-
belongs_to_collection?:
|
|
24
|
-
belongs_to_key?:
|
|
22
|
+
belongs_to_collection?: string | null | undefined;
|
|
23
|
+
belongs_to_key?: string | null | undefined;
|
|
25
24
|
translations?: DeepNullableArray<TPageSettingsTranslation>;
|
|
26
|
-
route?:
|
|
25
|
+
route?: {
|
|
27
26
|
translations?: DeepNullableArray<{
|
|
28
|
-
route?:
|
|
27
|
+
route?: string | null | undefined;
|
|
29
28
|
}>;
|
|
30
|
-
}
|
|
29
|
+
} | null | undefined;
|
|
31
30
|
}
|
|
32
|
-
export type TPageSettingsQueryItem =
|
|
31
|
+
export type TPageSettingsQueryItem = {
|
|
33
32
|
page_settings?: TPageSettings | Fragmentize<TPageSettings, 'PageSettingsFragment'>;
|
|
34
|
-
}
|
|
33
|
+
} | null | undefined;
|
|
35
34
|
export type TPageSettingsItemQuery<Item extends TPageSettingsQueryItem, ItemKey extends string> = {
|
|
36
35
|
[Key in ItemKey]?: MaybeArray<Item> | MaybeArray<Fragmentize<Item>>;
|
|
37
36
|
} & {
|
|
38
37
|
__typename?: 'Query';
|
|
39
38
|
};
|
|
40
|
-
export type DeepNullableArray<T> =
|
|
39
|
+
export type DeepNullableArray<T> = (T | null | undefined)[] | null | undefined;
|
|
41
40
|
export type MaybeArray<T> = T | (T | null | undefined)[] | null | undefined;
|
package/ErrorIcon-DM65zoku.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { isEqual } from "radashi";
|
|
3
|
-
import { memo } from "react";
|
|
4
|
-
const SvgComponent = (props) => /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "16 14 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("g", { clipPath: "url(#clip0_73015_2388)", children: /* @__PURE__ */ jsx(
|
|
5
|
-
"path",
|
|
6
|
-
{
|
|
7
|
-
d: "M32 22C32 24.1217 31.1571 26.1566 29.6569 27.6569C28.1566 29.1571 26.1217 30 24 30C21.8783 30 19.8434 29.1571 18.3431 27.6569C16.8429 26.1566 16 24.1217 16 22C16 19.8783 16.8429 17.8434 18.3431 16.3431C19.8434 14.8429 21.8783 14 24 14C26.1217 14 28.1566 14.8429 29.6569 16.3431C31.1571 17.8434 32 19.8783 32 22ZM24 18C23.8736 18.0001 23.7486 18.0266 23.6331 18.0779C23.5176 18.1292 23.4141 18.2042 23.3293 18.2979C23.2446 18.3916 23.1803 18.5021 23.1408 18.6222C23.1013 18.7422 23.0874 18.8692 23.1 18.995L23.45 22.502C23.4618 22.6398 23.5248 22.7681 23.6266 22.8616C23.7285 22.9552 23.8617 23.0071 24 23.0071C24.1383 23.0071 24.2715 22.9552 24.3734 22.8616C24.4752 22.7681 24.5382 22.6398 24.55 22.502L24.9 18.995C24.9126 18.8692 24.8987 18.7422 24.8592 18.6222C24.8197 18.5021 24.7554 18.3916 24.6707 18.2979C24.5859 18.2042 24.4824 18.1292 24.3669 18.0779C24.2514 18.0266 24.1264 18.0001 24 18ZM24.002 24C23.7368 24 23.4824 24.1054 23.2949 24.2929C23.1074 24.4804 23.002 24.7348 23.002 25C23.002 25.2652 23.1074 25.5196 23.2949 25.7071C23.4824 25.8946 23.7368 26 24.002 26C24.2672 26 24.5216 25.8946 24.7091 25.7071C24.8966 25.5196 25.002 25.2652 25.002 25C25.002 24.7348 24.8966 24.4804 24.7091 24.2929C24.5216 24.1054 24.2672 24 24.002 24Z",
|
|
8
|
-
fill: "currentColor"
|
|
9
|
-
}
|
|
10
|
-
) }) });
|
|
11
|
-
const ErrorIcon = memo(SvgComponent, isEqual);
|
|
12
|
-
export {
|
|
13
|
-
ErrorIcon as default
|
|
14
|
-
};
|
package/ErrorIcon-Vnk7YKtL.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
const radashi = require("radashi");
|
|
5
|
-
const React = require("react");
|
|
6
|
-
const SvgComponent = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "16 14 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#clip0_73015_2388)", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7
|
-
"path",
|
|
8
|
-
{
|
|
9
|
-
d: "M32 22C32 24.1217 31.1571 26.1566 29.6569 27.6569C28.1566 29.1571 26.1217 30 24 30C21.8783 30 19.8434 29.1571 18.3431 27.6569C16.8429 26.1566 16 24.1217 16 22C16 19.8783 16.8429 17.8434 18.3431 16.3431C19.8434 14.8429 21.8783 14 24 14C26.1217 14 28.1566 14.8429 29.6569 16.3431C31.1571 17.8434 32 19.8783 32 22ZM24 18C23.8736 18.0001 23.7486 18.0266 23.6331 18.0779C23.5176 18.1292 23.4141 18.2042 23.3293 18.2979C23.2446 18.3916 23.1803 18.5021 23.1408 18.6222C23.1013 18.7422 23.0874 18.8692 23.1 18.995L23.45 22.502C23.4618 22.6398 23.5248 22.7681 23.6266 22.8616C23.7285 22.9552 23.8617 23.0071 24 23.0071C24.1383 23.0071 24.2715 22.9552 24.3734 22.8616C24.4752 22.7681 24.5382 22.6398 24.55 22.502L24.9 18.995C24.9126 18.8692 24.8987 18.7422 24.8592 18.6222C24.8197 18.5021 24.7554 18.3916 24.6707 18.2979C24.5859 18.2042 24.4824 18.1292 24.3669 18.0779C24.2514 18.0266 24.1264 18.0001 24 18ZM24.002 24C23.7368 24 23.4824 24.1054 23.2949 24.2929C23.1074 24.4804 23.002 24.7348 23.002 25C23.002 25.2652 23.1074 25.5196 23.2949 25.7071C23.4824 25.8946 23.7368 26 24.002 26C24.2672 26 24.5216 25.8946 24.7091 25.7071C24.8966 25.5196 25.002 25.2652 25.002 25C25.002 24.7348 24.8966 24.4804 24.7091 24.2929C24.5216 24.1054 24.2672 24 24.002 24Z",
|
|
10
|
-
fill: "currentColor"
|
|
11
|
-
}
|
|
12
|
-
) }) });
|
|
13
|
-
const ErrorIcon = React.memo(SvgComponent, radashi.isEqual);
|
|
14
|
-
exports.default = ErrorIcon;
|