Reference · Options, materials, stacks and wear
WearPresettype
A grading term with the levels it stands for and what it means in a few words.
Import it
import type { WearPreset } from "@johnmorrisdotca/fuda-cards";
Definition
interface WearPreset {
id: string;
name: string;
levels: WearLevels;
says: string;
}
Members
| Name | Type | Description |
|---|---|---|
id | string | |
name | string | |
levels | WearLevels | |
says | string | What the condition term means in grading language, in a few words. |
Examples
import { wearPresets, type WearPreset } from "@johnmorrisdotca/fuda-cards";
const worst: WearPreset = wearPresets[wearPresets.length - 1];
console.log(worst.id, worst.says); // damaged Chipped and folded corners, hard creases, staining.damaged Chipped and folded corners, hard creases, staining.What it prints (run when this page was built)