@webx-ui/module-blog 0.5.19 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +5 -2
- package/dist/index.js +1119 -1101
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +3 -1
- package/package.json +5 -5
package/dist/api.d.ts
CHANGED
|
@@ -25,8 +25,11 @@ export interface BlogApi {
|
|
|
25
25
|
* and from the tags screen, which is the other place somebody spells a new word.
|
|
26
26
|
*/
|
|
27
27
|
createTag(input: TagInput): Promise<TagRow>;
|
|
28
|
-
/**
|
|
29
|
-
|
|
28
|
+
/**
|
|
29
|
+
* On the site. `at` in the future schedules it; left out, it goes on now (§7). `revision` is
|
|
30
|
+
* what the editor held: a draft that moved on since is answered 409, not published.
|
|
31
|
+
*/
|
|
32
|
+
publish(id: number, at?: string | null, revision?: string): Promise<ArticleRow>;
|
|
30
33
|
unpublish(id: number): Promise<ArticleRow>;
|
|
31
34
|
remove(id: number): Promise<void>;
|
|
32
35
|
restore(id: number): Promise<ArticleRow>;
|