From 2f968001c51fd9d3539c0ed372e1be5ffc303f0d Mon Sep 17 00:00:00 2001 From: richardo2016 Date: Sun, 9 Dec 2018 19:28:55 +0800 Subject: [PATCH] doc update. --- src/http/base.ts | 1 + todo.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/src/http/base.ts b/src/http/base.ts index cfde7a4..b415f8a 100644 --- a/src/http/base.ts +++ b/src/http/base.ts @@ -61,6 +61,7 @@ export function setup (app: FibApp.FibAppClass) { else instances = [_create(data)]; + // if not delr in previous step, `o.saveSync` would do associatation operation automatically. delr && extdata_list.forEach((extdata, i) => { for (const k in extdata) { const res = api.epost(req, orm, cls, instances[i], k, extdata[k]); diff --git a/todo.md b/todo.md index 57e5b7a..ac2d54f 100644 --- a/todo.md +++ b/todo.md @@ -53,6 +53,40 @@ extend:cls: read edel extend:cls: delete +## docs + +* [ ] graphql + - [ ] introduction + - [ ] (get)[model] + - [ ] sample + - [ ] find_[model] + - [ ] sample + - [ ] count_[model] + - [ ] sample + - [ ] paging_[model] + - [ ] sample + +- [ ] app rest-api + - [ ] introduction + - [ ] app.api.get + - [ ] sample + - [ ] app.api.post + - [ ] sample + - [ ] app.api.put + - [ ] sample + - [ ] app.api.del + - [ ] sample + - [ ] app.api.eget + - [ ] sample + - [ ] app.api.epost + - [ ] sample + - [ ] app.api.elink + - [ ] sample + - [ ] app.api.eput + - [ ] sample + - [ ] app.api.edel + - [ ] sample + ## use cases * [x] 重写用例,用例独立运行, uuid