mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-26 06:11:14 +00:00
Fixing optional site issue.
This commit is contained in:
parent
db6f063259
commit
5c81491147
3 changed files with 5 additions and 3 deletions
|
@ -24,3 +24,5 @@ find src/types -type f -name '*.ts' -exec sed -i 's/bigint/number/g' {} +
|
||||||
|
|
||||||
node putTypesInIndex.js
|
node putTypesInIndex.js
|
||||||
|
|
||||||
|
prettier -w src/types
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
// 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 { LocalUserId } from "./LocalUserId";
|
import type { PersonId } from "./PersonId";
|
||||||
|
|
||||||
export interface AddAdmin {
|
export interface AddAdmin {
|
||||||
local_user_id: LocalUserId;
|
person_id: PersonId;
|
||||||
added: boolean;
|
added: boolean;
|
||||||
auth: string;
|
auth: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,5 @@ import type { Site } from "./Site";
|
||||||
export interface InstanceBlockView {
|
export interface InstanceBlockView {
|
||||||
person: Person;
|
person: Person;
|
||||||
instance: Instance;
|
instance: Instance;
|
||||||
site: Site | null;
|
site?: Site;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue