mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
17 lines
494 B
TypeScript
17 lines
494 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { Author } from "./Author";
|
|
import type { Edit } from "./Edit";
|
|
import type { Never } from "./Never";
|
|
import type { Reaction } from "./Reaction";
|
|
|
|
export type Comment<T = Never> = {
|
|
id: string;
|
|
author: Author;
|
|
edits: Array<Edit>;
|
|
reactions: Array<Reaction>;
|
|
replyTo?: string;
|
|
location?: T;
|
|
embeds: { name: string; content: string }[];
|
|
resolved: boolean;
|
|
};
|