summaryrefslogtreecommitdiff
path: root/src/build.ts
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-06-13 16:55:13 +0000
committergumi <git@gumi.ca>2020-06-13 16:55:13 +0000
commit0583acf42e4d5070c52f64eccdba1100f100bb04 (patch)
tree34da242f3b83d8e5da8aba245214d3b21f87cae9 /src/build.ts
parent6e9941f246d362074623f85582d74ed8bcd9de58 (diff)
downloadpolicies-0583acf42e4d5070c52f64eccdba1100f100bb04.tar.gz
policies-0583acf42e4d5070c52f64eccdba1100f100bb04.tar.bz2
policies-0583acf42e4d5070c52f64eccdba1100f100bb04.tar.xz
policies-0583acf42e4d5070c52f64eccdba1100f100bb04.zip
add documentation for Policybot bindings
Diffstat (limited to 'src/build.ts')
-rw-r--r--src/build.ts12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/build.ts b/src/build.ts
index 94022dc..19c6141 100644
--- a/src/build.ts
+++ b/src/build.ts
@@ -3,10 +3,18 @@ import * as yaml from "https://deno.land/x/js_yaml_port/js-yaml.js"
// the structure of the front matter
interface PolicyYFM {
- name: string
+ name: string;
description: string;
aliases?: string[];
- ignore?: boolean;
+ ignore?: boolean;
+ autoupdate?: {
+ forums?: {
+ forum?: number;
+ topic?: number;
+ post: number;
+ };
+ wiki?: string;
+ };
}
const decoder = new TextDecoder("utf-8");