hiento09 86f0ffc7d1
Chore/disable submodule (#56)
* Chore disable git submodule for web-client and app-backend

* Chore add newest source code of app-backend and web-client

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-09-05 16:29:07 +07:00

20 lines
512 B
TypeScript

import { types } from "mobx-state-tree";
export const InputHeaderModel = types.model("InputHeader", {
accept: types.maybeNull(types.string),
contentType: types.maybeNull(types.string),
});
export const InputBodyModel = types.model("InputBody", {
name: types.string,
type: types.string,
example: types.maybeNull(types.string),
description: types.string,
});
export const InputModel = types.model("Input", {
slug: types.string,
header: InputHeaderModel,
body: types.array(InputBodyModel),
});