mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01:12 +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
|
||||
|
||||
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.
|
||||
import type { LocalUserId } from "./LocalUserId";
|
||||
import type { PersonId } from "./PersonId";
|
||||
|
||||
export interface AddAdmin {
|
||||
local_user_id: LocalUserId;
|
||||
person_id: PersonId;
|
||||
added: boolean;
|
||||
auth: string;
|
||||
}
|
||||
|
|
|
@ -6,5 +6,5 @@ import type { Site } from "./Site";
|
|||
export interface InstanceBlockView {
|
||||
person: Person;
|
||||
instance: Instance;
|
||||
site: Site | null;
|
||||
site?: Site;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue