Client: Fixed model interfaces exports

This commit is contained in:
Donkie
2023-05-14 20:09:55 +02:00
parent caa25ccf93
commit 77a3f65111
7 changed files with 11 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import { IResourceComponentsProps } from "@refinedev/core";
import { Create, useForm, useSelect } from "@refinedev/antd";
import { Form, Input, Select, InputNumber } from "antd";
import TextArea from "antd/es/input/TextArea";
import { IVendor } from "../vendors/model";
export const FilamentCreate: React.FC<IResourceComponentsProps> = () => {
const { formProps, saveButtonProps } = useForm();

View File

@@ -4,6 +4,7 @@ import { Edit, useForm, useSelect } from "@refinedev/antd";
import { Form, Input, DatePicker, Select, InputNumber } from "antd";
import dayjs from "dayjs";
import TextArea from "antd/es/input/TextArea";
import { IVendor } from "../vendors/model";
export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
const { formProps, saveButtonProps } = useForm();

View File

@@ -1,4 +1,6 @@
interface IFilament {
import { IVendor } from "../vendors/model";
export interface IFilament {
id: string;
registered: string;
name?: string;