Skip to content

Commit

Permalink
Merge pull request #153 from Carifio24/create-class-asynchronous
Browse files Browse the repository at this point in the history
Allow creating asynchronous class via endpoint
  • Loading branch information
Carifio24 authored Oct 17, 2024
2 parents 3a7a9c1 + 77d3abd commit b3a1d4b
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 b3a1d4b

Please sign in to comment.