refactor: move defaultDateType to CreatedModifiedDate plugin
This commit is contained in:
@@ -95,5 +95,6 @@ declare module "vfile" {
|
||||
modified: Date
|
||||
published: Date
|
||||
}
|
||||
defaultDateType?: "created" | "modified" | "published"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -174,11 +174,6 @@
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Patterns to ignore during processing"
|
||||
},
|
||||
"defaultDateType": {
|
||||
"type": "string",
|
||||
"enum": ["created", "modified", "published"],
|
||||
"description": "Default date type for pages"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user