automuse/types/plottoriffic.d.ts
Xe Iaso 6fe1818ec9 first test
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-04-12 09:36:43 -04:00

25 lines
448 B
TypeScript

declare module "@xeserv/plottoriffic" {
export default PlotGenerator;
export type Character = {
symbol: string;
name: string;
description: string;
};
export type Plot = {
subject: string;
group: string;
subgroup: string;
description: string;
cast: Character[];
plot: string;
};
export class PlotGenerator {
constructor({ flipGenders }: { flipGenders?: boolean });
generate(): Plot;
}
}