Fixing optional site issue.

This commit is contained in:
Dessalines 2023-09-06 08:26:00 -04:00
parent db6f063259
commit 5c81491147
3 changed files with 5 additions and 3 deletions

View file

@ -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

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 { LocalUserId } from "./LocalUserId";
import type { PersonId } from "./PersonId";
export interface AddAdmin {
local_user_id: LocalUserId;
person_id: PersonId;
added: boolean;
auth: string;
}

View file

@ -6,5 +6,5 @@ import type { Site } from "./Site";
export interface InstanceBlockView {
person: Person;
instance: Instance;
site: Site | null;
site?: Site;
}