Skip to content

Commit

Permalink
Allow specifying whether or not a class is asynchronous via endpoint …
Browse files Browse the repository at this point in the history
…creation.
  • Loading branch information
Carifio24 committed Oct 17, 2024
1 parent 3a7a9c1 commit 77d3abd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<typeof CreateClassSchema>;
Expand Down

0 comments on commit 77d3abd

Please sign in to comment.