Skip to content

Commit

Permalink
chore(datadirect): issue tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Jan 19, 2025
1 parent 16fc8fc commit 25fcea5
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 26 deletions.
6 changes: 3 additions & 3 deletions packages/datadirect/src/api/Assignment2/List/Payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type SectionLink = {
DropBoxSubmitted: boolean | null;
PartialInd: boolean | null;
PartialCount: number | null;
UsersList: [];
UsersList: any[]; // TODO Assignment2/List.Payload.SectionLink.UsersList type
};

type LinkItem = {
Expand Down Expand Up @@ -114,8 +114,8 @@ export type Payload = {
Factor: number | NumericString;
RubricId: number;
EvaluationMethod: number;
AssignmentSkills: [];
AssignmentCourses: [];
AssignmentSkills: any[]; // TODO Assignment2/List.Payload.AssignmentSkills type
AssignmentCourses: any[]; // TODO Assignment2/List.Payload.AssignmentCourses type
'inc-rubric': boolean;
IncRubric: boolean;
gradebook_ind: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export type Response = {
PartialInd: boolean;
LtiProviderId: number;
LtiProviderName: string;
Skills: [];
Skills: any[]; // TODO Assignment2/UserAssignmentDetailsGetAllData.Response.Skills type
Discussion: {
TeacherFirstname: string;
TeacherLastname: string;
Expand Down
10 changes: 5 additions & 5 deletions packages/datadirect/src/api/Assignment2/crud/Payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type SectionLink = {
DropBoxSubmitted: boolean;
PartialInd: boolean;
PartialCount: number;
UsersList: [];
UsersList: any[]; // TODO Assignment2/crud.Payload.SectionLink.UsersList type
};

type LinkItem = {
Expand Down Expand Up @@ -106,8 +106,8 @@ type Assignment = {
Factor: number;
RubricId: number;
EvaluationMethod: number;
AssignmentSkills: [];
AssignmentCourses: [];
AssignmentSkills: any[]; // TODO Assignment2/crud.Payload.AssignmentSkills type
AssignmentCourses: any[]; // TODO Assignment2/crud.Payload.AssignmentCourses type
'inc-rubric': boolean;
IncRubric: boolean;
gradebook_ind: boolean;
Expand All @@ -119,8 +119,8 @@ type Assignment = {
/** h:i:s A */
DropboxTimeLate: TimeString;
SectionLinks: SectionLink[];
AssignmentUsers: [];
DownloadItems: [];
AssignmentUsers: any[]; // TODO Assignment2/crud.Payload.AssignmentUsers type
DownloadItems: any[]; // TODO Assignment2/crud.Payload.DownloadItems type
LinkItems: LinkItem[];
notifBodyControl_ShortDescription: HTMLString;
notifBodyControl_LongDescription: HTMLString;
Expand Down
2 changes: 1 addition & 1 deletion packages/datadirect/src/api/LtiTool/Edit/Payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export type Payload = {
Gradeable: boolean;
LtiVersionId: null | any;
CredentialsTypeId: number;
Parameters: [];
Parameters: any[];
FieldsToNull: ['LtiVersionId'];
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import {
URLString
} from '@battis/descriptive-types';

// TODO assessment/AssessmentGetSpa types

type MultipleChoiceAnswer = {
AssessmentQuestionAnswerId: number;
AssessmentQuestionId: number;
Expand Down Expand Up @@ -40,7 +42,7 @@ type MultipleChoice = {
AssessmentId: number;
RandomizeAnswers: boolean;
PartialCredit: boolean;
MatchingAnswers: [];
MatchingAnswers: any[];
AssessmentQuestionSubBankId: number;
AssessmentQuestionBankId: number;
ModifiedDate: DateTimeString;
Expand Down Expand Up @@ -84,7 +86,7 @@ type FillInTheBlank = {
AssessmentId: number;
RandomizeAnswers: boolean;
PartialCredit: boolean;
MatchingAnswers: [];
MatchingAnswers: any[];
AssessmentQuestionSubBankId: number;
AssessmentQuestionBankId: number;
ModifiedDate: DateTimeString;
Expand All @@ -98,7 +100,7 @@ type Essay = {
SortOrder: number;
Points: number;
Description: HTMLString;
Answers: [];
Answers: any[];
QuestionType: 'Essay';
PossibleAnswers: string;
CharacterLimit: number;
Expand All @@ -115,7 +117,7 @@ type Essay = {
AssessmentId: number;
RandomizeAnswers: boolean;
PartialCredit: boolean;
MatchingAnswers: [];
MatchingAnswers: any[];
AssessmentQuestionSubBankId: number;
AssessmentQuestionBankId: number;
ModifiedDate: DateTimeString;
Expand Down Expand Up @@ -159,7 +161,7 @@ type TrueFalse = {
AssessmentId: number;
RandomizeAnswers: boolean;
PartialCredit: boolean;
MatchingAnswers: [];
MatchingAnswers: any[];
AssessmentQuestionSubBankId: number;
AssessmentQuestionBankId: number;
ModifiedDate: DateTimeString;
Expand Down Expand Up @@ -250,11 +252,11 @@ type Photo = {
photo_alttext: string;
hover_alttext: string;
LongDescription: HTMLString; // TODO verify Assessment/AssessmentGetSpa/Response.Photo.LongDescription type (may just be string)
TagList: [];
TagList: any[];
FileEdited: boolean;
IsHoverPhoto: boolean;
PhotoEapEnabled: boolean;
ImageOps: [];
ImageOps: any[];
OriginalFilenameEditedUrl: URLString;
LargeFilenameEditedUrl: URLString;
ZoomFilenameEditedUrl: URLString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export type Assignment = {
LateInd: number;
DropboxTimeLate: TimeString;
SchoolId: number;
SectionLinks: [];
DownloadItems: [];
LinkItems: [];
SectionLinks: any[]; // TODO DataDirect/common/ContentItem/Assignment.SectionLinks type
DownloadItems: any[]; // TODO DataDirect/common/ContentItem/Assignment.DownloadItems type
LinkItems: any[]; // TODO DataDirect/common/ContentItem/Assignment.LinkItems type
HasGrades: boolean;
AssessmentInd: boolean;
MaxScore: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export type DisplayOptions = {
DisplayDroppedIndicator: boolean;
ShowAssignmentTypePercent: boolean;
ShowGradePercent: boolean;
AssignmentTypesFilterList: [];
AssignmentTypesFilterList: any[]; // TODO DataDirect/GradeBookMarkingPeriodList.DusplayOptions.AssignmentTypesFilterList type
};

export type AssignmentGrade = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export type Item = {
LateInd: number;
DropboxTimeLate: TimeString;
SchoolId: number;
SectionLinks: [];
DownloadItems: [];
LinkItems: [];
SectionLinks: any[]; // TODO DataDirect/topicassignmentsget.Response.SectionLinks type
DownloadItems: any[]; // TODO DataDirect/topicassignmentsget.Response.DownloadItems type
LinkItems: any[]; // TODO DataDirect/topicassignmentsget.Response.LinkItems type
HasGrades: boolean;
AssessmentInd: boolean;
MaxScore: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/datadirect/src/api/webapp/context/Response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ type UserInfo = {
MiscBio: HTMLString;
ResidentCounty: string;
BirthPlace: string;
SpokenLanguages: [];
RaceSelections: [];
SpokenLanguages: any[]; // webapp/context.Response.SpokenLanguages type
RaceSelections: any[]; // webapp/context.Response.RaceSelections type
VisaNumber: string;
PassportNumber: string;
StudentId: string;
Expand Down

0 comments on commit 25fcea5

Please sign in to comment.