-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Close #42 - Close #69 by not including roster data when `studentData` is false-y - Close #52 by removing `TEMPORARY_payloadToSearchParams()`’s last dependent
- Loading branch information
Seth Battis
committed
Dec 27, 2024
1 parent
7abfdf8
commit 2508b3d
Showing
20 changed files
with
398 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.env | ||
.env.* | ||
**/dist/ | ||
**/node_modules/ | ||
**/var/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export * as assessment from './api/assessment.js'; | ||
export * as Assignment2 from './api/Assignment2.js'; | ||
export * as datadirect from './api/datadirect.js'; | ||
export * as gradebook from './api/gradebook.js'; | ||
export * as LtiTool from './api/LtiTool.js'; | ||
export * as schoolinfo from './api/schoolinfo.js'; | ||
export * as topic from './api/topic.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { hydrategradebook as Gradebook } from 'datadirect/dist/api/gradebook.js'; | ||
import { fetchViaPuppeteer } from './fetchViaPuppeteer.js'; | ||
|
||
export const hydrategradebook = fetchViaPuppeteer< | ||
Gradebook.Payload, | ||
Gradebook.Response | ||
>(Gradebook); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
packages/datadirect/src/api/DataDirect/GradeBookMarkingPeriodList.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import * as Endpoint from '../Endpoint.js'; | ||
import { Payload } from './GradeBookMarkingPeriodList/Payload.js'; | ||
|
||
export * from './GradeBookMarkingPeriodList/Payload.js'; | ||
export * from './GradeBookMarkingPeriodList/Response.js'; | ||
|
||
export const prepare: Endpoint.Prepare<Payload> = (payload, base?: string) => | ||
Endpoint.prepare({ | ||
payload, | ||
base, | ||
path: '/api/datadirect/GradeBookMarkingPeriodList' | ||
}); |
1 change: 1 addition & 0 deletions
1
packages/datadirect/src/api/DataDirect/GradeBookMarkingPeriodList/Payload.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export type Payload = { sectionId: number }; |
8 changes: 8 additions & 0 deletions
8
packages/datadirect/src/api/DataDirect/GradeBookMarkingPeriodList/Response.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export type Item = { | ||
MarkingPeriodId: number; | ||
MarkingPeriodDescription: string; | ||
CurrentPeriod: NumericBoolean; | ||
LevelNum: number; | ||
}; | ||
|
||
export type Response = Item[]; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * as hydrategradebook from './gradebook/hydrategradebook.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import * as Endpoint from '../Endpoint.js'; | ||
import { Payload } from './hydrategradebook/Payload.js'; | ||
|
||
export * from './hydrategradebook/Payload.js'; | ||
export * from './hydrategradebook/Response.js'; | ||
|
||
export const prepare: Endpoint.Prepare<Payload> = (payload, base?: string) => | ||
Endpoint.prepare({ payload, base, path: '/api/gradebook/hydrategradebook' }); |
1 change: 1 addition & 0 deletions
1
packages/datadirect/src/api/gradebook/hydrategradebook/Payload.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export type Payload = { sectionId: number; markingPeriodId: number }; |
Oops, something went wrong.