diff --git a/apps/studio/src/components/Modals/Generator/GeneratorModal.tsx b/apps/studio/src/components/Modals/Generator/GeneratorModal.tsx index 12c0bc108..08de00b6d 100644 --- a/apps/studio/src/components/Modals/Generator/GeneratorModal.tsx +++ b/apps/studio/src/components/Modals/Generator/GeneratorModal.tsx @@ -16,9 +16,21 @@ export const GeneratorModal = create(() => { const modal = useModal(); const [template, setTemplate] = useState(''); const { serverAPISvc } = useServices(); + const [warning, setwarning] = useState(false); const [problem, setProblem] = useState(null); const [confirmDisabled, setConfirmDisabled] = useState(true); const templateParamsRef = useRef(null); + const generatable = ['@asyncapi/dotnet-nats-template', + '@asyncapi/go-watermill-template', + '@asyncapi/html-template', + '@asyncapi/java-spring-cloud-stream-template', + '@asyncapi/java-spring-template', + '@asyncapi/java-template', + '@asyncapi/markdown-template', + '@asyncapi/nodejs-template', + '@asyncapi/nodejs-ws-template', + '@asyncapi/python-paho-template', + '@asyncapi/ts-nats-template'] useEffect(() => { const required = template ? (templates as Record)[String(template)].schema.required : []; @@ -82,6 +94,9 @@ export const GeneratorModal = create(() => { onCancel={onCancel} closeAfterSumbit={false} > + {warning && ( +

Sorry! This project is under development

+ )}