pass domain

This commit is contained in:
Felix Ableitner 2024-11-26 11:34:07 +01:00
parent ecfce3551c
commit a8a1a7f22c
3 changed files with 5 additions and 4 deletions

View file

@ -140,6 +140,7 @@ export { HidePost } from "./types/HidePost";
export { ImageDetails } from "./types/ImageDetails";
export { Instance } from "./types/Instance";
export { InstanceId } from "./types/InstanceId";
export { InstanceIdOrDomain } from "./types/InstanceIdOrDomain";
export { InstanceWithFederationState } from "./types/InstanceWithFederationState";
export { Language } from "./types/Language";
export { LanguageId } from "./types/LanguageId";

View file

@ -1,8 +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";
import type { InstanceIdOrDomain } from "./InstanceIdOrDomain";
export type AdminAllowInstanceParams = {
instance_id: InstanceId;
instance: InstanceIdOrDomain;
allow: boolean;
reason?: string;
};

View file

@ -1,8 +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";
import type { InstanceIdOrDomain } from "./InstanceIdOrDomain";
export type AdminBlockInstanceParams = {
instance_id: InstanceId;
instance: InstanceIdOrDomain;
block: boolean;
reason?: string;
expires?: string;