diff --git a/src/types/BlockInstance.ts b/src/types/BlockInstance.ts new file mode 100644 index 0000000..a69a880 --- /dev/null +++ b/src/types/BlockInstance.ts @@ -0,0 +1,8 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { InstanceId } from "./InstanceId"; + +export interface BlockInstance { + instance_id: InstanceId; + block: boolean; + auth: string; +} diff --git a/src/types/BlockInstanceResponse.ts b/src/types/BlockInstanceResponse.ts new file mode 100644 index 0000000..88e4323 --- /dev/null +++ b/src/types/BlockInstanceResponse.ts @@ -0,0 +1,5 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export interface BlockInstanceResponse { + blocked: boolean; +} diff --git a/src/types/InstanceBlockView.ts b/src/types/InstanceBlockView.ts new file mode 100644 index 0000000..bd5358f --- /dev/null +++ b/src/types/InstanceBlockView.ts @@ -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 { Instance } from "./Instance"; +import type { Person } from "./Person"; +import type { Site } from "./Site"; + +export interface InstanceBlockView { + person: Person; + instance: Instance; + site: Site | null; +} diff --git a/src/types/PostListingMode.ts b/src/types/PostListingMode.ts new file mode 100644 index 0000000..b6afd56 --- /dev/null +++ b/src/types/PostListingMode.ts @@ -0,0 +1,3 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type PostListingMode = "List" | "Card" | "SmallCard";