feat: published @usebruno/schema

This commit is contained in:
Anoop M D 2022-10-17 03:03:32 +05:30
parent 241ee5e788
commit 78645ad52f
6 changed files with 10 additions and 5 deletions

View File

@ -13,6 +13,8 @@
"randomstring": "^1.2.2" "randomstring": "^1.2.2"
}, },
"scripts": { "scripts": {
"dev:web": "npm run dev --workspace=packages/bruno-app",
"dev:electron": "npm run dev --workspace=packages/bruno-electron",
"build-chrome-extension": "./scripts/create-chrome-extension.sh" "build-chrome-extension": "./scripts/create-chrome-extension.sh"
} }
} }

View File

@ -8,6 +8,7 @@
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {
"@usebruno/schema": "0.1.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4", "@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16", "@fortawesome/react-fontawesome": "^0.1.16",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -29,9 +29,9 @@ const MenuBar = () => {
<IconFiles size={28} strokeWidth={1.5}/> <IconFiles size={28} strokeWidth={1.5}/>
</div> </div>
</Link> </Link>
<div className="menu-item"> {/* <div className="menu-item">
<IconUsers size={28} strokeWidth={1.5}/> <IconUsers size={28} strokeWidth={1.5}/>
</div> </div> */}
</div> </div>
<div className="flex flex-col flex-grow justify-end"> <div className="flex flex-col flex-grow justify-end">
{/* <Link href="/login"> {/* <Link href="/login">

View File

@ -1,6 +1,11 @@
{ {
"name": "@usebruno/schema", "name": "@usebruno/schema",
"version": "0.1.0",
"main": "src/index.js", "main": "src/index.js",
"files": [
"src",
"package.json"
],
"scripts": { "scripts": {
"test": "jest" "test": "jest"
}, },

View File

@ -2,9 +2,6 @@
The schema definition for collections The schema definition for collections
### Todo
[] Schema validator
### Collection schema ### Collection schema
```bash ```bash
id Unique id (when persisted to a db) id Unique id (when persisted to a db)