From 77d3abd22ebdc4b230e258e8c488681751042caf Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Thu, 17 Oct 2024 00:41:34 -0400 Subject: [PATCH] Allow specifying whether or not a class is asynchronous via endpoint creation. --- src/database.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/database.ts b/src/database.ts index 917e024..aac0724 100644 --- a/src/database.ts +++ b/src/database.ts @@ -312,6 +312,7 @@ export const CreateClassSchema = S.struct({ educator_id: S.number, name: S.string, expected_size: S.number.pipe(S.int()), + asynchronous: S.optional(S.boolean), }); export type CreateClassOptions = S.Schema.To;