import { z } from "zod"; import { AuthorCommentEditOptionsSchema, CommentEditChallengeRequestToEncryptSchema, CreateCommentEditOptionsSchema, CommentEditPubsubMessagePublicationSchema, CommentEditSignedPropertyNames, CommentEditsTableRowSchema } from "./schema.js"; import { CommentAuthorSchema } from "../../schema/schema.js"; import type { JsonOfClass, RuntimeAuthorWithCommentUpdateType } from "../../types.js"; import type { CommentEdit } from "./comment-edit.js"; import type { JsonSignature, SignerType } from "../../signer/types.js"; export type CommentAuthorEditOptions = z.infer; export type AuthorCommentEditOptions = z.infer; export type CreateCommentEditOptions = z.infer; export type CommentEditChallengeRequestToEncryptType = z.infer; export type CommentEditTypeJson = JsonOfClass; export interface CommentEditOptionsToSign extends Omit { signer: SignerType; communityAddress: string; } export interface CommentEditSignature extends JsonSignature { signedPropertyNames: typeof CommentEditSignedPropertyNames; } export type CommentEditPubsubMessagePublication = z.infer; export interface CommentEditPubsubMessagePublicationWithCommunityAuthor extends CommentEditPubsubMessagePublication { author: RuntimeAuthorWithCommentUpdateType; } export type CommentEditsTableRow = z.infer; export interface CommentEditsTableRowInsert extends Omit { }