Adding LocalImageView.

This commit is contained in:
Dessalines 2024-04-15 21:47:52 -04:00
parent 0923a67c93
commit 79054e327f
4 changed files with 14 additions and 2 deletions

View file

@ -137,6 +137,7 @@ export { ListRegistrationApplications } from "./types/ListRegistrationApplicatio
export { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse"; export { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
export { ListingType } from "./types/ListingType"; export { ListingType } from "./types/ListingType";
export { LocalImage } from "./types/LocalImage"; export { LocalImage } from "./types/LocalImage";
export { LocalImageView } from "./types/LocalImageView";
export { LocalSite } from "./types/LocalSite"; export { LocalSite } from "./types/LocalSite";
export { LocalSiteId } from "./types/LocalSiteId"; export { LocalSiteId } from "./types/LocalSiteId";
export { LocalSiteRateLimit } from "./types/LocalSiteRateLimit"; export { LocalSiteRateLimit } from "./types/LocalSiteRateLimit";

View file

@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LocalImage } from "./LocalImage"; import type { LocalImageView } from "./LocalImageView";
export interface ListMediaResponse { export interface ListMediaResponse {
images: Array<LocalImage>; images: Array<LocalImageView>;
} }

View file

@ -0,0 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LocalImage } from "./LocalImage";
import type { LocalUser } from "./LocalUser";
import type { Person } from "./Person";
export interface LocalImageView {
local_image: LocalImage;
local_user: LocalUser;
person: Person;
}

View file

@ -14,6 +14,7 @@ export interface Site {
actor_id: string; actor_id: string;
last_refreshed_at: string; last_refreshed_at: string;
inbox_url: string; inbox_url: string;
public_key: string;
instance_id: InstanceId; instance_id: InstanceId;
content_warning?: string; content_warning?: string;
} }