Former-commit-id: e9cbcd159172587181e412bf22ead2260976aca9
This commit is contained in:
Ben
2022-04-15 02:13:25 +01:00
parent cdd78d8acf
commit ebf27b1ac0
23 changed files with 1612 additions and 174 deletions

View File

@@ -16,9 +16,10 @@ automatically every request
| GET | /api/bricks/ | query, page | no | Query endpoint |
| GET | /api/sets/ | query, page | no | Query endpoint |
| GET | /api/sets/featured | page | no | Query endpoint |
| GET | /api/brick/:id/ | | no | |
| GET | /api/set/:id/ | | no | |
| GET | /api/cdn/:id/ | | no | |
| GET | /api/brick/:id | | no | |
| POST | /api/bulk/brick | array | no | POST due to bulk nature |
| GET | /api/set/:id | | no | |
| GET | /api/cdn/:id | | no | |
| PUT | /api/auth/login/ | | yes | |
| POST | /api/auth/signup/ | | yes | |
| GET | /api/auth/orders/ | | yes | |

View File

@@ -44,7 +44,7 @@ class MyComponent extends Component {
Render() {
return {
template: `<div>{this.state.name}</div>`,
template: /* html */`<div>{this.state.name}</div>`,
style: `div { text-color: red }`,
};
}