ZCommentContentItemText: ObjectSchema<{
    content: StringSchema<string>;
    font: OptionalSchema<UnionSchema<(LiteralSchema<"defont", "defont"> | LiteralSchema<"gulim", "gulim"> | LiteralSchema<"simsun", "simsun">)[], "defont" | "gulim" | "simsun">, undefined, undefined | "defont" | "gulim" | "simsun">;
    isButton: OptionalSchema<BooleanSchema<boolean>, undefined, undefined | boolean>;
    slicedContent: ArraySchema<StringSchema<string>, string[]>;
    type: LiteralSchema<"text", "text">;
    width: OptionalSchema<ArraySchema<NumberSchema<number>, number[]>, undefined, undefined | number[]>;
}, undefined, {
    content: string;
    font?: "defont" | "gulim" | "simsun";
    isButton?: boolean;
    slicedContent: string[];
    type: "text";
    width?: number[];
}> = ...

Type declaration

  • content: StringSchema<string>
  • font: OptionalSchema<UnionSchema<(LiteralSchema<"defont", "defont"> | LiteralSchema<"gulim", "gulim"> | LiteralSchema<"simsun", "simsun">)[], "defont" | "gulim" | "simsun">, undefined, undefined | "defont" | "gulim" | "simsun">
  • isButton: OptionalSchema<BooleanSchema<boolean>, undefined, undefined | boolean>
  • slicedContent: ArraySchema<StringSchema<string>, string[]>
  • type: LiteralSchema<"text", "text">
  • width: OptionalSchema<ArraySchema<NumberSchema<number>, number[]>, undefined, undefined | number[]>

Type declaration

  • content: string
  • Optional font?: "defont" | "gulim" | "simsun"
  • Optional isButton?: boolean
  • slicedContent: string[]
  • type: "text"
  • Optional width?: number[]