Skip to content

Commit

Permalink
improved fff plugin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed May 11, 2024
1 parent 9b2325e commit 175cc1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/fff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ import {
export interface Options {
/** The list extensions this plugin applies to */
extensions: string[];
/**
* The list of presets to apply
* @see https://fff.js.org/concepts/flavor-transform.html#fff-transform-preset
*/
presets: FFFTransformPreset[];
strict: false | StrictPresetOptions;
/** To convert the generic `date` field to one of these values */
date?: "created" | "updated" | "published";
/** Get the date from the git history */
getGitDate?: boolean;
postTypeDiscovery?: boolean;
}
Expand Down

0 comments on commit 175cc1b

Please sign in to comment.