@uxf/cms 11.21.3 → 11.21.5

Sign up to get free protection for your applications and to get access to all the features.
package/api/index.d.ts CHANGED
@@ -1,13 +1,6 @@
1
+ import { FileResponse } from "@uxf/core/types";
1
2
  import { Schema } from "@uxf/data-grid";
2
3
  export type VisibilityLevel = "PUBLIC" | "PUBLIC_WITHOUT_SITEMAP" | "PRIVATE";
3
- export interface FileResponse {
4
- id: number;
5
- name: string;
6
- uuid: string;
7
- extension: string;
8
- namespace: string | null;
9
- type?: string;
10
- }
11
4
  export interface ContentSeoResponse {
12
5
  name: string | null;
13
6
  title: string;
@@ -1,8 +1,9 @@
1
+ import { FileResponse } from "@uxf/core/types";
1
2
  import { FunctionParametersGenerator } from "@uxf/router";
2
3
  import { NextPageContext } from "next";
3
4
  import { LinkProps } from "next/link";
4
5
  import { ReactNode } from "react";
5
- import UserResponse, { FileResponse } from "../api";
6
+ import UserResponse from "../api";
6
7
  export interface NotificationServiceInterface {
7
8
  info: (message: ReactNode) => void;
8
9
  success: (message: ReactNode) => void;
@@ -1,2 +1,2 @@
1
- import { FileResponse } from "@uxf/ui/types";
1
+ import { FileResponse } from "@uxf/core/types";
2
2
  export declare const onUploadDropzoneFile: (file: File) => Promise<FileResponse>;
@@ -1,2 +1,2 @@
1
- import { FileResponse } from "@uxf/ui/types";
1
+ import { FileResponse } from "@uxf/core/types";
2
2
  export declare const onUploadFile: (file: File, namespace?: string) => Promise<FileResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.21.3",
3
+ "version": "11.21.5",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -30,13 +30,13 @@
30
30
  "@dnd-kit/utilities": "3.2.2",
31
31
  "@floating-ui/react": "0.26.9",
32
32
  "@redux-devtools/extension": "3.3.0",
33
- "@uxf/core": "11.21.0",
34
- "@uxf/core-react": "11.21.0",
35
- "@uxf/data-grid": "11.21.3",
36
- "@uxf/form": "11.21.3",
33
+ "@uxf/core": "11.21.5",
34
+ "@uxf/core-react": "11.21.5",
35
+ "@uxf/data-grid": "11.21.5",
36
+ "@uxf/form": "11.21.5",
37
37
  "@uxf/router": "11.11.3",
38
- "@uxf/ui": "11.21.3",
39
- "@uxf/wysiwyg": "11.21.3",
38
+ "@uxf/ui": "11.21.5",
39
+ "@uxf/wysiwyg": "11.21.5",
40
40
  "axios": "1.6.7",
41
41
  "axios-hooks": "5.0.2",
42
42
  "es6-error": "4.1.1",
@@ -1,5 +1,5 @@
1
+ import { FileResponse } from "@uxf/core/types";
1
2
  import { WysiwygContent } from "@uxf/wysiwyg";
2
- import { FileResponse } from "../../../api";
3
3
  import { Content, ContentComponent, ContentProps } from "../types";
4
4
  export type FeatureSectionFormData = {
5
5
  title: string;
@@ -1,4 +1,4 @@
1
- import { FileResponse } from "../../../api";
1
+ import { FileResponse } from "@uxf/core/types";
2
2
  import { Content, ContentComponent, ContentProps } from "../types";
3
3
  export type GalleryFormData = {
4
4
  images?: FileResponse[];
@@ -1,4 +1,4 @@
1
- import { FileResponse } from "../../../api";
1
+ import { FileResponse } from "@uxf/core/types";
2
2
  import { Content, ContentComponent, ContentProps } from "../types";
3
3
  export type PersonFormData = {
4
4
  name?: string;
@@ -1,8 +1,9 @@
1
+ import { FileResponse } from "@uxf/core/types";
1
2
  import { SelectProps } from "@uxf/form/select";
2
3
  import { NextPageContext } from "next";
3
4
  import { FC, PropsWithChildren, ReactNode } from "react";
4
5
  import { Control, ControllerRenderProps } from "react-hook-form";
5
- import { ContentResponse, ContentTagResponse, FileResponse } from "../../api";
6
+ import { ContentResponse, ContentTagResponse } from "../../api";
6
7
  export type VisibilityLevel = "PUBLIC" | "PUBLIC_WITHOUT_SITEMAP" | "PRIVATE";
7
8
  export interface ContentProps {
8
9
  title: ReactNode;