'use babel';
/* @flow */

export type Post = {
    title: string,
    content: string,
    postCreated : any,
    postPublished: string,
    lastUpdated: string,
    status: string,
    author: string,
    tags: Array<string>
}

export type Author = {
    name: string,
    email: string,
    username: string,
    password: string,
    token: string
}

export type PostCreated = {
    year: string,
    month: string,
    date: string
}

export type PostDocument = {
    filename: string,
    postCreated: PostCreated,
    compiledContent: string,
    post: Post
}

@@ -1,8 +1,20 @@
+/* @flow */%0A
 'use bab
@@ -21,20 +21,8 @@
 el';
-%0A/* @flow */
 %0A%0Aex
@@ -218,16 +218,42 @@
 %3Cstring%3E
+,%0A    generated_keys?: any
 %0A%7D%0A%0Aexpo
@@ -361,32 +361,58 @@
    token: string
+,%0A    generated_keys?: any
 %0A%7D%0A%0Aexport type 

Add optional properties for Post and Author type