mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-05 02:31:12 +00:00
pass instance domain
This commit is contained in:
parent
c9159d89ec
commit
36d0e69391
4 changed files with 2 additions and 11 deletions
|
@ -140,7 +140,6 @@ 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";
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { InstanceIdOrDomain } from "./InstanceIdOrDomain";
|
||||
|
||||
export type AdminAllowInstanceParams = {
|
||||
instance: InstanceIdOrDomain;
|
||||
instance: string;
|
||||
allow: boolean;
|
||||
reason?: string;
|
||||
};
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { InstanceIdOrDomain } from "./InstanceIdOrDomain";
|
||||
|
||||
export type AdminBlockInstanceParams = {
|
||||
instance: InstanceIdOrDomain;
|
||||
instance: string;
|
||||
block: boolean;
|
||||
reason?: string;
|
||||
expires?: string;
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
// 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 type InstanceIdOrDomain =
|
||||
| { InstanceId: InstanceId }
|
||||
| { Domain: string };
|
Loading…
Reference in a new issue